Upstream bug: "Incorrectly assumed aligned_operand" This is a regression from gcc-4.3.0->gcc-4.3.1 introduced by the fix for PR28690: http://gcc.gnu.org/bugzilla/show_bug.cgi?28690 Upstream commit: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135124 Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=451068
Well, today they created following upstream commit: http://gcc.gnu.org/viewcvs?view=rev&revision=137039 How long till it be added to gcc patches ?
FWIW simply compiling the pr36533.c test with -Os will exhibit the bug (segfault). If toolchain/kernel teams are busy I'd be glad to volunteer and provide an ebuild patch.
Created attachment 158189 [details, diff] Patch for gcc bug #36533
Created attachment 158191 [details, diff] Patch for ebuild
The patches will fix gcc to correctly compile the test program from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36533 with -Os. Other programs still compile & run as well ;)
(In reply to comment #5) > The patches will fix gcc to correctly compile the test program from > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36533 with -Os. Forget the above URL - if you need the standalone test use the "upstream commit" mentioned in comment#1.
Closing, fixed in GCC-4.3.1-r1