http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45945
Summary: ICE: verify_ssa failed: error: SSA_NAME_DEF_STMT is
wrong when using inline ASM with -flto/-fwhopr
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22000
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22000
reduced testcase
Compiler output:
$ gcc -O -fwhopr -r -nostdlib pr45945.c
In file included from :0:0:
pr45945.c: In function 'foo':
pr45945.c:8:1: error: SSA_NAME_DEF_STMT is wrong
Expected definition statement:
__asm__("" : "=d" VIEW_CONVERT_EXPR<<unnamed-unsigned:32>>(i_3));
Actual definition statement:
GIMPLE_NOP
pr45945.c:8:1: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper:
/mnt/svn/gcc-trunk/binary-165152-lto-fortran-checking-yes-rtl-df/bin/gcc
returned 1 exit status
collect2: lto-wrapper returned 1 exit status
Output is the same with -fwhopr
Tested revisions:
r165152 - crash