summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.old-deja/g++.bob
Commit message (Collapse)AuthorAgeFilesLines
* Enable implicitly deleted functions (N2346)jason2010-06-301-2/+2
| | | | | | | * class.c (check_bases_and_members): Adjust lambda flags. * method.c (implicitly_declare_fn): Set DECL_DELETED_FN if appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161581 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/overload/arg3.C: Adjust error locations.jason2010-06-151-3/+2
| | | | | | | | | | | | * g++.dg/overload/copy1.C: Likewise. * g++.dg/tc1/dr152.C: Likewise. * g++.dg/template/incomplete4.C: Likewise. * g++.dg/template/incomplete5.C: Likewise. * g++.old-deja/g++.bob/inherit2.C: Likewise. * g++.old-deja/g++.pt/auto_ptr.C: Likewise. * g++.old-deja/g++.pt/crash9.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160814 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/25241janis2008-09-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/g++.exp (g++_init): Enable overrides of dg-error, dg-warning for C++ tests. * g++.dg/conversion/ambig1.C: Clean up dg-error/dg-warning; use dg-message for notes. * g++.dg/conversion/simd1.C: Ditto. * g++.dg/conversion/simd3.C: Ditto. * g++.dg/cpp0x/rv2n.C: Ditto. * g++.dg/cpp0x/rv3n.C: Ditto. * g++.dg/cpp0x/rv4n.C: Ditto. * g++.dg/cpp0x/rv5n.C: Ditto. * g++.dg/cpp0x/rv6n.C: Ditto. * g++.dg/cpp0x/rv7n.C: Ditto. * g++.dg/cpp0x/variadic36.C: Ditto. * g++.dg/cpp0x/variadic59.C: Ditto. * g++.dg/cpp0x/variadic71.C: Ditto. * g++.dg/cpp0x/variadic-ex13.C: Ditto. * g++.dg/expr/cond9.C: Ditto. * g++.dg/expr/pmf-1.C: Ditto. * g++.dg/ext/case-range2.C: Ditto. * g++.dg/ext/case-range3.C: Ditto. * g++.dg/ext/is_class_error2.C: Ditto. * g++.dg/ext/label5.C: Ditto. * g++.dg/ext/pr27019.C: Ditto. * g++.dg/gomp/pr26690-1.C: Ditto. * g++.dg/gomp/pr26690-2.C: Ditto. * g++.dg/gomp/pr34694.C: Ditto. * g++.dg/gomp/tpl-parallel-2.C: Ditto. * g++.dg/inherit/base3.C: Ditto. * g++.dg/inherit/using6.C: Ditto. * g++.dg/init/brace6.C: Ditto. * g++.dg/init/ctor4.C: Ditto. * g++.dg/lookup/conv-1.C: Ditto. * g++.dg/lookup/new1.C: Ditto. * g++.dg/lookup/scoped6.C: Ditto. * g++.dg/lookup/using7.C: Ditto. * g++.dg/lookup/using9.C: Ditto. * g++.dg/other/abstract1.C: Ditto. * g++.dg/other/abstract2.C: Ditto. * g++.dg/other/anon5.C: Ditto. * g++.dg/other/crash-4.C: Ditto. * g++.dg/other/error10.C: Ditto. * g++.dg/other/error13.C: Ditto. * g++.dg/other/error20.C: Ditto. * g++.dg/other/error5.C: Ditto. * g++.dg/other/field1.C: Ditto. * g++.dg/other/offsetof5.C: Ditto. * g++.dg/other/semicolon.C: Ditto. * g++.dg/overload/ambig1.C: Ditto. * g++.dg/overload/arg3.C: Ditto. * g++.dg/overload/builtin1.C: Ditto. * g++.dg/overload/copy1.C: Ditto. * g++.dg/overload/new1.C: Ditto. * g++.dg/overload/template4.C: Ditto. * g++.dg/overload/using2.C: Ditto. * g++.dg/parse/bitfield2.C: Ditto. * g++.dg/parse/constant4.C: Ditto. * g++.dg/parse/crash20.C: Ditto. * g++.dg/parse/crash36.C: Ditto. * g++.dg/parse/crash5.C: Ditto. * g++.dg/parse/error11.C: Ditto. * g++.dg/parse/error12.C: Ditto. * g++.dg/parse/error19.C: Ditto. * g++.dg/parse/error28.C: Ditto. * g++.dg/parse/friend5.C: Ditto. * g++.dg/parse/invalid-op1.C: Ditto. * g++.dg/parse/missing-template1.C: Ditto. * g++.dg/parse/non-dependent2.C: Ditto. * g++.dg/parse/ret-type2.C: Ditto. * g++.dg/parse/specialization1.C: Ditto. * g++.dg/parse/template18.C: Ditto. * g++.dg/parse/template3.C: Ditto. * g++.dg/parse/template9.C: Ditto. * g++.dg/tc1/dr108.C: Ditto. * g++.dg/tc1/dr152.C: Ditto. * g++.dg/tc1/dr166.C: Ditto. * g++.dg/template/access11.C: Ditto. * g++.dg/template/access2.C: Ditto. * g++.dg/template/access3.C: Ditto. * g++.dg/template/access7.C: Ditto. * g++.dg/template/copy1.C: Ditto. * g++.dg/template/crash13.C: Ditto. * g++.dg/template/crash37.C: Ditto. * g++.dg/template/crash40.C: Ditto. * g++.dg/template/crash58.C: Ditto. * g++.dg/template/ctor5.C: Ditto. * g++.dg/template/dependent-expr5.C: Ditto. * g++.dg/template/eh2.C: Ditto. * g++.dg/template/error2.C: Ditto. * g++.dg/template/error33.C: Ditto. * g++.dg/template/error4.C: Ditto. * g++.dg/template/friend31.C: Ditto. * g++.dg/template/friend32.C: Ditto. * g++.dg/template/instantiate1.C: Ditto. * g++.dg/template/instantiate3.C: Ditto. * g++.dg/template/instantiate5.C: Ditto. * g++.dg/template/instantiate7.C: Ditto. * g++.dg/template/local6.C: Ditto. * g++.dg/template/lookup2.C: Ditto. * g++.dg/template/member5.C: Ditto. * g++.dg/template/memfriend15.C: Ditto. * g++.dg/template/memfriend16.C: Ditto. * g++.dg/template/memfriend17.C: Ditto. * g++.dg/template/memfriend7.C: Ditto. * g++.dg/template/meminit1.C: Ditto. * g++.dg/template/nested3.C: Ditto. * g++.dg/template/new3.C: Ditto. * g++.dg/template/nontype12.C: Ditto. * g++.dg/template/nontype13.C: Ditto. * g++.dg/template/nontype6.C: Ditto. * g++.dg/template/non-type-template-argument-1.C: Ditto. * g++.dg/template/overload9.C: Ditto. * g++.dg/template/ptrmem15.C: Ditto. * g++.dg/template/ptrmem17.C: Ditto. * g++.dg/template/ptrmem4.C: Ditto. * g++.dg/template/ptrmem6.C: Ditto. * g++.dg/template/ptrmem8.C: Ditto. * g++.dg/template/qualified-id1.C: Ditto. * g++.dg/template/qualttp20.C: Ditto. * g++.dg/template/qualttp3.C: Ditto. * g++.dg/template/qualttp4.C: Ditto. * g++.dg/template/qualttp5.C: Ditto. * g++.dg/template/qualttp6.C: Ditto. * g++.dg/template/qualttp7.C: Ditto. * g++.dg/template/qualttp8.C: Ditto. * g++.dg/template/recurse.C: Ditto. * g++.dg/template/sfinae10.C: Ditto. * g++.dg/template/sfinae3.C: Ditto. * g++.dg/template/spec22.C: Ditto. * g++.dg/template/spec23.C: Ditto. * g++.dg/template/static9.C: Ditto. * g++.dg/template/template-id-2.C: Ditto. * g++.dg/template/typename2.C: Ditto. * g++.dg/template/typename4.C: Ditto. * g++.dg/template/using14.C: Ditto. * g++.dg/template/using2.C: Ditto. * g++.dg/template/warn1.C: Ditto. * g++.dg/warn/incomplete1.C: Ditto. * g++.dg/warn/noeffect2.C: Ditto. * g++.dg/warn/noeffect4.C: Ditto. * g++.dg/warn/pr8570.C: Ditto. * g++.dg/warn/Wparentheses-13.C: Ditto. * g++.dg/warn/Wparentheses-15.C: Ditto. * g++.dg/warn/Wparentheses-16.C: Ditto. * g++.dg/warn/Wparentheses-17.C: Ditto. * g++.dg/warn/Wparentheses-18.C: Ditto. * g++.dg/warn/Wparentheses-19.C: Ditto. * g++.dg/warn/Wparentheses-20.C: Ditto. * g++.dg/warn/Wparentheses-23.C: Ditto. * g++.dg/warn/Wstrict-aliasing-3.C: Ditto. * g++.old-deja/g++.benjamin/15799.C: Ditto. * g++.old-deja/g++.benjamin/15800-1.C: Ditto. * g++.old-deja/g++.benjamin/16077.C: Ditto. * g++.old-deja/g++.bob/inherit2.C: Ditto. * g++.old-deja/g++.brendan/ambiguity1.C: Ditto. * g++.old-deja/g++.brendan/crash29.C: Ditto. * g++.old-deja/g++.brendan/crash48.C: Ditto. * g++.old-deja/g++.brendan/crash56.C: Ditto. * g++.old-deja/g++.brendan/cvt3.C: Ditto. * g++.old-deja/g++.brendan/overload1.C: Ditto. * g++.old-deja/g++.brendan/overload4.C: Ditto. * g++.old-deja/g++.brendan/overload9.C: Ditto. * g++.old-deja/g++.bugs/900127_01.C: Ditto. * g++.old-deja/g++.bugs/900205_04.C: Ditto. * g++.old-deja/g++.bugs/900330_02.C: Ditto. * g++.old-deja/g++.bugs/900404_03.C: Ditto. * g++.old-deja/g++.bugs/900514_03.C: Ditto. * g++.old-deja/g++.eh/ctor1.C: Ditto. * g++.old-deja/g++.eh/spec6.C: Ditto. * g++.old-deja/g++.ext/overload1.C: Ditto. * g++.old-deja/g++.jason/conversion11.C: Ditto. * g++.old-deja/g++.jason/crash3.C: Ditto. * g++.old-deja/g++.jason/lineno3.C: Ditto. * g++.old-deja/g++.jason/lineno4.C: Ditto. * g++.old-deja/g++.jason/opeq3.C: Ditto. * g++.old-deja/g++.jason/overload16.C: Ditto. * g++.old-deja/g++.jason/overload28.C: Ditto. * g++.old-deja/g++.jason/pmf5.C: Ditto. * g++.old-deja/g++.jason/scoping10.C: Ditto. * g++.old-deja/g++.jason/template30.C: Ditto. * g++.old-deja/g++.jason/temporary2.C: Ditto. * g++.old-deja/g++.jason/tredecl4.C: Ditto. * g++.old-deja/g++.law/arg11.C: Ditto. * g++.old-deja/g++.law/arg1.C: Ditto. * g++.old-deja/g++.law/arm9.C: Ditto. * g++.old-deja/g++.law/ctors11.C: Ditto. * g++.old-deja/g++.law/ctors17.C: Ditto. * g++.old-deja/g++.law/ctors5.C: Ditto. * g++.old-deja/g++.law/ctors9.C: Ditto. * g++.old-deja/g++.law/enum4.C: Ditto. * g++.old-deja/g++.law/missed-error2.C: Ditto. * g++.old-deja/g++.law/operators9.C: Ditto. * g++.old-deja/g++.mike/net22.C: Ditto. * g++.old-deja/g++.mike/net2.C: Ditto. * g++.old-deja/g++.mike/p11110.C: Ditto. * g++.old-deja/g++.mike/p1989.C: Ditto. * g++.old-deja/g++.mike/p2431.C: Ditto. * g++.old-deja/g++.mike/p438.C: Ditto. * g++.old-deja/g++.mike/p807a.C: Ditto. * g++.old-deja/g++.mike/p9068.C: Ditto. * g++.old-deja/g++.niklas/t120.C: Ditto. * g++.old-deja/g++.niklas/t121.C: Ditto. * g++.old-deja/g++.niklas/t128.C: Ditto. * g++.old-deja/g++.ns/overload2.C: Ditto. * g++.old-deja/g++.ns/template13.C: Ditto. * g++.old-deja/g++.ns/using12.C: Ditto. * g++.old-deja/g++.oliva/delete1.C: Ditto. * g++.old-deja/g++.oliva/overload1.C: Ditto. * g++.old-deja/g++.other/crash24.C: Ditto. * g++.old-deja/g++.other/crash25.C: Ditto. * g++.old-deja/g++.other/decl3.C: Ditto. * g++.old-deja/g++.other/expr1.C: Ditto. * g++.old-deja/g++.other/overcnv2.C: Ditto. * g++.old-deja/g++.other/overload11.C: Ditto. * g++.old-deja/g++.other/pmf3.C: Ditto. * g++.old-deja/g++.other/ptrmem7.C: Ditto. * g++.old-deja/g++.other/vaarg3.C: Ditto. * g++.old-deja/g++.other/volatile1.C: Ditto. * g++.old-deja/g++.pt/assign1.C: Ditto. * g++.old-deja/g++.pt/auto_ptr.C: Ditto. * g++.old-deja/g++.pt/const2.C: Ditto. * g++.old-deja/g++.pt/crash10.C: Ditto. * g++.old-deja/g++.pt/crash20.C: Ditto. * g++.old-deja/g++.pt/crash36.C: Ditto. * g++.old-deja/g++.pt/crash38.C: Ditto. * g++.old-deja/g++.pt/derived3.C: Ditto. * g++.old-deja/g++.pt/error2.C: Ditto. * g++.old-deja/g++.pt/explicit34.C: Ditto. * g++.old-deja/g++.pt/explicit70.C: Ditto. * g++.old-deja/g++.pt/friend23.C: Ditto. * g++.old-deja/g++.pt/ptrmem10.C: Ditto. * g++.old-deja/g++.pt/redecl1.C: Ditto. * g++.old-deja/g++.pt/spec35.C: Ditto. * g++.old-deja/g++.pt/t05.C: Ditto. * g++.old-deja/g++.pt/typename3.C: Ditto. * g++.old-deja/g++.pt/typename6.C: Ditto. * g++.old-deja/g++.pt/unify8.C: Ditto. * g++.old-deja/g++.pt/vaarg3.C: Ditto. * g++.old-deja/g++.robertl/eb109.C: Ditto. * g++.old-deja/g++.robertl/eb131.C: Ditto. * g++.old-deja/g++.robertl/eb22.C: Ditto. * g++.old-deja/g++.robertl/eb44.C: Ditto. * g++.old-deja/g++.robertl/eb4.C: Ditto. * g++.old-deja/g++.robertl/eb69.C: Ditto. * g++.dg/parse/constructor1.C: Remove "error" from dg-error, preserving column number. * g++.dg/parse/error10.C: Ditto. * g++.dg/parse/error13.C: Ditto. * g++.dg/parse/error14.C: Ditto. * g++.dg/parse/error15.C: Ditto. * g++.dg/parse/error16.C: Ditto. * g++.dg/parse/error17.C: Ditto. * g++.dg/parse/error18.C: Ditto. * g++.dg/parse/error1.C: Ditto. * g++.dg/parse/error20.C: Ditto. * g++.dg/parse/error21.C: Ditto. * g++.dg/parse/error22.C: Ditto. * g++.dg/parse/error23.C: Ditto. * g++.dg/parse/error24.C: Ditto. * g++.dg/parse/error25.C: Ditto. * g++.dg/parse/error26.C: Ditto. * g++.dg/parse/error27.C: Ditto. * g++.dg/parse/error29.C: Ditto. * g++.dg/parse/error2.C: Ditto. * g++.dg/parse/error30.C: Ditto. * g++.dg/parse/error31.C: Ditto. * g++.dg/parse/error3.C: Ditto. * g++.dg/parse/error4.C: Ditto. * g++.dg/parse/error5.C: Ditto. * g++.dg/parse/error6.C: Ditto. * g++.dg/parse/error7.C: Ditto. * g++.dg/parse/error8.C: Ditto. * g++.dg/parse/error9.C: Ditto. * g++.dg/parse/error-column.C: Ditto. * g++.dg/template/crash80.C: Ditto. * g++.dg/template/friend44.C: Ditto. * g++.dg/warn/pr26785.C: Ditto. * g++.old-deja/g++.brendan/crash16.C: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140476 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/25241janis2008-09-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/g++.dg/charset/attribute2.c: Replace dg-error with dg-warning or vice versa. * testsuite/g++.dg/conversion/dr195.C: Ditto. * testsuite/g++.dg/cpp0x/variadic60.C: Ditto. * testsuite/g++.dg/expr/cast2.C: Ditto. * testsuite/g++.dg/ext/anon-struct4.C: Ditto. * testsuite/g++.dg/ext/member-attr.C: Ditto. * testsuite/g++.dg/ext/utf-array.C: Ditto. * testsuite/g++.dg/ext/utf-array-short-wchar.C: Ditto. * testsuite/g++.dg/ext/utf-typedef-cxx0x.C: Ditto. * testsuite/g++.dg/ext/visibility/redecl1.C: Ditto. * testsuite/g++.dg/ext/visibility/warn4.C: Ditto. * testsuite/g++.dg/parse/defarg11.C: Ditto. * testsuite/g++.dg/template/error17.C: Ditto. * testsuite/g++.dg/warn/pedantic2.C: Ditto. * testsuite/g++.dg/warn/pr21983.C: Ditto. * testsuite/g++.dg/warn/return-reference2.C: Ditto. * testsuite/g++.old-deja/g++.bob/inherit1.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash13.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash17.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash52.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash55.C: Ditto. * testsuite/g++.old-deja/g++.brendan/enum7.C: Ditto. * testsuite/g++.old-deja/g++.brendan/operators4.C: Ditto. * testsuite/g++.old-deja/g++.brendan/template17.C: Ditto. * testsuite/g++.old-deja/g++.brendan/warnings1.C: Ditto. * testsuite/g++.old-deja/g++.bugs/900205_03.C: Ditto. * testsuite/g++.old-deja/g++.bugs/900227_01.C: Ditto. * testsuite/g++.old-deja/g++.ext/arrnew.C: Ditto. * testsuite/g++.old-deja/g++.ext/attrib4.C: Ditto. * testsuite/g++.old-deja/g++.jason/cond.C: Ditto. * testsuite/g++.old-deja/g++.jason/operator.C: Ditto. * testsuite/g++.old-deja/g++.jason/report.C: Ditto. * testsuite/g++.old-deja/g++.law/friend5.C: Ditto. * testsuite/g++.old-deja/g++.law/temps1.C: Ditto. * testsuite/g++.old-deja/g++.law/union4.C: Ditto. * testsuite/g++.old-deja/g++.martin/pure1.C: Ditto. * testsuite/g++.old-deja/g++.mike/empty.C: Ditto. * testsuite/g++.old-deja/g++.mike/for2.C: Ditto. * testsuite/g++.old-deja/g++.mike/misc9.C: Ditto. * testsuite/g++.old-deja/g++.mike/p10769b.C: Ditto. * testsuite/g++.old-deja/g++.mike/p2855.C: Ditto. * testsuite/g++.old-deja/g++.mike/p3060c.C: Ditto. * testsuite/g++.old-deja/g++.mike/p700.C: Ditto. * testsuite/g++.old-deja/g++.mike/p9732c.C: Ditto. * testsuite/g++.old-deja/g++.mike/pmf6.C: Ditto. * testsuite/g++.old-deja/g++.mike/warn1.C: Ditto. * testsuite/g++.old-deja/g++.mike/warn5.C: Ditto. * testsuite/g++.old-deja/g++.niklas/t141.C: Ditto. * testsuite/g++.old-deja/g++.other/cast6.C: Ditto. * testsuite/g++.old-deja/g++.other/cond5.C: Ditto. * testsuite/g++.old-deja/g++.other/conv8.C: Ditto. * testsuite/g++.old-deja/g++.other/decl5.C: Ditto. * testsuite/g++.old-deja/g++.other/delete2.C: Ditto. * testsuite/g++.old-deja/g++.other/delete4.C: Ditto. * testsuite/g++.old-deja/g++.other/linkage1.C: Ditto. * testsuite/g++.old-deja/g++.other/ptrmem8.C: Ditto. * testsuite/g++.old-deja/g++.other/typename1.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename14.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename4.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename5.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename7.C: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140405 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-22 Dirk Mueller <dmueller@suse.de>mueller2007-03-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * g++.old-deja/g++.brendan/warnings2.C: Don't use -pedantic. * g++.dg/other/static1.C: Remove stray semicolon. * g++.dg/other/init1.C: Likewise. * g++.dg/rtti/dyncast1.C: Likewise. * g++.dg/tree-ssa/pr17153.C: Likewise. * g++.dg/lookup/disamb1.C: Likewise. * g++.dg/lookup/scoped2.C: Likewise. * g++.dg/lookup/friend7.C: Likewise. * g++.dg/parse/parse4.C: Likewise. * g++.dg/parse/parse5.C: Likewise. * g++.dg/expr/pr29066.C: Likewise. * g++.dg/expr/cast4.C: Likewise. * g++.dg/tc1/dr193.C: Likewise. * g++.dg/tc1/dr213.C: Likewise. * g++.dg/abi/dcast1.C: Likewise. * g++.dg/abi/covariant2.C: Likewise. * g++.dg/inherit/covariant11.C: Likewise. * g++.dg/inherit/covariant9.C: Likewise. * g++.dg/inherit/covariant10.C: Likewise. * g++.dg/init/static3.C: Likewise. * g++.dg/init/init-ref3.C: Likewise. * g++.dg/init/ref10.C: Likewise. * g++.dg/template/meminit2.C: Likewise. * g++.dg/template/using9.C: Likewise. * g++.dg/template/friend9.C: Likewise. * g++.dg/template/ref1.C: Likewise. * g++.old-deja/g++.warn/inline.C: Likewise. * g++.old-deja/g++.robertl/eb91.C: Likewise. * g++.old-deja/g++.robertl/eb46.C: Likewise. * g++.old-deja/g++.robertl/eb34.C: Likewise. * g++.old-deja/g++.robertl/eb43.C: Likewise. * g++.old-deja/g++.robertl/eb26.C: Likewise. * g++.old-deja/g++.robertl/eb116.C: Likewise. * g++.old-deja/g++.brendan/copy5.C: Likewise. * g++.old-deja/g++.brendan/overload8.C: Likewise. * g++.old-deja/g++.brendan/overload11.C: Likewise. * g++.old-deja/g++.brendan/copy7.C: Likewise. * g++.old-deja/g++.brendan/crash38.C: Likewise. * g++.old-deja/g++.brendan/template11.C: Likewise. * g++.old-deja/g++.brendan/err-msg3.C: Likewise. * g++.old-deja/g++.brendan/crash50.C: Likewise. * g++.old-deja/g++.brendan/crash16.C: Likewise. * g++.old-deja/g++.jason/pmem2.C: Likewise. * g++.old-deja/g++.jason/parse9.C: Likewise. * g++.old-deja/g++.jason/byval2.C: Likewise. * g++.old-deja/g++.jason/overload8.C: Likewise. * g++.old-deja/g++.jason/pmf8.C: Likewise. * g++.old-deja/g++.jason/template33.C: Likewise. * g++.old-deja/g++.jason/return3.C: Likewise. * g++.old-deja/g++.jason/scoping2.C: Likewise. * g++.old-deja/g++.jason/virtual.C: Likewise. * g++.old-deja/g++.jason/opeq3.C: Likewise. * g++.old-deja/g++.jason/template27.C: Likewise. * g++.old-deja/g++.jason/synth6.C: Likewise. * g++.old-deja/g++.jason/ref8.C: Likewise. * g++.old-deja/g++.jason/offset1.C: Likewise. * g++.old-deja/g++.other/static20.C: Likewise. * g++.old-deja/g++.other/array1.C: Likewise. * g++.old-deja/g++.other/new3.C: Likewise. * g++.old-deja/g++.other/array2.C: Likewise. * g++.old-deja/g++.other/overload9.C: Likewise. * g++.old-deja/g++.other/cast6.C: Likewise. * g++.old-deja/g++.other/ptrmem8.C: Likewise. * g++.old-deja/g++.other/eh4.C: Likewise. * g++.old-deja/g++.other/using7.C: Likewise. * g++.old-deja/g++.other/init18.C: Likewise. * g++.old-deja/g++.other/dyncast1.C: Likewise. * g++.old-deja/g++.other/dyncast2.C: Likewise. * g++.old-deja/g++.other/dtor11.C: Likewise. * g++.old-deja/g++.pt/static11.C: Likewise. * g++.old-deja/g++.pt/crash19.C: Likewise. * g++.old-deja/g++.pt/overload12.C: Likewise. * g++.old-deja/g++.pt/crash46.C: Likewise. * g++.old-deja/g++.pt/mi1.C: Likewise. * g++.old-deja/g++.pt/vaarg3.C: Likewise. * g++.old-deja/g++.pt/nontype5.C: Likewise. * g++.old-deja/g++.pt/local5.C: Likewise. * g++.old-deja/g++.pt/typename2.C: Likewise. * g++.old-deja/g++.pt/explicit80.C: Likewise. * g++.old-deja/g++.pt/auto_ptr.C: Likewise. * g++.old-deja/g++.law/visibility1.C: Likewise. * g++.old-deja/g++.law/visibility2.C: Likewise. * g++.old-deja/g++.law/virtual2.C: Likewise. * g++.old-deja/g++.law/operators19.C: Likewise. * g++.old-deja/g++.law/parsing10.C: Likewise. * g++.old-deja/g++.law/visibility4.C: Likewise. * g++.old-deja/g++.law/operators4.C: Likewise. * g++.old-deja/g++.law/dtors2.C: Likewise. * g++.old-deja/g++.law/missed-error3.C: Likewise. * g++.old-deja/g++.law/visibility10.C: Likewise. * g++.old-deja/g++.law/scope3.C: Likewise. * g++.old-deja/g++.law/casts2.C: Likewise. * g++.old-deja/g++.law/code-gen5.C: Likewise. * g++.old-deja/g++.law/operators33.C: Likewise. * g++.old-deja/g++.law/friend4.C: Likewise. * g++.old-deja/g++.mike/pmf7.C: Likewise. * g++.old-deja/g++.mike/p5611.C: Likewise. * g++.old-deja/g++.mike/net37.C: Likewise. * g++.old-deja/g++.mike/p3570.C: Likewise. * g++.old-deja/g++.mike/p5718.C: Likewise. * g++.old-deja/g++.mike/net21.C: Likewise. * g++.old-deja/g++.mike/p1862.C: Likewise. * g++.old-deja/g++.mike/p4511.C: Likewise. * g++.old-deja/g++.mike/virt3.C: Likewise. * g++.old-deja/g++.mike/p16146.C: Likewise. * g++.old-deja/g++.mike/p1989.C: Likewise. * g++.old-deja/g++.mike/p5571.C: Likewise. * g++.old-deja/g++.gb/scope10.C: Likewise. * g++.old-deja/g++.abi/primary5.C: Likewise. * g++.old-deja/g++.abi/empty2.C: Likewise. * g++.old-deja/g++.abi/arraynew.C: Likewise. * g++.old-deja/g++.eh/vbase4.C: Likewise. * g++.old-deja/g++.eh/ptr1.C: Likewise. * g++.old-deja/g++.eh/cleanup1.C: Likewise. * g++.old-deja/g++.bob/template3.C: Likewise. * g++.old-deja/g++.bob/inherit1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123132 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2005-06-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR c++/21280 * Make-lang.in (method.o): Add diagnostic.h * decl.c (start_preparsed_function): Use decl's location for file info. * decl2.c (cp_finish_file): Set input_location before synthesizing a function. (mark_used): When deferring a synthesized function, save current location. Do not set function's location when actually synthesizing it. * method.c: #include diagnostic.h. (synthesize_method): Set the functions source location. Show needed location if errors are emitted. testsuite: PR c++/21280 * g++.dg/opt/interface2.h: New. * g++.dg/opt/interface2.C: New. * g++.dg/init/ctor4.C: Adjust error lines. * g++.old-deja/g++.bob/inherit2.C: Likewise. * g++.old-deja/g++.bugs/900205_04.C: Likewise. * g++.old-deja/g++.jason/opeq3.C: Likewise. * g++.old-deja/g++.pt/assign1.C: Likewise. * g++.old-deja/g++.pt/crash20.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100500 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/g++-dg.exp (g++-dg-test): Add "repo" option.mmitchel2003-05-0118-22/+28
| | | | | | | | | | | | | | (dg-gpp-additional-sources): New function. (dg-gpp-additional-files): Likewise. * lib/g++.exp (additional_sources): New variable. (additional_files): Likewise. (g++_target_compile): Deal with them. * lib/old-dejagnu.exp: Remove. * g++.old-deja/old-deja.exp: Use dg.exp, not old-dejagnu.exp. * g++.old-deja: Revise all tests to use dg commands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66317 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/eh/spec4.C: Remove stray semicolon.mmitchel2002-12-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * g++.dg/expr/pmf-1.C: Change error message. * g++.dg/ext/asm1.C: Remove stray semicolon. * g++.dg/ext/typename1.C: Add missing typenames. * g++.dg/inherit/template-as-base.C: Change error message. * g++.dg/lookup/scoped1.C: Likewise. * g++.dg/lookup/scoped2.C: Likewise. * g++.dg/lookup/using2.C: Likewise. * g++.dg/other/component1.C: Remove stray semicolon. * g++.dg/other/do1.C: Change error message. * g++.dg/other/error2.C: Likewise. * g++.dg/other/init1.C: Likewise. * g++.dg/other/packed1.C: Remove stray semicolon. * g++.dg/other/ptrmem2.C: Change error message. * g++.dg/parse/parameter-declaration-1.C: Remove line number marker. * g++.dg/special/initp1.C: Remove invalid attribute usage. * g++.dg/template/access3.C: Add typename keyword. * g++.dg/template/access5.C: Remove stray semicolon. * g++.dg/template/access6.C: Likewise. * g++.dg/template/complit1.C: Likewise. * g++.dg/template/crash1.C: Change error message. * g++.dg/template/inherit2.C: Remove stray semicolon. * g++.dg/template/instantiate2.C: Likewise. * g++.dg/template/instantiate3.C: Change error message. * g++.dg/template/qual1.C: Remove stray semicolon. * g++.dg/template/qualttp18.C: Change error message. * g++.dg/template/ref1.C: Remove stray semicolon. * g++.dg/template/sizeof1.C (A::value): Declare it. * g++.dg/template/spec4.C: Change error message. * g++.dg/template/static1.C: Likewise. * g++.dg/template/type1.C: Likewise. * g++.dg/template/typename3.C: Likewise. * g++.old-deja/g++.benjamin/13478.C: Change error message. * g++.old-deja/g++.benjamin/15799.C: Remove stray semicolon. * g++.old-deja/g++.benjamin/bool01.C: Likewise. * g++.old-deja/g++.benjamin/bool02.C: Likewise. * g++.old-deja/g++.benjamin/p13417.C: Now fails due to use of named return value extension. * g++.old-deja/g++.benjamin/tem06.C: Remove stray semicolon. * g++.old-deja/g++.benjmain/warn01.C: Likewise. * g++.old-deja/g++.bob/extern_C.C: Likewise. * g++.old-deja/g++.bob/inherit2.C: Likewise. * g++.old-deja/g++.brendan/complex1.C: Likewise. * g++.old-deja/g++.brendan/copy5.C: Likewise. * g++.old-deja/g++.brendan/crash13.C: Likewise. * g++.old-deja/g++.brendan/crash15.C: Likewise. * g++.old-deja/g++.brendan/crash18.C: Change error message. * g++.old-deja/g++.brendan/crash37.C: Remove stray semicolon. * g++.old-deja/g++.brendan/crash38.C: Likewise. * g++.old-deja/g++.brendan/crash50.C: Likewise. * g++.old-deja/g++.brendan/crash56.C: Likewise. * g++.old-deja/g++.brendan/crash6.C: Use explicit specialization syntax. * g++.old-deja/g++.brendan/crash66.C: Remove stray semicolon. * g++.old-deja/g++.brendan/crash8.C: Change error message. * g++.old-deja/g++.brendan/ctors1.C: Remove stray semicolon. * g++.old-deja/g++.brendan/ctors2.C: Likewise. * g++.old-deja/g++.brendan/shadow1.C: Likewise. * g++.old-deja/g++.brendan/template11.C: Likewise. * g++.old-deja/g++.brendan/template26.C: Likewise. * g++.old-deja/g++.brendan/template27.C: Use explicit specialization syntax. * g++.old-deja/g++.brendan/template30.C: Likewise. * g++.old-deja/g++.brendan/template5.C: Remove stray semicolon. * g++.old-deja/g++.brendan/visibility3.C: Account for use of non-dependent names. * g++.old-deja/g++.brendan/warnings4.C: Remove stray semicolon. * g++.old-deja/g++.brendan/warnings7.C: Likewise. * g++.old-deja/g++.bugs/900121_02.C: Likewise. * g++.old-deja/g++.eh/catchptr1.C: Likewise. * g++.old-deja/g++.ext/addrfunc4.C: Likewise. * g++.old-deja/g++.ext/namedret1.C: Now fails due to use of named return value extension. * g++.old-deja/g++.ext/namedret2.C: Likewise. * g++.old-deja/g++.ext/namedret3.C: Likewise. * g++.old-deja/g++.ext/return1.C: Likewise. * g++.old-deja/g++.ext/typename1.C: Add missing typename keywords. * g++.old-deja/g++.jason/access17.C: Issue more error messages. * g++.old-deja/g++.jason/access8.C: Likewise. * g++.old-deja/g++.jason/bool.C: Remove stray semicolon. * g++.old-deja/g++.jason/destruct.C: Remove incorrect pseudo-destructor names. * g++.old-deja/g++.jason/dtor3.C: Remove stray semicolon. * g++.old-deja/g++.jason/dtor5.C: Remove incorrect pseudo-destructor names. * g++.old-deja/g++.jason/opeq3.C: Remove stray semicolon. * g++.old-deja/g++.jason/overload19.C: Likewise. * g++.old-deja/g++.jason/overload32.C: Likewise. * g++.old-deja/g++.jason/parse11.C: Issue error messages about stray semicolons. * g++.old-deja/g++.jason/pmem2.C: Remove stray semicolon. * g++.old-deja/g++.jason/return.C: Likewise. * g++.old-deja/g++.jason/return2.C: Likewise. * g++.old-deja/g++.jason/shadow1.C: Likewise. * g++.old-deja/g++.jason/special.C: Use explicit specialization syntax. * g++.old-deja/g++.jason/template10.C: Account for use of non-dependent names. * g++.old-deja/g++.jason/template11.C: Use explicit specialization syntax. * g++.old-deja/g++.jason/template37.C: Likewise. * g++.old-deja/g++.law/access4.C: Change error messages. * g++.old-deja/g++.law/arm13.C: Remove incorrect pseudo-destructor names. * g++.old-deja/g++.law/code-gen5.C: Remove stray semicolon. * g++.old-deja/g++.law/ctors9.C: Likewise. * g++.old-deja/g++.law/cvt22.C: Likewise. * g++.old-deja/g++.law/dtors5.C: Likewise. * g++.old-deja/g++.law/global-init1.C: Likewise. * g++.old-deja/g++.law/missed-error3.C: Likewise. * g++.old-deja/g++.law/operators28.C: Likewise. * g++.old-deja/g++.law/visibility28.C: Likewise. * g++.old-deja/g++.martin/eval1.C: Likewise. * g++.old-deja/g++.martin/pmf2.C: Remove qualifier in constructor name. * g++.old-deja/g++.mike/hog1.C: Remove stray semicolon. * g++.old-deja/g++.mike/net34.C: Likewise. * g++.old-deja/g++.mike/net36.C: Likewise. * g++.old-deja/g++.mike/ns2.C: Likewise. * g++.old-deja/g++.mike/p12306.C: Likewise. * g++.old-deja/g++.mike/p646.C: Adjust for removal of named return value extension. * g++.old-deja/g++.mike/p700.C: Likewise. * g++.old-deja/g++.mike/p701.C: Remove stray semicolon. * g++.old-deja/g++.mike/p710.C: Likewise. * g++.old-deja/g++.mike/p784.C: Adjust for removal of named return value extension. * g++.old-deja/g++.mike/pmf7.C: Remove stray semicolon. * g++.old-deja/g++.mike/pmf9.C: Likewise. * g++.old-deja/g++.ns/crash2.C: Likewise. * g++.old-deja/g++.ns/crash3.C: Likewise. * g++.old-deja/g++.ns/invalid1.C: Likewise. * g++.old-deja/g++.ns/ns17.C: Likewise. * g++.old-deja/g++.ns/template16.C: Likewise. * g++.old-deja/g++.ns/template5.C: Remove invalid use of template keyword. * g++.old-deja/g++.ns/template6.C: Remove stray semicolon. * g++.old-deja/g++.ns/using9.C: Remove stray semicolon. * g++.old-deja/g++.oliva/nameret1.C: Now fails due to use of named return value extension. * g++.old-deja/g++.oliva/nameret2.C: Likewise. * g++.old-deja/g++.other/access4.C: Issue additional error messages. * g++.old-deja/g++.other/array6.C: Remove stray semicolon. * g++.old-deja/g++.other/crash1.C: Isue additional error messages. * g++.old-deja/g++.other/crash11.C: Add missing class-key. * g++.old-deja/g++.other/crash25.C: Change error message. * g++.old-deja/g++.other/crash4.C: Change error message. * g++.old-deja/g++.other/debug7.C: Remove stray semicolon. * g++.old-deja/g++.other/decl5.C: Issue more error messages. * g++.old-deja/g++.other/defarg7.C: Remove circular dependency checks. * g++.old-deja/g++.other/defarg8.C: Likewise. * g++.old-deja/g++.other/dtor1.C: Remove stray semicolon. * g++.old-deja/g++.other/dtor10.C: Likewise. * g++.old-deja/g++.other/incomplete.C: Likewise. * g++.old-deja/g++.other/linkage7.C: Likewise. * g++.old-deja/g++.other/lookup19.C: Now fails due to corrected lookup algorithm. * g++.old-deja/g++.other/mangle2.C: Likewise. * g++.old-deja/g++.other/refinit2.C: Likewise. * g++.old-deja/g++.other/sizeof2.C: Change error messages. * g++.old-deja/g++.other/std1.C: Remove stray semicolon. * g++.old-deja/g++.pt/crash28.C: Likewise. * g++.old-deja/g++.pt/crash29.C: Use explicit specialization syntax. * g++.old-deja/g++.pt/crash32.C: Change error message. * g++.old-deja/g++.pt/crash43.C: Adjust error messages. * g++.old-deja/g++.pt/crash58.C: Remove stray semicolon. * g++.old-deja/g++.pt/crash65.C: Tweak to acount for change in error message position. * g++.old-deja/g++.pt/defarg5.C: Remove stray semicolon. * g++.old-deja/g++.pt/defarg8.C: Change error message. * g++.old-deja/g++.pt/eichin01.C: Use explicit specialization syntax. * g++.old-deja/g++.pt/eichin01a.C: Define static data members. * g++.old-deja/g++.pt/eichin01b.C: Likewise. * g++.old-deja/g++.pt/enum7.C: Remove stray semicolon. * g++.old-deja/g++.pt/explicit12.C: Remove invalid use of template keyword. * g++.old-deja/g++.pt/explicit31.C: Likewise. * g++.old-deja/g++.pt/explicit33.C: Remove stray semicolon. * g++.old-deja/g++.pt/explicit35.C: Remove invalid use of template keyword. * g++.old-deja/g++.pt/explicit71.C: Change error message. * g++.old-deja/g++.pt/explicit80.C: Use explicit specialization syntax. * g++.old-deja/g++.pt/friend28.C: Account for use of non-dependent names. * g++.old-deja/g++.pt/friend29.C: Likewise. * g++.old-deja/g++.pt/friend46.C: Adjust for correct name lookup rules. * g++.old-deja/g++.pt/friend48.C: Remove stray semicolon. * g++.old-deja/g++.pt/instantiate1.C: Use correct class-key. * g++.old-deja/g++.pt/instantiate11.C: Adjust for correct name lookup rules. * g++.old-deja/g++.pt/instantiate8.C: Remove stray semicolon. * g++.old-deja/g++.pt/instantiate9.C: Insert missing typename keyword. * g++.old-deja/g++.pt/memclass20.C: Likewise. * g++.old-deja/g++.pt/memclass5.C: Likewise. * g++.old-deja/g++.pt/memclass7.C: Remove invalid use of template keyword. * g++.old-deja/g++.pt/memtemp75.C: Likewise. * g++.old-deja/g++.pt/memtemp81.C: Remove stray semicolon. * g++.old-deja/g++.pt/memtemp87.C: Add missing access specifier. * g++.old-deja/g++.pt/overload13.C: Correct error messages. * g++.old-deja/g++.pt/parms2.C: Add missing typename keyword. * g++.old-deja/g++.pt/ptrmem1.C: Remove invalid use of template keyword. * g++.old-deja/g++.pt/spec10.C: Likewise. * g++.old-deja/g++.pt/spec28.C: Reorder declarations. * g++.old-deja/g++.pt/t10.C: Add explicit specialization syntax. * g++.old-deja/g++.pt/t32.C: Remove stray semicolon. * g++.old-deja/g++.pt/t35a.C: Add explicit specialization syntax. * g++.old-deja/g++.pt/ttp24.C: Remove stray semicolon. * g++.old-deja/g++.pt/ttp62.C: Likewise. * g++.old-deja/g++.pt/ttp64.C: Likewise. * g++.old-deja/g++.pt/typename11.C: Add missing typename keyword. * g++.old-deja/g++.pt/typename15.C: Likewise. * g++.old-deja/g++.pt/typename22.C: Likewise. * g++.old-deja/g++.pt/typename6.C: Change error messages. * g++.old-deja/g++.pt/using1.C: Remove stray semicolon. * g++.old-deja/g++.pt/virtual2.C: Likewise. * g++.old-deja/g++.robertl/eb118.C: Add explicit specialization syntax. * g++.old-deja/g++.robertl/eb27.C: Now fails due to use of named return value extension. * g++.old-deja/g++.robertl/eb43.C: Remove stray semicolon. * g++.old-deja/g++.robertl/eb79.C: Correct for new name lookup rules. * g++.old-deja/g++.robertl/eb82.C: Remove stray semicolons. * g++.old-deja/g++.robertl/eb86.C: Add missing forward declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60559 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/4872jason2002-02-011-1/+3
| | | | | | | | | | | * decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * cp-tree.h (struct cp_language_function): Add returns_abnormally. (current_function_returns_abnormally): New macro. * call.c (build_call): Set it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49407 138bc75d-0d04-0410-961f-82ee72b054a4
* fix noreturn warningsjason2001-07-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44350 138bc75d-0d04-0410-961f-82ee72b054a4
* updatejason2000-02-071-10/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31836 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (TYPE_NOTHROW_P): New macro.nathan1999-04-291-2/+2
| | | | | | | | | | * decl2.c (delete_sanity): Warn on deleting void *. * init.c (build_new_1): Use TYPE_NOTHROW_P. * typeck.c (c_expand_return): cp_pedwarn on returning NULL from throwing operator new. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26692 138bc75d-0d04-0410-961f-82ee72b054a4
* fix implicit intjason1998-11-225-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23760 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionlaw1997-08-1918-0/+380
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14840 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud