This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]