http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51040
Bug #: 51040 Summary: ICE: RTL check: access of elt 1 of 'not' with last elt 0 in gen_rtx_fmt_ee_stat, at ./genrtl.h:33 with __atomic_nand_fetch() Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 25759 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25759 reduced testcase Compiler output: $ gcc testcase.c testcase.c: In function 'foo': testcase.c:6:30: internal compiler error: RTL check: access of elt 1 of 'not' with last elt 0 in gen_rtx_fmt_ee_stat, at ./genrtl.h:33 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. RTL checking might be needed to reproduce this. Tested revisions: r181174 - crash