Created attachment 516742 [details, diff] Fix It's taken 8 months but I've finally gotten to the bottom of this issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 Please could the attached patch be included in future GCC 7 ebuilds
That isn't the final patch, I'll update it as soon as a final fix is agreed
Created attachment 516792 [details, diff] Updated Fix Here's what landed in master upstream https://gcc.gnu.org/viewcvs?rev=257096&root=gcc&view=rev
Thanks a ton! Presumably this is the cause of bug 616402?
I think that's a separate issue
*** Bug 649450 has been marked as a duplicate of this bug. ***
From bug 645776 -- fixed in gcc-7.3.0-r1 and later. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b06fb722b73f8e8c09a906d8f921f9975955a94 commit 7b06fb722b73f8e8c09a906d8f921f9975955a94 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-03-11 10:02:41 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-03-11 10:03:01 +0000 sys-devel/gcc: bump 1.1 patchset: add i386-bmi tweak, bug #649880 Single new patch: + 91_all_bmi-i386-PR-target-81763.patch No keywords yet to verify minmal sanity. Bug: https://bugs.gentoo.org/649880 Bug: https://gcc.gnu.org/PR81763 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-7.3.0-r1.ebuild | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+)}