This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ANSIfy cp/decl.c


        * 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]