This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4373
- To: gin at mo dot msk dot ru, gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, rodrigc at gcc dot gnu dot org
- Subject: Re: c++/4373
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Date: Fri, 28 Sep 2001 09:58:04 +0200
Hi,
here's a smaller testcase that crashes with gcc 3.0:
int f(int);
void g(int i)
{
for (;;) {
if (f(i)) break;
int j = 0;
}
}
void h()
{
g(0);
}
Just compile with g++ -O3 -gdwarf-2 -c <filename>.
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4373&database=gcc