http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50613
Bug #: 50613
Summary: ICE: tree check: expected ssa_name, have addr_expr in
find_equal_ptrs, at tree-ssa-strlen.c:712 with
-foptimize-strlen -fno-tree-ccp
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 25413
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25413
reduced testcase
Compiler output:
$ gcc -O -foptimize-strlen -fno-tree-ccp testcase.c
testcase.c: In function 'foo':
testcase.c:10:1: internal compiler error: tree check: expected ssa_name, have
addr_expr in find_equal_ptrs, at tree-ssa-strlen.c:712
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r179488 - crash