This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32300] New: ICE with -O2 -fsee
- From: "wouter dot vermaelen at scarlet dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2007 11:35:36 -0000
- Subject: [Bug c++/32300] New: ICE with -O2 -fsee
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
> cat bug.ii
struct vector {
int *start, *finish;
unsigned long size() { return finish - start; }
};
void f(vector& v) {
for (unsigned i = 0; i < v.size(); ++i);
}
> g++ -O2 -fsee bug.ii
bug.ii: In function ?void f(vector&)?:
bug.ii:7: internal compiler error: Segmentation fault
This started failing in the last couple of days.
I'm compiling on linux_x86_64.
--
Summary: ICE with -O2 -fsee
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wouter dot vermaelen at scarlet dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32300