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:26:00 GMT 2003
The following reply was made to PR c/8730; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: Steven Bosscher <s.bosscher@student.tudelft.nl>
Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
ilgis@num.uni-sb.de, gcc-prs@gcc.gnu.org, info@ilghiz.com,
mark@codesourcery.com
Subject: Re: c/8730: [3.2/3.3/3.4 regression] Cannot compile C function inside other C function
Date: Tue, 1 Apr 2003 10:22:29 -0800
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-prs
mailing list