This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51590] New: [4.7 Regression] ICE in gsi_for_stmt, at gimple-iterator.c:560
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Dec 2011 21:45:25 +0000
- Subject: [Bug middle-end/51590] New: [4.7 Regression] ICE in gsi_for_stmt, at gimple-iterator.c:560
- Auto-submitted: auto-generated
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 ();
}