http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45860
Summary: [4.6 Regression] ICE: verify_ssa failed: virtual SSA
name for non-VOP decl at -O1
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 21937
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21937
reduced testcase
Might be related to PR45732
Compiler output:
$ gcc -O pr45860.c
pr45860.c: In function 'foo':
pr45860.c:2:1: error: virtual SSA name for non-VOP decl
while verifying SSA_NAME cstore.1_7 in statement
# .MEM_13 = VDEF <.MEM_10>
cstore.1_7 = MEM[(char * {ref-all})D.2686_4];
pr45860.c:2:1: error: virtual SSA name for non-VOP decl
while verifying SSA_NAME cstore.1_8 in statement
cstore.1_8 = PHI <cstore.1_7(3), ""(2)>
pr45860.c:2:1: error: virtual SSA name for non-VOP decl
pr45860.c:2:1: error: missing definition
for SSA_NAME: cstore.1_7 in statement:
cstore.1_8 = PHI <cstore.1_7(3), ""(2)>
PHI argument
cstore.1_7
for PHI node
cstore.1_8 = PHI <cstore.1_7(3), ""(2)>
pr45860.c:2: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.
Tested revisions:
r164716 - crash
r163636 - OK