This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ANSIfy cp/decl.c
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 09 Jan 2003 13:30:50 -0500
- Subject: Re: ANSIfy cp/decl.c
- References: <20030108152002.GA28561@doctormoo>
* decl.c: ANSIfy function declarations.
This patch has caused 6 new AIX regressions:
FAIL: g++.dg/eh/spec1.C (test for excess errors)
FAIL: g++.dg/eh/spec2.C (test for errors, line 5)
FAIL: g++.dg/eh/spec2.C (test for errors, line 6)
FAIL: g++.dg/eh/spec2.C (test for errors, line 7)
FAIL: g++.dg/eh/spec2.C (test for excess errors)
FAIL: g++.eh/spec7.C (test for excess errors)
Prior to the change, compiling spec2.C reported:
spec2.C:5: error: `f1' declared with an exception specification
spec2.C:6: error: `f2' declared with an exception specification
spec2.C:7: error: `f3' declared with an exception specification
After the change, the compiler outputs:
spec2.C:5: error: `f1' declared as an `inline' type
spec2.C:6: error: `f2' declared as an `inline' type
spec2.C:7: error: `f3' declared as an `inline' type
spec2.C:9: error: `f4' declared as an `inline' variable
spec2.C:10: error: `f5' declared as an `inline' variable
David