PR33380 and PR40199 look similiar, but this might be different. Compiler output: $ gcc -O testcase.c testcase.c: In function 'foo': testcase.c:13:11: internal compiler error: in gen_lowpart_general, at rtlhooks.c:59 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions: r164287 - crash r153685 - crash 4.5 r163761 - crash 4.4 r160770 - crash 4.4 r149995 - crash -- Summary: ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1 when comparing union members Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45728