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 middle-end/51590] New: [4.7 Regression] ICE in gsi_for_stmt, at gimple-iterator.c:560


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51590

             Bug #: 51590
           Summary: [4.7 Regression] ICE in gsi_for_stmt, at
                    gimple-iterator.c:560
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
              Host: x86_64-unknown-linux-gnu


With 4.7.0 20111216 I get an ICE:

$ g++ -c -O3 test-it-25.ii 
test-it-25.ii: In member function 'void v8::internal::RelocIterator::next()':
test-it-25.ii:41:14: internal compiler error: in gsi_for_stmt, at
gimple-iterator.c:560

But not with "-m32", "-O2" nor with GCC 4.6.2.

The failing assert is:

/* Finds iterator for STMT.  */

gimple_stmt_iterator
gsi_for_stmt (gimple stmt)
{
  ...
  gcc_unreachable ();
}


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