[Bug tree-optimization/50613] New: 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

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Tue Oct 4 17:25:00 GMT 2011


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: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: jakub@gcc.gnu.org
              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



More information about the Gcc-bugs mailing list