On Fri, Feb 9, 2018 at 11:34 AM, Mark Hatle <[email protected]> wrote: > Backport a patch to fix an ICE when compiling for MIPS64. > > Signed-off-by: Mark Hatle <[email protected]> > --- > meta/recipes-devtools/gcc/gcc-7.3.inc | 1 + > .../gcc-7.3/0001-PR-rtl-optimization-83030.patch | 272 > +++++++++++++++++++++ > 2 files changed, 273 insertions(+) > create mode 100644 > meta/recipes-devtools/gcc/gcc-7.3/0001-PR-rtl-optimization-83030.patch > > diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc > b/meta/recipes-devtools/gcc/gcc-7.3.inc > index 724f9c32a0..9872d81203 100644 > --- a/meta/recipes-devtools/gcc/gcc-7.3.inc > +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc > @@ -77,6 +77,7 @@ SRC_URI = "\ > ${BACKPORTS} \ > " > BACKPORTS = "\ > + file://0001-PR-rtl-optimization-83030.patch \ > " > > SRC_URI[md5sum] = "be2da21680f27624f3a87055c4ba5af2" > diff --git > a/meta/recipes-devtools/gcc/gcc-7.3/0001-PR-rtl-optimization-83030.patch > b/meta/recipes-devtools/gcc/gcc-7.3/0001-PR-rtl-optimization-83030.patch > new file mode 100644 > index 0000000000..71f7988eaa > --- /dev/null > +++ b/meta/recipes-devtools/gcc/gcc-7.3/0001-PR-rtl-optimization-83030.patch > @@ -0,0 +1,272 @@ > +From f5c4a9440f15ccf6775659910a2014a5494ee86e Mon Sep 17 00:00:00 2001 > +From: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> > +Date: Wed, 22 Nov 2017 21:43:22 +0000 > +Subject: [PATCH] PR rtl-optimization/83030 * doc/rtl.texi (Flags > + in an RTL Expression): Alphabetize, add entry for CROSSING_JUMP_P > and > + mention usage of 'jump' for JUMP_INSNs. (Insns): Delete entry for > + REG_CROSSING_JUMP in register notes. * bb-reorder.c > + (update_crossing_jump_flags): Do not test whether the > CROSSING_JUMP_P flag > + is already set before setting it. * cfgrtl.c (fixup_partition_crossing): > + Likewise. * reorg.c (relax_delay_slots): Do not consider a > + CROSSING_JUMP_P insn as useless. > + > +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255083 > 138bc75d-0d04-0410-961f-82ee72b054a4 > + > +Upstream-Status: Backport > + > +This patch removes changes to Changelog from the original upstream patch. > +This will help us avoid conflicts. > + > +Original backport to GCC 7.x by Amruta Pawar <[email protected]> > + > +Signed-off-by: Mark Hatle <[email protected]> > +
LGTM -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
