Bug 31145 - ICE: in cse_find_path, at cse.c:5930 with -O3 -ftracer
Summary: ICE: in cse_find_path, at cse.c:5930 with -O3 -ftracer
Status: RESOLVED DUPLICATE of bug 31127
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 11:22 UTC by Wouter Vermaelen
Modified: 2007-03-12 14:56 UTC (History)
9 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Vermaelen 2007-03-12 11:22:58 UTC
I'm using SVN revision 122834.

> cat bug.cc
int buf[2];
int f(int x) {
        return (x & 1) ? buf[0] : buf[1];
}
void g() {
        for (int x = 0; x < 100 && f(x); ++x);
}

> g++ -O3 -ftracer bug.ccbug.cc: In function 'void g()':
bug.cc:7: internal compiler error: in cse_find_path, at cse.c:5930

> g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../configure -v --enable-languages=c,c++ --prefix=/home/wouter/gcc/local --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --disable-werror --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug i486-linux-gnu --enable-libmudflap --enable-checking=release
Thread model: posix
gcc version 4.3.0 20070312 (experimental)
Comment 1 Andrew Pinski 2007-03-12 14:56:26 UTC

*** This bug has been marked as a duplicate of 31127 ***