Oops...

Mark Mitchell mark@codesourcery.com
Fri Jan 28 12:02:00 GMT 2000


Richard --

  While your patch does fix the problem I was seeing with net16.C, it
causes crashes on other test-cases.  I've appended an example.  This
is g++.benjamin/p13417.C.

  Thanks,
  
--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

=====

struct A
{
  ~A ();
};

bool foo ();

int i;
int j;

A bar ()
{
  for (i = 0; i < 1; ++i)
    if (j)
      {
	A tmp;
	return tmp;
      }
}


More information about the Gcc-bugs mailing list