http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48401
Summary: [4.7 Regression] ICE: RTL check: access of elt 4 of 'var_location' with last elt 2 in expand_gimple_basic_block, at cfgexpand.c:3585 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 23848 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23848 reduced testcase Compiler output: $ gcc -O -fdump-rtl-expand-details -g testcase.c testcase.c: In function 'foo': testcase.c:1:6: internal compiler error: RTL check: access of elt 4 of 'var_location' with last elt 2 in expand_gimple_basic_block, at cfgexpand.c:3585 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r171828 - crash r171801 - crash r171795 - crash r171775 - OK 4.6 r171597 - OK