* [Buildroot] [PATCH] package/gcc/7.4.0: remove upstream patch
@ 2018-12-09 13:50 Romain Naour
2018-12-09 15:54 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2018-12-09 13:50 UTC (permalink / raw)
To: buildroot
0001-m68k-coldfire-pr68467.patch is already upstream and backported to
gcc 7.4.0 [1].
[1] https://github.com/gcc-mirror/gcc/commit/2d1d94491cc66e240f9ca2845ec64e8ffe851c74
Fixes:
https://gitlab.com/ymorin/buildroot/-/jobs/131924271
https://gitlab.com/ymorin/buildroot/-/jobs/131924272
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reported-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/gcc/7.4.0/0001-m68k-coldfire-pr68467.patch | 48 ----------------------
1 file changed, 48 deletions(-)
delete mode 100644 package/gcc/7.4.0/0001-m68k-coldfire-pr68467.patch
diff --git a/package/gcc/7.4.0/0001-m68k-coldfire-pr68467.patch b/package/gcc/7.4.0/0001-m68k-coldfire-pr68467.patch
deleted file mode 100644
index 0069b57134..0000000000
--- a/package/gcc/7.4.0/0001-m68k-coldfire-pr68467.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Backport from upstream, see
-https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467
-
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
-diff -Nur gcc-7.2.0.orig/gcc/config/m68k/m68k.c gcc-7.2.0/gcc/config/m68k/m68k.c
---- gcc-7.2.0.orig/gcc/config/m68k/m68k.c 2017-04-03 22:30:56.274463000 +0000
-+++ gcc-7.2.0/gcc/config/m68k/m68k.c 2018-01-27 02:16:53.779367849 +0000
-@@ -182,6 +182,8 @@
- const_tree, bool);
- static bool m68k_cannot_force_const_mem (machine_mode mode, rtx x);
- static bool m68k_output_addr_const_extra (FILE *, rtx);
-+static machine_mode m68k_promote_function_mode (const_tree, machine_mode,
-+ int *, const_tree, int);
- static void m68k_init_sync_libfuncs (void) ATTRIBUTE_UNUSED;
- static enum flt_eval_method
- m68k_excess_precision (enum excess_precision_type);
-@@ -332,6 +334,9 @@
- #undef TARGET_ATOMIC_TEST_AND_SET_TRUEVAL
- #define TARGET_ATOMIC_TEST_AND_SET_TRUEVAL 128
-
-+#undef TARGET_PROMOTE_FUNCTION_MODE
-+#define TARGET_PROMOTE_FUNCTION_MODE m68k_promote_function_mode
-+
- static const struct attribute_spec m68k_attribute_table[] =
- {
- /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
-@@ -6571,4 +6576,20 @@
- return FLT_EVAL_METHOD_UNPREDICTABLE;
- }
-
-+/* Implement TARGET_PROMOTE_FUNCTION_MODE. */
-+
-+static machine_mode
-+m68k_promote_function_mode (const_tree type, machine_mode mode,
-+ int *punsignedp ATTRIBUTE_UNUSED,
-+ const_tree fntype ATTRIBUTE_UNUSED,
-+ int for_return)
-+{
-+ /* Promote libcall arguments narrower than int to match the normal C
-+ ABI (for which promotions are handled via
-+ TARGET_PROMOTE_PROTOTYPES). */
-+ if (type == NULL_TREE && !for_return && (mode == QImode || mode == HImode))
-+ return SImode;
-+ return mode;
-+}
-+
- #include "gt-m68k.h"
--
2.14.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/gcc/7.4.0: remove upstream patch
2018-12-09 13:50 [Buildroot] [PATCH] package/gcc/7.4.0: remove upstream patch Romain Naour
@ 2018-12-09 15:54 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-12-09 15:54 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 9 Dec 2018 14:50:54 +0100, Romain Naour wrote:
> 0001-m68k-coldfire-pr68467.patch is already upstream and backported to
> gcc 7.4.0 [1].
>
> [1] https://github.com/gcc-mirror/gcc/commit/2d1d94491cc66e240f9ca2845ec64e8ffe851c74
>
> Fixes:
> https://gitlab.com/ymorin/buildroot/-/jobs/131924271
> https://gitlab.com/ymorin/buildroot/-/jobs/131924272
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Reported-by: Yann E. MORIN <yann.morin.1998@free.fr>
> ---
> package/gcc/7.4.0/0001-m68k-coldfire-pr68467.patch | 48 ----------------------
> 1 file changed, 48 deletions(-)
> delete mode 100644 package/gcc/7.4.0/0001-m68k-coldfire-pr68467.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-09 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-09 13:50 [Buildroot] [PATCH] package/gcc/7.4.0: remove upstream patch Romain Naour
2018-12-09 15:54 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.