This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: middle-end/6994: ICE in find_function_data
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: adrian at suse dot de, gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, schwab at suse dot de
- Date: Wed, 12 Jun 2002 16:18:03 +0200
- Subject: Re: middle-end/6994: ICE in find_function_data
Hi,
the bug can be reproduced with the following code snippet
(just compile with g++ -c):
----------------------------snip here------------------------
class A
{
A( int );
};
A::A ( int i )
{
int ar[1][i];
ar[0][0] = 0;
}
----------------------------snip here------------------------
The bug is a regression from gcc 2.95.3 (it first appears in gcc 3.0
and is still present in the main trunk - checked on mips-sgi-irix6.5).
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6994