c++/4373

Reichelt reichelt@igpm.rwth-aachen.de
Fri Sep 28 00:52:00 GMT 2001


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




More information about the Gcc-bugs mailing list