c/8730: [3.2/3.3/3.4 regression] Cannot compile C function inside other C function
Janis Johnson
janis187@us.ibm.com
Tue Apr 1 18:20:00 GMT 2003
On Tue, Apr 01, 2003 at 11:08:39AM +0200, Steven Bosscher wrote:
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8730
>
> I cannot reproduce this PR anymore. The testcase,
>
> void foo()
> {
> void* bar(int i, int A[1][i]) { return A[0]; }
> }
>
> compilers fine for me with today's CVS (3.3 20030401). Could it be
> that this PR got fixed with Mark Mitchell's patch for 9936?
> (http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00018.html)
My regression hunting scripts verify that this patch fixes
the problem. I used the original larger test case on
i686-pc-linux-gnu.
Janis
More information about the Gcc-bugs
mailing list