gcc/gcc/testsuite/ChangeLog

19963 lines
578 KiB
Plaintext
Raw Normal View History

2004-01-05 Mark Mitchell <mark@codesourcery.com>
PR c++/12132
* g++.dg/template/error11.C: New test.
PR c++/13451
* g++.dg/template/class2.C: New test.
2004-01-05 Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <rsandifo@redhat.com>
PR c++/13387
* g++.dg/opt/alias3.C: New test.
2004-01-04 Mark Mitchell <mark@codesourcery.com>
PR c++/13157
* g++.dg/template/koenig3.C: New test.
PR c++/13529
* g++.dg/parse/offsetof3.C: New test.
* g++.dg/init/copy7.C: Add missing dg-error markers.
PR c++/12226
* g++.dg/init/copy7.c: New test.
PR c++/13536
* g++.dg/parse/cast1.C: New test.
2004-01-04 Jan Hubicka <jh@suse.cz>
* gcc.dg/winline[1-7].c: New tests.
2004-01-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13520
* g++.dg/template/qualttp22.C: New test.
2004-01-01 Jan Hubicka <jh@suse.cz>
* gcc.dg/debug/20031231-1.c: New.
* gcc.c-torture/compile/20040101-1.c: New.
* gcc.dg/dwarf-die-[1-7].c: New.
2004-01-01 Jakub Jelinek <jakub@redhat.com>
PR optimization/13521
* gcc.c-torture/compile/20031231-1.c: New test.
2003-12-30 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/sibcall-4.c: Replace mn10?00 with mn10300.
2003-12-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/10079
* g++.dg/template/crash16.C: New test.
2003-12-30 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vbase10.C: XFAIL on arm*-*-*.
2003-12-30 Kazu Hirata <kazu@cs.umass.edu>
* g++.old-deja/g++.jason/thunk2.C: Remove traces of dead
ports.
* g++.old-deja/g++.jason/thunk3.C: Likewise.
* g++.old-deja/g++.law/profile1.C: Likewise.
* gcc.c-torture/compile/981006-1.c: Likewise.
* gcc.c-torture/execute/loop-2e.x: Likewise.
* gcc.c-torture/execute/loop-2f.x: Remove.
* gcc.c-torture/execute/loop-2g.x: Likewise.
* gcc.c-torture/execute/strct-varg-1.x: Likewise.
* gcc.dg/20020312-2.c: Remove traces of dead ports.
2003-12-30 Nathan Sidwell <nathan@codesourcery.com>
PR c++/13507
* g++.dg/ext/attrib11.C: New test.
PR c++/13494
* g++.dg/template/array2-1.C: New test.
* g++.dg/template/array2-2.C: New test.
2003-12-29 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.pt/static11.C: Correct XFAIL syntax.
2003-12-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12774
* g++.dg/template/array1-1.C: New test.
* g++.dg/template/array1-2.C: New test.
2003-12-29 Roger Sayle <roger@eyesopen.com>
PR fortran/12632
* g77.dg/12632.f: New test case.
2003-12-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13289
* g++.dg/parse/nontype1.C: New test.
2003-12-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12403
* g++.dg/parse/explicit1.C: New test.
* g++.old-deja/g++.pt/explicit71.C: Adjust expected error.
2003-12-28 Mark Mitchell <mark@codesourcery.com>
PR c++/13081
* g++.dg/opt/inline6.C: New test.
PR c++/12613
* g++.dg/parse/error9.C: New test.
* gcc.dg/const-elim-1.c: XFAIL on arm-*-*.
2003-12-28 Mark Mitchell <mark@codesourcery.com>
PR c++/13009
* g++.dg/init/assign1.C: New test.
2003-12-28 Roger Sayle <roger@eyesopen.com>
PR c++/13070
* g++.dg/warn/format3.C: New test case.
2003-12-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcc.c-torture/compile/20031227-1.c: New test.
2003-12-23 Mark Mitchell <mark@codesourcery.com>
* g++.dg/bprob/bprob.exp: Load target-supports.exp
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* gcc.dg/builtins-18.c: Use builtins-config.h. Do not test float
variants on systems where the library does not provide that
functionality.
* gcc.dg/builtins-20.c: Use builtins-config.h.
* gcc.dg/builtins-config.h: New file.
2003-12-23 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (dg-require-profiling): New function.
* lib/target-supports.exp (check_profiling_available): Likewise.
* g++.dg/bprob/bprob.exp: Use check_profiling_available.
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* g++.old-deja/g++.law/profile1.C: Use dg-require-profiling.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
2003-12-23 Mark Mitchell <mark@codesourcery.com>
* g++.dg/lookup/java1.C: Use -fdollars-in-identifiers when
compiling.
* g++.dg/lookup/java2.C: Likewise.
* gcc.dg/cpp/lexident.c: Likewise.
2003-12-23 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20020604-1.c: XFAIL on H8 if -mn is
given.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.
2003-12-23 Zack Weinberg <zack@codesourcery.com>
* lib/gcc-dg.exp (dg-prune-output): New annotation.
(additional_prunes): New global.
(gcc-dg-prune): Handle additional per-test pruning.
(dg-test): Clear additional_prunes between tests.
* gcc.c-torture/compile/920625-1.c: Remove xfail. Use
dg-prune-output to avoid spurious failures from assembler
complaining about nonexistent WAW violations.
* gcc.c-torture/compile/981223-1.c: Remove dg-options line.
Use dg-prune-output to avoid spurious failures from assembler
warning about Itanium B-step errata.
2003-12-23 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/macro0.C: New test.
* g++.dg/abi/macro1.C: Likewise.
* g++.dg/abi/macro2.C: Likewise.
* g++.dg/abi/bitfield5.C: Add explicit -fabi-version=1 option.
* g++.dg/abi/bitfield7.C: Likewise.
* g++.dg/abi/dtor2.C: Likewise.
* g++.dg/abi/mangle11.C: Likewise.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/abi/vbase10.C: Likewise.
* g++.dg/abi/vbase14.C: Likewise.
* g++.dg/template/qualttp17.C: Likewise.
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c/11995
* gcc.dg/20031223-1.c: New test.
2003-12-23 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/noreturn-7.c: New test.
2003-12-23 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/null-pointer-1.c: New test.
2003-12-22 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.jason/template18.C: Remove.
* g++.old-deja/g++.jason/template37.C: Likewise.
PR c++/12862
* g++.dg/lookup/ns1.C: New test.
PR c++/12397
* g++.dg/template/lookup3.C: New test.
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/template/recurse1.C: New test
2003-12-22 Mark Mitchell <mark@codesourcery.com>
PR c++/12479
* g++.dg/parse/semicolon1.C: New test.
* g++.dg/parse/semicolon1.h: Likewise.
2003-12-22 Fariborz Jahanian <fjahanian@apple.com>
* gcc.dg/darwin-misaligned.c: New test.
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR c/9163
* gcc.dg/20031222-1.c: New test.
2003-12-21 Mark Mitchell <mark@codesourcery.com>
PR c++/13438
* g++.dg/parse/error8.C: New test.
PR c++/11554
* testsuite/g++.dg/warn/ctor-init-1.C: New test.
2003-12-21 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20020910-1.c: Disable if __INT_MAX is
too small.
* gcc.c-torture/compile/930217-1.c: Likewise.
* gcc.c-torture/compile/930513-1.c: Likewise.
* gcc.c-torture/execute/920908-2.c: Likewise.
* gcc.c-torture/execute/921204-1.c: Likewise.
* gcc.c-torture/execute/930621-1.c: Likewise.
* gcc.c-torture/execute/930630-1.c: Likewise.
* gcc.c-torture/execute/931031-1.c: Likewise.
* gcc.c-torture/execute/980602-2.c: Likewise.
* gcc.c-torture/execute/comp-goto-1.c: Likewise.
* gcc.c-torture/execute/compndlit-1.c: Likewise.
* gcc.c-torture/execute/extzvsi.c: Likewise.
* gcc.c-torture/unsorted/ext.c: Likewise.
2003-12-20 Andrew Pinski <pinskia@gcc.gnu.org>
PR target/12749
* gcc.c-torture/compile/20031220-2.c: New test case.
2003-12-20 Roger Sayle <roger@eyesopen.com>
PR optimization/13031
* gcc.c-torture/compile/20031220-1.c: New test case.
2003-12-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/cast-function-1.c: New test.
2003-12-19 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/format/ext-1.c: Allow 'I' flag on floating point decimal
formats.
2003-12-19 Mark Mitchell <mark@codesourcery.com>
PR c++/12795
* g++.dg/ext/attrib10.C: New test.
2003-12-19 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cleanup-10.c: New test.
* gcc.dg/cleanup-11.c: New test.
2003-12-19 Jakub Jelinek <jakub@redhat.com>
PR c++/13239
* g++.dg/opt/expect1.C: New test.
2003-12-19 Hartmut Penner <hpenner@de.ibm.com>
* gcc.dg/altivec-varargs-1.c: Enable testcase on ppc linux.
2003-12-18 Andrew Pinski <pinskia@physics.uc.edu>
PR debug/12923
* gcc.dg/20031218-1.c: New test.
PR debug/12389
* gcc.dg/20031218-2.c: New test.
* gcc.dg/20031218-3.c: New test.
* g++.dg/abi/mangle18-1.C: Modify regexp to test for `[: \t\n]' at end
of label name and allow for USER_LABEL_PREFIX == "_" names.
* g++.dg/abi/mangle18-2.C: Likewise.
* g++.dg/abi/mangle19-1.C: Likewise.
* g++.dg/abi/mangle19-2.C: Likewise.
* g++.dg/abi/mangle20-1.C: Likewise.
* g++.dg/abi/mangle20-2.C: Likewise.
2003-12-18 Richard Henderson <rth@redhat.com>
* gcc.dg/bitfld-1.c: Expect warnings for enum bitfields.
2003-12-18 Steven Bosscher <steven@gcc.gnu.org>
Dan Kegel <dank@kegel.com>
PR other/12009
* g++.dg/compat/compat.exp: Do not set LD_LIBRARY_PATH when
testing a cross compiler, it causes spurious compile failures.
* lib/g++.exp: Likewise.
2003-12-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13262
* g++.dg/template/access13.C: New test.
2003-12-18 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20031216-1.c: New test.
2003-12-18 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/9154
* g++.dg/template/error10.C: New test.
2003-12-18 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/eh/simd-1.C: XFAIL on SPARC.
* g++.dg/eh/simd-2.C: Likewise.
2003-12-17 James E Wilson <wilson@specifixinc.com>
Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/ieee/mzero5.c: New.
2003-12-17 Mark Mitchell <mark@codesourcery.com>
PR c++/10603
* g++.dg/parse/error6.C: New test.
PR c++/12827
* g++.dg/parse/error7.C: New test.
2003-12-17 Eric Botcazou <ebotcazou@libertysurf.fr>
* lib/gcc-dg.exp (gcc-dg-debug-runtest): Do not run debug-[12].c
at -O with stabs debugging formats.
* gcc.dg/debug/debug-1.c: Turn 'p' into a global variable.
* gcc.dg/debug/debug-2.c: Likewise.
2003-12-16 Mark Mitchell <mark@codesourcery.com>
PR c++/12696
* g++.dg/init/error1.C: New test.
PR c++/12218
* g++.dg/init/pm3.C: New test.
2003-12-17 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/3347
* gcc.dg/bitfld-8.c: New test.
2003-12-16 James Lemke <jim@wasabisystems.com>
* gcc.dg/arm-scd42-[123].c: New tests.
2003-12-16 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9043
* g++.dg/abi/mangle20-1.C: New test.
* g++.dg/abi/mangle20-2.C: New test.
2003-12-16 Mark Mitchell <mark@codesourcery.com>
PR c++/13275
* g++.dg/other/offsetof2.C: Remove XFAIL.
* g++.dg/parse/offsetof1.C: New test.
* g++.gd/parse/offsetof2.C: Likewise.
2003-12-16 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/template/nontype3.C: New test.
* g++.dg/template/static2.C: Tweaked the dg-error clause.
2003-12-16 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/warn/noreturn-3.C: Also test instantiation.
2003-12-16 Nathan Sidwell <nathan@codesourcery.com>
PR c++/13387
* g++.dg/expr/assign1.C: New test.
PR c++/13242
* g++.dg/abi/mangle19-1.C: New test.
* g++.dg/abi/mangle19-2.C: New test.
2003-12-16 Hartmut Penner <hpenner@de.ibm.com>
* testsuite/gcc.dg/altivec-10.c: Test vec_cmple and vec_all_numeric.
2003-12-16 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20031216-1.c: New test.
2003-12-16 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/template/ptrmem7.C: Simplified the test case to not hit
an ICE regression.
2003-12-15 Mark Mitchell <mark@codesourcery.com>
PR c++/10926
* g++.dg/template/error9.C: New test.
PR c++/11116
* g++.dg/template/error8.C: New test.
2003-12-15 Roger Sayle <roger@eyesopen.com>
PR middle-end/13400
* gcc.c-torture/execute/20031215-1.c: New test case.
2003-12-15 Mark Mitchell <mark@codesourcery.com>
PR c++/13269
* g++.dg/parse/error5.C: New test.
PR c++/12989
* g++.dg/expr/sizeof1.C: New test.
PR c++/13310
* g++.dg/template/crash15.C: New test.
2003-12-15 Geoffrey Keating <geoffk@apple.com>
* g++.old-deja/g++.pt/vaarg3.C: Don't expect an error for passing
a non-POD type as the last named parameter of a varargs function.
2003-12-15 Mark Mitchell <mark@codesourcery.com>
PR c++/13243
PR c++/12573
* g++.dg/template/crash14.C: New test.
* g++.dg/template/dependent-expr3.C: Add dg-error markers.
2003-12-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/java1.C: New test.
PR c++/13241
* g++.dg/abi/mangle18-1.C: New test.
* g++.dg/abi/mangle18-2.C: New test.
2003-12-15 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
PR optimization/10312
* gcc.c-torture/execute/20031214-1.c: New.
re PR c++/10779 (Error cascade for unknown type in function prototype) * c-common.h (c_parse_error): Declare it. * c-common.c (c_parse_error): New function. * c-parse.y (yyerror): Use it. * parser.c (struct cp_parser): Add in_template_argument_list_p. (cp_parser_error): Use c_parse_error. (cp_parser_name_lookup_error): New function. (cp_parser_new): Initialize it. (cp_parser_declarator): Add parenthesized_p parameter. (cp_parser_nested_name_specifier_opt): Use cp_parser_name_lookup_error. (cp_parser_parenthesized_expression_list): Improve comments. (cp_parser_condition): Adjust call to cp_parser_declarator. (cp_parser_template_parameter): Adjust call to cp_parser_parameter_declaration. (cp_parser_template_argument_list): Set in_template_argument_list_p. (cp_parser_explicit_instantiation): Adjust call to cp_parser_declarator. (cp_parser_simple_type_specifier): Remove unncessary code. (cp_parser_using_declaration): Use cp_parser_name_lookup_error. (cp_parser_init_declarator): Handle member function definitions. (cp_parser_direct_declarator): Adjust call to cp_parser_declarator. (cp_parser_type_id): Adjust call to cp_parser_declarator. (cp_parser_parameter_declaration_list): Avoid backtracking where possible. (cp_parser_parameter_declaration): Add parenthesized_p parameter. (cp_parser_function_definition): Remove. (cp_parser_member_declaration): Do not backtrack to look for function definitions. (cp_parser_exception_declaration): Adjust call to cp_parser_declarator. (cp_parser_single_declaration): Handle function definitions via cp_parser_init_declarator. (cp_parser_save_member_function_body): New function. PR c++/10779 PR c++/12160 * g++.dg/parse/error3.C: New test. * g++.dg/parse/error4.C: Likewise. * g++.dg/abi/mangle4.C: Tweak error messages. * g++.dg/lookup/using5.C: Likewise. * g++.dg/other/error2.C: Likewise. * g++.dg/parse/typename5.C: Likewise. * g++.dg/parse/undefined1.C: Likewise. * g++.dg/template/arg2.C: Likewise. * g++.dg/template/ttp3.C: Likewise. * g++.dg/template/type1.C: Likewise. * g++.old-deja/g++.other/crash32.C: Likewise. * g++.old-djea/g++.pt/defarg8.C: Likewise. From-SVN: r74624
2003-12-15 07:28:23 +01:00
2003-12-14 Mark Mitchell <mark@codesourcery.com>
PR c++/10779
PR c++/12160
* g++.dg/parse/error3.C: New test.
* g++.dg/parse/error4.C: Likewise.
* g++.dg/abi/mangle4.C: Tweak error messages.
* g++.dg/lookup/using5.C: Likewise.
* g++.dg/other/error2.C: Likewise.
* g++.dg/parse/typename5.C: Likewise.
* g++.dg/parse/undefined1.C: Likewise.
* g++.dg/template/arg2.C: Likewise.
* g++.dg/template/ttp3.C: Likewise.
* g++.dg/template/type1.C: Likewise.
* g++.old-deja/g++.other/crash32.C: Likewise.
* g++.old-djea/g++.pt/defarg8.C: Likewise.
2003-12-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13106
* g++.dg/warn/noreturn-3.C: New test.
2003-12-12 Nathan Sidwell <nathan@codesourcery.com>
PR c++/13118
* g++.dg/abi/covariant3.C: New.
2003-12-12 Jakub Jelinek <jakub@redhat.com>
* g++.dg/eh/ia64-1.C: New test.
2003-12-12 Roger Sayle <roger@eyesopen.com>
PR optimization/13037
* g77.f-torture/execute/13037.f: New test case.
2003-12-12 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12881
* g++.dg/abi/covariant2.C: New.
2003-12-12 Neil Booth <neil@daikokuya.co.uk>
* testsuite/gcc.dg/cpp/trad/macro.c: New tests.
2003-12-11 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/wchar_t-1.x: Delete.
2003-12-10 Robert Schiele <rschiele@uni-mannheim.de>
PR other/10819
* lib/gcc.exp (default_gcc_version): Do not match NL/CR characters
to fix Bug 10819.
* lib/g++.exp (g++_version): Likewise.
* lib/g77.exp (g77_version): Likewise.
* lib/objc.exp (default_objc_version): Likewise.
2003-12-10 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/wchar_t-1.c: Convert to utf-8.
* gcc.dg/intermod-1.c: Adjust assembler scan pattern for alpha.
2003-12-08 Matt Austern <austern@apple.com>
PR c/13134
* lib/gcc-dg.exp (dg-require-visibility): Define.
* lib/target-supports (check_visibility_available): Define.
* gcc.dg/visibility-1.c: New test.
* gcc.dg/visibility-2.c: Likewise.
* gcc.dg/visibility-3.c: Likewise.
* gcc.dg/visibility-4.c: Likewise.
* gcc.dg/visibility-5.c: Likewise.
* gcc.dg/visibility-6.c: Likewise.
* g++.dg/ext/visibility-1.C: Likewise.
* g++.dg/ext/visibility-2.C: Likewise.
* g++.dg/ext/visibility-3.C: Likewise.
* g++.dg/ext/visibility-4.C: Likewise.
* g++.dg/ext/visibility-5.C: Likewise.
* g++.dg/ext/visibility-6.C: Likewise.
2003-12-07 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/lookup/java1.C: New test.
* g++.dg/lookup/java2.C: New test.
2003-12-07 Falk Hueffner <falk@debian.org>
* g++.dg/opt/noreturn-1.C: New test.
2003-12-07 Wolfgang Bangerth <bangerth@dealii.org>
* gcc.dg/overflow-1.c: New test.
2003-12-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* g77.f-torture/compile/13060.f: New test.
2003-12-06 Mark Mitchell <mark@codesourcery.com>
PR c++/13323
* g++.dg/inherit/operator2.C: New test.
2003-12-05 Mark Mitchell <mark@codesourcery.com>
PR c++/13305
* g++.dg/ext/attrib9.C: New test.
2003-12-05 Mark Mitchell <mark@codesourcery.com>
PR c++/13314
* g++.dg/template/error7.C: New test.
2003-12-05 Stuart Menefy <stuart.menefy@st.com>
J"orn Rennecke <joern.rennecke@superh.com>
PR target/13302
* g++.dg/other/struct-va_list.C: New test.
2003-12-05 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13166
* g++.dg/parse/defarg6.C: New test.
2003-12-05 Hans-Peter Nilsson <hp@axis.com>
PR target/13256
* gcc.c-torture/execute/20031201-1.c: New test.
2003-12-05 Arnaud Charlet <charlet@act-europe.fr>
* ada/acats/run_acats: Add checks against missing gnatlib/gnattools.
2003-12-05 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/builtin-return-1.c: New test.
2003-12-04 Stuart Menefy <stuart.menefy@st.com>
J"orn Rennecke <joern.rennecke@superh.com>
PR optimization/13260
* gcc.c-torture/execute/20031204-1.c: New test.
2003-12-03 Mark Mitchell <mark@codesourcery.com>
PR c++/9127
* g++.dg/template/error6.C: New test.
2003-12-03 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20031202-1.c: New test.
2003-12-03 Mark Mitchell <mark@codesourcery.com>
PR c++/13179
* g++.dg/template/eh1.C: New test.
PR c++/10771
* g++.dg/template/error5.C: New test.
2003-12-02 David Ung <davidu@mips.com>
* gcc.dg/compat/vector-check.h: Corrected type for var
g_##TMODE
2003-12-02 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/10126
* g++.dg/template/ptrmem8.C: New test.
2003-12-02 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/12573
* g++.dg/template/dependent-expr3.C: New test.
2003-12-01 James Lemke <jim@wasabisystems.com>
* gcc.dg/arm-g2.c: New test.
2003-12-01 Roger Sayle <roger@eyesopen.com>
PR optimization/11634
* gcc.dg/20031201-2.c: New test case.
2003-12-01 Zack Weinberg <zack@codesourcery.com>
PR 11433
* objc.dg/proto-lossage-3.m: New test.
2003-12-01 Roger Sayle <roger@eyesopen.com>
PR optimization/12628
* gcc.dg/20031201-1.c: New test case.
2003-12-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/unaligned-1.c: New test.
re PR c++/9849 (Missing keyword 'template' produces ICE with no diagnostic on 3.3 (and unreadable diagnostic on 3.4)) PR c++/9849 * g++.dg/template/error4.C: New test. * g++.dg/template/nested3.C: Adjust error markers. PR c++/9849 * parser.c (cp_lexer_prev_token): New function. (cp_parser_skip_to_closing_parenthesis): Add consume_paren parameter. (cp_parser_nested_name_specifier_opt): Add is_declaration parameter. (cp_parser_nested_name_specifier): Likewise. (cp_parser_class_or_namespace_name): Likewise. (cp_parser_class_name): Likewise. (cp_parser_template_id): Likewise. (cp_parser_template_name): Likewise. (cp_parser_id_expression): Adjust calls to cp_parser_nested_name_specifier_op, cp_parser_template_id, cp_parser_class_name. (cp_parser_unqualified_id): Likewise. (cp_parser_postfix_expression): Likewise. (cp_parser_pseudo_destructor_name): Likewise. (cp_parser_cast_expression): Likewise. (cp_parser_mem_initializer_id): Likewise. (cp_parser_simple_type_specifier): Likewise. (cp_parser_type_name): Likewise. (cp_parser_elaborated_type_specifier): Likewise. (cp_parser_qualified_namespace_specifier): Likewise. (cp_parser_using_declaration): Likewise. (cp_parser_using_directive): Likewise. (cp_parser_ptr_operator): Likewise. (cp_parser_declarator_id): Likewise. (cp_parser_class_head): Likewise. (cp_parser_base_specifier): Likewise. (cp_parser_constructor_declarator_p): Likewise. (cp_parser_direct_declarator): Fix typo in comment. (cp_parser_parenthesized_expression_list): Adjust call to cp_parser_skip_to_closing_parenthesis. (cp_parser_selection_statement): Likewise. From-SVN: r74087
2003-12-01 06:58:23 +01:00
2003-11-30 Mark Mitchell <mark@codesourcery.com>
PR c++/9849
* g++.dg/template/error4.C: New test.
* g++.dg/template/nested3.C: Adjust error markers.
2003-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cpp/assert4.c: Check more #system assertions.
2003-11-29 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/10333
* gcc.dg/bitfld-7.c: New test.
2003-11-29 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/tls/asm-1.C: New test.
2003-11-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cpp/assert4.c: Update.
2003-11-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/builtin-apply2.c: Set size of stack argument data to 64.
* gcc.dg/builtin-apply3.c: New test.
2003-11-27 Eric Botcazou <ebotcazou@libertysurf.fr>
* lib/compat.exp (compat-obj): New xfaildata parameter.
Use it to set compiler_conditional_xfail_data before compiling.
(compat-get-options): Handle dg-xfail-if.
(compat-execute): Retrieve XFAIL data and pass them to compat-obj.
* gcc.dg/compat/vector-1_x.c: XFAIL on SPARC.
* gcc.dg/compat/vector-1_y.c: Likewise.
* gcc.dg/compat/vector-2_x.c: Likewise.
* gcc.dg/compat/vector-2_y.c: Likewise.
2003-11-27 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/reg-stack4.C: New test.
2003-11-27 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/builtin-apply2.c: New test.
2003-11-26 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20031023-4.c: Don't XFAIL on SPARC64.
2003-11-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12924
* g++.dg/template/template-id-2.C: New test.
2003-11-22 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/5369
* g++.dg/template/memfriend1.C: New test.
* g++.dg/template/memfriend2.C: Likewise.
* g++.dg/template/memfriend3.C: Likewise.
* g++.dg/template/memfriend4.C: Likewise.
* g++.dg/template/memfriend5.C: Likewise.
* g++.dg/template/memfriend6.C: Likewise.
* g++.dg/template/memfriend7.C: Likewise.
* g++.dg/template/memfriend8.C: Likewise.
* g++.old-deja/g++.pt/friend44.C: Remove a bogus error.
2003-11-21 Mark Mitchell <mark@codesourcery.com>
PR c++/12515
* g++.dg/ext/cond1.C: New test.
2003-11-20 Richard Henderson <rth@redhat.com>
* gcc.dg/20020201-2.c: Remove.
* gcc.dg/20020201-4.c: Remove.
* gcc.dg/20020304-1.c: Remove.
2003-11-19 Nathanael Nerode <neroden@gcc.gnu.org>
* gcc.dg/cpp/trad/xwin1.c: New test case.
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* g++.dg/compat/compat.exp: Add DYLD_LIBRARY_PATH for darwin.
* lib/g77.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/g++.exp: Likewise, add -multiply_defined suppress flag
for darwin.
2003-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12932
* g++.dg/template/static5.C: New test.
2003-11-18 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/nested-func-1.c: New test.
2003-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cpp/assert4.c: New test.
2003-11-14 Giovanni Bajo <giovannibajo@libero.it>
PR c++/2294
* g++.dg/lookup/using9.c: New test.
2003-11-14 Mark Mitchell <mark@codesourcery.com>
PR c++/12762
* g++.dg/template/error3.C: New test.
2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
PR ada/13035
* ada/acats/run_acats, run_all.sh: Fix syntax error.
No longer use a wrapper for gcc, since this does not work under
Windows.
2003-11-14 Giovanni Bajo <giovannibajo@libero.it>
PR c++/2094
* g++.dg/template/ptrmem7.C: New test.
2003-11-13 Andrew Pinski <apinski@apple.com>
* gcc.c-torture/compile/20031113-1.c: New test.
2003-11-13 Mark Mitchell <mark@codesourcery.com>
Kean Johnston <jkj@sco.com>
PR c/13029
* gcc.dg/unused-4.c: Update.
2003-11-13 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/const3.C: New test.
2003-11-13 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/20031112-1.c: New test.
2003-11-12 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parse/crash10.C: Remove bogus error marker.
2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script.
(host_gcc): Likewise.
(ROOT): Honor $PWDCMD.
(BASE): Likewise.
* ada/acats/run_all.sh (dir): Honor $PWDCMD.
2003-11-12 17:02:48 +01:00
2003-11-12 Catherine Moore <clm@redhat.com>
* gcc.c-torture/execute/20020720-1.x: Add xfail for frv-*-*.
2003-11-12 Andreas Jaeger <aj@suse.de>
Jakub Jelinek <jakub@redhat.com>
Andrew Pinski <pinskia@physics.uc.edu>
Richard Henderson <rth@redhat.com>
* gcc.dg/c90-const-expr-2.c (foo): Avoid extra warning on 64-bit
systems.
* gcc.dg/c99-const-expr-2.c (foo): Likewise.
* gcc.dg/20030926-1.c: Make it work on x86_64 systems.
* gcc.dg/i386-pentium4-not-mull.c: Likewise.
2003-11-11 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/20020720-1.x: Test passes also on x86_64.
* gcc.c-torture/execute/20020227-1.x: Test passes also on x86_64.
2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
* ada/acats/run_all.sh: Add handling of unsupported (tasking) tests.
Clean ups.
2003-11-10 Waldek Hebisch <hebisch@math.uni.wroc.pl>
* gcc.dg/trampoline-1.c: New test.
2003-11-09 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.c-torture/compile/200031109-1.c: New test.
2003-11-08 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/3190
PR c/8714
* gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/ext3.c,
gcc.dg/format/no-y2k-1.c: Update.
2003-11-08 Roger Sayle <roger@eyesopen.com>
PR optimization/10467
* gcc.dg/20031108-1.c: New test case.
2003-11-07 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/warn-1.c: Allow for more helpful error message.
2003-11-08 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/compound-lvalue-1.c: New test.
* gcc.dg/c90-const-expr-2.c, gcc.dg/c99-const-expr-2.c: Remove
some XFAILs.
2003-11-06 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/altivec-varargs-1.c: New test.
2003-11-05 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20031023-4.c: XFAIL on SPARC64
* gcc.c-torture/compile/simd-5.c: XFAIL on SPARC64 at -O0 and -O1.
* gcc.c-torture/execute/simd-4.x: New file. XFAIL on SPARC at -O0.
* gcc.c-torture/execute/va-arg-25.x: New file. XFAIL on SPARC.
* gcc.dg/uninit-C.c: XFAIL on non 64-bit Solaris versions.
2003-11-05 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/cond-lvalue-1.c: New test.
2003-11-05 18:31:17 +01:00
2003-11-05 Gernot Hillier <gernot.hillier@siemens.com>
* g++.old-deja/g++.pt/asm1.C: Enable for e.g. x86_64-*-linux-gnu.
2003-11-05 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11616
* g++.dg/template/instantiate5.C: New test.
2003-11-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/12726
* g++.dg/ext/complit2.C: Replace test with self-contained version.
* ChangeLog: Add missing first entry for above test.
2003-11-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9810
* g++.dg/template/using8.C: New test.
* g++.old-deja/g++.other/access11.C: Adjust expected error location.
2003-11-02 Roger Sayle <roger@eyesopen.com>
PR optimization/10817
* gcc.c-torture/compile/20031102-1.c: New test case.
2003-11-02 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX ==
2147483647.
2003-11-02 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/20031102-1.c: New test.
2003-11-02 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/complex-1.c: New test.
2003-11-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12796
* g++.dg/template/crash13.C: Adjust expected error location.
* g++.old-deja/g++.brendan/ns1.C: Likewise.
2003-10-31 Richard Earnshaw <rearnsha@arm.com>
* g++.dg/bprob/bprob.exp: Disable test on arm-elf configs.
2003-10-31 Josef Zlomek <zlomekj@suse.cz>
PR/10239
* gcc.c-torture/compile/20031031-2.c: New test.
2003-10-31 Josef Zlomek <zlomekj@suse.cz>
PR/11640
* gcc.c-torture/compile/20031031-1.c: New test.
2003-10-31 Richard Earnshaw <rearnsha@arm.com>
* g77.dg/bprob/bprob.exp: Disable test on arm-elf configs.
* gcc.misc-tests/bprob.exp: Likewise.
* g77.dg/execute/20001201.x, 6367.x, io0.x, io1.x, u77-test.x: XFAIL
the execution test on arm-elf configs.
* g77.dg/execute/10197.x: New file. XFAIL the execution test on
configs that don't support scratch files.
* g77.dg/execute/u77-test.x: XFAIL compilation on arm-elf configs.
2003-10-30 Arnaud Charlet <charlet@act-europe.fr>
* ada/acats/run_all.sh: Do not print PASS messages to stdout, as
done by dejagnu.
2003-10-29 Arnaud Charlet <charlet@act-europe.fr>
* ada/acats/run_all.sh: Redirect mv output to /dev/null
Avoid non pure sh syntax. Add more logging.
* ada/acats/norun.lst: Disable cdd2a03, since it is expected to
fail.
2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR libgcj/10610
* gcc.dg/ppc-stackalign-1.c: New test.
2003-10-28 Arnaud Charlet <charlet@act-europe.fr>
* ada/acats/run_all.sh: Change output to be more compliant with
dejagnu framework.
Create acats.sum and acats.log files under testsuite/ada/acats
Only run [a-z]* directories, to filter out e.g. CVS.
Redirect build output to log file.
2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
* README.ada: Removed, integrated in ../doc/sourcebuild.texi
2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
PR ada/5909:
* README.ada, ada/acats: Import ACATS 2.5 for GCC Ada test suite.
2003-10-27 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20031023-1.c: New test.
* gcc.c-torture/compile/20031023-2.c: New test.
* gcc.c-torture/compile/20031023-3.c: New test.
* gcc.c-torture/compile/20031023-4.c: New test.
2003-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10371
* g++.dg/lookup/scoped8.C: New test.
2003-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/reg-stack3.C: New test.
2003-10-24 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c99-arraydecl-2.c: New test. PR c/11943.
2003-10-24 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11076
* g++.dg/template/crash13.C: New test.
2003-10-24 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c99-restrict-2.c: New test.
2003-10-24 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12698, c++/12699, c++/12700, c++/12566
* g++.dg/inherit/covariant9.C: New test.
* g++.dg/inherit/covariant10.C: New test.
* g++.dg/inherit/covariant11.C: New test.
2003-10-23 Jason Merrill <jason@redhat.com>
PR c++/12726
* g++.dg/ext/complit2.C: New test.
2003-10-20 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
PR target/12654
* gcc.c-torture/execute/20031020-1.c: New test.
2003-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines
following the jump_insn.
2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/cast-lvalue-1.c: New test.
2003-10-21 Mark Mitchell <mark@codesourcery.com>
PR c++/11962
* g++.dg/template/cond2.C: New test.
2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/builtins-28.c: New test.
2003-10-20 Jan Hubicka <jh@suse.cz>
* testsuite/g++.dg/opt/inline4.C: Do not use min-inline-insns
parameter.
* testsuite/gcc.dg/inline-2.c: Likewise.
2003-10-20 Phil Edwards <phil@codesourcery.com>
* gcc.dg/20021014-1.c: XFAIL for *-*-windiss targets.
* gcc.dg/nest.c: Likewise.
2003-10-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9781, c++/10583, c++/11862
* g++.dg/parse/crash13.C: New test.
2003-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcc.dg/old-style-asm-1.c: Count jump_insns instead of labels.
2003-10-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
Define HAVE_C99_RUNTIME except on Solaris.
* gcc.dg/builtins-20.c: Likewise.
2003-10-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
2003-10-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12495
* g++.dg/template/crash21.C: New test.
2003-10-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/2513
* g++.dg/template/typename5.C: New test.
2003-10-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12369
* g++.dg/template/friend25.C: New test.
2003-10-16 Ziemowit Laski <zlaski@apple.com>
* objc.dg/try-catch-2.m: Relax target triple to all Darwin
versions.
2003-10-16 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20031003-1.c: Enable only when INT_MAX
== 2147483647.
2003-10-15 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/960416-1.x: Remove.
* gcc.c-torture/execute/divconst-3.x: Likewise.
2003-10-15 Hans-Peter Nilsson <hp@axis.com>
PR target/12598
* gcc.dg/torture/cris-volatile-1.c: New test.
2003-10-14 Roger Sayle <roger@eyesopen.com>
PR optimization/9325
* gcc.c-torture/execute/20031003-1.c: Remove non-portable tests
for overflowing floating point to integer conversion during RTL
simplification.
2003-10-13 Ziemowit Laski <zlaski@apple.com>
* objc/execute/_cmd.m: Fix typo.
* objc.dg/image-info.m, objc.dg/symtab-1.m:
Relax 'scan-assembler' regexp.
* objc.dg/try-catch-1.m, objc.dg/try-catch-3.m,
objc.dg/try-catch-4.m: Run on non-Darwin targets.
* objc.dg/zero-link-2.m: Remove blank line.
* objc.dg/zero-link-3.m: New test case.
2003-10-13 Geoffrey Keating <geoffk@apple.com>
* g77.f-torture/execute/980520-1.x: XFAIL at -O0.
* gcc.dg/asm-names.c: Use scan-assembler-not rather
than linker trickery.
2003-10-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/12370
* g++.dg/other/friend2.C: New test.
2003-10-12 Steven Bosscher <steven@gcc.gnu.org>
* gcc.dg/20031012-1.c: New test.
2003-10-12 Steven Bosscher <steven@gcc.gnu.org>
* gcc.dg/weak/weak-3.c: Fix for new warning.
2003-10-12 Kelley Cook <kcook@gcc.gnu.org>
PR optimization/8750
* gcc.c-torture/execute/20031012-1.c: New test case.
2003-10-11 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/string-opt-8.c: Don't test optimizations
that inline strncmp as cmpstrsi on i386 when compiled with -Os.
2003-10-11 Roger Sayle <roger@eyesopen.com>
PR optimization/12260
* gcc.c-torture/compile/20031011-2.c: New test case.
2003-10-11 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20031011-1.c: New testcase.
2003-10-11 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20031011-1.c: New test.
2003-10-11 Jan Hubicka <jh@suse.cz>
* g++.dg/other/first-global.C: New test.
2003-10-11 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/string-opt-18.c: New testcase.
2003-10-10 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.c-torture/compile/20031010-1.c: New test.
2003-10-10 Geoffrey Keating <geoffk@apple.com>
* gcc.c-torture/execute/va-arg-24.c: Correct, and rename to...
* gcc.c-torture/execute/va-arg-25.c: ... here.
2003-10-09 Mark Mitchell <mark@codesourcery.com>
* g++.dg/ext/attrib8.C: Only run it on x86 targets.
2003-10-08 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/mipscop-[1-4].c: Disable for mips16.
2003-10-08 Giovanni Bajo <giovannibajo@libero.it>
* g++.dg/parse/error2.C: New test.
2003-10-08 Giovanni Bajo <giovannibajo@libero.it>
PR c++/11097
* g++.dg/other/error5.C: Modify the error message.
* g++.dg/lookup/using8.C: New test.
2003-10-07 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-abi-2.c: New file.
* gcc.c-torture/execute/va-arg-24.c: New file.
2003-10-06 Bob Wilson <bob.wilson@acm.org>
* g++.dg/template/spec10.C: Set exit value to zero on success. Fix
indentation.
2003-10-06 Mark Mitchell <mark@codesourcery.com>
PR c++/10147
* g++.dg/other/error4.C: Update error messages.
* g++.dg/template/ptrmem4.C: Likewise.
PR c++/12337
* g++.dg/init/new9.C: New test.
PR c++/12334, c++/12236, c++/8656
* g++.dg/ext/attrib8.C: New test.
2003-10-06 Devang Patel <dpatel@apple.com>
* gcc.dg/debug/dwarf2-3.h: New test.
* gcc.dg/debug/dwarf2-3.c: New test case for -feliminate-dwarf2-dups.
2003-10-06 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
* g++.dg/opt/cfg2.C: New test.
2003-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/float1.C: New test.
2003-10-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/c90-array-lval-6.c: New test.
* gcc.dg/c99-array-lval-6.c: New test.
2003-10-03 Alexander Malmberg <alexander@malmberg.org>
Ziemowit Laski <zlaski@apple.com>
* objc.dg/method-6.m ('starboard'): Move prototype from 'Base' to
'Derived', so that it is never considered a class method; add
new warning for '+port' method ambiguity.
* objc.dg/method-12.m: Include <objc/objc.h> instead of
<objc/objc-api.h> (needed on Mac OS X).
* objc.dg/method-13.m: New test.
2003-10-03 Roger Sayle <roger@eyesopen.com>
PR optimization/9325, PR java/6391
* gcc.c-torture/execute/20031003-1.c: New test case.
2003-10-02 Mark Mitchell <mark@codesourcery.com>
PR optimization/12180
* gcc.dg/20031002-1.c: New test.
PR c++/12486
* g++.dg/inherit/error1.C: New test.
2003-10-02 Chris Demetriou <cgd@broadcom.com>
* lib/f-torture.exp (search_for): Rename to...
(search_for_re): This. Also, clean up comments and the
"regexp" invocation.
2003-10-02 Josef Zlomek <zlomekj@suse.cz>
* gcc.c-torture/compile/20031002-1.c: New test.
2003-10-02 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/cond1.C: New test.
2003-10-02 02:07:50 +02:00
2003-10-01 Kelley Cook <kelleycook@wideopenwest.com>
* gcc.dg/Wold-style-definition-2.c: New testcase.
* gcc.dg/wtr-func-def-1.c: Modify to reflect new warning.
2003-09-29 Richard Henderson <rth@redhat.com>
* g++.dg/init/array10.C: Add dg-options.
2003-09-29 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.
2003-09-28 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/friend19.C: Fix typo.
* g++.old-deja/g++.other/crash31.C: Adjust expected error.
2003-09-28 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20030928-1.c: New test.
* gcc.dg/torture/mips-sdata-1.c (f): Refer to x[0] rather than x[3].
2003-09-27 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/unroll1.C: New test.
2003-09-26 Roger Sayle <roger@eyesopen.com>
PR optimization/11741
* gcc.dg/20030926-1.c: New test case.
2003-09-25 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/5655
* g++.dg/parse/access7.C: New test.
* g++.old-deja/g++.brendan/crash56.C: Fix redeclaration error.
2003-09-24 Ziemowit Laski <zlaski@apple.com>
MERGE OF objc-improvements-branch into MAINLINE:
* lib/objc.exp (objc_target_compile): Do not point at libobjc headers
if libobjc has not been built.
* objc/execute/IMP.m, objc/execute/_cmd.m, objc/execute/bf-common.h,
objc/execute/bycopy-3.m, objc/execute/class-{1-14}.m,
objc/execute/class-self-2.m, objc/execute/many_args_method.m,
objc/execute/nested-3.m, objc/execute/np-2.m,
objc/execute/object_is_class.m, objc/execute/object_is_meta_class.m,
objc/execute/redefining_self.m, objc/execute/root_methods.m,
objc/execute/static-{1-2}.m, objc/execute/string-{1-4}.m,
objc/execute/va_method.m, objc.dg/comp-types-4.m, objc.dg/headers.m,
objc.dg/special/unclaimed-category-1.h,
objc.dg/special/unclaimed-category-1.m: Make usable with NeXT as
well as GNU runtime.
* execute/next_mapping.h: New header, for GNU->NeXT impedance matching.
* execute/cascading-1.m, execute/function-message-1.m,
objc.dg/anon-1.m, objc.dg/bitfield-{3-4}.m,
objc.dg/call-super-{1-3}.m, objc.dg/category-1.m,
objc.dg/const-str-{3-6}.m, objc.dg/encode-{1-4}.m,
objc.dg/func-ptr-1.m, objc.dg/gnu-runtime-1.m, objc.dg/image-info.m,
objc.dg/method-{3-12}.m, objc.dg/missing-proto-{1-3}.m,
objc.dg/nested-func-1.m, objc.dg/proto-lossage-2.m,
objc.dg/proto-qual-1.m, objc.dg/sizeof-1.m, objc.dg/static-1.m,
objc.dg/symtab-1.m, objc.dg/try-catch-{1-4}.m,
objc.dg/type-size-{1-2}.m, objc.dg/zero-link-{1-2}.m: New test cases.
* objc.dg/bitfield-2.m: Run only on Darwin.
* objc.dg/class-2.m, objc.dg/comp-types-1.m, objc.dg/desig-init-1.m,
objc.dg/method-{1-2}.m, objc.dg/proto-hier-1.m,
objc.dg/proto-lossage-1.m: Adjust for message wording changes.
* objc.dg/const-str-1.m: Fix constant string layout.
2003-09-24 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/cpp/Wunknown-pragmas-1.c: New test.
2003-09-23 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-abi-1.c: New file.
2003-09-21 Andrew Pinski <pinskia@physics.uc.edu>
PR target/12281
* gcc.c-torture/compile/20030921-1.c: New test.
2003-09-22 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/reg-stack2.C: New test.
2003-09-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
* g++.dg/eh/delayslot1.C: New test.
2003-09-20 Richard Henderson <rth@redhat.com>
* gcc.dg/format/gcc_diag-1.c: Add tests for %J.
2003-09-20 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20030920-1.c: New test case.
2003-09-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/rtti/typeid3.C: Correct expected error message.
2003-09-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/157
* g++.dg/parse/crash12.C: New test.
2003-09-19 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/mixed-struct-check.h: New.
* gcc.dg/compat/mixed-struct-defs.h: New.
* gcc.dg/compat/mixed-struct-init.h: New.
* gcc.dg/compat/struct-by-value-19_main.c: New.
* gcc.dg/compat/struct-by-value-19_x.c: New.
* gcc.dg/compat/struct-by-value-19_y.c: New.
* gcc.dg/compat/struct-by-value-20_main.c: New.
* gcc.dg/compat/struct-by-value-20_x.c: New.
* gcc.dg/compat/struct-by-value-20_y.c: New.
* gcc.dg/compat/struct-return-19_main.c: New.
* gcc.dg/compat/struct-return-19_x.c: New.
* gcc.dg/compat/struct-return-19_y.c: New.
* gcc.dg/compat/struct-return-20_main.c: New.
* gcc.dg/compat/struct-return-20_x.c: New.
* gcc.dg/compat/struct-return-20_y.c: New.
2003-09-19 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/init/array11.C: Change unsigned to __SIZE_TYPE__
so that it will not complain on LP64 targets.
2003-09-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/495
* g++.dg/template/friend24.C: New test.
2003-09-19 Nathan Sidwell <nathan@codesourcery.com>
2003-09-19 12:00:23 +02:00
PR c++/12332
* g++.dg/template/memtmpl2.C: New test.
2003-09-18 Mark Mitchell <mark@codesourcery.com>
PR target/11184
* gcc.dg/builtin-apply1.c: New test.
2003-09-18 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9848
* g++.dg/warn/Wunused-4.C: New test.
2003-09-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/12316
* g++.dg/other/gc2.C: New test.
2003-09-17 Mark Mitchell <mark@codesourcery.com>
PR c++/11991
* g++.dg/rtti/typeid3.C: New test.
PR c++/12266
* g++.dg/overload/template1.C: New test.
2003-09-17 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/cfg3.C: New test.
2003-09-16 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/7939
* g++.dg/template/crash11.C: New test.
2003-09-16 Jason Merrill <jason@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* gcc.dg/attr-warn-unused-result.c: New test.
2003-09-15 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12184
* g++.dg/expr/call2.C: New test.
2003-09-15 Andreas Jaeger <aj@suse.de>
* gcc.dg/Wold-style-definition-1.c: New test.
2003-09-14 Mark Mitchell <mark@codesourcery.com>
re PR c++/3907 (nested template parm collides with member name) * coverage.c (create_coverage): Do not call pushlevel/poplevel. * langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New function. * langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it. PR c++/3907 * class.c (maybe_note_name_used_in_class): Refine test for whether or not we are in a class scope. * cp-tree.h (language_function): Remove x_expanding_p. (expanding_p): Remove. (doing_semantic_analysis_p): Remove. (scope_kind): Add sk_function_parms, sk_class, sk_namespace. (innermost_scope_kind): New method. * call.c (cxx_type_promotes_to): Use type_decays_to. * cp-lang.c (LANG_HOOKS_PUSHLEVEL): Redefine. (LANG_HOOKS_POPLEVEL): Likewise. * decl.c (cp_binding_level): Remove parm_flag, template_parms_p, template_spec_p, namespace_p, is_for_scope, is_try_scope, and is_catch_scope. Add kind and explicit_spec_p. (cxx_scope_descriptor): Use a lookup table. (find_class_binding_level): Use "kind" field in binding_level, not the various flags. (pop_binding_level): Likewise. (innermost_nonclass_level): Likewise. (toplevel_bindings_p): Likewise. (namespace_bindings_p): Likewise. (template_parm_scope_p): Likewise. (innermost_scope_kind): New method. (current_tmpl_spec_kind): Use "kind" field in binding_level, not the various flags. (pushlevel): Remove check for doing_semantic_analysis_p. (begin_scope): Simplify. (add_decl_to_level): Use "kind" field in binding_level, not the various flags. (push_local_binding): Likewise. (pop_label): Remove check for doing_semantic_analysis_p. (poplevel): Use "kind" field in binding_level, not the various flags. (set_block): Remove check for doing_semantic_analysis_p. (pushlevel_class): Use "kind" field in binding_level, not the various flags. (poplevel_class): Likewise. (initial_push_namespace_scope): Likewise. (maybe_push_to_top_level): Likewise. (set_identifier_type_value_with_scope): Likewise. (pop_everything): Likewise. (maybe_process_template_type_declaration): Likewise. (pushtag): Likewise. (pushdecl): Likewise. (pushdecl_with_scope): Likewise. (check_previous_goto_1): Likewise. (define_label): Likewise. (finish_case_label): Likewise. (lookup_tag): Likewise. (unqualified_namespace_lookup): Likewise. (lookup_name_real): Likewise. (lookup_name_current_level): Likewise. (lookup_type_current_level): Likewise. (record_builtin_type): Likewise. (cp_make_fname_decl): Likewise. (maybe_inject_for_scope_var): Likewise. (cp_finish_decl): Remove check for doing_semantic_analysis_p. (start_function): Use begin_scope, not pushlevel. (finish_function): Use "kind" field in binding_level, not the various flags. (start_method): Use begin_scope, not pushlevel. (make_label_decl): Do not check expanding_p. (save_function-data): Do not set expanding_p. (cxx_push_function_context): Do not clear expanding_p. * semantics.c (cxx_expand_function_start): Do not set expanding_p. PR c++/3907 * g++.dg/parse/template12.C: New test. * g++.dg/abi/bitfield11.C: New test. * g++.dg/abi/bitfield12.C: Likewise. From-SVN: r71393
2003-09-15 02:59:28 +02:00
PR c++/3907
* g++.dg/parse/template12.C: New test.
* g++.dg/abi/bitfield11.C: New test.
* g++.dg/abi/bitfield12.C: Likewise.
2003-09-14 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/cpp/separate-1.c: Adjust line of error. Test for correct
non-expansion of functional macro name without arguments at EOL.
* gcc.dg/cpp/spacing1.c: Revert 2003-08-04's change. Likewise.
2003-09-14 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20030914-[12].c: New tests.
2003-09-11 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11788
* g++.dg/overload/addr1.C: New test.
2003-09-10 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/20030909-1.c: New test.
2003-09-10 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp10.c: New test.
2003-09-09 Devang Patel <dpatel@apple.com>
* gcc.dg/darwin-ld-6.c: New test.
2003-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-explog-1.c: New testcase.
2003-09-08 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/ia64-types1.c: New test.
* gcc.dg/ia64-types2.c: Likewise.
2003-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-1.c: Add more _Complex tests.
* gcc.dg/torture/builtin-attr-1.c: Likewise.
* gcc.dg/builtins-1.c: Test existing _Complex functions.
* gcc.dg/torture/builtin-attr-1.c: Likewise.
2003-09-08 Mark Mitchell <mark@codesourcery.com>
PR c++/11786
* g++.dg/lookup/koenig2.C: New test.
PR c++/5296
* g++.dg/rtti/typeid2.C: New test.
2003-09-08 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20030904-1.c: New test.
2003-09-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/longbranch2.C: New test.
2003-09-07 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/template/crash10.C: Only compile it.
2003-09-07 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/11665
* gcc.c-torture/compile/20030907-1.c: New test.
* g++.dg/init/array11.C: New test.
2003-09-07 Mark Mitchell <mark@codesourcery.com>
PR c++/11852
* g++.dg/init/struct1.C: New test.
2003-09-07 Mark Mitchell <mark@codesourcery.com>
PR c++/12181
* g++.dg/expr/comma1.C: New test.
2003-09-06 Mark Mitchell <mark@codesourcery.com>
2003-09-07 21:21:05 +02:00
PR c++/11867
* g++.dg/expr/static_cast5.C: New test.
2003-09-06 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/11507
* g++.dg/lookup/scoped7.C: New test.
PR c++/9574
* g++.dg/other/static1.C: New test.
PR c++/11490
* g++.dg/warn/template-1.C: New test.
PR c++/11432
* g++.dg/template/crash10.C: New test.
PR c++/2478
* g++.dg/overload/VLA.C: New test.
PR c++/10804
* g++.dg/template/call1.C: New test.
2003-09-06 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11794
* g++.dg/parse/using3.C: New test.
2003-09-06 Roger Sayle <roger@eyesopen.com>
PR c++/11409
* g++.dg/overload/builtin3.C: New test case.
2003-09-06 Steven Bosscher <steven@gcc.gnu.org>
PR c/9862
* gcc.dg/20030906-1.c: New test.
* gcc.dg/20030906-2.c: Likewise.
2003-09-06 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12167
* g++.dg/parse/defarg5.C: New test.
* g++.dg/template/non-type-template-argument-1.C: Tweak expected error.
2003-09-05 Mark Mitchell <mark@codesourcery.com>
PR c++/12163
* g++.dg/expr/static_cast4.C: New test.
PR c++/12146
* g++.dg/template/crash9.C: New test.
2003-09-05 Andrew Pinski <pinskia@physics.uc.edu>
* g++.old-deja/g++.ext/pretty2.C: Update for change
in __FUNCTION__.
* g++.old-deja/g++.ext/pretty3.C: Likewise.
2003-09-05 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11922
* g++/dg/template/qualified-id1.C: New test.
PR c++/12037
* g++.dg/warn/noeffect4.C: New test.
2003-09-04 Matt Austern <austern@apple.com>
* g++.dg/ext/fnname1.C: New test. (__func__ for C++.)
* g++.dg/ext/fnname2.C: Likewise.
* g++.dg/ext/fnname3.C: Likewise.
2003-09-04 Mark Mitchell <mark@codesourcery.com>
* g++.dg/expr/lval1.C: New test.
* g++.dg/ext/lvcast.C: Remove.
2003-09-03 Roger Sayle <roger@eyesopen.com>
PR optimization/11700.
* gcc.c-torture/compile/20030903-1.c: New test case.
2003-09-03 Mark Mitchell <mark@codesourcery.com>
PR c++/12053
* g++.dg/abi/layout4.C: New test.
2003-09-02 Scott Brumbaugh <scottb.lists@verizon.net>
PR c++/11553
* g++.dg/parse/friend3.C: New test.
2003-09-02 Mark Mitchell <mark@codesourcery.com>
PR c++/11847
* g++.dg/template/class1.C: New test.
PR c++/11808
* g++.dg/expr/call1.C: New test.
2003-09-01 Mark Mitchell <mark@codesourcery.com>
PR c++/12114
* g++.dg/init/ref9.C: New test.
PR c++/11972
* g++.dg/template/nested4.C: New test.
2003-08-29 Mark Mitchell <mark@codesourcery.com>
PR c++/12093
* g++.dg/template/non-dependent4.C: New test.
PR c++/11928
* g++.dg/inherit/conv1.C: New test.
2003-08-29 Mark Mitchell <mark@codesourcery.com>
PR c++/6196
* g++.dg/ext/label1.C: New test.
* g++.dg/ext/label2.C: Likewise.
2003-08-28 Mark Mitchell <mark@codesourcery.com>
* g++.dg/expr/cond3.C: New test.
2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-1.c: Add new builtin cases.
2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-1.c: Add new cases.
* gcc.dg/torture/builtin-attr-1.c: Likewise.
2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-1.c: Add more math builtin tests.
* gcc.dg/torture/builtin-attr-1.c: New test.
2003-08-28 Mark Mitchell <mark@codesourcery.com>
PR optimization/5079
* g++.dg/opt/static3.C: New test.
2003-08-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcc.misc-tests/gcov-10b.c: New test.
2003-08-27 Mark Mitchell <mark@codesourcery.com>
* g++.dg/opt/ptrmem3.C: New test.
* g++.old-deja/g++.pt/overload8.C: Remove XFAIL.
2003-08-27 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030826-2.c: New test.
2003-08-26 Roger Sayle <roger@eyesopen.com>
PR middle-end/12002
* g77.f-torture/compile/12002.f: New test case.
2003-08-26 Roger Sayle <roger@eyesopen.com>
* gcc.dg/20030826-1.c: New test case.
2003-08-26 Matt Kraai <kraai@alumni.cmu.edu>
* gcc.dg/noncompile/20030818-1.c: Expect second line of error.
2003-08-26 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11871
* c++.dg/lookup/crash1.C: New test.
* c++.dg/warn/noeffect3.C: New test.
2003-08-25 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/vector-1_x.c: Compile with -w.
* gcc.dg/compat/vector-1_y.c: Ditto.
* gcc.dg/compat/vector-2_x.c: Ditto.
* gcc.dg/compat/vector-2_y.c: Ditto.
2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030702-1.c: New test.
2003-08-25 Mark Mitchell <mark@codesourcery.com>
PR c++/8795
* g++.dg/ext/altivec-1.C: New test.
2003-08-24 Richard Henderson <rth@redhat.com>
* g++.dg/eh/simd-2.C: Add -w for x86.
2003-08-23 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030815-1.c: New test.
2003-08-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/3765
* g++.dg/parse/access6.C: New test.
2003-08-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/641, c++/11876
* g++.dg/template/friend22.C: New test.
* g++.dg/template/friend23.C: Likewise.
2003-08-22 Mark Mitchell <mark@codesourcery.com>
* gcc.misc-tests/linkage.exp: Treat all HP-UX platforms
identically.
2003-08-22 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.ext/attrib5.C: XFAIL on hppa2*-hp-hpux11*.
2003-08-22 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/20020313-1.c: Add "-w" to dg-options.
2003-08-22 Mark Mitchell <mark@codesourcery.com>
* gcc.misc-tests/linkage.exp: Add logic for ia64-hp-hpux*.
2003-08-22 Mark Mitchell <mark@codesourcery.com>
* g++.dg/other/packed1.C: Add XFAIL marker for ia64-hp-hpux*.
2003-08-21 Mark Mitchell <mark@codesourcery.com>
PR c++/11919
* g++.dg/overload/prom1.C: New test.
PR c++/11551
* g++.dg/parse/dtor2.C: New test.
PR c++/10762
* g++.dg/parse/using2.C: New test.
2003-08-21 Kazu Hirata <kazu@cs.umass.edu>
PR target/11805
* gcc.c-torture/compile/20030821-1.c: New.
2003-08-20 Mark Mitchell <mark@codesourcery.com>
PR c++/11834
* g++.dg/template/deduce2.C: New test.
2003-08-21 Josef Zlomek <zlomekj@suse.cz>
* gcc.c-torture/execute/20030821-1.c: New test.
2003-08-20 Roger Sayle <roger@eyesopen.com>
PR middle-end/11984
* gcc.dg/20030820-1.c: New test case.
2003-08-20 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11945
* g++.dg/warn/noeffect2.C: New test.
re PR c++/11946 (fun and merriment with enums as function arguments) PR c++/11946 * convert.c (convert_to_integer): Use CONVERT_EXPR (instead of NOP_EXPR) when necessary. * c-common.c (c_common_signed_or_unsigned_type): Correctly handle types with precisions other than those given by native machine modes. PR c++/11684 * cp-tree.h (grok_op_properties): Change prototype. * decl.c (grok_op_properties): Add complain parameter. (grokfndecl): Pass it. * pt.c (tsubst_decl): Adjust accordingly. PR c++/10926 * decl.c (start_method): Return immediately if push_template_decl does not like the declaration. * pt.c (push_template_decl_real): Disallow member template destructors. PR c++/11036.C * cp-tree.h (add_binding): Add prototype. * class.c (add_method): Set TYPE_HAS_DESTRUCTOR if appropriate. (maybe_warn_about_overly_private_class): Use CLASSTYPE_DESTRUCTORS. (pushclass): Adjust call to set_identifier_type_value. * decl.c (add_binding): Give it external linkage. (push_local_binding): Adjust call to add_binding. (push_class_binding): Likewise. (set_identifier_type_value_with_scope): Change prototype. Use add_binding for global bindings. (set_identifier_type_value): Adjust accordingly. (pushtag): Likewise. (pushdecl): Use set_identifier_type_value, not set_identifier_type_value_with_scope. (pushdecl_namespace_level): Adjust calls to SET_IDENTIFIER_TYPE_VALUE to pass a DECL. (pushdecl_class_level): Likewise. (lookup_tag): Use select_decl. (select_decl): Improve comment. (record_builtin_type): Do not call pushdecl. (cxx_init_decl_processing): Do not call xref_tag for bad_alloc. (cp_finish_decl): Adjust call to set_identifier_type_value. (check_elaborated_type_specifier): Improve checks for invalid uses of typedefs. (xref_tag): Adjust call to check_elaborated_type_specifier. * decl2.c (grokclassfn): Do not set TYPE_HAS_DESTRUCTOR. * name-lookup.c (set_namespace_binding): Use add_binding. * parser.c (cp_parser_simple_type_specifier): Return a TYPE_DECL, rather than an IDENTIFIER_NODE, to represent built-in types, if requested by the caller. (cp_parser_postfix_expression): Adjust call. (cp_parser_type_specifier): Likewise. (cp_parser_elaborated_type_specifier): Adjust call to check_elaborated_type_specifier. * typeck2.c (build_functional_cast): Do not perform name lookups. PR c++/10717 * decl.c (expand_static_init): Remove unncessary code. PR c++/10926 * g++.dg/template/dtor2.C: New test. PR c++/11684 * g++.dg/template/operator1.C: New test. * g++.dg/parse/operator4.C: New test. PR c++/11946.C * g++.dg/expr/enum1.C: New test. * gcc.dg/c99-bool-1.c: Remove bogus warning. PR c++/11036.C * g++.dg/parse/elab2.C: New test. * g++.dg/parse/typedef4.C: Change error message. * g++.old-deja/g++.robertl/eb133.C: Remove bogus error markers. * g++.old-deja/g++.robertl/eb133a.C: Remove bogus error markers. * g++.old-deja/g++.robertl/eb133b.C: Remove bogus error markers. From-SVN: r70593
2003-08-20 09:06:47 +02:00
2003-08-19 Mark Mitchell <mark@codesourcery.com>
PR c++/10926
* g++.dg/template/dtor2.C: New test.
PR c++/11684
* g++.dg/template/operator1.C: New test.
* g++.dg/parse/operator4.C: New test.
PR c++/11946.C
* g++.dg/expr/enum1.C: New test.
* gcc.dg/c99-bool-1.c: Remove bogus warning.
PR c++/11036.C
* g++.dg/parse/elab2.C: New test.
* g++.dg/parse/typedef4.C: Change error message.
* g++.old-deja/g++.robertl/eb133.C: Remove bogus error markers.
* g++.old-deja/g++.robertl/eb133a.C: Remove bogus error markers.
* g++.old-deja/g++.robertl/eb133b.C: Remove bogus error markers.
2003-08-19 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/warn-1.c: New.
* gcc.dg/pch/warn-1.hs: New.
* lib/dg-pch.exp (dg-pch): Use 'return' not 'continue' to skip
not-tested file.
2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/uninit-E.c: Add forgotten dg-warning marker.
2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/uninit-D.c: New Test.
* gcc.dg/uninit-E.c: New Test.
* gcc.dg/uninit-F.c: New Test.
* gcc.dg/uninit-G.c: New Test.
2003-08-19 Michael Ritzert <ritzert@t-online.de>
* g++.dg/README: Describe the pch directory.
2003-08-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11174
* g++.dg/parse/access4.C: New test.
* g++.dg/parse/access5.C: Likewise.
* g++.old-deja/g++.jason/access17.C: Adjust error message.
2003-08-18 Matt Kraai <kraai@alumni.cmu.edu>
* gcc.dg/noncompile/20030818-1.c: New.
2003-08-18 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11957
* g++.dg/warn/noeffect1.C: New test.
* g++.dg/template/scope2.C: New test.
* g++.dg/template/error2.C: Correct dg-error
2003-08-18 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/mipscop*.c: Turn into compile-only tests.
2003-08-16 Nathan Sidwell <nathan@codesourcery.com>
PR C++/11512
* g++.dg/template/warn1.C: New.
2003-08-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/error2.C: New test.
* g++.dg/lookup/using7.C: Adjust errors
* g++.old-deja/g++.pt/crash36.C: Likewise.
* g++.old-deja/g++.pt/derived3.C: Likewise.
2003-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/builtins/lib/strcat.c: New.
* gcc.c-torture/execute/builtins/string-9-lib.c: New.
* gcc.c-torture/execute/builtins/string-9.c: New, from
string-opt-9.c. Adjust for execute/builtins framework.
* gcc.c-torture/execute/string-opt-9.c: Delete.
re PR c++/11703 (Problem with using enum in placement delete) PR c++/11703 * call.c (type_passed_as): Use TYPE_SIZE, not TYPE_PRECISION to determine whether or not to promote types. (convert_for_arg_passing): Likewise. * decl2.c (cp_build_parm_decl): Do not set DECL_ARG_TYPE in templates. * pt.c (tsubst_decl): Do not expect it to be set. PR c++/9512 PR c++/10923 * cp-tree.h (check_elaborated_type_specifier): Declare. (handle_class_head): Remove. (note_got_semicolon): Likewise. (note_list_got_semicolon): Likewise. (finish_class_definition): Likewise. * decl.c (check_elaborated_type_specifier): Make it public. Robustify. (handle_class_head): Remove. * parser.c (cp_parser_elaborated_type_specifier): Use check_elaborated_type_specifier. (cp_parser_class_specifier): Do not call finish_class_definition. (cp_parser_class_head): Or handle_class_head. Check for over-qualified names. * semantics.c (finish_class_definition): Remove. * parser.c (cp_parser_check_for_definition_in_return_type): New function. (cp_parser_simple_declaration): Adjust call to cp_parser_init_declarator. (cp_parser_decl_specifier_seq): Change type of declares_class_or_enum parameter. (cp_parser_explicit_instantiation): Adjust accordingly. (cp_parser_type_specifier): Change type of declares_class_or_enum parameter. (cp_parser_init_declarator): Add declares_class_or_enum parameter. (cp_parser_parameter_declaration): Adjust call to cp_parser_decl_specifier_seq. (cp_parser_function_definition): Likewise. (cp_parser_member_declaration): Likewise. (cp_parser_single_declaration): Likewise. * cp-tree.h (lang_type_class): Remove has_call_overloaded, has_array_ref_overloaded, has_arrow_overloaded, and got_semicolon. (TYPE_OVERLOADS_CALL_EXPR): Remove. (TYPE_OVERLOADS_ARRAY_REF): Likewise. (TYPE_OVERLOADS_ARROW): Likewise. (CLASSTYPE_GOT_SEMICOLON): Likewise. * class.c (check_bases): Do not set them. (finish_struct_1): Likewise. * decl.c (cp_finish_decl): Do not set CLASSTYPE_GOT_SEMICOLON. (build_ptrmemfunc_type): Likewise. (grok_op_properties): Do not set TYPE_OVERLOADS_*. (start_function): Do not check CLASSTYPE_GOT_SEMICOLON. * decl2.c (grokfield): Do not set CLASSTYPE_GOT_SEMICOLON. * lex.c (note_got_semicolon): Remove. (note_list_got_semicolon): Likewise. * parser.c (cp_parser_simple_declaration): Do not call note_list_got_semicolon. * pt.c (list_eq): Remove. (lookup_template_class): Do not set CLASSTYPE_GOT_SEMICOLON. (instantiate_class_template): Do not set TYPE_OVERLOADS*. (instantiate_class_template): Do not set CLASSTYPE_GOT_SEMICOLON. * ptree.c (cxx_print_type): Do not print them. * semantics.c (finish_member_class_template): Do not call note_list_got_semicolon. * g++.dg/parse/ret-type2.C: New test. PR c++/11703 * g++.dg/init/new8.C: New test. PR c++/10923 * g++.dg/parse/typedef5.C: New test. PR c++/9512 * g++.dg/parse/qualified2.C: New test. * g++.old-deja/g++.other/decl5.C: Mark one more instance of invalid code. From-SVN: r70391
2003-08-13 00:26:25 +02:00
2003-08-12 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/new8.C: Use __SIZE_TYPE__ to get the type of size_t.
re PR c++/11703 (Problem with using enum in placement delete) PR c++/11703 * call.c (type_passed_as): Use TYPE_SIZE, not TYPE_PRECISION to determine whether or not to promote types. (convert_for_arg_passing): Likewise. * decl2.c (cp_build_parm_decl): Do not set DECL_ARG_TYPE in templates. * pt.c (tsubst_decl): Do not expect it to be set. PR c++/9512 PR c++/10923 * cp-tree.h (check_elaborated_type_specifier): Declare. (handle_class_head): Remove. (note_got_semicolon): Likewise. (note_list_got_semicolon): Likewise. (finish_class_definition): Likewise. * decl.c (check_elaborated_type_specifier): Make it public. Robustify. (handle_class_head): Remove. * parser.c (cp_parser_elaborated_type_specifier): Use check_elaborated_type_specifier. (cp_parser_class_specifier): Do not call finish_class_definition. (cp_parser_class_head): Or handle_class_head. Check for over-qualified names. * semantics.c (finish_class_definition): Remove. * parser.c (cp_parser_check_for_definition_in_return_type): New function. (cp_parser_simple_declaration): Adjust call to cp_parser_init_declarator. (cp_parser_decl_specifier_seq): Change type of declares_class_or_enum parameter. (cp_parser_explicit_instantiation): Adjust accordingly. (cp_parser_type_specifier): Change type of declares_class_or_enum parameter. (cp_parser_init_declarator): Add declares_class_or_enum parameter. (cp_parser_parameter_declaration): Adjust call to cp_parser_decl_specifier_seq. (cp_parser_function_definition): Likewise. (cp_parser_member_declaration): Likewise. (cp_parser_single_declaration): Likewise. * cp-tree.h (lang_type_class): Remove has_call_overloaded, has_array_ref_overloaded, has_arrow_overloaded, and got_semicolon. (TYPE_OVERLOADS_CALL_EXPR): Remove. (TYPE_OVERLOADS_ARRAY_REF): Likewise. (TYPE_OVERLOADS_ARROW): Likewise. (CLASSTYPE_GOT_SEMICOLON): Likewise. * class.c (check_bases): Do not set them. (finish_struct_1): Likewise. * decl.c (cp_finish_decl): Do not set CLASSTYPE_GOT_SEMICOLON. (build_ptrmemfunc_type): Likewise. (grok_op_properties): Do not set TYPE_OVERLOADS_*. (start_function): Do not check CLASSTYPE_GOT_SEMICOLON. * decl2.c (grokfield): Do not set CLASSTYPE_GOT_SEMICOLON. * lex.c (note_got_semicolon): Remove. (note_list_got_semicolon): Likewise. * parser.c (cp_parser_simple_declaration): Do not call note_list_got_semicolon. * pt.c (list_eq): Remove. (lookup_template_class): Do not set CLASSTYPE_GOT_SEMICOLON. (instantiate_class_template): Do not set TYPE_OVERLOADS*. (instantiate_class_template): Do not set CLASSTYPE_GOT_SEMICOLON. * ptree.c (cxx_print_type): Do not print them. * semantics.c (finish_member_class_template): Do not call note_list_got_semicolon. * g++.dg/parse/ret-type2.C: New test. PR c++/11703 * g++.dg/init/new8.C: New test. PR c++/10923 * g++.dg/parse/typedef5.C: New test. PR c++/9512 * g++.dg/parse/qualified2.C: New test. * g++.old-deja/g++.other/decl5.C: Mark one more instance of invalid code. From-SVN: r70391
2003-08-13 00:26:25 +02:00
* g++.dg/parse/ret-type2.C: New test.
PR c++/11703
* g++.dg/init/new8.C: New test.
PR c++/10923
* g++.dg/parse/typedef5.C: New test.
PR c++/9512
* g++.dg/parse/qualified2.C: New test.
* g++.old-deja/g++.other/decl5.C: Mark one more instance of
invalid code.
2003-08-11 Mark Mitchell <mark@codesourcery.com>
* g++.dg/conversion/ptrmem1.C: New test.
2003-08-11 Jakub Jelinek <jakub@redhat.com>
PR target/11693
* gcc.dg/20030811-1.c: New test.
PR target/11535
* gcc.c-torture/execute/20030811-1.c: New test.
2003-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-9.c: Add more strcat cases.
2003-08-10 Mark Mitchell <mark@codesourcery.com>
PR c++/11789.C
* g++.dg/inherit/multiple1.C: New test.
2003-08-10 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/spe1.c: New test.
PR c++/11670
* g++.dg/expr/cast2.C: New test.
PR c++/10530
* g++.dg/template/dependent-name2.C: New test.
2003-08-08 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/parse/crash11.C: Put the dg options in comments.
2003-08-08 Neil Booth <neil@daikokuya.co.uk>
* lib/gcc-dg.exp: Update for diagnostic change.
2003-08-07 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/5767
* g++.dg/parse/crash11.C: New test.
2003-08-06 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/cpp/spacing1.c: Update.
2003-08-04 Janis Johnson <janis187@us.ibm.com>
PR target/11739
* gcc.misc-tests/i386-prefetch.exp: Use -march=i386 when specifying
a value for -mtune.
2003-08-04 Roger Sayle <roger@eyesopen.com>
PR middle-end/11771
* gcc.c-torture/compile/20030804-1.c: New test case.
2003-08-04 Roger Sayle <roger@eyesopen.com>
* gcc.dg/20030804-1.c: New test case.
2003-08-04 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/cpp/separate-1.c: New test.
2003-08-03 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11704
* g++.dg/template/dependent-expr2.C: New test.
PR c++/11766
* g++.dg/expr/ptrmem1.C: New test.
2003-08-03 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9453
* g++.dg/template/friend15.C: New test.
2003-08-03 Neil Booth <neil@daikokuya.co.uk>
* lib/dg-pch.exp: Work round PCH bug.
2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-1.c: Add macro helpers. Add missing math
builtins. Move cases from builtins-4.c here.
* gcc.dg/torture/builtin-math-1.c: New test taken from
bits of gcc.dg/builtins-3.c, gcc.dg/builtins-5.c and also some
additional cases.
* gcc.dg/builtins-3.c, gcc.dg/builtins-4.c, gcc.dg/builtins-5.c:
Delete.
2003-08-02 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9447
* g++.dg/template/using7.C: New test.
2003-08-02 Neil Booth <neil@daikokuya.co.uk>
* import1.c, import2.c: New tests.
2003-08-01 Jakub Jelinek <jakub@redhat.com>
* g++.dg/eh/crossjump1.C: New test.
2003-08-01 Mark Mitchell <mark@codesourcery.com>
PR c++/11697
* g++.dg/template/using6.C: New test.
PR c++/11744
* g++.dg/template/koenig2.C: New test.
2003-08-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/7983
* g++.dg/parse/typedef4.C: New test.
2003-08-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/8442, c++/8806
* g++.dg/template/elab1.C: New test.
* g++.dg/template/type2.C: Likewise.
* g++.dg/template/ttp3.C: Adjust expected error message.
* g++.old-deja/g++.law/visibility13.C: Likewise.
* g++.old-deja/g++.niklas/t135.C: Likewise.
* g++.old-deja/g++.pt/ttp41.C: Likewise.
* g++.old-deja/g++.pt/ttp43.C: Use qualified name for template
template argument.
* g++.old-deja/g++.pt/ttp44.C: Likewise.
2003-08-01 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11295
* g++.dg/ext/stmtexpr1.C: New test.
* g++.dg/opt/tmp1.C: New test.
PR c++/11525
* g++.dg/parse/constant4.C: New test.
PR c++/9447
* g++.dg/template/using5.C: New test.
2003-07-31 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-27.c: New test case.
2003-07-31 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/tls/opt-7.c: New test.
2003-07-31 Andrew Pinski <pinskia@physics.uc.edu>
* g++.old-deja/g++.other/crash18.C: Remove.
2003-07-31 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/explicit3.C: New.
* g++.dg/template/explicit4.C: New.
* g++.dg/template/explicit5.C: New.
PR c++/11347
* g++.dg/template/memtmpl1.C: New.
2003-07-29 Andrew Pinski <pinskia@physics.uc.edu>
PR target/11565
* gcc.dg/i386-387-1.c (dg-options): Add -march=i386.
* gcc.dg/i386-387-5.c (dg-options): Likewise.
2003-07-30 Jan Hubicka <jh@suse.cz>
* vtgc1.c: Kill.
c-decl.c (last_function_parm_vars, [...]): New static variables. * c-decl.c (last_function_parm_vars, current_function_parm_vars): New static variables. (struct c_scope): Add parms and warned_forward_parm_decls fields; remove parm_order. (storedecls, storetags): Delete. (poplevel): Also clear bindings on the parms chain. (pushdecl): Handle forward declarations of parameters, and chain PARM_DECLs on the parms list, not the names list. (lookup_name_current_level): Check for PARM_DECLs on the parms list too. (push_parm_decl): Don't update parm_order. (clear_parm_order): Rename mark_forward_parm_decls. Issue the warning, only once per parameter list, and set TREE_ASM_WRITTEN on the decls here. Then move the forward decls to the names list. (grokparms): Set last_function_parm_vars. (get_parm_info): Don't use gettags or getdecls. No need to extract non-parms from the parms list, or reorganize the parms list. Feed nonparms back in the TREE_TYPE of the list node returned. Issue only one error per parameter list for "void" appearing more than once in said parameter list. Collapse parmlist_tags_warning into this function to avoid double scan of tags list. (start_function): Set current_function_parm_vars. (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope directly. Get non-parms from current_function_parm_vars; no need to extract them from the parms chain. Properly bind tags in the new scope. (store_parm_decls_oldstyle): No need to extract non-parameters from the parms chain, nor to store them back afterward. Move declaration to top of function, restructure code reordering DECL_ARGUMENTS. (store_parm_decls): No need to save and restore warn_shadow. * c-parse.in: Don't call parmlist_tags_warning nor clear_parm_order. Call mark_forward_parm_decls when forward parm decls are encountered. * c-tree.h: Prototype mark_forward_parm_decls; not clear_parm_order or parmlist_tags_warning. testsuite: * gcc.dg/struct-in-proto-1.c: New test. From-SVN: r69945
2003-07-30 01:58:08 +02:00
2003-07-29 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/struct-in-proto-1.c: New test.
Makefile.in (LIBCPP_DEPS): Add HASHTAB_H. * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H. * cppfiles.c: Completely rewritten. * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path): struct cpp_path is now struct cpp_dir. (remove_duplicates): Don't simplify path names. * c-opts.c (c_common_parse_file): cpp_read_next_file renamed cpp_stack_file. * cpphash.h: Include hashtab.h. (_cpp_file): Declare. (struct cpp_buffer): struct include_file is now struct _cpp_file, and struct cpp_path is now struct cpp_dir. Rename members. (struct cpp_reader): Similarly. New members once_only_files, file_hash, file_hash_entries, quote_ignores_source_dir, no_search_path, saw_pragma_once. Remove all_include_files and max_include_len. Make some members bool. (_cpp_mark_only_only): Renamed from _cpp_never_reread. (_cpp_stack_file): Renamed from _cpp_read_file. (_cpp_stack_include): Renamed from _cpp_execute_include. (_cpp_init_files): Renamed from _cpp_init_includes. (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes. * cppinit.c (cpp_create_reader): Initialize no_search_path. Update. (cpp_read_next_file): Rename and move to cppfiles.c. (cpp_read_main_file): Update. * cpplib.c (run_directive): Update for renamed members. (do_include_common, _cpp_pop_buffer): Update. (do_import): Undeprecate #import. (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only. * cpplib.h: Remove file_name_map_list. (cpp_options): Remove map_list. (cpp_dir): Rename from cpp_path. New datatype for name_map. (cpp_set_include_chains, cpp_stack_file, cpp_included): Update. testsuite: * gcc.dg/cpp/include2.c: Only expect one message. From-SVN: r69942
2003-07-30 00:26:13 +02:00
2003-07-29 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/include2.c: Only expect one message.
2003-07-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9447
* g++.dg/template/using1.C: New test.
* g++.dg/template/using2.C: New test.
* g++.dg/template/using3.C: New test.
* g++.dg/template/using4.C: New test.
2003-07-29 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/string-opt-9.c: strcmp returns int.
* gcc.c-torture/execute/string-opt-10.c: Likewise.
2003-07-28 Jan Hubicka <jh@suse.cz>
PR c++/11530
* g++.dg/opt/call1.C: New test.
2003-07-28 Alexandre Oliva <aoliva@redhat.com>
PR c++/11667
* g++.dg/init/enum2.C: New test.
* g++.dg/template/overload1.C: Add "-w" option.
c-decl.c (last_function_parm_vars, [...]): New static variables. * c-decl.c (last_function_parm_vars, current_function_parm_vars): New static variables. (struct c_scope): Add parms and warned_forward_parm_decls fields; remove parm_order. (storedecls, storetags): Delete. (poplevel): Also clear bindings on the parms chain. (pushdecl): Handle forward declarations of parameters, and chain PARM_DECLs on the parms list, not the names list. (lookup_name_current_level): Check for PARM_DECLs on the parms list too. (push_parm_decl): Don't update parm_order. (clear_parm_order): Rename mark_forward_parm_decls. Issue the warning, only once per parameter list, and set TREE_ASM_WRITTEN on the decls here. Then move the forward decls to the names list. (grokparms): Set last_function_parm_vars. (get_parm_info): Don't use gettags or getdecls. No need to extract non-parms from the parms list, or reorganize the parms list. Feed nonparms back in the TREE_TYPE of the list node returned. Issue only one error per parameter list for "void" appearing more than once in said parameter list. Collapse parmlist_tags_warning into this function to avoid double scan of tags list. (start_function): Set current_function_parm_vars. (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope directly. Get non-parms from current_function_parm_vars; no need to extract them from the parms chain. Properly bind tags in the new scope. (store_parm_decls_oldstyle): No need to extract non-parameters from the parms chain, nor to store them back afterward. Move declaration to top of function, restructure code reordering DECL_ARGUMENTS. (store_parm_decls): No need to save and restore warn_shadow. * c-parse.in: Don't call parmlist_tags_warning nor clear_parm_order. Call mark_forward_parm_decls when forward parm decls are encountered. * c-tree.h: Prototype mark_forward_parm_decls; not clear_parm_order or parmlist_tags_warning. testsuite: * gcc.dg/struct-in-proto-1.c: New test. From-SVN: r69945
2003-07-30 01:58:08 +02:00
2003-07-28 <hp@bitrange.com>
* gcc.dg/Wdeclaration-after-statement-1.c,
gcc.dg/Wdeclaration-after-statement-2.c: New tests.
2003-07-28 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20030725-1.c: New test.
2003-07-28 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20030505.c: Only run for SPE.
Remove definition of opaque type.
2003-07-27 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/ptrmem6.C: New test.
2003-07-26 Geoffrey Keating <geoffk@apple.com>
* gcc.c-torture/compile/zero-strct-2.c: New test.
2003-07-25 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/intermod-1.c: New test.
2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11617
* g++.dg/template/lookup2.C: New test.
* g++.dg/template/memclass1.C: Remove instantiated from error.
* g++.dg/other/error2.C: Tweak expected errors.
PR c++/11596
* g++.dg/template/defarg3.C: New test.
* g++.dg/ext/packed2.C: Pack member struct too. Explain why.
2003-07-24 Mark Mitchell <mark@codesourcery.com>
* g++.dg/inherit/access5.C: New test.
2003-07-24 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11513
* g++.dg/template/crash8.C: New test.
2003-07-23 Steven Bosscher <steven@gcc.gnu.org>
PR c/10602
* gcc.dg/noncompile/incomplete-2.c: New test.
2003-07-23 Mark Mitchell <mark@codesourcery.com>
PR c++/11645
* g++.dg/inherit/access4.C: New test.
PR c++/11517
* g++.dg/expr/cond2.C: New test.
c-decl.c (last_function_parm_vars, [...]): New static variables. * c-decl.c (last_function_parm_vars, current_function_parm_vars): New static variables. (struct c_scope): Add parms and warned_forward_parm_decls fields; remove parm_order. (storedecls, storetags): Delete. (poplevel): Also clear bindings on the parms chain. (pushdecl): Handle forward declarations of parameters, and chain PARM_DECLs on the parms list, not the names list. (lookup_name_current_level): Check for PARM_DECLs on the parms list too. (push_parm_decl): Don't update parm_order. (clear_parm_order): Rename mark_forward_parm_decls. Issue the warning, only once per parameter list, and set TREE_ASM_WRITTEN on the decls here. Then move the forward decls to the names list. (grokparms): Set last_function_parm_vars. (get_parm_info): Don't use gettags or getdecls. No need to extract non-parms from the parms list, or reorganize the parms list. Feed nonparms back in the TREE_TYPE of the list node returned. Issue only one error per parameter list for "void" appearing more than once in said parameter list. Collapse parmlist_tags_warning into this function to avoid double scan of tags list. (start_function): Set current_function_parm_vars. (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope directly. Get non-parms from current_function_parm_vars; no need to extract them from the parms chain. Properly bind tags in the new scope. (store_parm_decls_oldstyle): No need to extract non-parameters from the parms chain, nor to store them back afterward. Move declaration to top of function, restructure code reordering DECL_ARGUMENTS. (store_parm_decls): No need to save and restore warn_shadow. * c-parse.in: Don't call parmlist_tags_warning nor clear_parm_order. Call mark_forward_parm_decls when forward parm decls are encountered. * c-tree.h: Prototype mark_forward_parm_decls; not clear_parm_order or parmlist_tags_warning. testsuite: * gcc.dg/struct-in-proto-1.c: New test. From-SVN: r69945
2003-07-30 01:58:08 +02:00
PR optimization/10679
* g++.dg/opt/inline4.C: New test.
2003-07-23 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/parse/crash10: New test.
2003-07-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/ext/flexary1.C: New test.
c-decl.c (last_function_parm_vars, [...]): New static variables. * c-decl.c (last_function_parm_vars, current_function_parm_vars): New static variables. (struct c_scope): Add parms and warned_forward_parm_decls fields; remove parm_order. (storedecls, storetags): Delete. (poplevel): Also clear bindings on the parms chain. (pushdecl): Handle forward declarations of parameters, and chain PARM_DECLs on the parms list, not the names list. (lookup_name_current_level): Check for PARM_DECLs on the parms list too. (push_parm_decl): Don't update parm_order. (clear_parm_order): Rename mark_forward_parm_decls. Issue the warning, only once per parameter list, and set TREE_ASM_WRITTEN on the decls here. Then move the forward decls to the names list. (grokparms): Set last_function_parm_vars. (get_parm_info): Don't use gettags or getdecls. No need to extract non-parms from the parms list, or reorganize the parms list. Feed nonparms back in the TREE_TYPE of the list node returned. Issue only one error per parameter list for "void" appearing more than once in said parameter list. Collapse parmlist_tags_warning into this function to avoid double scan of tags list. (start_function): Set current_function_parm_vars. (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope directly. Get non-parms from current_function_parm_vars; no need to extract them from the parms chain. Properly bind tags in the new scope. (store_parm_decls_oldstyle): No need to extract non-parameters from the parms chain, nor to store them back afterward. Move declaration to top of function, restructure code reordering DECL_ARGUMENTS. (store_parm_decls): No need to save and restore warn_shadow. * c-parse.in: Don't call parmlist_tags_warning nor clear_parm_order. Call mark_forward_parm_decls when forward parm decls are encountered. * c-tree.h: Prototype mark_forward_parm_decls; not clear_parm_order or parmlist_tags_warning. testsuite: * gcc.dg/struct-in-proto-1.c: New test. From-SVN: r69945
2003-07-30 01:58:08 +02:00
2003-07-22 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10793
* g++.dg/template/crash9.C: New test.
2003-07-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/3004
* g++.dg/parse/typedef3.C: New test.
PR c++/7906
* g++.dg/parse/operator2.C: New test.
PR c++/8895
* g++.dg/parse/def-tmpl-arg1.C: New test.
PR c++/9282
* g++.dg/parse/funptr1.C: New test.
PR c++/9452
* g++.dg/parse/ambig3.C: New test.
PR c++/9454
* g++.dg/parse/operator3.C: New test.
PR c++/9486
* g++.dg/parse/template10.C: New test.
PR c++/9488
* g++.dg/parse/template11.C: New test.
PR c++/10150
* g++.dg/parse/invalid-op1.C: New test.
PR c++/10247
* g++.dg/parse/condexpr1.C: New test.
2003-07-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/ext/packed3.C: New test.
* g++.dg/ext/packed4.C: New test.
* gcc.dg/pack-test-3.c: New test.
2003-07-21 Janis Johnson <janis187@us.ibm.com>
* lib/compat.exp: Handle dg-options per source file.
* g++.dg/compat/abi/bitfield1_x.C: Specify dg-options.
* g++.dg/compat/abi/bitfield1_y.C: Ditto.
* g++.dg/compat/abi/bitfield2_x.C: Ditto.
* g++.dg/compat/abi/bitfield2_y.C: Ditto.
* g++.dg/compat/abi/vbase8-10_x.C: Ditto.
* g++.dg/compat/abi/vbase8-10_y.C: Ditto.
* g++.dg/compat/abi/vbase8-21_x.C: Ditto.
* g++.dg/compat/abi/vbase8-21_y.C: Ditto.
* g++.dg/compat/abi/vbase8-22_x.C: Ditto.
* g++.dg/compat/abi/vbase8-22_y.C: Ditto.
* g++.dg/compat/abi/vbase8-4_x.C: Ditto.
* g++.dg/compat/abi/vbase8-4_y.C: Ditto.
* g++.dg/compat/break/bitfield7_x.C: Ditto.
* g++.dg/compat/break/bitfield7_y.C: Ditto.
2003-07-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c/10320
* gcc.c-torture/execute/20030718-1.c: New test.
2003-07-21 Eric Botcazou <ebotcazou@libertysurf.fr>
c-decl.c (last_function_parm_vars, [...]): New static variables. * c-decl.c (last_function_parm_vars, current_function_parm_vars): New static variables. (struct c_scope): Add parms and warned_forward_parm_decls fields; remove parm_order. (storedecls, storetags): Delete. (poplevel): Also clear bindings on the parms chain. (pushdecl): Handle forward declarations of parameters, and chain PARM_DECLs on the parms list, not the names list. (lookup_name_current_level): Check for PARM_DECLs on the parms list too. (push_parm_decl): Don't update parm_order. (clear_parm_order): Rename mark_forward_parm_decls. Issue the warning, only once per parameter list, and set TREE_ASM_WRITTEN on the decls here. Then move the forward decls to the names list. (grokparms): Set last_function_parm_vars. (get_parm_info): Don't use gettags or getdecls. No need to extract non-parms from the parms list, or reorganize the parms list. Feed nonparms back in the TREE_TYPE of the list node returned. Issue only one error per parameter list for "void" appearing more than once in said parameter list. Collapse parmlist_tags_warning into this function to avoid double scan of tags list. (start_function): Set current_function_parm_vars. (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope directly. Get non-parms from current_function_parm_vars; no need to extract them from the parms chain. Properly bind tags in the new scope. (store_parm_decls_oldstyle): No need to extract non-parameters from the parms chain, nor to store them back afterward. Move declaration to top of function, restructure code reordering DECL_ARGUMENTS. (store_parm_decls): No need to save and restore warn_shadow. * c-parse.in: Don't call parmlist_tags_warning nor clear_parm_order. Call mark_forward_parm_decls when forward parm decls are encountered. * c-tree.h: Prototype mark_forward_parm_decls; not clear_parm_order or parmlist_tags_warning. testsuite: * gcc.dg/struct-in-proto-1.c: New test. From-SVN: r69945
2003-07-30 01:58:08 +02:00
PR optimization/11536
* gcc.dg/20030721-1.c: New test.
2003-07-19 Mark Mitchell <mark@codesourcery.com>
PR c++/11546
* g++.dg/template/lookup1.C: New test.
* c-decl.c (named_labels, shadowed_labels, label_level_chain) (push_label_level, pop_label_level): Kill. (struct binding_level): Rename level_chain to outer. Add outer_function field. Change parm_flag, function_body, keep, keep_if_subblocks to 1-bit bitfields of type bool. (current_function_level): New variable. (keep_next_level_flag, keep_next_if_subblocks): Change type to bool. (keep_next_level, declare_parm_level, warn_if_shadowing): Update to match. (struct language_function): Kill named_labels, shadowed_labels fields. (c_init_decl_processing, start_function, c_push__function_context) (c_pop_function_context): No need to muck with named_labels nor shadowed_labels. (make_binding_level): No need to clear the structure here. (pop_binding_level): Always operate on current_binding_level. Update current_function_level if necessary. (pushlevel): Don't clear named_labels. Update current_function_level if necessary. Use "true" and "false" where appropriate. (poplevel): Diagnose labels defined but not used, or vice versa, and clear out label-meanings leaving scope, while walking down the decls list, for all binding levels. Handle LABEL_DECLs appearing in the shadowed list. pop_binding_level takes no arguments. (pushdecl_function_level): Use current_function_level. (make_label, bind_label): New static functions. (declare_label): New exported function. (lookup_label, define_label): Rewritten for new data structure. (shadow_label): Kill. * c-tree.h: Prototype declare_label; don't prototype push_label_level, pop_label_level, nor shadow_label. * c-parse.in: Remove all calls to push_label_level and pop_label_level. Use declare_label for __label__ decls. * doc/extend.texi: Clarify that __label__ can be used to declare labels with local scope in any nested block, not just statement expressions. Cross-reference nested functions section from local labels section. testsuite: * gcc.dg/noncompile/label-1.c: New comprehensive test case for diagnostics of ill-formed constructs involving labels. * gcc.dg/noncompile/label-lineno-1.c: Add error regexp for the new 'previously defined here' message. From-SVN: r69597
2003-07-20 01:32:55 +02:00
2003-07-19 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/noncompile/label-1.c: New comprehensive test case for
diagnostics of ill-formed constructs involving labels.
* gcc.dg/noncompile/label-lineno-1.c: Add error regexp for
the new 'previously defined here' message.
2003-07-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/parse/non-dependent2.C: New test.
2003-07-18 Andrew Pinski <pinskia@physics.uc.edu>
* c-decl.c (named_labels, shadowed_labels, label_level_chain) (push_label_level, pop_label_level): Kill. (struct binding_level): Rename level_chain to outer. Add outer_function field. Change parm_flag, function_body, keep, keep_if_subblocks to 1-bit bitfields of type bool. (current_function_level): New variable. (keep_next_level_flag, keep_next_if_subblocks): Change type to bool. (keep_next_level, declare_parm_level, warn_if_shadowing): Update to match. (struct language_function): Kill named_labels, shadowed_labels fields. (c_init_decl_processing, start_function, c_push__function_context) (c_pop_function_context): No need to muck with named_labels nor shadowed_labels. (make_binding_level): No need to clear the structure here. (pop_binding_level): Always operate on current_binding_level. Update current_function_level if necessary. (pushlevel): Don't clear named_labels. Update current_function_level if necessary. Use "true" and "false" where appropriate. (poplevel): Diagnose labels defined but not used, or vice versa, and clear out label-meanings leaving scope, while walking down the decls list, for all binding levels. Handle LABEL_DECLs appearing in the shadowed list. pop_binding_level takes no arguments. (pushdecl_function_level): Use current_function_level. (make_label, bind_label): New static functions. (declare_label): New exported function. (lookup_label, define_label): Rewritten for new data structure. (shadow_label): Kill. * c-tree.h: Prototype declare_label; don't prototype push_label_level, pop_label_level, nor shadow_label. * c-parse.in: Remove all calls to push_label_level and pop_label_level. Use declare_label for __label__ decls. * doc/extend.texi: Clarify that __label__ can be used to declare labels with local scope in any nested block, not just statement expressions. Cross-reference nested functions section from local labels section. testsuite: * gcc.dg/noncompile/label-1.c: New comprehensive test case for diagnostics of ill-formed constructs involving labels. * gcc.dg/noncompile/label-lineno-1.c: Add error regexp for the new 'previously defined here' message. From-SVN: r69597
2003-07-20 01:32:55 +02:00
* g++.dg/init/init-ref4.C: xfail on targets without
weak symbols.
2003-07-17 Jakub Jelinek <jakub@redhat.com>
PR target/11087
* gcc.c-torture/execute/20030717-1.c: New test.
2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/cfg1.C: New test.
2003-07-17 Mark Mitchell <mark@codesourcery.com>
PR optimization/11557
* gcc.dg/20030717-1.c: New test.
2003-07-17 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/10476
* g++.dg/expr/crash-1.C: New test.
PR c++/11027
* g++.dg/template/init3.C: New test.
PR c++/8222
* g++.dg/template/non-dependent1.C: New test.
PR c++/11070
* g++.dg/template/non-dependent2.C: New test.
PR c++/11071
* g++.dg/template/non-dependent3.C: New test.
PR c++/9907
* g++.dg/template/sizeof5.C: New test.
2003-07-17 Geoffrey Keating <geoffk@apple.com>
PR 11498
* gcc.c-torture/compile/mangle-1.c: New file.
2003-07-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/7809
* g++.dg/parse/access3.C: New test.
2003-07-17 17:49:19 +02:00
2003-07-17 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/11384
* g++.dg/init/init-ref4.C: New test.
re PR c++/11547 (ICE with const temporaries) PR c++/11547 * cp-tree.h (DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P): New macro. (DECL_PRETTY_FUNCTION_P): Use VAR_DECL_CHECK. * decl.c (duplicate_decls): Merge DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. * parser.c (cp_parser_postfix_expression): Adjust call to cp_parser_initializer_list and cp_parser_parenthesized_expression_list. (cp_parser_parenthesized_expression_list): Add non_constant_p. (cp_parser_new_placement): Adjust call to cp_parser_parenthesized_expression_list. (cp_parser_direct_new_declarator): Likewise. (cp_parser_conditional_expression): Remove. (cp_parser_constant_expression): Parse an assignment-expression, not a conditional-expression. (cp_parser_simple_declaration): Resolve expression/declaration ambiguity more quickly. (cp_parser_mem_initializer): Adjust call to cp_parser_parenthesized_expression_list. (cp_parser_init_declarator): Keep track of whether or not the initializer is a constant-expression. (cp_parser_initializer): Add non_constant_p parameter. (cp_parser_initializer_clause): Likewise. (cp_parser_initializer_list): Likewise. (cp_parser_attribute_list): Adjust call to cp_parser_parenthesized_expression_list. (cp_parser_functional_cast): Likewise. * pt.c (tsubst_decl): Copy DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. (tsubst_expr): Tweak use of DECL_PRETTY_FUNCTION_P. * semantics.c (finish_id_expression): Use DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. PR c++/11547 * g++.dg/parse/constant3.C: New test. * g++.dg/parse/crash7.C: Likewise. From-SVN: r69493
2003-07-17 06:31:42 +02:00
2003-07-16 Mark Mitchell <mark@codesourcery.com>
PR c++/11547
* g++.dg/parse/constant3.C: New test.
* g++.dg/parse/crash7.C: Likewise.
2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
PR target/11008
* gcc.dg/i386-pentium4-not-mull.c: New.
2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/asm-names.c (ymain): Make it weak.
2003-07-16 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/5421
* g++.dg/template/friend21.C: New test.
2003-07-16 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cleanup-8.c: New test.
* gcc.dg/cleanup-9.c: New test.
2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
* g++.dg/ext/dll-MI1.h: New file.
* g++.dg/ext/dllexport-MI1.C: New file.
* g++.dg/ext/dllimport-MI1.C: New file.
2003-07-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-8.c (main): Remove i370 and s390,
it does not have cmpstrsi patterns (just cmpmemsi).
2003-07-15 Mark Mitchell <mark@codesourcery.com>
PR debug/11473
* g++.dg/debug/debug8.C: New test.
2003-07-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10108
* g++.dg/template/crash7.C: New test.
2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
PR target/10795
* gcc.c-torture/compile/20030708-1.c: New.
2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20030715-1.c: New test.
2003-07-14 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/inline-3.c: New file.
* gcc.dg/pch/inline-3.hs: New file.
* gcc.dg/pch/inline-4.c: New file.
* gcc.dg/pch/inline-4.hs: New file.
2003-07-14 Mark Mitchell <mark@codesourcery.com>
PR c++/11509
* g++.dg/template/crash6.C: New test.
PR c++/7053
* g++.dg/template/friend20.C: New test.
PR c++/7019
* g++.dg/template/overload2.C: New test.
2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR optimization/11440
* gcc.c-torture/execute/20030714-1.c: New test.
2003-07-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11154
* g++.dg/template/partial2.C: New test.
re PR c++/11493 (tree check ICE in error.c) * cp-tree.h (cp_id_kind): New type. (unqualified_name_lookup_error): Change prototype. (unqualified_fn_lookup_error): New function. (do_identifier): Remove. (do_scoped_id): Likewise. (tsubst_copy_and_build): Change prototype. (reregister_specialization): New function. (perform_koenig_lookup): Likewise. (finish_id_expression): Likewise. * call.c (build_method_call): Adjust call to unqualified_name_lookup_error. * decl.c (duplicate_decls): Use reregister_specialization. * lex.c (is_global): Remove. (unqualified_name_lookup_error): Return a value. (do_identifier): Remove. (do_scoped_id): Likewise. (identifier_typedecl_value): Remove. (unqualified_fn_lookup_error): New function. * parser.c (cp_parser_id_kind): Remove. (cp_parser_non_constant_id_expression): Remove. (cp_parser_primary_expression): Use finish_id_expression. (cp_parser_class_or_namespace_name): Use cp_id_kind, not cp_parser_id_kind. (cp_parser_postfix_expression): Use perform_koenig_lookup. (cp_parser_template_argument): Use cp_id_kind. (cp_parser_fold_non_dependent_expr): Adjust call to tsubst_copy_and_build. * pt.c (unregister_specialization): Rename to ... (reregister_specialization): This. (tsubst_friend_function): Use it. (maybe_fold_nontype_arg): Adjust call to tsubst_copy_and_build. (tsubst_qualified_id): Likewise. (tsubst_expr): Likewise. (tsubst_copy_and_build): Add function_p parameter. Use finish_id_expression. Introduce RECUR macro. (tsubst_non_call_postfix_expression): New function. (regenerate_decl_from_template): Use reregister_specialization. * semantics.c (perform_koenig_lookup): New function. (finish_id_expression): Likewise. PR c++/11493 PR c++/11495 * g++.dg/parse/template9.C: Likewise. * g++.dg/template/crash4.C: New test. * g++.dg/template/koenig1.C: Likewise. * g++.old-deja/g++.benjamin/tem03.C: Adjust error markers. * g++.old-deja/g++.benjamin/tem06.C: Declare "x". * g++.old-deja/g++.jason/overload33.C: Use this-> when calling functions. * g++.old-deja/g++.jason/template36.C: Likewise. * g++.old-deja/g++.mike/p1989.C: Likewise. * g++.old-deja/g++.pt/lookup2.C: Use -fpermissive when compiling. * g++.old-deja/g++.pt/ttp20.C: Use this->. * g++.old-deja/g++.pt/ttp21.C: Use this->. * g++.old-deja/g++.pt/typename13.C: Use -fpermissive when compiling. * g++.old-deja/g++.pt/union2.C: Use this->. From-SVN: r69316
2003-07-14 05:04:29 +02:00
2003-07-13 Mark Mitchell <mark@codesourcery.com>
PR c++/11503
* g++.dg/template/anon1.C: New test.
re PR c++/11493 (tree check ICE in error.c) * cp-tree.h (cp_id_kind): New type. (unqualified_name_lookup_error): Change prototype. (unqualified_fn_lookup_error): New function. (do_identifier): Remove. (do_scoped_id): Likewise. (tsubst_copy_and_build): Change prototype. (reregister_specialization): New function. (perform_koenig_lookup): Likewise. (finish_id_expression): Likewise. * call.c (build_method_call): Adjust call to unqualified_name_lookup_error. * decl.c (duplicate_decls): Use reregister_specialization. * lex.c (is_global): Remove. (unqualified_name_lookup_error): Return a value. (do_identifier): Remove. (do_scoped_id): Likewise. (identifier_typedecl_value): Remove. (unqualified_fn_lookup_error): New function. * parser.c (cp_parser_id_kind): Remove. (cp_parser_non_constant_id_expression): Remove. (cp_parser_primary_expression): Use finish_id_expression. (cp_parser_class_or_namespace_name): Use cp_id_kind, not cp_parser_id_kind. (cp_parser_postfix_expression): Use perform_koenig_lookup. (cp_parser_template_argument): Use cp_id_kind. (cp_parser_fold_non_dependent_expr): Adjust call to tsubst_copy_and_build. * pt.c (unregister_specialization): Rename to ... (reregister_specialization): This. (tsubst_friend_function): Use it. (maybe_fold_nontype_arg): Adjust call to tsubst_copy_and_build. (tsubst_qualified_id): Likewise. (tsubst_expr): Likewise. (tsubst_copy_and_build): Add function_p parameter. Use finish_id_expression. Introduce RECUR macro. (tsubst_non_call_postfix_expression): New function. (regenerate_decl_from_template): Use reregister_specialization. * semantics.c (perform_koenig_lookup): New function. (finish_id_expression): Likewise. PR c++/11493 PR c++/11495 * g++.dg/parse/template9.C: Likewise. * g++.dg/template/crash4.C: New test. * g++.dg/template/koenig1.C: Likewise. * g++.old-deja/g++.benjamin/tem03.C: Adjust error markers. * g++.old-deja/g++.benjamin/tem06.C: Declare "x". * g++.old-deja/g++.jason/overload33.C: Use this-> when calling functions. * g++.old-deja/g++.jason/template36.C: Likewise. * g++.old-deja/g++.mike/p1989.C: Likewise. * g++.old-deja/g++.pt/lookup2.C: Use -fpermissive when compiling. * g++.old-deja/g++.pt/ttp20.C: Use this->. * g++.old-deja/g++.pt/ttp21.C: Use this->. * g++.old-deja/g++.pt/typename13.C: Use -fpermissive when compiling. * g++.old-deja/g++.pt/union2.C: Use this->. From-SVN: r69316
2003-07-14 05:04:29 +02:00
PR c++/11493
PR c++/11495
* g++.dg/parse/template9.C: Likewise.
* g++.dg/template/crash4.C: New test.
* g++.dg/template/koenig1.C: Likewise.
* g++.old-deja/g++.benjamin/tem03.C: Adjust error markers.
* g++.old-deja/g++.benjamin/tem06.C: Declare "x".
* g++.old-deja/g++.jason/overload33.C: Use this-> when calling
functions.
* g++.old-deja/g++.jason/template36.C: Likewise.
* g++.old-deja/g++.mike/p1989.C: Likewise.
* g++.old-deja/g++.pt/lookup2.C: Use -fpermissive when compiling.
* g++.old-deja/g++.pt/ttp20.C: Use this->.
* g++.old-deja/g++.pt/ttp21.C: Use this->.
* g++.old-deja/g++.pt/typename13.C: Use -fpermissive when
compiling.
* g++.old-deja/g++.pt/union2.C: Use this->.
2003-07-11 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030711-1.c: New test.
2003-07-11 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11050
* g++.dg/parse/args1.C: New test.
* g++.pt/defarg8.C: Change expected errors.
2003-07-11 Mark Mitchell <mark@codesourcery.com>
PR c++/8164
* g++.dg/template/nontype2.C: New test.
PR c++/10558
* g++.dg/parse/template8.C: New test.
PR c++/8327
* g++.dg/template/scope1.C: New test.
* g++.dg/warn/Wsign-compare-1.C: New test.
2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/20021018-1.c: Disable if the sizeof (int) < 4.
2003-07-10 Mark Mitchell <mark@codesourcery.com>
PR c++/9411
* g++.dg/template/explicit2.C: New test.
PR c++/10032
* g++.dg/warn/pedantic1.C: New test.
2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
PR c++ 9483
* g++.dg/other/field1.C: New test.
2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
PR c/11449
* gcc.c-torture/compile/20030707-1.c: New.
2003-07-10 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10849
* g++.dg/template/access12.C: New test.
2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/bprob/bprob.exp (prof_ext): Update.
* g77.dg/bprob/bprob.exp (prof_ext): Update.
* gcc.misc-tests/bprob.exp (prof_ext): Update.
* gcc.misc-tests/gcov.exp: Update
* g++.dg/gcov/gcov.exp: Update
* lib/gcov.exp: Update.
fold-const.c (make_range): Do not access operand 1 for a zero-operand operator. * fold-const.c (make_range): Do not access operand 1 for a zero-operand operator. 2003-07-08 Mark Mitchell <mark@codesourcery.com> * cp-tree.def (NON_DEPENDENT_EXPR): New node. * cp-tree.h (build_call_from_tree): Remove. (build_member_call): Likewise. (dependent_template_arg_p): Remove. (any_dependent_template_arguments_p): New function. (dependent_template_id_p): Likewise. (any_type_dependent_arguments_p): Likewise. (build_non_dependent_expr): Likewise. (build_non_dependent_args): Likewise. (build_x_compound_expr): Adjust prototype. * call.c (build_new_method_call): Handle non-dependent expressions correctly. * decl2.c (grok_array_decl): Likewise. (build_offset_ref_call_from_tree): Likewise. (build_call_from_tree): Remove. * error.c (dump_decl): Handle NON_DEPENDENT_EXPR. (dump_expr): Likewise. * init.c (build_member_call): Remove. * mangle.c (write_expression): Update handling for template-ids. * parser.c (cp_parser_primary_expression): Use any_dependent_template_arguments_p. Update constant-expression handling. (cp_parser_postfix_expression): Use any_type_dependent_arguments_p. Simplify call processing. (cp_parser_unary_expression): Simplify. (cp_parser_expression): Adjust for changes to build_x_compound_expr. (cp_parser_template_argument): Implement standard-conforming parsing of non-type template arguments. (cp_parser_direct_declarator): Use cp_parser_fold_non_dependent_expr. (cp_parser_fold_non_dependent_expr): New function. (cp_parser_next_token_ends_template_argument_p): Likewise. * pt.c (convert_template_argument): Do not call maybe_fold_nontype_arg. (tsubst_baselink): Likewise. (tsubst_copy_and_build): Share common code. Make sizeof/alignof processing work correctly for non-dependent expressions. Adjust handling of COMPOUND_EXPR. Simplify call processing. (value_dependent_expression_p): Deal with functional casts and sizeof/alignof correctly. (type_dependent_expression_p): Handle overloaded functions. (any_type_dependent_arguments_p): New function. (any_dependent_template_arguments_p): Likewise. (dependent_template_p): Treat SCOPE_REFs as dependent. (dependent_template_id_p): Simplify. (build_non_dependent_expr): New function. (build_non_dependent_args): Likewise. * semantics.c (finish_stmt_expr): Don't make dependent statement-expresions have void type. (finish_call_expr): Handle non-dependent expressions correctly. * tree.c (lvalue_p_1): Treat NON_DEPENDENT_EXPRs as lvalues. * typeck.c (cxx_sizeof_or_alignof_type): Give the expression type size_t, even in templates. (expr_sizeof): Likewise. (finish_class_member_access_expr): Handle non-dependent expressions correctly. (build_x_indirect_ref): Likewise. (build_x_binary_op): Likewise. (build_x_unary_op): Likewise. (build_x_conditional_expr): Likewise. (build_x_compound_expr): Likewise. * typeck2.c (build_x_arrow): Likewise. 2003-07-08 Mark Mitchell <mark@codesourcery.com> * g++.dg/abi/mangle17.C: Make sure template expressions are dependent. * g++.dg/abi/mangle4.C: Mark erroneous casts. * g++.dg/debug/debug7.C: Mark erronous new-declarator. * g++.dg/opt/stack1.C: Remove erroneous code. * g++.dg/parse/template7.C: New test. * g++.dg/template/dependent-expr1.C: Mark erroneous code. * g++.old-deja/g++.pt/crash4.C: Likewise. 2003-07-09 Mark Mitchell <mark@codesourcery.com> * gcj/array.h (JvPrimClass): Don't parenthesize the output. From-SVN: r69130
2003-07-09 10:48:08 +02:00
2003-07-08 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/mangle17.C: Make sure template expressions are
dependent.
* g++.dg/abi/mangle4.C: Mark erroneous casts.
* g++.dg/debug/debug7.C: Mark erronous new-declarator.
* g++.dg/opt/stack1.C: Remove erroneous code.
* g++.dg/parse/template7.C: New test.
* g++.dg/template/dependent-expr1.C: Mark erroneous code.
* g++.old-deja/g++.pt/crash4.C: Likewise.
2003-07-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/const-elim-1.c (dg-final): Change regexp to match labels
with zero or one occurence of `$' after the initial `L'.
2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20030704-1.c: Add a comment.
2003-07-08 Roger Sayle <roger@eyesopen.com>
PR c/11370
* gcc.dg/Wunreachable-6.c: New testcase.
* gcc.dg/Wunreachable-7.c: New testcase.
2003-07-08 Jakub Jelinek <jakub@redhat.com>
PR c/11420
* gcc.dg/20030708-1.c: New test.
elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete. * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete. (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete. (SECTION_FUNCTION_TEMPLATE): Delete. * config/mips/elf.h: As for elf64.h. (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section. * config/mips/linux.h: As for elf.h * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. * config/mips/iris6.h (EXTRA_SECTIONS): Delete. (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling of in_sdata from current_section_name and current_section_flags. * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes. (MASK_GP_OPT, TARGET_GP_OPT): Delete. (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value. (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt. (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override. (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6. (mips_classify_symbol): Use SYMBOL_REF_SMALL_P. (override_options): Remove setting of MASK_GPOPT. (mips_output_external): Use mips_in_small_data_p to check whether a symbol needs an .extern directive. Don't emit such directives for TARGET_EXPLICIT_RELOCS. (mips_declare_object): Update accordingly. (mips_select_rtx_section): Call named_section rather than SMALL_DATA_SECTION. (mips_select_section): Use default_elf_section_section for everything except .text string constants. (mips_in_small_data_p): New function. (mips_encode_section_info): Remove small data handling. (mips_unique_section): Delete. (iris6_section_type_flags): New function. * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic. From-SVN: r69090
2003-07-08 19:36:01 +02:00
2003-07-08 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/compat/sdata-section.h: New file.
* gcc.dg/compat/sdata-1_{x,y,main}.c: New test.
* gcc.dg/torture/mips-sdata-1.c: New test.
2003-07-08 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11030
* g++.dg/template/friend19.C: New test.
2003-07-08 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/strength-reduce.C: New test.
2003-07-07 Roger Sayle <roger@eyesopen.com>
PR target/10979
* gcc.dg/20030707-1.c: New testcase.
2003-07-07 Roger Sayle <roger@eyesopen.com>
PR optimization/11059
* g++.dg/opt/emptyunion.C: New testcase.
2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* c-decl.c (named_labels, shadowed_labels, label_level_chain) (push_label_level, pop_label_level): Kill. (struct binding_level): Rename level_chain to outer. Add outer_function field. Change parm_flag, function_body, keep, keep_if_subblocks to 1-bit bitfields of type bool. (current_function_level): New variable. (keep_next_level_flag, keep_next_if_subblocks): Change type to bool. (keep_next_level, declare_parm_level, warn_if_shadowing): Update to match. (struct language_function): Kill named_labels, shadowed_labels fields. (c_init_decl_processing, start_function, c_push__function_context) (c_pop_function_context): No need to muck with named_labels nor shadowed_labels. (make_binding_level): No need to clear the structure here. (pop_binding_level): Always operate on current_binding_level. Update current_function_level if necessary. (pushlevel): Don't clear named_labels. Update current_function_level if necessary. Use "true" and "false" where appropriate. (poplevel): Diagnose labels defined but not used, or vice versa, and clear out label-meanings leaving scope, while walking down the decls list, for all binding levels. Handle LABEL_DECLs appearing in the shadowed list. pop_binding_level takes no arguments. (pushdecl_function_level): Use current_function_level. (make_label, bind_label): New static functions. (declare_label): New exported function. (lookup_label, define_label): Rewritten for new data structure. (shadow_label): Kill. * c-tree.h: Prototype declare_label; don't prototype push_label_level, pop_label_level, nor shadow_label. * c-parse.in: Remove all calls to push_label_level and pop_label_level. Use declare_label for __label__ decls. * doc/extend.texi: Clarify that __label__ can be used to declare labels with local scope in any nested block, not just statement expressions. Cross-reference nested functions section from local labels section. testsuite: * gcc.dg/noncompile/label-1.c: New comprehensive test case for diagnostics of ill-formed constructs involving labels. * gcc.dg/noncompile/label-lineno-1.c: Add error regexp for the new 'previously defined here' message. From-SVN: r69597
2003-07-20 01:32:55 +02:00
Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/opt/stack1.C: New test.
2003-07-05 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.jason/typeid1.C: Make it a compile test, not a
run test.
* c-decl.c (named_labels, shadowed_labels, label_level_chain) (push_label_level, pop_label_level): Kill. (struct binding_level): Rename level_chain to outer. Add outer_function field. Change parm_flag, function_body, keep, keep_if_subblocks to 1-bit bitfields of type bool. (current_function_level): New variable. (keep_next_level_flag, keep_next_if_subblocks): Change type to bool. (keep_next_level, declare_parm_level, warn_if_shadowing): Update to match. (struct language_function): Kill named_labels, shadowed_labels fields. (c_init_decl_processing, start_function, c_push__function_context) (c_pop_function_context): No need to muck with named_labels nor shadowed_labels. (make_binding_level): No need to clear the structure here. (pop_binding_level): Always operate on current_binding_level. Update current_function_level if necessary. (pushlevel): Don't clear named_labels. Update current_function_level if necessary. Use "true" and "false" where appropriate. (poplevel): Diagnose labels defined but not used, or vice versa, and clear out label-meanings leaving scope, while walking down the decls list, for all binding levels. Handle LABEL_DECLs appearing in the shadowed list. pop_binding_level takes no arguments. (pushdecl_function_level): Use current_function_level. (make_label, bind_label): New static functions. (declare_label): New exported function. (lookup_label, define_label): Rewritten for new data structure. (shadow_label): Kill. * c-tree.h: Prototype declare_label; don't prototype push_label_level, pop_label_level, nor shadow_label. * c-parse.in: Remove all calls to push_label_level and pop_label_level. Use declare_label for __label__ decls. * doc/extend.texi: Clarify that __label__ can be used to declare labels with local scope in any nested block, not just statement expressions. Cross-reference nested functions section from local labels section. testsuite: * gcc.dg/noncompile/label-1.c: New comprehensive test case for diagnostics of ill-formed constructs involving labels. * gcc.dg/noncompile/label-lineno-1.c: Add error regexp for the new 'previously defined here' message. From-SVN: r69597
2003-07-20 01:32:55 +02:00
PR c++/11431
* g++.dg/expr/static_cast3.C: New test.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
2003-07-04 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c
everywhere.
* gcc.dg/concat.c: Concatenation of string constants with
__FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error.
* gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp.
* gcc.dg/cpp/escape-2.c: Use wide character constants where
necessary to avoid multi-character character constant warning.
* gcc.dg/cpp/escape.c: Likewise.
* gcc.dg/cpp/ucs.c: Likewise.
Remove backslashes from dg-bogus comments, as they confuse Tcl.
Fix a typo.
2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
PR c/11428
* gcc.c-torture/compile/20030704-1.c: New.
2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/compat/fnptr-by-value-1_x.c: Add a prototype for testva.
2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/5287, PR c++/7910, PR c++/11021
* g++.dg/ext/dllimport1.C: Add mingw32 as target. Add
tests for warnings.
* g++.dg/ext/dllimport2.C: Add tests for warnings.
* g++.dg/ext/dllimport3.C: Likewise.
* g++.dg/ext/dllimport4.C: New file.
* g++.dg/ext/dllimport5.C: New file.
* g++.dg/ext/dllimport6.C: New file.
* g++.dg/ext/dllimport7.C: New file.
* g++.dg/ext/dllimport8.C: New file.
* g++.dg/ext/dllimport9.C: New file.
* g++.dg/ext/dllimport10.C: New file.
* g++.dg/ext/dllexport1.C: New file.
call.c (build_addr_func): Handle bound pointers-to-members. * call.c (build_addr_func): Handle bound pointers-to-members. (build_method_call): Do not call resolve_offset_ref. (implicit_conversion): Likewise. (resolve_scoped_fn_name): Use finish_non_static_data_member, not resolve_offset_ref. (resolve_args): Do not call resolve_offset_ref. (build_conditional_expr): Likewise. (build_new_method_call): Likewise. * cp-tree.def (OFFSET_REF): Update documentation. (cp_convert_to_pointer): Update handling of conversions from pointers to members to pointers. (ocp_convert): Do not call resolve_offset_ref. (convert_to_void): Likewise. (build_expr_type_conversion): Likewise. (delete_sanity): Likewise. (resolve_offset_ref): Simplify greatly. (build_vec_delete): Do not call resolve_offset_ref. * parser.c (cp_parser_postfix_expression): Call resolve_offset_ref if appropriate. (cp_parser_unary_expression): Use cp_parser_simple_cast_expression. (cp_parser_delete_expression): Likewise. (cp_parser_cast_expression): Likewise. (cp_parser_pm_expression): Use cp_parser_binary_op. (cp_parser_simple_cast_expression): New function. * rtti.c (build_dynamic_cast_1): Do not call resolve_offset_ref. * semantics.c (finish_increment_expr): Likewise. (finish_typeof): Likewise. * tree.c (lvalue_p_1): Do not handle OFFSET_REF. * typeck.c (require_complete_type): Do not handle OFFSET_REFs. (decay_conversion): Do not call resolve_offset_ref. (finish_class_member_access_expr): Likewise. (convert_arguments): Likewise. (build_x_binary_op): Handle DOTSTAR_EXPR. (condition_conversion): Do not call resolve_offset_ref. (unary_complex_lvalue): Likewise. (build_static_cast): Likewise. (build_reinterpret_cast): Likewise. (build_const_cast): Likewise. (build_c_cast): Likewise. (build_modify_expr): Likewise. (convert_for_assignment): Likewise. (convert_for_initialization): Likewise. * typeck2.c (build_x_arrow): Likewise. (build_m_component_ref): Simplify. * g++.old-deja/g++.jason/typeid1.C: Add dg-error marker. * g++.old-deja/g++.mike/net36.C: Tweak error messages. From-SVN: r68911
2003-07-04 07:05:19 +02:00
2003-07-03 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.jason/typeid1.C: Add dg-error marker.
* g++.old-deja/g++.mike/net36.C: Tweak error messages.
2003-07-03 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-25.c: New testcase.
* gcc.dg/builtins-26.c: New testcase.
2003-07-03 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/vector-defs.h: New file.
* gcc.dg/compat/vector-setup.h: New file.
* gcc.dg/compat/vector-check.h: New file.
* gcc.dg/compat/vector-1_main.c: New file.
* gcc.dg/compat/vector-1_x.c: New file.
* gcc.dg/compat/vector-1_y.c: New file.
* gcc.dg/compat/vector-2_main.c: New file.
* gcc.dg/compat/vector-2_x.c: New file.
* gcc.dg/compat/vector-2_y.c: New file.
* gcc.dg/compat/fnptr-by-value-1_main.c: New file.
* gcc.dg/compat/fnptr-by-value-1_x.c: New file.
* gcc.dg/compat/fnptr-by-value-1_y.c: New file.
* gcc.dg/compat/struct-align-1.h: New file.
* gcc.dg/compat/struct-align-1_main.c: New file.
* gcc.dg/compat/struct-align-1_x.c: New file.
* gcc.dg/compat/struct-align-1_y.c: New file.
* gcc.dg/compat/struct-align-2.h: New file.
* gcc.dg/compat/struct-align-2_main.c: New file.
* gcc.dg/compat/struct-align-2_x.c: New file.
* gcc.dg/compat/struct-align-2_y.c: New file.
* gcc.dg/compat/compat-common.h (DEBUG_FINI): New.
* gcc.dg/compat/scalar-by-value-1_x.c: Use it.
* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-3_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-4_x.c: Ditto.
* gcc.dg/compat/scalar-return-1_x.c: Ditto.
* gcc.dg/compat/scalar-return-2_x.c: Ditto.
* gcc.dg/compat/scalar-return-3_x.c: Ditto.
* gcc.dg/compat/scalar-return-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-10_x.c: Ditto.
* gcc.dg/compat/struct-by-value-11_x.c: Ditto.
* gcc.dg/compat/struct-by-value-12_x.c: Ditto.
* gcc.dg/compat/struct-by-value-13_x.c: Ditto.
* gcc.dg/compat/struct-by-value-14_x.c: Ditto.
* gcc.dg/compat/struct-by-value-15_x.c: Ditto.
* gcc.dg/compat/struct-by-value-16_x.c: Ditto.
* gcc.dg/compat/struct-by-value-17_x.c: Ditto.
* gcc.dg/compat/struct-by-value-18_x.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-return-10_x.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/compat/struct-return-3_x.c: Ditto.
2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-call-1.c: New test.
2003-07-03 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9162
* g++.dg/parse/defarg4.C: New.
2003-07-03 Roger Sayle <roger@eyesopen.com>
PR target/10700
* gcc.c-torture/compile/20030703-1.c: New test case.
2003-07-03 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/local3.C: Remove extra semicolon.
2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-volatile-1.c: New test.
2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11072
* g++.dg/other/offsetof2.C: XFAIL.
* g++.dg/other/offsetof5.C: New.
PR c++/10219
* g++.dg/template/error1.C: New.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
PR c++/9779
* g++.dg/template/dependent-expr1.C: New.
2003-07-01 Mark Mitchell <mark@codesourcery.com>
PR c++/6949
* g++.dg/template/local3.C: New test.
PR c++/11149
* g++.dg/lookup/scoped6.C: New test.
2003-07-01 Giovanni Bajo <giovannibajo@libero.it>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
PR c++/8046
* g++.dg/other/error7.C: New test.
2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
* g++.old-deja/g++.abi/vbase1.C: Fix comment typos.
* g++.old-deja/g++.abi/vtable3.h: Likewise.
* g++.old-deja/g++.law/code-gen5.C: Likewise.
* g++.old-deja/g++.other/union2.C: Likewise.
* gcc.dg/c90-const-expr-2.c: Likewise.
* gcc.dg/c90-const-expr-3.c: Likewise.
* gcc.dg/c99-const-expr-2.c: Likewise.
* gcc.dg/c99-const-expr-3.c: Likewise.
* gcc.dg/concat.c: Likewise.
2003-07-01 Mark Mitchell <mark@codesourcery.com>
PR c++/9559
* g++.dg/init/static1.C: New test.
2003-06-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* Changelog: Remove ">>>>>>>" from previous change.
2003-06-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* g++.old-deja/g++.niklas/README: Fix spelling for "testcase".
* g++.old-deja/g++.other/access2.C: Likewise.
* g++.old-deja/g++.other/decl2.C: Likewise.
* gcc.c-torture/execute/20020615-1.c: Likewise.
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
PR c++/4933
* g++.dg/template/sizeof4.C: New test.
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* g++.dg/other/error6.C: New test.
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
PR c++/10750
* g++.dg/parse/constant2.C: New test.
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
PR c++/11106
* g++.dg/other/error5.C: New test.
2003-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/format/gcc_diag-1.c: New test.
2003-06-28 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.
2003-06-28 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.robertl/eb133.C: Set expected line number.
* g++.old-deja/g++.robertl/eb133a.C: Likewise.
* g++.old-deja/g++.robertl/eb133b.C: Likewise.
2003-06-28 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/builtins/string-8.c: New test.
* gcc.c-torture/execute/builtins/string-8-lib.c: New.
* gcc.c-torture/execute/stdio-opt-1.c (main): Add new tests.
* gcc.c-torture/execute/string-opt-7.c (main): Add new test.
2003-06-27 Mark Mitchell <mark@codesourcery.com>
PR c++/10468
* g++.dg/ext/typeof6.C: New test.
2003-06-27 Mark Mitchell <mark@codesourcery.com>
PR c++/10796
* g++.dg/init/enum1.C: New test.
2003-06-27 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030627-1.c: New test.
2003-06-26 Mark Mitchell <mark@codesourcery.com>
PR c++/11332
* g++.dg/expr/static_cast2.C: New test.
2003-06-26 Roger Sayle <roger@eyesopen.com>
Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-16.c: Remove test for disabled
sprintf(dst,"%s",src) optimization.
* gcc.c-torture/execute/20030626-1.c: New test case.
* gcc.c-torture/execute/20030626-2.c: New test case.
2003-06-26 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/multi-ix.c: New test.
* gcc.c-torture/execute/simd-4.c (main):
Added missing semicolon at end of union.
2003-06-26 Giovanni Bajo <giovannibajo@libero.it>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
PR c++/8266
* g++.dg/template/explicit-instantiation3.C: New test.
2003-06-26 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/20030626-1.c: Use signed char.
2003-06-26 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/20030626-1.c: New test.
2003-06-26 Neil Booth <neil@daikokuya.co.uk>
* const-str-2.m: Update.
2003-06-25 Mark Mitchell <mark@codesourcery.com>
PR c++/10990
* g++.dg/rtti/dyncast1.C: New test.
* g++.dg/abi/mangle4.C: Correct base-specifier access.
* g++.dg/lookup/scoped1.C: Remove XFAIL.
* g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access.
PR c++/10931
* g++.dg/expr/static_cast1.C: New test.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
2003-06-25 Josef Zlomek <zlomekj@suse.cz>
* gcc.dg/20030625-1.c: New test.
2003-06-24 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/compile/20030624-1.c: New test case.
2003-06-24 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-17.c: New test.
2003-06-24 Mark Mitchell <mark@codesourcery.com>
PR c++/5754
* g++.dg/parse/crash6.C: New test.
2003-06-23 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-24.c: New test case.
2003-06-23 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/operator1.C: New test.
2003-06-22 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/string-opt-16.c: New test case.
2003-06-21 Gabriel Dos Reis <gdr@integrable-solutions.net>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* g++.old-deja/g++.benjamin/16077.C: Add -Wconversion option.
* g++.old-deja/g++.other/conv7.C: Likewise
* g++.old-deja/g++.other/overcnv2.C: Likewise.
* g++.old-deja/g++.other/overload14.C: Likewise.
2003-06-21 Gabriel Dos Reis <gdr@integrable-solutions.net>
* g++.old-deja/g++.jason/conversion5.C: Adjust option.
* g++.old-deja/g++.bugs/900215_01.C: Likewise.
2003-06-20 Mark Mitchell <mark@codesourcery.com>
PR c++/10888
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* g++.dg/warn/Winline-3.C: New test.
2003-06-20 Mark Mitchell <mark@codesourcery.com>
* lib/target-supports.exp (check_alias_available): Make the test
program acceptable to the Solaris assembler.
PR c++/10749
* g++.dg/template/memclass2.C: New test.
2003-06-20 Mark Mitchell <mark@codesourcery.com>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
Eric Botcazou <ebotcazou@libertysurf.fr>
* lib/gcc-dg.exp (dg-xfail-if): Do not process conditional xfail
data for non-matching targets.
* gcc.c-torture/compile/simd-5.c: Fix typo in conditional xfail.
2003-06-20 Mark Mitchell <mark@codesourcery.com>
PR c++/10845
* g++.dg/template/member3.C: New test.
2003-06-19 Mark Mitchell <mark@codesourcery.com>
PR c++/10939
* g++.dg/template/func1.C: New test.
PR c++/9649
* g++.dg/template/static4.C: New test.
* g++.old-deja/g++.other/anon7.C: Remove spurious error messages.
PR c++/11041
* g++.dg/init/ref7.C: New test.
2003-06-19 Matt Austern <austern@apple.com>
PR c++/11228
* g++.dg/anew1.C: New test.
* g++.dg/anew2.C: New test.
* g++.dg/anew3.C: New test.
* g++.dg/anew4.C: New test.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
2003-06-19 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.
2003-06-19 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/simd-4.c (main): Make expected value
endian-dependent.
2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp (g++_include_flags): Tweak path to testsuite_flags.
Remove cruft.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.
2003-06-17 Mark Mitchell <mark@codesourcery.com>
2003-06-18 00:27:15 +02:00
PR c++/10712
* g++.dg/lookup/using7.C: New test.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
2003-06-17 Mark Mitchell <mark@codesourcery.com>
PR c++/11105
* g++.dg/abi/conv1.C: Remove it.
* g++.dg/template/conv7.C: New test.
* g++.dg/template/conv8.C: Likewise.
* g++.old-deja/g++.ext/pretty2.C: Do not test __FUNCTION__ for a
conversion operator.
2003-06-17 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/compat-common.h (DEBUG_INIT): New.
* gcc.dg/compat/scalar-by-value-1_x.c: Use it.
* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-3_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-4_x.c: Ditto.
* gcc.dg/compat/scalar-return-1_x.c: Ditto.
* gcc.dg/compat/scalar-return-2_x.c: Ditto.
* gcc.dg/compat/scalar-return-3_x.c: Ditto.
* gcc.dg/compat/scalar-return-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-10_x.c: Ditto.
* gcc.dg/compat/struct-by-value-11_x.c: Ditto.
* gcc.dg/compat/struct-by-value-12_x.c: Ditto.
* gcc.dg/compat/struct-by-value-13_x.c: Ditto.
* gcc.dg/compat/struct-by-value-14_x.c: Ditto.
* gcc.dg/compat/struct-by-value-15_x.c: Ditto.
* gcc.dg/compat/struct-by-value-16_x.c: Ditto.
* gcc.dg/compat/struct-by-value-17_x.c: Ditto.
* gcc.dg/compat/struct-by-value-18_x.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-return-10_x.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/compat/struct-return-3_x.c: Ditto.
2003-06-16 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (dg-xfail-if): Fix thinko.
* gcc.c-torture/compile/simd-5.c: Remove spurious PowerPC-64 XFAIL
indications.
2003-06-16 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-387-5.c: New test case.
* gcc.dg/i386-387-6.c: New test case.
* gcc.dg/builtins-23.c: New test case.
2003-06-15 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-22.c: New test case.
* gcc.dg/i386-387-1.c: Update to test exp.
* gcc.dg/i386-387-2.c: Likewise.
2003-06-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/format/asm_fprintf-1.c: Update width/precision checks.
gcc-dg.exp (dg-require-dll): New function. * lib/gcc-dg.exp (dg-require-dll): New function. (dg-xfail-if): Likewise. * gcc.c-torture/compile/compile.exp: Use dg rather than c-torture driver. * gcc.c-torture/compile/20000804-1.c: Convert to dg format. * gcc.c-torture/compile/20001205-1.c: Likewise. * gcc.c-torture/compile/20001226-1.c: Likewise. * gcc.c-torture/compile/20010518-2.c: Likewise. * gcc.c-torture/compile/20020312-1.c: Likewise. * gcc.c-torture/compile/20020604-1.c: Likewise. * gcc.c-torture/compile/920501-12.c: Likewise. * gcc.c-torture/compile/920501-4.c: Likewise. * gcc.c-torture/compile/920520-1.c: Likewise. * gcc.c-torture/compile/920521-1.c: Likewise. * gcc.c-torture/compile/920625-1.c: Likewise. * gcc.c-torture/compile/961203-1.c: Likewise. * gcc.c-torture/compile/980506-1.c: Likewise. * gcc.c-torture/compile/981006-1.c: Likewise. * gcc.c-torture/compile/981022-1.c: Likewise. * gcc.c-torture/compile/981223-1.c: Likewise. * gcc.c-torture/compile/990617-1.c: Likewise. * gcc.c-torture/compile/dll.c: Likewise. * gcc.c-torture/compile/labels-3.c: Likewise. * gcc.c-torture/compile/mipscop-1.c: Likewise. * gcc.c-torture/compile/mipscop-2.c: Likewise. * gcc.c-torture/compile/mipscop-3.c: Likewise. * gcc.c-torture/compile/mipscop-4.c: Likewise. * gcc.c-torture/compile/simd-5.c: Likewise. * gcc.c-torture/compile/20000804-1.x: Remove. * gcc.c-torture/compile/20001205-1.x: Likewise. * gcc.c-torture/compile/20001226-1.x: Likewise. * gcc.c-torture/compile/20010518-2.x: Likewise. * gcc.c-torture/compile/20020312-1.x: Likewise. * gcc.c-torture/compile/20020604-1.x: Likewise. * gcc.c-torture/compile/920501-12.x: Likewise. * gcc.c-torture/compile/920501-4.x: Likewise. * gcc.c-torture/compile/920520-1.x: Likewise. * gcc.c-torture/compile/920521-1.x: Likewise. * gcc.c-torture/compile/920625-1.x: Likewise. * gcc.c-torture/compile/961203-1.x: Likewise. * gcc.c-torture/compile/980506-1.x: Likewise. * gcc.c-torture/compile/981006-1.x: Likewise. * gcc.c-torture/compile/981022-1.x: Likewise. * gcc.c-torture/compile/981223-1.x: Likewise. * gcc.c-torture/compile/990617-1.x: Likewise. * gcc.c-torture/compile/mipscop-1.x: Likewise. * gcc.c-torture/compile/mipscop-2.x: Likewise. * gcc.c-torture/compile/mipscop-3.x: Likewise. * gcc.c-torture/compile/mipscop-4.x: Likewise. * gcc.c-torture/compile/simd-5.x: Likewise. * gcc.c-torture/compile/20021205-1.c: Remove bogus dg commands. From-SVN: r67881
2003-06-13 07:41:02 +02:00
2003-06-12 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (dg-require-dll): New function.
(dg-xfail-if): Likewise.
* gcc.c-torture/compile/compile.exp: Use dg rather than c-torture
driver.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
gcc-dg.exp (dg-require-dll): New function. * lib/gcc-dg.exp (dg-require-dll): New function. (dg-xfail-if): Likewise. * gcc.c-torture/compile/compile.exp: Use dg rather than c-torture driver. * gcc.c-torture/compile/20000804-1.c: Convert to dg format. * gcc.c-torture/compile/20001205-1.c: Likewise. * gcc.c-torture/compile/20001226-1.c: Likewise. * gcc.c-torture/compile/20010518-2.c: Likewise. * gcc.c-torture/compile/20020312-1.c: Likewise. * gcc.c-torture/compile/20020604-1.c: Likewise. * gcc.c-torture/compile/920501-12.c: Likewise. * gcc.c-torture/compile/920501-4.c: Likewise. * gcc.c-torture/compile/920520-1.c: Likewise. * gcc.c-torture/compile/920521-1.c: Likewise. * gcc.c-torture/compile/920625-1.c: Likewise. * gcc.c-torture/compile/961203-1.c: Likewise. * gcc.c-torture/compile/980506-1.c: Likewise. * gcc.c-torture/compile/981006-1.c: Likewise. * gcc.c-torture/compile/981022-1.c: Likewise. * gcc.c-torture/compile/981223-1.c: Likewise. * gcc.c-torture/compile/990617-1.c: Likewise. * gcc.c-torture/compile/dll.c: Likewise. * gcc.c-torture/compile/labels-3.c: Likewise. * gcc.c-torture/compile/mipscop-1.c: Likewise. * gcc.c-torture/compile/mipscop-2.c: Likewise. * gcc.c-torture/compile/mipscop-3.c: Likewise. * gcc.c-torture/compile/mipscop-4.c: Likewise. * gcc.c-torture/compile/simd-5.c: Likewise. * gcc.c-torture/compile/20000804-1.x: Remove. * gcc.c-torture/compile/20001205-1.x: Likewise. * gcc.c-torture/compile/20001226-1.x: Likewise. * gcc.c-torture/compile/20010518-2.x: Likewise. * gcc.c-torture/compile/20020312-1.x: Likewise. * gcc.c-torture/compile/20020604-1.x: Likewise. * gcc.c-torture/compile/920501-12.x: Likewise. * gcc.c-torture/compile/920501-4.x: Likewise. * gcc.c-torture/compile/920520-1.x: Likewise. * gcc.c-torture/compile/920521-1.x: Likewise. * gcc.c-torture/compile/920625-1.x: Likewise. * gcc.c-torture/compile/961203-1.x: Likewise. * gcc.c-torture/compile/980506-1.x: Likewise. * gcc.c-torture/compile/981006-1.x: Likewise. * gcc.c-torture/compile/981022-1.x: Likewise. * gcc.c-torture/compile/981223-1.x: Likewise. * gcc.c-torture/compile/990617-1.x: Likewise. * gcc.c-torture/compile/mipscop-1.x: Likewise. * gcc.c-torture/compile/mipscop-2.x: Likewise. * gcc.c-torture/compile/mipscop-3.x: Likewise. * gcc.c-torture/compile/mipscop-4.x: Likewise. * gcc.c-torture/compile/simd-5.x: Likewise. * gcc.c-torture/compile/20021205-1.c: Remove bogus dg commands. From-SVN: r67881
2003-06-13 07:41:02 +02:00
* gcc.c-torture/compile/20000804-1.c: Convert to dg format.
* gcc.c-torture/compile/20001205-1.c: Likewise.
* gcc.c-torture/compile/20001226-1.c: Likewise.
* gcc.c-torture/compile/20010518-2.c: Likewise.
* gcc.c-torture/compile/20020312-1.c: Likewise.
* gcc.c-torture/compile/20020604-1.c: Likewise.
* gcc.c-torture/compile/920501-12.c: Likewise.
* gcc.c-torture/compile/920501-4.c: Likewise.
* gcc.c-torture/compile/920520-1.c: Likewise.
* gcc.c-torture/compile/920521-1.c: Likewise.
* gcc.c-torture/compile/920625-1.c: Likewise.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.
* gcc.c-torture/compile/981006-1.c: Likewise.
* gcc.c-torture/compile/981022-1.c: Likewise.
* gcc.c-torture/compile/981223-1.c: Likewise.
* gcc.c-torture/compile/990617-1.c: Likewise.
* gcc.c-torture/compile/dll.c: Likewise.
* gcc.c-torture/compile/labels-3.c: Likewise.
* gcc.c-torture/compile/mipscop-1.c: Likewise.
* gcc.c-torture/compile/mipscop-2.c: Likewise.
* gcc.c-torture/compile/mipscop-3.c: Likewise.
* gcc.c-torture/compile/mipscop-4.c: Likewise.
* gcc.c-torture/compile/simd-5.c: Likewise.
* gcc.c-torture/compile/20000804-1.x: Remove.
* gcc.c-torture/compile/20001205-1.x: Likewise.
* gcc.c-torture/compile/20001226-1.x: Likewise.
* gcc.c-torture/compile/20010518-2.x: Likewise.
* gcc.c-torture/compile/20020312-1.x: Likewise.
* gcc.c-torture/compile/20020604-1.x: Likewise.
* gcc.c-torture/compile/920501-12.x: Likewise.
* gcc.c-torture/compile/920501-4.x: Likewise.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/920521-1.x: Likewise.
* gcc.c-torture/compile/920625-1.x: Likewise.
* gcc.c-torture/compile/961203-1.x: Likewise.
* gcc.c-torture/compile/980506-1.x: Likewise.
* gcc.c-torture/compile/981006-1.x: Likewise.
* gcc.c-torture/compile/981022-1.x: Likewise.
* gcc.c-torture/compile/981223-1.x: Likewise.
* gcc.c-torture/compile/990617-1.x: Likewise.
* gcc.c-torture/compile/mipscop-1.x: Likewise.
* gcc.c-torture/compile/mipscop-2.x: Likewise.
* gcc.c-torture/compile/mipscop-3.x: Likewise.
* gcc.c-torture/compile/mipscop-4.x: Likewise.
* gcc.c-torture/compile/simd-5.x: Likewise.
* gcc.c-torture/compile/20021205-1.c: Remove bogus dg commands.
2003-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20030611-1.c: New test.
2003-06-12 Roger Sayle <roger@eyesopen.com>
PR middle-end/168
* gcc.dg/20030612-1.c: New test case.
2003-06-12 Mark Mitchell <mark@codesourcery.com>
PR c++/10635
* g++.dg/expr/cast1.C: New test.
2003-06-12 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-21.c: New test case.
2003-06-11 Kelley Cook <kelleycook@wideopenwest.com>
* lib/gcc.exp (gcc_target_compile): Put TOOL_OPTIONS at front of
options instead of at the end.
* lib/objc.exp (objc_target_compile): Likewise.
2003-06-11 Mark Mitchell <mark@codesourcery.com>
PR c++/10432
* g++.dg/parse/error1.C: New test.
2003-06-11 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/struct-by-value-11_main.c: New file.
* gcc.dg/compat/struct-by-value-11_x.c: New file.
* gcc.dg/compat/struct-by-value-11_y.c: New file.
* gcc.dg/compat/struct-by-value-12_main.c: New file.
* gcc.dg/compat/struct-by-value-12_x.c: New file.
* gcc.dg/compat/struct-by-value-12_y.c: New file.
* gcc.dg/compat/struct-by-value-13_main.c: New file.
* gcc.dg/compat/struct-by-value-13_x.c: New file.
* gcc.dg/compat/struct-by-value-13_y.c: New file.
* gcc.dg/compat/struct-by-value-14_main.c: New file.
* gcc.dg/compat/struct-by-value-14_x.c: New file.
* gcc.dg/compat/struct-by-value-14_y.c: New file.
* gcc.dg/compat/struct-by-value-15_main.c: New file.
* gcc.dg/compat/struct-by-value-15_x.c: New file.
* gcc.dg/compat/struct-by-value-15_y.c: New file.
* gcc.dg/compat/struct-by-value-16_main.c: New file.
* gcc.dg/compat/struct-by-value-16_x.c: New file.
* gcc.dg/compat/struct-by-value-16_y.c: New file.
* gcc.dg/compat/struct-by-value-17_main.c: New file.
* gcc.dg/compat/struct-by-value-17_x.c: New file.
* gcc.dg/compat/struct-by-value-17_y.c: New file.
* gcc.dg/compat/struct-by-value-18_main.c: New file.
* gcc.dg/compat/struct-by-value-18_x.c: New file.
* gcc.dg/compat/struct-by-value-18_y.c: New file.
* gcc.dg/compat/scalar-by-value-3_main.c: New file.
* gcc.dg/compat/scalar-by-value-3_x.c: New file.
* gcc.dg/compat/scalar-by-value-3_y.c: New file.
* gcc.dg/compat/scalar-by-value-4_main.c: New file.
* gcc.dg/compat/scalar-by-value-4_x.c: New file.
* gcc.dg/compat/scalar-by-value-4_y.c: New file.
* gcc.dg/compat/scalar-return-3_main.c: New file.
* gcc.dg/compat/scalar-return-3_x.c: New file.
* gcc.dg/compat/scalar-return-3_y.c: New file.
* gcc.dg/compat/scalar-return-4_main.c: New file.
* gcc.dg/compat/scalar-return-4_x.c: New file.
* gcc.dg/compat/scalar-return-4_y.c: New file.
compat-common.h: New file. * gcc.dg/compat/compat-common.h: New file. * gcc.dg/compat/fp-struct-check.h: Improve debugging output. * gcc.dg/compat/fp-struct-test-by-value-x.h: Ditto. * gcc.dg/compat/fp-struct-test-by-value-y.h: Ditto. * gcc.dg/compat/scalar-by-value-1_main.c: Ditto. * gcc.dg/compat/scalar-by-value-1_x.c: Ditto. * gcc.dg/compat/scalar-by-value-1_y.c: Ditto. * gcc.dg/compat/scalar-by-value-2_main.c: Ditto. * gcc.dg/compat/scalar-by-value-2_x.c: Ditto. * gcc.dg/compat/scalar-by-value-2_y.c: Ditto. * gcc.dg/compat/scalar-return-1_main.c: Ditto. * gcc.dg/compat/scalar-return-1_x.c: Ditto. * gcc.dg/compat/scalar-return-1_y.c: Ditto. * gcc.dg/compat/scalar-return-2_main.c: Ditto. * gcc.dg/compat/scalar-return-2_x.c: Ditto. * gcc.dg/compat/scalar-return-2_y.c: Ditto. * gcc.dg/compat/small-struct-check.h: Ditto. * gcc.dg/compat/struct-by-value-2_main.c: Ditto. * gcc.dg/compat/struct-by-value-2_x.c: Ditto. * gcc.dg/compat/struct-by-value-2_y.c: Ditto. * gcc.dg/compat/struct-by-value-3_main.c: Ditto. * gcc.dg/compat/struct-by-value-3_x.c: Ditto. * gcc.dg/compat/struct-by-value-3_y.c: Ditto. * gcc.dg/compat/struct-by-value-4_main.c: Ditto. * gcc.dg/compat/struct-by-value-4_x.c: Ditto. * gcc.dg/compat/struct-by-value-4_y.c: Ditto. * gcc.dg/compat/struct-by-value-5_main.c: Ditto. * gcc.dg/compat/struct-by-value-5_x.c: Ditto. * gcc.dg/compat/struct-by-value-5_y.c: Ditto. * gcc.dg/compat/struct-by-value-6_main.c: Ditto. * gcc.dg/compat/struct-by-value-6_x.c: Ditto. * gcc.dg/compat/struct-by-value-6_y.c: Ditto. * gcc.dg/compat/struct-by-value-7_main.c: Ditto. * gcc.dg/compat/struct-by-value-7_x.c: Ditto. * gcc.dg/compat/struct-by-value-7_y.c: Ditto. * gcc.dg/compat/struct-by-value-8_main.c: Ditto. * gcc.dg/compat/struct-by-value-8_x.c: Ditto. * gcc.dg/compat/struct-by-value-8_y.c: Ditto. * gcc.dg/compat/struct-by-value-9_main.c: Ditto. * gcc.dg/compat/struct-by-value-9_x.c: Ditto. * gcc.dg/compat/struct-by-value-9_y.c: Ditto. * gcc.dg/compat/struct-return-2_main.c: Ditto. * gcc.dg/compat/struct-return-2_x.c: Ditto. * gcc.dg/compat/struct-return-2_y.c: Ditto. * gcc.dg/compat/struct-return-3_main.c: Ditto. * gcc.dg/compat/struct-return-3_x.c: Ditto. * gcc.dg/compat/struct-return-3_y.c: Ditto. From-SVN: r67724
2003-06-10 21:08:33 +02:00
2003-06-10 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/fp2-struct-check.h: New file.
* gcc.dg/compat/fp2-struct-defs.h: New file.
* gcc.dg/compat/fp2-struct-init.h: New file.
* gcc.dg/compat/struct-by-value-10_main.c: New file.
* gcc.dg/compat/struct-by-value-10_x.c: New file.
* gcc.dg/compat/struct-by-value-10_y.c: New file.
* gcc.dg/compat/struct-return-10_main.c: New file.
* gcc.dg/compat/struct-return-10_x.c: New file.
* gcc.dg/compat/struct-return-10_y.c: New file.
compat-common.h: New file. * gcc.dg/compat/compat-common.h: New file. * gcc.dg/compat/fp-struct-check.h: Improve debugging output. * gcc.dg/compat/fp-struct-test-by-value-x.h: Ditto. * gcc.dg/compat/fp-struct-test-by-value-y.h: Ditto. * gcc.dg/compat/scalar-by-value-1_main.c: Ditto. * gcc.dg/compat/scalar-by-value-1_x.c: Ditto. * gcc.dg/compat/scalar-by-value-1_y.c: Ditto. * gcc.dg/compat/scalar-by-value-2_main.c: Ditto. * gcc.dg/compat/scalar-by-value-2_x.c: Ditto. * gcc.dg/compat/scalar-by-value-2_y.c: Ditto. * gcc.dg/compat/scalar-return-1_main.c: Ditto. * gcc.dg/compat/scalar-return-1_x.c: Ditto. * gcc.dg/compat/scalar-return-1_y.c: Ditto. * gcc.dg/compat/scalar-return-2_main.c: Ditto. * gcc.dg/compat/scalar-return-2_x.c: Ditto. * gcc.dg/compat/scalar-return-2_y.c: Ditto. * gcc.dg/compat/small-struct-check.h: Ditto. * gcc.dg/compat/struct-by-value-2_main.c: Ditto. * gcc.dg/compat/struct-by-value-2_x.c: Ditto. * gcc.dg/compat/struct-by-value-2_y.c: Ditto. * gcc.dg/compat/struct-by-value-3_main.c: Ditto. * gcc.dg/compat/struct-by-value-3_x.c: Ditto. * gcc.dg/compat/struct-by-value-3_y.c: Ditto. * gcc.dg/compat/struct-by-value-4_main.c: Ditto. * gcc.dg/compat/struct-by-value-4_x.c: Ditto. * gcc.dg/compat/struct-by-value-4_y.c: Ditto. * gcc.dg/compat/struct-by-value-5_main.c: Ditto. * gcc.dg/compat/struct-by-value-5_x.c: Ditto. * gcc.dg/compat/struct-by-value-5_y.c: Ditto. * gcc.dg/compat/struct-by-value-6_main.c: Ditto. * gcc.dg/compat/struct-by-value-6_x.c: Ditto. * gcc.dg/compat/struct-by-value-6_y.c: Ditto. * gcc.dg/compat/struct-by-value-7_main.c: Ditto. * gcc.dg/compat/struct-by-value-7_x.c: Ditto. * gcc.dg/compat/struct-by-value-7_y.c: Ditto. * gcc.dg/compat/struct-by-value-8_main.c: Ditto. * gcc.dg/compat/struct-by-value-8_x.c: Ditto. * gcc.dg/compat/struct-by-value-8_y.c: Ditto. * gcc.dg/compat/struct-by-value-9_main.c: Ditto. * gcc.dg/compat/struct-by-value-9_x.c: Ditto. * gcc.dg/compat/struct-by-value-9_y.c: Ditto. * gcc.dg/compat/struct-return-2_main.c: Ditto. * gcc.dg/compat/struct-return-2_x.c: Ditto. * gcc.dg/compat/struct-return-2_y.c: Ditto. * gcc.dg/compat/struct-return-3_main.c: Ditto. * gcc.dg/compat/struct-return-3_x.c: Ditto. * gcc.dg/compat/struct-return-3_y.c: Ditto. From-SVN: r67724
2003-06-10 21:08:33 +02:00
* gcc.dg/compat/compat-common.h: New file.
* gcc.dg/compat/fp-struct-check.h: Improve debugging output.
* gcc.dg/compat/fp-struct-test-by-value-x.h: Ditto.
* gcc.dg/compat/fp-struct-test-by-value-y.h: Ditto.
* gcc.dg/compat/scalar-by-value-1_main.c: Ditto.
* gcc.dg/compat/scalar-by-value-1_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-1_y.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_main.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_y.c: Ditto.
* gcc.dg/compat/scalar-return-1_main.c: Ditto.
* gcc.dg/compat/scalar-return-1_x.c: Ditto.
* gcc.dg/compat/scalar-return-1_y.c: Ditto.
* gcc.dg/compat/scalar-return-2_main.c: Ditto.
* gcc.dg/compat/scalar-return-2_x.c: Ditto.
* gcc.dg/compat/scalar-return-2_y.c: Ditto.
* gcc.dg/compat/small-struct-check.h: Ditto.
* gcc.dg/compat/struct-by-value-2_main.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-2_y.c: Ditto.
* gcc.dg/compat/struct-by-value-3_main.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_y.c: Ditto.
* gcc.dg/compat/struct-by-value-4_main.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_y.c: Ditto.
* gcc.dg/compat/struct-by-value-5_main.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_y.c: Ditto.
* gcc.dg/compat/struct-by-value-6_main.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_y.c: Ditto.
* gcc.dg/compat/struct-by-value-7_main.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7_y.c: Ditto.
* gcc.dg/compat/struct-by-value-8_main.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_y.c: Ditto.
* gcc.dg/compat/struct-by-value-9_main.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_y.c: Ditto.
* gcc.dg/compat/struct-return-2_main.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/compat/struct-return-2_y.c: Ditto.
* gcc.dg/compat/struct-return-3_main.c: Ditto.
* gcc.dg/compat/struct-return-3_x.c: Ditto.
* gcc.dg/compat/struct-return-3_y.c: Ditto.
2003-06-10 Geoffrey Keating <geoffk@apple.com>
* g++.dg/pch/static-1.C: New file.
* g++.dg/pch/static-1.Hs: New file.
2003-06-10 Richard Henderson <rth@redhat.com>
* gcc.dg/asm-7.c: Adjust expected warning text.
2003-06-10 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-20.c: New test case.
2003-06-10 Mark Mitchell <mark@codesourcery.com>
PR c++/11131
* g++.dg/opt/template1.C: New test.
2003-06-09 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (dg-test): Clear additional_files and
additional_sources.
2003-05-21 David Taylor <dtaylor@emc.com>
* gcc.dg/Wpadded.c: New file.
2003-06-09 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/special/20000419-2.c: Fix dg-require-alias syntax.
* gcc.dg/special/weak-2.c: Add dg-require-weak.
* gcc.dg/weak/weak-3.c: Reverse order of dg-do and
dg-require-weak.
2003-06-09 J"orn Rennecke <joern.rennecke@superh.com>
* g++.dg/other/offsetof3.C: Adjust linenumber of last expected warning.
2003-06-09 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (dg-require-weak): Fix typo.
(dg-require-alias): Likewise.
(dg-require-gc-sections): Likewise.
* lib/target-supports.exp (check_gc_sections_available): Likewise.
2003-06-08 Richard Henderson <rth@redhat.com>
* gcc.dg/20011029-2.c: Fix the array reference.
* gcc.dg/asm-7.c: New.
2003-06-08 Kazu Hirata <kazu@cs.umass.edu>
2003-06-09 22:24:30 +02:00
* gcc.c-torture/compile/20000804-1.x: Disable on h8300 port.
2003-06-08 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (dg-require-alias): Fix typo.
(dg-require-gc-sections): Likewise.
2003-06-08 Jan Hubicka <jh@suse.cz>
* i386-cmov1.c: Fix regular expression.
* i386-cvt-1.c: Likewise.
* i386-local.c: Likewise.
* i386-local2.c: Likewise.
* i386-mul.c: Likewise.
* i386-ssetype-1.c: Likewise.
* i386-ssetype-3.c: Likewise.
* i386-ssetype-5.c: Likewise.
2003-06-08 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11039
* g++.dg/warn/implicit-typename2.C: New test.
* g++.dg/warn/implicit-typename3.C: New test.
2003-06-07 Richard Henderson <rth@redhat.com>
* g++.dg/other/offsetof3.C: Use size_t.
* g++.dg/other/offsetof4.C: Likewise.
2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
* lib/copy-file.exp: New. Implement gcc_copy_files.
* lib/dg-pch.exp: Load copy-file.exp
(dg-pch): Use gcc_copy_files instead of "file copy".
2003-06-06 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/weak/weak.exp: Simplify.
* gcc.dg/weak/typeof-2.c: Use dg-require-weak.
* gcc.dg/weak/weak-1.c: Likewise.
* gcc.dg/weak/weak-2.c: Likewise.
* gcc.dg/weak/weak-3.c: Likewise.
* gcc.dg/weak/weak-4.c: Likewise.
* gcc.dg/weak/weak-5.c: Likewise.
* gcc.dg/weak/weak-6.c: Likewise.
* gcc.dg/weak/weak-7.c: Likewise.
* gcc.dg/weak/weak-8.c: Likewise.
* gcc.dg/weak/weak-9.c: Likewise.
2003-06-06 Richard Earnshaw <rearnsha@arm.com>
gcc.c-torture/execute/20030606-1.c: New.
2003-06-06 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-2.c: Correct check-in of incorrect version.
* gcc.dg/builtins-19.c: Likewise.
2003-06-06 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-2.c: Add some more tests.
* gcc.dg/builtins-18.c: New test case.
* gcc.dg/builtins-19.c: New test case.
2003-06-06 Roger Sayle <roger@eyesopen.com>
Jim Wilson <wilson@tuliptree.org>
* gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms.
2003-06-06 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/builtins/string-4.c (main_test): Allow some
mempcpy/stpcpy calls not to be optimized into something else.
* gcc.c-torture/execute/string-opt-3.c: Moved to...
* gcc.c-torture/execute/builtins/string-7.c: ...here.
* gcc.c-torture/execute/builtins/string-7-lib.c: New.
2003-06-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/format/asm_fprintf-1.c: New test.
gcc-defs.exp (additional_sources): New variable. * lib/gcc-defs.exp (additional_sources): New variable. (dg-additional-sources): New function. (additional_files): New variable. (dg-additional-files): New function. (dg-additional-files-options): Likewise. * lib/gcc-dg.exp (dg-require-weak): New function. (dg-require-alias): Likewise. (dg-require-gc-sections): Likewise. * lib/target-supports.exp (check_alias_available): Remove testfile parameter. (check_gc_sections_available): New function. * lib/g++-dg.exp (dg-gpp-additional-sources): Remove. (dg-gpp-additional-files): Likewise. * lib/g++.exp (additional_sources): Remove. (additional_files): Likewise. (g++_target_compile): Use dg-additional-files-options. * gcc.dg/special/special.exp: Add "ecos" tests. Remove complex Tcl logic. * gcc.dg/special/ecos.exp: Remove. * gcc.dg/special/20000419-2.c: Use dg-require-*. * gcc.dg/special/alias-1.c: Likewise. * gcc.dg/special/alias-2.c: Likewise. * gcc.dg/special/gcsec-1.c: Likewise. * gcc.dg/special/weak-1.c: Likewise. * gcc.dg/special/weak-2.c: Likewise. * gcc.dg/special/wkali-1.c: Likewise. * gcc.dg/special/wkali-2.c: Likewise. * g++.dg/special/conpr-2.C: Use dg-additional-*, not dg-gpp-additional-*. * g++.dg/special/conpr-3.C: Likewise. * g++.dg/special/conpr-4.C: Likewise. * g++.old-deja/g++.abi/vtable3a.C: Likewise. * g++.old-deja/g++.abi/vtable3b.C: Likewise. * g++.old-deja/g++.abi/vtable3c.C: Likewise. * g++.old-deja/g++.abi/vtable3d.C: Likewise. * g++.old-deja/g++.abi/vtable3e.C: Likewise. * g++.old-deja/g++.abi/vtable3f.C: Likewise. * g++.old-deja/g++.abi/vtable3g.C: Likewise. * g++.old-deja/g++.abi/vtable3h.C: Likewise. * g++.old-deja/g++.abi/vtable3i.C: Likewise. * g++.old-deja/g++.abi/vtable3j.C: Likewise. * g++.old-deja/g++.oliva/linkage1.C: Likewise. * g++.old-deja/g++.other/comdat1.C: Likewise. * g++.old-deja/g++.other/comdat2.C: Likewise. * g++.old-deja/g++.other/comdat3.C: Likewise. * g++.old-deja/g++.other/ctor1.C: Likewise. * g++.old-deja/g++.pt/instantiate5.C: Likewise. From-SVN: r67514
2003-06-06 00:18:55 +02:00
2003-06-05 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-defs.exp (additional_sources): New variable.
(dg-additional-sources): New function.
(additional_files): New variable.
(dg-additional-files): New function.
(dg-additional-files-options): Likewise.
* lib/gcc-dg.exp (dg-require-weak): New function.
(dg-require-alias): Likewise.
(dg-require-gc-sections): Likewise.
* lib/target-supports.exp (check_alias_available): Remove testfile
parameter.
(check_gc_sections_available): New function.
* lib/g++-dg.exp (dg-gpp-additional-sources): Remove.
(dg-gpp-additional-files): Likewise.
* lib/g++.exp (additional_sources): Remove.
(additional_files): Likewise.
(g++_target_compile): Use dg-additional-files-options.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
gcc-defs.exp (additional_sources): New variable. * lib/gcc-defs.exp (additional_sources): New variable. (dg-additional-sources): New function. (additional_files): New variable. (dg-additional-files): New function. (dg-additional-files-options): Likewise. * lib/gcc-dg.exp (dg-require-weak): New function. (dg-require-alias): Likewise. (dg-require-gc-sections): Likewise. * lib/target-supports.exp (check_alias_available): Remove testfile parameter. (check_gc_sections_available): New function. * lib/g++-dg.exp (dg-gpp-additional-sources): Remove. (dg-gpp-additional-files): Likewise. * lib/g++.exp (additional_sources): Remove. (additional_files): Likewise. (g++_target_compile): Use dg-additional-files-options. * gcc.dg/special/special.exp: Add "ecos" tests. Remove complex Tcl logic. * gcc.dg/special/ecos.exp: Remove. * gcc.dg/special/20000419-2.c: Use dg-require-*. * gcc.dg/special/alias-1.c: Likewise. * gcc.dg/special/alias-2.c: Likewise. * gcc.dg/special/gcsec-1.c: Likewise. * gcc.dg/special/weak-1.c: Likewise. * gcc.dg/special/weak-2.c: Likewise. * gcc.dg/special/wkali-1.c: Likewise. * gcc.dg/special/wkali-2.c: Likewise. * g++.dg/special/conpr-2.C: Use dg-additional-*, not dg-gpp-additional-*. * g++.dg/special/conpr-3.C: Likewise. * g++.dg/special/conpr-4.C: Likewise. * g++.old-deja/g++.abi/vtable3a.C: Likewise. * g++.old-deja/g++.abi/vtable3b.C: Likewise. * g++.old-deja/g++.abi/vtable3c.C: Likewise. * g++.old-deja/g++.abi/vtable3d.C: Likewise. * g++.old-deja/g++.abi/vtable3e.C: Likewise. * g++.old-deja/g++.abi/vtable3f.C: Likewise. * g++.old-deja/g++.abi/vtable3g.C: Likewise. * g++.old-deja/g++.abi/vtable3h.C: Likewise. * g++.old-deja/g++.abi/vtable3i.C: Likewise. * g++.old-deja/g++.abi/vtable3j.C: Likewise. * g++.old-deja/g++.oliva/linkage1.C: Likewise. * g++.old-deja/g++.other/comdat1.C: Likewise. * g++.old-deja/g++.other/comdat2.C: Likewise. * g++.old-deja/g++.other/comdat3.C: Likewise. * g++.old-deja/g++.other/ctor1.C: Likewise. * g++.old-deja/g++.pt/instantiate5.C: Likewise. From-SVN: r67514
2003-06-06 00:18:55 +02:00
* gcc.dg/special/special.exp: Add "ecos" tests. Remove complex
Tcl logic.
* gcc.dg/special/ecos.exp: Remove.
* gcc.dg/special/20000419-2.c: Use dg-require-*.
* gcc.dg/special/alias-1.c: Likewise.
* gcc.dg/special/alias-2.c: Likewise.
* gcc.dg/special/gcsec-1.c: Likewise.
* gcc.dg/special/weak-1.c: Likewise.
* gcc.dg/special/weak-2.c: Likewise.
* gcc.dg/special/wkali-1.c: Likewise.
* gcc.dg/special/wkali-2.c: Likewise.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
gcc-defs.exp (additional_sources): New variable. * lib/gcc-defs.exp (additional_sources): New variable. (dg-additional-sources): New function. (additional_files): New variable. (dg-additional-files): New function. (dg-additional-files-options): Likewise. * lib/gcc-dg.exp (dg-require-weak): New function. (dg-require-alias): Likewise. (dg-require-gc-sections): Likewise. * lib/target-supports.exp (check_alias_available): Remove testfile parameter. (check_gc_sections_available): New function. * lib/g++-dg.exp (dg-gpp-additional-sources): Remove. (dg-gpp-additional-files): Likewise. * lib/g++.exp (additional_sources): Remove. (additional_files): Likewise. (g++_target_compile): Use dg-additional-files-options. * gcc.dg/special/special.exp: Add "ecos" tests. Remove complex Tcl logic. * gcc.dg/special/ecos.exp: Remove. * gcc.dg/special/20000419-2.c: Use dg-require-*. * gcc.dg/special/alias-1.c: Likewise. * gcc.dg/special/alias-2.c: Likewise. * gcc.dg/special/gcsec-1.c: Likewise. * gcc.dg/special/weak-1.c: Likewise. * gcc.dg/special/weak-2.c: Likewise. * gcc.dg/special/wkali-1.c: Likewise. * gcc.dg/special/wkali-2.c: Likewise. * g++.dg/special/conpr-2.C: Use dg-additional-*, not dg-gpp-additional-*. * g++.dg/special/conpr-3.C: Likewise. * g++.dg/special/conpr-4.C: Likewise. * g++.old-deja/g++.abi/vtable3a.C: Likewise. * g++.old-deja/g++.abi/vtable3b.C: Likewise. * g++.old-deja/g++.abi/vtable3c.C: Likewise. * g++.old-deja/g++.abi/vtable3d.C: Likewise. * g++.old-deja/g++.abi/vtable3e.C: Likewise. * g++.old-deja/g++.abi/vtable3f.C: Likewise. * g++.old-deja/g++.abi/vtable3g.C: Likewise. * g++.old-deja/g++.abi/vtable3h.C: Likewise. * g++.old-deja/g++.abi/vtable3i.C: Likewise. * g++.old-deja/g++.abi/vtable3j.C: Likewise. * g++.old-deja/g++.oliva/linkage1.C: Likewise. * g++.old-deja/g++.other/comdat1.C: Likewise. * g++.old-deja/g++.other/comdat2.C: Likewise. * g++.old-deja/g++.other/comdat3.C: Likewise. * g++.old-deja/g++.other/ctor1.C: Likewise. * g++.old-deja/g++.pt/instantiate5.C: Likewise. From-SVN: r67514
2003-06-06 00:18:55 +02:00
* g++.dg/special/conpr-2.C: Use dg-additional-*, not
dg-gpp-additional-*.
* g++.dg/special/conpr-3.C: Likewise.
* g++.dg/special/conpr-4.C: Likewise.
* g++.old-deja/g++.abi/vtable3a.C: Likewise.
* g++.old-deja/g++.abi/vtable3b.C: Likewise.
* g++.old-deja/g++.abi/vtable3c.C: Likewise.
* g++.old-deja/g++.abi/vtable3d.C: Likewise.
* g++.old-deja/g++.abi/vtable3e.C: Likewise.
* g++.old-deja/g++.abi/vtable3f.C: Likewise.
* g++.old-deja/g++.abi/vtable3g.C: Likewise.
* g++.old-deja/g++.abi/vtable3h.C: Likewise.
* g++.old-deja/g++.abi/vtable3i.C: Likewise.
* g++.old-deja/g++.abi/vtable3j.C: Likewise.
* g++.old-deja/g++.oliva/linkage1.C: Likewise.
* g++.old-deja/g++.other/comdat1.C: Likewise.
* g++.old-deja/g++.other/comdat2.C: Likewise.
* g++.old-deja/g++.other/comdat3.C: Likewise.
* g++.old-deja/g++.other/ctor1.C: Likewise.
* g++.old-deja/g++.pt/instantiate5.C: Likewise.
2003-06-05 Richard Henderson <rth@redhat.com>
* gcc.dg/debug/20030605-1.c: New.
2003-06-04 Mark Mitchell <mark@codesourcery.com>
* README.QMTEST: Update.
2003-06-04 Richard Henderson <rth@redhat.com>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* gcc.dg/cleanup-1.c: New.
* gcc.dg/cleanup-2.c: New.
* gcc.dg/cleanup-3.c: New.
* gcc.dg/cleanup-4.c: New.
* gcc.dg/cleanup-5.c: New.
* gcc.dg/cleanup-6.c: New.
* gcc.dg/cleanup-7.c: New.
2003-06-04 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vague1.C: Use xfail, rather than embedded Tcl code.
* lib/dg-pch.exp: New file.
* g++.dg/pch/pch.exp: Use dg-pch.exp.
* gcc.dg/pch/pch.exp: Likewise.
2003-06-04 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-2.c: Add tests for tan(atan(x)).
* gcc.dg/builtins-3.c: Add tests for tan(0.0) and atan(0.0).
* gcc.dg/builtins-7.c: Add tests for tan(atan(x)) == x.
* gcc.dg/builtins-17.c: New test case.
* gcc.dg/i386-387-4.c: New test case.
* gcc.c-torture/execute/ieee/mzero4.c: New test case.
2003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp9.c: New test.
2003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20030604-1.c: New test.
* gcc.dg/sparc-constant-1.c: New test.
2003-06-03 Glen Nakamura <glen@imodulo.com>
* gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.
2003-06-03 J"orn Rennecke <joern.rennecke@superh.com>
* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.
2003-06-03 Aldy Hernandez <aldyh@redhat.com>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.
2003-06-03 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10940
* g++.dg/template/spec10.C: New test.
2003-06-03 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-16.c: New test case.
2003-06-03 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/builtins/string-4.c (main_test): Remove
mempcpy test with post-increments.
* gcc.c-torture/execute/string-opt-3.c: New test.
* gcc.dg/string-opt-1.c: New test.
2003-06-03 David Billinghurst (David.Billinghurst@riotinto.com)
PR fortran/10965
* g77.f-torture/compile/20000601-2.f: Fix non-standard code.
2003-06-02 Mark Mitchell <mark@codesourcery.com>
* lib/scanasm.exp (dg-scan): New function, factored out of ...
(scan-assembler): ... here. Use dg-scan.
(scan-assembler-not): Likewise.
(scan-file): New function.
(scan-file-not): Likewise.
* gcc.dg/cpp/19990228-1.c: Use scan-file and/or scan-file-not.
* gcc.dg/cpp/_Pragma4.c: Likewise.
* gcc.dg/cpp/_Pragma5.c: Likewise.
* gcc.dg/cpp/avoidpaste1.c: Likewise.
* gcc.dg/cpp/avoidpaste2.c: Likewise.
* gcc.dg/cpp/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/cmdlne-P.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-dM.c: Likewise.
* gcc.dg/cpp/cmdlne-dI-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-dD.c: Likewise.
* gcc.dg/cpp/cmdlne-dN-M.c: Likewise.
* gcc.dg/cpp/cxxcom1.c: Likewise.
* gcc.dg/cpp/line1.c: Likewise.
* gcc.dg/cpp/maccom1.c: Likewise.
* gcc.dg/cpp/maccom2.c: Likewise.
* gcc.dg/cpp/maccom3.c: Likewise.
* gcc.dg/cpp/maccom4.c: Likewise.
* gcc.dg/cpp/maccom5.c: Likewise.
* gcc.dg/cpp/maccom6.c: Likewise.
* gcc.dg/cpp/multiline.c: Likewise.
* gcc.dg/cpp/spacing1.c: Likewise.
* gcc.dg/cpp/spacing2.c: Likewise.
* gcc.dg/cpp/trad/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/trad/maccom1.c: Likewise.
* gcc.dg/cpp/trad/maccom2.c: Likewise.
* gcc.dg/cpp/trad/maccom3.c: Likewise.
* gcc.dg/cpp/trad/maccom4.c: Likewise.
* gcc.dg/cpp/trad/maccom6.c: Likewise.
* gcc.dg/cpp/cxxcom2.c: Likewise.
* gcc.dg/cpp/cxxcom2.h: New file.
* gcc.dg/cpp/truefalse.cpp: Move it to ...
* g++.dg/cpp/truefalse.C: Here.
* gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files.
2003-06-01 Loren James Rittle <ljrittle@acm.org>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* gcc.dg/cpp/redef3.c: New file.
2003-06-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-loop-3.c: New test.
2003-05-31 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.dg/ffree-form-2.f: XFAIL removed, because fixed.
2003-05-31 Roger Sayle <roger@eyesopen.com>
* gcc.dg/fwrapv-1.c: New test case.
* gcc.dg/fwrapv-2.c: New test case.
2003-05-31 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10956
* g++.dg/template/spec9.C: New test.
2003-05-29 Roger Sayle <roger@eyesopen.com>
* gcc.dg/duff-4.c: New test case.
2003-05-27 David Billinghurst (David.Billinghurst@riotinto.com)
PR fortran/10843
* g77.dg/ffixed-form-1.f: New test
* g77.dg/ffixed-form-2.f: New test
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* g77.dg/ffree-form-2.f: New test - XFAIL pending fix
* g77.dg/ffree-form-3.f: New test
2003-05-26 Andreas Tobler <a.tobler@schweiz.ch>
* gcc.dg/wchar_t-1.c: XFAIL on darwin, no wchar.h available.
* gcc.dg/wint_t-1.c: Likewise.
2003-05-25 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/access11.C: New test.
2003-05-25 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10849
* g++.dg/template/access10.C: New test.
2003-05-24 Eric Botcazou <ebotcazou@libertysurf.fr>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/compile/simd-5.x: XFAIL on SPARC64.
2003-05-24 Andreas Tobler <a.tobler@schweiz.ch>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
* gcc.dg/torture/builtin-noret-1.c: Add dg-option -multiply_defined
suppress for powerpc-*-darwin*.
* gcc.dg/torture/builtin-noret-2.c: Likewise.
2003-05-24 Andreas Tobler <a.tobler@schweiz.ch>
* gcc.c-torture/execute/builtins/builtins.exp: Add -multiply_defined
suppress option for powerpc-*-darwin*.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
2003-05-23 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-1.c: Add tests for tan and atan.
* gcc.dg/builtins-4.c: Add test for fmod.
2003-05-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10682
* g++.dg/template/instantiate4.C: New test.
2003-05-22 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/ieee/inf-2.c: New test case.
2003-05-21 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/scalar-return-1_main.c: New file.
* gcc.dg/compat/scalar-return-1_x.c: New file.
* gcc.dg/compat/scalar-return-1_y.c: New file.
* gcc.dg/compat/scalar-return-2_main.c: New file.
* gcc.dg/compat/scalar-return-2_x.c: New file.
* gcc.dg/compat/scalar-return-2_y.c: New file.
* gcc.dg/compat/struct-return-3_main.c: New file.
* gcc.dg/compat/struct-return-3_y.c: New file.
* gcc.dg/compat/struct-return-3_x.c: New file.
* gcc.dg/compat/struct-return-2_main.c: New file.
* gcc.dg/compat/struct-return-2_x.c: New file.
* gcc.dg/compat/struct-return-2_y.c: New file.
2003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* g++.old-deja/g++.law/profile1.C (dg-options): Add -static to options
for hppa*-hp-hpux*.
* gcc.dg/20021014-1.c (dg-options): Likewise.
* gcc.dg/nest.c (dg-options): Likewise.
2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/9738
* g++.dg/ext/dllimport2.C: New file.
* g++.dg/ext/dllimport3.C: New file.
2003-05-20 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/struct-by-value-3_x.c: Move common pieces to headers.
* gcc.dg/compat/struct-by-value-3_y.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_y.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_y.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c Ditto.
* gcc.dg/compat/struct-by-value-7_y.c Ditto.
* gcc.dg/compat/small-struct-defs.h: New file.
* gcc.dg/compat/small-struct-init.h: New file.
* gcc.dg/compat/small-struct-check.h: New file.
* gcc.dg/compat/fp-struct-defs.h: New file.
* gcc.dg/compat/fp-struct-check.h: New file.
* gcc.dg/compat/fp-struct-init.h: New file.
* gcc.dg/compat/fp-struct-test-by-value-y.h: New file.
* gcc.dg/compat/fp-struct-test-by-value-x.h: New file.
2003-05-19 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030225-2.c: New test.
2003-05-18 Roger Sayle <roger@eyesopen.com>
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/compile/20030518-1.c: New test case.
2003-05-18 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
* gcc.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.
* g++.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.
2003-05-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9022
* g++.dg/lookup/using6.C: New test.
2003-05-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/parse/access2.C: New test.
2003-05-17 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (gcc-dg-debug-runtest): New method.
* g++.dg/debug/debug.exp: Use gcc-dg-debug-runtest.
* gcc.dg/debug/debug.exp: Likewise.
2003-05-17 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/dollar.c: New test.
2003-05-16 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/struct-by-value-4_main.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-4_x.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-4_y.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_main.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_x.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_y.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-6_main.c: New file.
* gcc.dg/compat/struct-by-value-6_x.c: New file.
* gcc.dg/compat/struct-by-value-6_y.c: New file.
* gcc.dg/compat/struct-by-value-7_main.c: New file.
* gcc.dg/compat/struct-by-value-7_x.c: New file.
* gcc.dg/compat/struct-by-value-7_y.c: New file.
* gcc.dg/compat/struct-by-value-8_main.c: New file.
* gcc.dg/compat/struct-by-value-8_x.c: New file.
* gcc.dg/compat/struct-by-value-8_y.c: New file.
* gcc.dg/compat/struct-by-value-9_main.c: New file.
* gcc.dg/compat/struct-by-value-9_x.c: New file.
* gcc.dg/compat/struct-by-value-9_y.c: New file.
2003-05-16 Mark Mitchell <mark@codesourcery.com>
* lib/gcc-dg.exp (gcc-dg-test): Rename to ...
(gcc-dg-test-1): ... this. Add target_compile parameter. Add
support for "repo" mode.
* lib/g++-dg.exp: Use gcc-dg.exp to implement all functionality.
* lib/g77-dg.exp: Likewise.
* lib/obj-dg.exp: Likewise.
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
backport: re PR target/7434 ([x86_64] ICE in change_address_1, at emit-rtl.c:1934) Merge from gcc-3_2-rhl8-branch: 2003-04-23 Jakub Jelinek <jakub@redhat.com> * gcc.dg/tls/opt-6.c: New test. 2003-04-05 Jakub Jelinek <jakub@redhat.com> * gcc.dg/20030405-1.c: New test. 2003-03-09 Jakub Jelinek <jakub@redhat.com> * gcc.dg/20030309-1.c: New test. 2003-03-07 Eric Botcazou <ebotcazou@libertysurf.fr> * gcc.c-torture/execute/20030307-1.c: New test. 2003-02-20 Randolph Chung <tausq@debian.org> * gcc.c-torture/compile/20030220-1.c: New test. 2003-02-18 Jakub Jelinek <jakub@redhat.com> * gcc.dg/20030217-1.c: New test. 2003-01-29 Jakub Jelinek <jakub@redhat.com> * gcc.c-torture/compile/20020129-1.c: New test. 2002-12-21 Eric Botcazou <ebotcazou@libertysurf.fr> * gcc.dg/unroll-1.c: New test. 2002-11-16 Jan Hubicka <jh@suse.cz> * gcc.c-torture/execute/20020920-1.c: New test. 2002-10-08 Jakub Jelinek <jakub@redhat.com> PR target/7434 * gcc.c-torture/compile/20021008-1.c: New test. 2002-08-10 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> PR target/7559 * testsuite/gcc.c-torture/execute/20020810-1.c: New test. 2002-08-07 Jakub Jelinek <jakub@redhat.com> * gcc.c-torture/compile/20020807-1.c: New test. 2002-07-30 Jakub Jelinek <jakub@redhat.com> * gcc.dg/tls/opt-1.c: New test. 2002-07-29 Jakub Jelinek <jakub@redhat.com> * gcc.dg/20020729-1.c: New test. 2002-07-20 Jakub Jelinek <jakub@redhat.com> * g++.dg/opt/life1.C: New test. 2002-05-20 Jakub Jelinek <jakub@redhat.com> * gcc.dg/20020525-1.c: New test. 2002-05-24 Jakub Jelinek <jakub@redhat.com> PR c++/6794 * g++.dg/ext/pretty1.C: New test. * g++.dg/ext/pretty2.C: New test. From-SVN: r66877
2003-05-16 21:35:43 +02:00
2003-05-16 Jakub Jelinek <jakub@redhat.com>
Merge from gcc-3_2-rhl8-branch:
2003-04-23 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/tls/opt-6.c: New test.
2003-04-05 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030405-1.c: New test.
2003-03-09 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030309-1.c: New test.
2003-03-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20030307-1.c: New test.
2003-02-20 Randolph Chung <tausq@debian.org>
* gcc.c-torture/compile/20030220-1.c: New test.
2003-02-18 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030217-1.c: New test.
2003-01-29 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020129-1.c: New test.
2002-12-21 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/unroll-1.c: New test.
2002-11-16 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/execute/20020920-1.c: New test.
2002-10-08 Jakub Jelinek <jakub@redhat.com>
PR target/7434
* gcc.c-torture/compile/20021008-1.c: New test.
2002-08-10 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
PR target/7559
* testsuite/gcc.c-torture/execute/20020810-1.c: New test.
2002-08-07 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020807-1.c: New test.
2002-07-30 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/tls/opt-1.c: New test.
2002-07-29 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020729-1.c: New test.
2002-07-20 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/life1.C: New test.
2002-05-20 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020525-1.c: New test.
2002-05-24 Jakub Jelinek <jakub@redhat.com>
PR c++/6794
* g++.dg/ext/pretty1.C: New test.
* g++.dg/ext/pretty2.C: New test.
2003-05-15 Mark Mitchell <mark@codesourcery.com>
PR c++/8385
* g++.dg/ext/typeof5.C: New test.
2003-05-15 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/builtins/string-asm-1.c: Take
__USER_LABEL_PREFIX__ into account.
* gcc.c-torture/execute/builtins/string-asm-2.c: Likewise.
2003-05-14 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-15.c: New test case.
2003-05-13 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/const-elim-1.c: Tighten scan-assembler-not regexp.
2003-05-12 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp: Tweak handling of additional source files.
* g++.dg/special/conpr-2.C: Use dg-gpp-additional-sources.
* g++.dg/special/conpr-2a.C: Rename to ...
* g++.dg/special/conpr-2a.cc: ... this.
* g++.dg/special/conpr-3.C: Use dg-gpp-additional-sources.
* g++.dg/special/conpr-3a.C: Rename to ...
* g++.dg/special/conpr-3a.cc: This.
* g++.dg/special/conpr-3b.C: Rename to ...
* g++.dg/special/conpr-3b.cc: This.
* g++.dg/special/conpr-4.C: New test.
* g++.dg/special/ecos.exp: Rewrite to use ordinary dg driver.
2003-05-12 David Edelsohn <edelsohn@gnu.org>
* debug/debug.exp: Skip debug-[12].c at -O3 on non-Dwarf targets.
2003-05-12 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.brendan/ns1.C: Remove private member warning.
* g++.old-deja/g++.robertl/eb71.C: Likewise.
* g++.old-deja/g++.brendan/warnings1.C: Add -Wctor-dtor-privacy.
* g++.old-deja/g++.other/warn3.C: Likewise.
2003-05-11 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-387-1.c: Update to also test log.
* gcc.dg/i386-387-2.c: Likewise.
2003-05-11 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/int8421.f: New test.
2003-05-11 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10230, c++/10481
* g++.dg/lookup/scoped5.C: New test.
2003-05-11 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10552
* g++.dg/template/ttp6.C: New test.
2003-05-11 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/builtins: New directory.
* gcc.c-torture/execute/string-opt-{3,4,16,17,18,19}.c: Move into
gcc.c-torture/execute/builtins.
* gcc.c-torture/execute/string-opt-asm-{1,2}.c: Likewise.
* gcc.c-torture/execute/builtin-noret-{1,2}.c: Move to...
* gcc.dg/torture: ...this new directory. Turn into link-only tests.
* gcc.dg/no-builtin-1.c: Move into gcc.c-torture/execute/builtins.
2003-05-10 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9252
* g++.dg/template/access8.C: New test.
* g++.dg/template/access9.C: New test.
2003-05-10 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9554
* g++.dg/parse/access1.C: New test.
2003-05-09 DJ Delorie <dj@redhat.com>
* g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a
long, and not an int.
2003-05-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10555, c++/10576
* g++.dg/template/memclass1.C: New test.
2003-05-08 DJ Delorie <dj@redhat.com>
* gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit
targets.
* gcc.c-torture/execute/20021024-1.x: Likewise.
* gcc.c-torture/execute/shiftdi.x: Likewise.
* g++.old-deja/g++.mike/p700.C: Handle 16-bit targets.
* g++.old-deja/g++.other/exprstmt1.C: Likewise.
* gcc.dg/20021018-1.c: Likewise.
2003-05-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.dg/other/packed1.C: Mark xfail for sparc*- not sparc-.
gcc.c-torture/execute/string-opt-19.c: Add general rodata tests.
(bcopy): Call memmove.
2003-05-08 Roger Sayle <roger@eyesopen.com>
* g77.f-torture/compile/8485.f: New test case.
2003-05-07 Richard Henderson <rth@redhat.com>
cpplib.h (CPP_AT_NAME, [...]): New token types. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. (struct cpp_options): Add narrow_charset, wide_charset, bytes_big_endian fields. Remove EBCDIC field. (cpp_init_iconv, cpp_interpret_string): New external interfaces. * cpphash.h: Include <iconv.h> if we have it, otherwise provide a dummy definition of iconv_t. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. (_cpp_valid_ucn): Update prototype. (_cpp_destroy_iconv): New prototype. * doc/cpp.texi: Document character set handling. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. * doc/extend.texi: Delete entire section on multiline strings. Rewrite section on __FUNCTION__ etc now that these are variables in C. * cppucnid.tab, cppucnid.pl: New files. * cppucnid.h: New generated file. * cppcharset.c: Include cppucnid.h. Lots of commentary added. (iconv_open, iconv, iconv_close): Provide dummy definitions if !HAVE_ICONV. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, emit_numeric_escape, convert_hex, convert_oct, convert_escape, cpp_interpret_string, narrow_str_to_charconst, wide_str_to_charconst): New. (ucn_valid_in_identifier): Use a binary search through the ucnranges table defined in cppucnid.h, not a long chain of if statements. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal character names are only valid in C++ and C99" to a warning. Issue the "meaning of \[uU] is different in traditional C" warning here. Take care not to let iconv see an invalid UCS value if we get a malformed UCN. Issue an error if we don't have iconv. (cpp_interpret_charconst): Moved here from cpplex.c. Use cpp_interpret_string to do the heavy lifting. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, narrow_charset, wide_charset fields of options structure. (cpp_destroy): Call _cpp_destroy_iconv. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. (cpp_interpret_charconst): Moved to cppcharset.c. * cpplib.c (dequote_string): Delete. (interpret_string_notranslate): New. (do_line, do_linemarker): Use interpret_string_notranslate. * Makefile.in (cppcharset.o): Depend on cppucnid.h. * c-common.c (fname_string, combine_strings): Delete. * c-common.h (fname_string, combine_strings): Delete prototypes. * c-lex.c (ignore_escape_flag): Delete. (cb_ident): Use cpp_interpret_string, not lex_string. (get_nonpadding_token): New function. (c_lex): Handle Objective-C @-prefixed identifiers and strings here. Adjust calls to lex_string. Don't write *value twice. (lex_string): Now handles string constant concatenation. Most of the work handed off to cpp_interpret_string. Call fix_string_type here. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with FUNC_NAME, throughout. (OBJC_STRING): New token type. (primary:STRING): No need to call fix_string_type here. (primary:objc_string): Make that OBJC_STRING. (objc_string nonterminal): Delete. (yylexname): Delete code to handle fake string constants. (yylexstring): Delete entirely. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need to handle CPP_ATSIGN. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. * c-opts.c (missing_arg, c_common_handle_option): Handle OPT_fexec_charset_ and OPT_fwide_exec_charset_. (c_common_init): Set cpp_opts->bytes_big_endian, not cpp_opts->EBCDIC. Call cpp_init_iconv. (print_help): Document -fexec-charset= and -fexec-wide-charset=. (TARGET_EBCDIC): Delete default definition. * objc/objc-act.c (build_objc_string_object): No need to handle string constant concatenation. cp: * parser.c (cp_lexer_read_token): No need to handle string constant concatenation. testsuite: * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c everywhere. * gcc.dg/concat.c: Concatenation of string constants with __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error. * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp. * gcc.dg/cpp/escape-2.c: Use wide character constants where necessary to avoid multi-character character constant warning. * gcc.dg/cpp/escape.c: Likewise. * gcc.dg/cpp/ucs.c: Likewise. Remove backslashes from dg-bogus comments, as they confuse Tcl. Fix a typo. libstdc++-v3: * testsuite/22_locale/collate/compare/wchar_t/2.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/hash/wchar_t/2.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc * testsuite/22_locale/collate/transform/wchar_t/2.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on all targets. From-SVN: r68952
2003-07-05 02:24:00 +02:00
PR c++/10570
* g++.dg/eh/forced1.C: Expect catch-all handlers to run.
Verify exception_cleanup not called for rethrows.
* g++.dg/eh/forced2.C: Test that exception_cleanup is called
when exiting catch block without rethrowing.
* g++.dg/eh/forced3.C: New.
* g++.dg/eh/forced4.C: New.
2003-05-07 Aldy Hernandez <aldyh@redhat.com>
2003-05-07 22:05:27 +02:00
* gcc.dg/20030505.c: Fix triplet.
2003-05-06 DJ Delorie <dj@redhat.com>
* gcc.dg/20021014-1.c: XFAIL for xstormy16 also.
* gcc.dg/nest.c: Likewise.
2003-05-05 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-14.c: New test case.
2003-05-05 Janis Johnson <janis187@us.ibm.com>
* lib/compat.exp (compat-execute): New argument.
* g++.dg/compat/compat.exp: Pass new argument to compat-execute.
* gcc.dg/compat: New test directory.
* gcc.dg/compat/compat.exp: New expect script.
* gcc.dg/compat/scalar-by-value-1_main.c: New test file.
* gcc.dg/compat/scalar-by-value-1_x.c: New test file.
* gcc.dg/compat/scalar-by-value-1_y.c: New test file.
* gcc.dg/compat/scalar-by-value-2_main.c: New test file.
* gcc.dg/compat/scalar-by-value-2_x.c: New test file.
* gcc.dg/compat/scalar-by-value-2_y.c: New test file.
* gcc.dg/compat/struct-by-value-1_main.c: New test file.
* gcc.dg/compat/struct-by-value-1_x.c: New test file.
* gcc.dg/compat/struct-by-value-1_y.c: New test file.
* gcc.dg/compat/struct-by-value-2_main.c: New test file.
* gcc.dg/compat/struct-by-value-2_x.c: New test file.
* gcc.dg/compat/struct-by-value-2_y.c: New test file.
* gcc.dg/compat/struct-by-value-3_main.c: New test file.
* gcc.dg/compat/struct-by-value-3_x.c: New test file.
* gcc.dg/compat/struct-by-value-3_y.c: New test file.
* gcc.dg/compat/struct-by-value-4_main.c: New test file.
* gcc.dg/compat/struct-by-value-4_x.c: New test file.
* gcc.dg/compat/struct-by-value-4_y.c: New test file.
* gcc.dg/compat/struct-by-value-5_main.c: New test file.
* gcc.dg/compat/struct-by-value-5_x.c: New test file.
* gcc.dg/compat/struct-by-value-5_y.c: New test file.
rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P. * rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P. * varasm.c (struct varasm_status): Add deferred_constants field. (n_deferred_strings): Delete variable. (n_deferred_constants): New #define. (struct constant_descriptor_tree): Kill next and label fields. (const_hash_table, MAX_HASH_TABLE): Delete. (const_desc_htab): New static variable. (const_hash): Rename const_desc_hash, and make it fit the hashtab.h interface. (const_desc_eq): New. (const_hash_1, compare_constant): Const-ify arguments. (build_constant_desc): Set DEFERRED_CONSTANT_P on all new SYMBOL_REFs. Clarify comments. Don't set desc->label. (output_constant_def): Do the lookup/insert using the hashtab.h interface. Don't muck with n_deferred_constants or DEFERRED_CONSTANT_P here. Always call maybe_output_constant_def_contents. (maybe_output_constant_def_contents): Take a pointer to the descriptor, not the EXP and RTL separately. Return immediately if this constant is not deferred. Defer output of everything, except writable string constants. Update n_deferred_constants here. (output_constant_def_contents): Now takes just one argument, an rtx. Clear DEFERRED_CONSTANT_P here. (mark_constant_pool): Update for rename of n_deferred_strings. (mark_constant): Don't clear DEFERRED_CONSTANT_P here. (init_varasm_status): Clear p->deferred_constants. (init_varasm_once): Call htab_create_ggc for const_desc_htab. * gcc.dg/const-elim-1.c, gcc.dg/const-elim-2.c: New testcases. From-SVN: r66505
2003-05-05 23:57:54 +02:00
2003-05-05 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/const-elim-1.c, gcc.dg/const-elim-2.c: New testcases.
2003-05-05 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-18.c (main): Add 3 new tests.
2003-05-05 Geoffrey Keating <geoffk@apple.com>
* gcc.c-torture/execute/ieee/fp-cmp-8.c: New test.
* gcc.dg/ppc-fsel-2.c: New test.
* gcc.dg/unused-5.c: New test.
2003-05-05 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10496
* g++.dg/warn/pmf1.C: New test.
2003-05-05 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/4494
* g++.dg/warn/main.C: New test.
2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/nonnull-3.c: New test.
2003-05-04 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/Wtrigraphs.c: Update.
* gcc.dg/cpp/Wtrigraphs-2.c: New tests.
2003-05-03 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/ppc-fsel-1.c: New test.
2003-05-03 Zack Weinberg <zack@codesourcery.com>
PR c/10604
* gcc.dg/compare7.c, g++.dg/warn/compare1.C: New testcases.
2003-05-03 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/m-un-2.c: Fix the typedef of size_t.
2003-05-03 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9364, c++/10553, c++/10586
* g++.dg/parse/typename4.C: New test.
* g++.dg/parse/typename5.C: Likewise.
2003-05-03 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20030503-1.c: New test.
2003-05-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/lookup/using5.C: Fix testcase error.
2003-05-01 Chris Demetriou <cgd@broadcom.com>
* gcc.dg/special/mips-abi.exp (is_meabi_config): Remove,
since MEABI is no longer supported. Remove all vestiges
of MEABI from the test.
2003-05-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10554
* g++.dg/lookup/using5.C: New test.
2003-05-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/8772
* g++.dg/template/ttp5.C: New test.
2003-04-30 Mark Mitchell <mark@codesourcery.com>
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
(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.
2003-04-30 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9432, c++/9528
* g++.dg/lookup/using4.C: New test.
2003-04-29 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/noreturn-5.c: New file.
* gcc.dg/noreturn-6.c: New file.
* gcc.c-torture/compile/inline-1.c: New file.
2003-04-29 Mark Mitchell <mark@codesourcery.com>
PR c++/10551
* g++.dg/template/explicit1.C: New test.
2003-04-29 Mark Mitchell <mark@codesourcery.com>
PR c++/10549
* g++.dg/other/bitfield1.C: New test.
PR c++/10527
* g++.dg/init/new7.C: New test.
2003-04-29 Mark Mitchell <mark@codesourcery.com>
* g++.dg/ext/desig1.C: New test.
* g++.dg/ext/init1.C: Update.
* g++.old-deja/g++.pt/deduct5.C: Remove unnecessary initializer.
2003-04-28 Mark Mitchell <mark@codesourcery.com>
PR c++/10180
* g++.dg/warn/Winline-1.C: New test.
2003-04-28 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-19.c: New test.
* gcc.c-torture/execute/string-opt-asm-1.c: New test.
* gcc.c-torture/execute/string-opt-asm-2.c: New test.
2003-04-27 Mark Mitchell <mark@codesourcery.com>
PR c++/10506
* g++.dg/init/new6.C: New test.
PR c++/10503
* g++.dg/init/ref6.C: New test.
2003-04-26 David Edelsohn <edelsohn@gnu.org>
* g++.dg/warn/weak1.C: XFAIL on AIX4.
2003-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-8.c: Don't perform cmpstr
checks for __pj__, but do them for !__OPTIMIZE__ and __s390__.
2003-04-25 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.pt/instantiate12.C: Explicit instantiate
initialized static data members.
2003-04-25 H.J. Lu <hjl@gnu.org>
* gcc.dg/ia64-sync-4.c: New test.
2003-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-18.c: Clean up. Fix copyright
date.
2003-04-24 Nathan Sidwell <nathan@codesourcery.com>
PR c++/10337
* g++.dg/warn/conv1.C: New test.
* g++.old-deja/g++.other/conv7.C: Adjust.
* g++.old-deja/g++.other/overload14.C: Adjust.
2003-04-23 Mark Mitchell <mark@codesourcery.com>
PR c++/10471
* g++.dg/template/defarg2.C: New test.
2003-04-23 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/include2.c: Update.
* gcc.dg/cpp/multiline-2.c: New.
* gcc.dg/cpp/multiline.c: Update.
* gcc.dg/cpp/strify2.c: Update.
* gcc.dg/cpp/trad/literals-2.c: Update.
2003-04-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* g++.dg/other/packed1.C: XFAIL hppa*-*-*.
2003-04-23 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parse/typedef1.C: Tweak after fix for PR 10428.
2003-04-23 Mark Mitchell <mark@codesourcery.com>
PR c++/10451
* g++.dg/parse/crash4.C: New test.
PR c++/9847
* g++.dg/parse/crash5.C: New test.
2003-04-22 Mark Mitchell <mark@codesourcery.com>
PR c++/10446
* g++.dg/parse/crash3.C: New test.
PR c++/10428
* g++.dg/parse/elab1.C: New test.
2003-04-22 Devang Patel <dpatel@apple.com>
* gcc.dg/cpp/trad/funlike-5.c: New test.
2003-04-21 Andreas Tobler <a.tobler@schweiz.ch>
* g++.dg/other/packed1.C: Fix dg options.
2003-04-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/offsetof2.C: New test.
2003-04-21 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/recurse.C: Adjust location of error messages.
2003-04-21 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9881
* g++.dg/init/addr-const1.C: New test.
* g++.dg/other/packed1.C: XFAIL on aligned architectures.
2003-04-20 Nathan Sidwell <nathan@codesourcery.com>
PR c++/10405
* g++.dg/lookup/struct-hack1.C: New test.
2003-04-20 Neil Booth <neil@daikokuya.co.uk>
* ucs.c: Update diagnostic messages.
2003-04-19 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/truefalse.cpp: New test.
* gcc.dg/cpp/cpp.exp: Update.
* g++.dg/other/stdbool-if.C: Remove.
cppfiles.c (ENABLE_VALGRIND_CHECKING, [...]): Remove. * cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD, MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove. (struct include_file): Remove fefcnt, mapped members. (open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching. (read_include_file): Don't use mmap, terminate buffers in '\r'. (purge_cache): Don't use munmap. * cpphash.h (CPP_BUF_COLUMN): Update. (lexer_state): Remove lexing_comment. (struct _cpp_line_note): New. (struct cpp_buffer): New members cur_note, notes_used, notes_cap, next_line and need_line. Remove col_adjust and saved_flags. (_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line, _cpp_skip_block_comment, scan_out_logical_line): New. (_cpp_init_mbchar): Remove. * cppinit.c (init_library): Remove call to _cpp_init_mbchar. (cpp_read_main_file): Set line to 1 earlier. (post_options): -traditional-cpp doesn't want trigraphs. * cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this. (add_line_note, _cpp_clean_line, _cpp_process_line_notes, _cpp_get_fresh_line): New. (handle_newline, skip_escaped_newlines, trigraph_p, continue_after_nul, _cpp_init_mbchar): Remove. (get_effective_char): Update. (_cpp_skip_block_comment): Rename from skip_block_comment, simplify. (skip_line_comment): Simplify. (skip_whitespace, parse_identifier, parse_slow, parse_number, parse_string): Update. (cpp_lex_direct): Use clean lines and process line notes. Update. (cpp_interpret_charconst): No MULTIBYTE_CHARS. * cpplib.c (prepare_directive_trad): Call scan_out_logical_line directly. (_cpp_handle_directive): Don't set saved_flags. (run_directive, destringize_and_run, cpp_define, cpp_define_builtin, cpp_undef, handle_assertion, cpp_push_buffer): Update. (_cpp_pop_buffer): Free notes. * cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer. * cpppch.c (cpp_read_state): \n terminate buffer. * cpptrad.c (skip_escaped_newlines, handle_newline): Remove. (copy_comment): Use _cpp_skip_block_comment. (skip_whitespace, lex_identifier, _cpp_read_logical_line_trad): Simplify. (_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text, save_replacement_text): Update. (scan_out_logical_line): Update to use clean lines and process line notes. * fix-header.c (read_scan_file): Update. testsuite: * gcc.dg/cpp/_Pragma4.c: Remove stray space. * gcc.dg/cpp/trad/escaped-eof.c: Correct line number. From-SVN: r65808
2003-04-19 02:22:51 +02:00
2003-04-19 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/_Pragma4.c: Remove stray space.
* gcc.dg/cpp/trad/escaped-eof.c: Correct line number.
2003-04-18 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20030418-1.c: New test.
2003-04-17 Janis Johnson <janis187@us.ibm.com>
* README.compat: Remove; content moved to doc/sourcebuild.texi.
2003-04-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10347
g++.dg/template/dependent-name1.C: New test.
2003-04-17 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/warn-1.c (tourist_guide): New array,
contains a pointer to bar.
2003-04-16 Roger Sayle <roger@eyesopen.com>
* gcc.dg/Wunreachable-5.c: New test case for PR c/10175.
* gcc.c-torture/execute/medce-1.c: New test case.
* gcc.c-torture/execute/medce-2.c: New test case.
2003-04-15 Mark Mitchell <mark@codesourcery.com>
* lib/prune.exp: Ignore more messages.
PR c++/10381
* g++.dg/parse/lookup3.C: New test.
2003-04-15 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/compile/20030415-1.c : New test.
2003-04-14 Mark Mitchell <mark@codesourcery.com>
* gcc.c-torture/execute/scope-2.c: Move to ...
* gcc.dg/noncompile/scope.c: .... here.
2003-04-14 Roger Sayle <roger@eyesopen.com>
* gcc.dg/20030414-2.c: New test case.
2003-04-14 Hans-Peter Nilsson <hp@axis.com>
PR target/10377
* gcc.dg/20030414-1.c: New test.
2003-04-13 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-12.c: New test case.
* gcc.dg/builtins-13.c: New test case.
2003-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-18.c: New test.
2003-04-13 Mark Mitchell <mark@codesourcery.com>
PR c++/10300
* g++.dg/init/new5.C: New test.
2003-04-12 Mark Mitchell <mark@codesourcery.com>
PR c++/7910
* g++.dg/ext/dllimport1.C: New test.
2003-04-12 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp8.c: Fix for 32-bit Sparc.
2003-04-11 Bud Davis <bdavis9659@comcast.net>
PR Fortran/9263
* g77.f-torture/noncompile/9263.f: New test
PR Fortran/1832
* g77.f-torture/execute/1832.f: New test
2003-04-11 David Chad <davidc@freebsd.org>
Loren J. Rittle <ljrittle@acm.org>
libobjc/8562
* objc.dg/headers.m: New test.
c-decl.c (struct binding_level): Add shadowed_tags and function_body... 2003-04-10 Zack Weinberg <zack@codesourcery.com> * c-decl.c (struct binding_level): Add shadowed_tags and function_body; remove this_block, tag_transparent, and subblocks_tag_transparent; update comments. (clear_binding_level, lookup_tag_reverse): Kill. (make_binding_level): Use ggc_alloc_cleared or memset. (lookup_tag): Remove struct binding_level* parameter. All callers changed. Just look at IDENTIFIER_TAG_VALUE, and current_binding_level->tags if asked for thislevel_only or if we might have to diagnose "struct foo; union foo;" (pushlevel): Ignore argument. Do not push another binding level on the transition from the parameters to the top level of the function body; just tweak the flags and proceed. (poplevel): Overhaul. Clear IDENTIFIER_TAG_VALUEs; on exiting a function body, separate the parameter list from the top-level local variables. (set_block): Do nothing. (pushtag): Set IDENTIFIER_TAG_VALUE and add an entry to shadowed_tags if necessary. (warn_if_shadowing): Nuke the special case for local shadowing parameter. (pushdecl): Do not create a shadow entry if we are replacing an older decl in the same binding level. (pushdecl_function_level): Tweak for new way of indicating function scope. (shadow_tag_warned): Use TYPE_NAME, not lookup_tag_reverse. (start_function): Don't set subblocks_tag_transparent. (finish_function): Fix up the binding_level stack for totally empty functions. Otherwise, don't call poplevel. * c-common.c (shadow_warning): MANDATORY argument is no longer necessary. Always use plain warning. * c-common.h: Update to match. * cfglayout.c (scope_to_insns_initialize): Clear block when we hit the FUNCTION_DECL. * function.c: Do not create cyclic tree structure. 2003-04-10 Zack Weinberg <zack@codesourcery.com> * c-tree.h (struct lang_identifier): Replace global_value, local_value members with symbol_value, tag_value. Kill implicit_decl and limbo_value. (IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE, IDENTIFIER_LIMBO_VALUE, IDENTIFIER_IMPLICIT_DECL, C_MISSING_PROTOTYPE_WARNED): Kill. (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE, C_DECL_IMPLICIT, C_DECL_ISNT_PROTOTYPE): New. (C_DECL_ANTICIPATED): Rename to C_DECL_INVISIBLE. (implicit_decl_warning, lookup_name_current_level, record_function_scope_shadow): Don't prototype. (pushdecl_function_level): Prototype. * c-decl.c (truly_local_externals): New variable. (struct binding_level): Adjust commentary. (get_function_binding_level, clear_limbo_values, record_function_scope_shadow): Kill. (lookup_name_current_level, implicit_decl_warning): Are now static. (any_external_decl, record_external_decl): New static functions. (clone_underlying type): Split out of pushdecl. (c_print_identifier): Update to match changes to struct lang_identifier. (poplevel): Delete #if 0 block. Make externals invisible instead of clearing their IDENTIFIER_SYMBOL_VALUEs. Don't call clear_limbo_values. Refer to IDENTIFIER_SYMBOL_VALUE not IDENTIFIER_GLOBAL_VALUE or IDENTIFIER_LOCAL_VALUE. (duplicate-decls): For real parm decl after a forward decl, set TREE_ASM_WRITTEN here. Allow void foo(...) followed by foo(...) { } with only a warning. Say whether a previous declaration was implicit. (warn_if_shadowing): Now handles all shadowing, not just local-over-local. Clarify comments. (pushdecl): Rewritten. There is no longer a distinction between global and local symbol values; they're all IDENTIFIER_SYMBOL_VALUE. Call record_external_decl on all DECL_EXTERNAL decls, and use any_external_decl to check against previous externals. Kill #if 0 blocks. Don't tolerate error_mark_node being NULL. (pushdecl_top_level): Handle only those cases which Objective C (the only user) needs. (pushdecl_function_level): New function. (implicitly_declare): Create ordinary decls with C_DECL_IMPLICIT set. Recycle old decls, however they got created. (lookup_name): It's always IDENTIFIER_SYMBOL_VALUE. Return 0 for C_DECL_INVISIBLE symbols. (lookup_name_current_level): Likewise. Use chain_member. (c_make_fname_decl): Don't muck with DECL_CONTEXT. Use pushdecl_function_level. (builtin_function): Use C_DECL_INVISIBLE. (start_function): Don't muck with IDENTIFIER_IMPLICIT_DECL. Use C_DECL_ISNT_PROTOTYPE and C_DECL_IMPLICIT. (store_parm_decls): It's IDENTIFIER_SYMBOL_VALUE now. (identifier_global_value): Same. Must scan global_binding_level in extremis. * c-typeck.c (undeclared_variable): New static function, split from build_external_ref. (build_external_ref): Use DECL_CONTEXT, not IDENTIFIER_LOCAL_VALUE, to decide whether a local hides an instance variable. Restructure for clarity. * objc/objc-act.c: Use identifier_global_value, not IDENTIFIER_GLOBAL_VALUE. cp: * decl.c: Update all calls to shadow_warning. testsuite: * gcc.c-torture/execute/builtin-noret-2.c: New. * gcc.c-torture/execute/builtin-noret-2.x: New. XFAIL builtin-noret-2.c at -O1 and above. * gcc.dg/redecl.c: New. * gcc.dg/Wshadow-1.c: Update error regexps. From-SVN: r65460
2003-04-11 06:26:55 +02:00
2003-04-10 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/builtin-noret-2.c: New.
* gcc.c-torture/execute/builtin-noret-2.x: New.
XFAIL builtin-noret-2.c at -O1 and above.
* gcc.dg/redecl.c: New.
* gcc.dg/Wshadow-1.c: Update error regexps.
2003-04-10 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/bitfield10.C: New test.
2003-04-09 Mike Stump <mrs@apple.com>
* gcc.dg/pch/pch.exp: Make testcase names longer.
* g++.dg/pch/pch.exp: Make testcase names longer.
2003-04-08 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-11.c: New test case.
2003-04-08 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-9.c: New test case.
* gcc.dg/builtins-10.c: New test case.
2003-04-07 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/noncompile/init-4.c.c: New test.
2003-04-06 Nathan Sidwell <nathan@codesourcery.com>
* gcc.misc-test/gcov-9.c: New test.
* gcc.misc-test/gcov-10.c: New test
* gcc.misc-test/gcov-11.c: New test.
2003-04-05 Zack Weinberg <zack@codesourcery.com>
PR optimization/10024
* gcc.c-torture/compile/20030405-1.c: New test.
2003-04-04 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/static-3.c: New.
* gcc.dg/pch/static-3.hs: New.
* gcc.dg/pch/pch.exp: Test with -O0 -g too.
2003-04-04 Richard Henderson <rth@redhat.com>
* g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
* g++.dg/eh/forced2.C: Likewise.
2003-04-03 Mike Stump <mrs@apple.com>
* lib/scanasm.exp (scan-assembler): Add xfail processing for
target arg.
(scan-assembler-times, scan-assembler-not): Likewise.
(scan-assembler-dem, scan-assembler-dem-not): Likewise.
2003-04-03 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/sparc-loop-1.c: New test.
2003-04-02 Geoffrey Keating <geoffk@apple.com>
PR other/9274
* g++.dg/pch/system-2.C: New.
* g++.dg/pch/system-2.Hs: New.
2003-04-02 Aldy Hernandez <aldyh@redhat.com>
* g++.dg/eh/simd-2.C (vecfunc): Fix typo.
* g++.dg/eh/simd-1.C (vecfunc): Same.
2003-04-01 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20030401-1.c: New test case.
2003-04-01 Ziemowit Laski <zlaski@apple.com>
* objc.dg/defs.m: New.
2003-04-01 Aldy Hernandez <aldyh@redhat.com>
* g++.dg/eh/simd-1.C: New.
* g++.dg/eh/simd-2.C: New.
simd-3.c: New. * testsuite/gcc.c-torture/execute/simd-3.c: New. * expr.c (expand_expr): Handle VECTOR_CST. (const_vector_from_tree): New. * varasm.c (output_constant): Handle VECTOR_CST. * c-typeck.c (digest_init): Build a vector constant from a VECTOR_TYPE. * config/rs6000/rs6000.c: Remove prototype for easy_vector_constant. (easy_vector_constant): Add mode parameter. Rewrite to handle more easy constants. (rs6000_emit_move): Pass mode to easy_vector_constant. Call emit_easy_vector_insn for SPE V2SI vector constant moves. (emit_easy_vector_insn): New. (easy_vector_same): New. (EASY_VECTOR_15): New macro. (EASY_VECTOR_15_ADD_SELF): New macro. (bdesc_2arg): Rename to xorv2si3. (easy_vector_constant_add_self): New. (input_operand): Allow vector constants. * config/rs6000/rs6000.h (PREDICATE_CODES): Add easy_vector_constant, easy_vector_constant_add_self. (EXTRA_CONSTRAINT): Add 'W'. * config/rs6000/rs6000-protos.h: Add prototype for easy_vector_constant, emit_easy_vector_insn. * config/rs6000/altivec.md (xorv8hi3): New. (xorv16qi3): New. Remove all _const0 patterns. (movv4si_internal): Rewrite to use code. Add vector constant to vector alternative. Add splitter. (movv8hi_internal): Same. (movv16qi_internal): Same. (movv4sf_internal): Same. Change the unspecs for vspltis* to use constants. * config/rs6000/spe.md ("xorv4hi3"): New. ("spe_evxor"): Rename to xorv2si3. ("xorv1di3"): New. Remove all _const0 patterns. (movv2si_internal): Rewrite to use code. Add vector constant to alternatives. Add splitter. (movv4hi_internal): Add vector constant to alternatives. (movv1di_internal): Same. (movv2sf_internal): Same. From-SVN: r65130
2003-04-01 15:40:11 +02:00
2003-03-01 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/simd-3.c: New.
simd-3.c: New. * testsuite/gcc.c-torture/execute/simd-3.c: New. * expr.c (expand_expr): Handle VECTOR_CST. (const_vector_from_tree): New. * varasm.c (output_constant): Handle VECTOR_CST. * c-typeck.c (digest_init): Build a vector constant from a VECTOR_TYPE. * config/rs6000/rs6000.c: Remove prototype for easy_vector_constant. (easy_vector_constant): Add mode parameter. Rewrite to handle more easy constants. (rs6000_emit_move): Pass mode to easy_vector_constant. Call emit_easy_vector_insn for SPE V2SI vector constant moves. (emit_easy_vector_insn): New. (easy_vector_same): New. (EASY_VECTOR_15): New macro. (EASY_VECTOR_15_ADD_SELF): New macro. (bdesc_2arg): Rename to xorv2si3. (easy_vector_constant_add_self): New. (input_operand): Allow vector constants. * config/rs6000/rs6000.h (PREDICATE_CODES): Add easy_vector_constant, easy_vector_constant_add_self. (EXTRA_CONSTRAINT): Add 'W'. * config/rs6000/rs6000-protos.h: Add prototype for easy_vector_constant, emit_easy_vector_insn. * config/rs6000/altivec.md (xorv8hi3): New. (xorv16qi3): New. Remove all _const0 patterns. (movv4si_internal): Rewrite to use code. Add vector constant to vector alternative. Add splitter. (movv8hi_internal): Same. (movv16qi_internal): Same. (movv4sf_internal): Same. Change the unspecs for vspltis* to use constants. * config/rs6000/spe.md ("xorv4hi3"): New. ("spe_evxor"): Rename to xorv2si3. ("xorv1di3"): New. Remove all _const0 patterns. (movv2si_internal): Rewrite to use code. Add vector constant to alternatives. Add splitter. (movv4hi_internal): Add vector constant to alternatives. (movv1di_internal): Same. (movv2sf_internal): Same. From-SVN: r65130
2003-04-01 15:40:11 +02:00
2003-03-31 Mark Mitchell <mark@codesourcery.com>
PR c/9936
* gcc.dg/20030331-2.c: New test.
2003-03-31 Mark Mitchell <mark@codesourcery.com>
PR c++/10278
* g++.dg/parse/crash2.C: New test.
2003-03-31 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20030331-1.c: New test, moved from...
* gcc.c-torture/execute/20030331-1.c: ...here.
2003-03-31 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20030331-1.c: New test.
2003-03-31 Nathan Sidwell <nathan@codesourcery.com>
* lib/gcov.exp: Adjust call return testing strings.
* g77.dg/gcov/gcov-1.f: Don't expect unconditional branches.
2003-03-31 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-3.c: Add new tests for sin and cos.
* gcc.dg/builtins-7.c: New test case.
* gcc.dg/builtins-8.c: New test case.
2003-03-31 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/ieee/20030331-1.c: New test.
2003-03-30 Mark Mitchell <mark@codesourcery.com>
PR c++/7647
* g++.dg/lookup-class-member-2.C: New test.
2003-03-30 Glen Nakamura <glen@imodulo.com>
* gcc.dg/20030324-1.c: Add comments and abort if test fails.
2003-03-28 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/ieee/fp-cmp-6.c: Correct test for -O0.
2003-03-28 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/attrib1.C: New test.
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp8.c: New test.
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp7.c: New test.
2003-03-28 Nathan Sidwell <nathan@codesourcery.com>
PR c++/10047
* g++.dg/template/inline1.C: New test.
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/sparc-dwarf2.c: New test.
2003-03-27 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/ieee/fp-cmp-6.c: New test case.
* gcc.c-torture/execute/ieee/fp-cmp-7.c: New test case.
2003-03-27 Mark Mitchell <mark@codesourcery.com>
* lib/gcov.exp (run-gcov): Add branches and calls options, rather
than reading .x files.
* g++.dg/gcov/gcov-1.C: Use run-gcov options, not .x files.
* g77.dg/gcov/gcov-1.f: Likewise.
* gcc.misc-tests/gcov-4b.c: Likewise.
* gcc.misc-tests/gcov-5b.c: Likewise.
* gcc.misc-tests/gcov-6.c: Likewise.
* gcc.misc-tests/gcov-7.c: Likewise.
* gcc.misc-tests/gcov-8.c: Likewise.
* g++.dg/gcov/gcov-1.x: Remove.
* g77.dg/gcov/gcov-1.x: Likewise.
* gcc.misc-tests/gcov-4b.x: Likewise.
* gcc.misc-tests/gcov-5b.x: Likewise.
* gcc.misc-tests/gcov-6.x: Likewise.
* gcc.misc-tests/gcov-7.x: Likewise.
* gcc.misc-tests/gcov-8.x: Likewise.
2003-03-27 Glen Nakamura <glen@imodulo.com>
PR opt/10087
* gcc.dg/20030324-1.c: New test.
2003-03-27 Nathan Sidwell <nathan@codesourcery.com>
PR c++/10224
* g++.dg/template/arg3.C: New test.
PR c++/10158
* g++.dg/template/friend18.C: New test.
2003-03-26 Roger Sayle <roger@eyesopen.com>
* g77.f-torture/compile/20030326-1.f: New test case.
2003-03-26 Janis Johnson <janis187@us.ibm.com>
* gcc.c-torture/execute/20020227-1.x: Don't XFAIL for powerpc64.
* gcc.c-torture/compile/simd-5.x: Expect XFAIL for powerpc64.
2003-03-26 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/ia64-sync-3.c: New test.
2003-03-26 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/loop-2.c: Replace "inline" with "__inline__".
2003-03-26 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp6.c: New test.
2003-03-25 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-signbit-1.c: New test.
* gcc.dg/i386-signbit-2.c: New test.
* gcc.dg/i386-signbit-3.c: New test.
2003-03-25 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp5.c: Fix options.
2003-03-24 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp5.c: Fix comment.
2003-03-24 Bud Davis <bdavis9659@comcast.net>
PR fortran/10197
* g77.f-torture/execute/10197.f: New test.
2003-03-24 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9898, c++/383
* g++.dg/template/conv6.C: New test.
PR c++/10119
* g++.dg/template/ptrmem5.C: New test.
PR c++/10026
* g++.dg/lookup/koenig1.C: New test.
PR C++/10199
* g++.dg/lookup/template2.C: New test.
2003-03-24 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/rtti1.C: New test.
2003-03-23 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp5.c: New test.
2003-03-23 Arpad Beszedes <beszedes@cc.u-szeged.hu>
PR middle-end/9967
* gcc.c-torture/execute/stdio-opt-1.c: Adjust test for change to
builtin fputs.
2003-03-23 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
PR c/8224
* gcc.dg/20030323-1.c: New test.
2003-03-23 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/compile/20030323-1.c: New test case.
2003-03-22 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030321-1.c: New test.
2003-03-22 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/Wshadow-1.c: Add a dg-warning line.
2003-03-22 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9978, c++/9708
* g++.dg/ext/vlm1.C: Adjust expected error.
* g++.dg/ext/vla2.C: New test.
* g++.dg/template/arg1.C: New test.
* g++.dg/template/arg2.C: New test.
2003-03-22 Bud Davis <bdavis9659@comcast.net>
* g77.f-torture/execute/select.f: New test.
* g77.f-torture/noncompile/select_no_compile.f: New test.
2003-03-21 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9898
* g++.dg/other/error4.C: New test.
2003-03-20 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/friend17.C: New test.
2003-03-21 01:13:41 +01:00
2003-03-21 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/compile/20030320-1.c: New.
2003-03-20 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-6.c: New test case.
2003-03-19 Alan Modra <amodra@bigpond.net.au>
PR target/10073
* gcc.c-torture/compile/20030319-1.c: New.
2003-03-18 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-cvt-1.c: New test.
2003-03-17 Zack Weinberg <zack@codesourcery.com>
* objc.dg/naming-1.m: Use "(parse|syntax) error".
* objc.dg/naming-2.m: Likewise.
2003-03-17 Mark Mitchell <mark@codesourcery.com>
PR c++/9639
* g++.dg/parse/crash1.C: New test.
2003-03-16 Mark Mitchell <mark@codesourcery.com>
PR c++/8805
* g++.dg/eh/cleanup1.C: New test.
2003-03-16 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
* gcc.c-torture/execute/20030316-1.c: New test case.
2003-03-16 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9629
* g++.dg/init/ctor2.C: New test.
2003-03-15 Roger Sayle <roger@eyesopen.com>
* g77.f-torture/compile/xformat.f: New test case.
2003-03-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* g++.old-deja/g++.mike/eh33.C: Remove xfail for hppa*-*-*.
* g++.old-deja/g++.mike/eh50.C: Likewise.
2003-03-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/6440
* g++.dg/template/spec7.C: New test.
* g++.dg/template/spec8.C: Likewise.
2003-03-14 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20030313-1.c: New test.
2003-03-14 Richard Henderson <rth@redhat.com>
* gcc.dg/inline-2.c: Adjust alpha test for external call.
2003-03-14 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20030314-1.c: New test.
2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/dll-1.c: Remove thumb target. Change exp to _exp.
* gcc.dg/dll-2.c: Enable for cygwin and mingw. Remove
thumb target,
* gcc.dg/dll-3.c: Likewise. Adjust scan-assembler
to accept newer _imp__ prefix and additional
newline in .drectve section.
* gcc.dg/dll-4.c: Likewise.
* gcc.dg/dll-5.c: New file to test -mnop-fun-dllimport
switch.
2003-03-13 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parse/namespace9.C: New test.
* g++.dg/init/ref5.C: New test.
* g++.dg/parse/ptrmem1.C: Likewise.
2003-03-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/special/ecos.exp (gcsec-1.c): Find linker used by gcc.
* gcc.dg/old-style-asm-1.c (dg-final): Add hpux label alternative to
regular expression.
* gcc.dg/funcorder.c (dg-final): Check for "link_error,%r" on hppa*-*-*.
* gcc.dg/inline-1.c (dg-final): Check for "xyzzy?,%r" on hppa*-*-*.
2003-03-12 Daniel Jacobowitz <drow@mvista.com>
* gcc.c-torture/execute/20030224-2.c: New test.
2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/decl-3.c: New test.
2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-loop-2.c: New test.
2003-03-11 Mark Mitchell <mark@codesourcery.com>
PR c++/9474
* g++.dg/parse/namespace8.C: New test.
PR c++/9924
* g++.dg/overload/builtin2.C: New test.
2003-03-11 Steven Bosscher <s.bosscher@student.tudelft.nl>
* gcc.dg/return-type-3.c: New test.
2003-03-11 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* gcc.misc-tests/bprob.exp: Disable test cases for h8300-*-* as
profiling options are not supported.
2003-03-10 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
* g++.old-deja/g++.warn/impint2.C: Likewise.
2003-03-10 Devang Patel <dpatel@apple.com>
* g++.dg/cpp/c++_cmd_1.C: New test.
* g++.dg/cpp/c++_cmd_1.h: New file.
2003-03-10 Segher Boessenkool <segher@koffie.nl>
* gcc.dg/altivec-9.c: New file.
2003-03-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/ppc-sdata-1.c: New test.
* gcc.dg/ppc-sdata-2.c: New test.
2003-03-09 Mark Mitchell <mark@codesourcery.com>
PR c++/9373
* g++.dg/opt/ptrmem2.C: New test.
PR c++/8534
* g++.dg/opt/ptrmem1.C: New test.
2003-03-09 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-loop-1.c: New test.
2003-03-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9970
* g++.dg/lookup/friend1.C: New test.
2003-03-08 Mark Mitchell <mark@codesourcery.com>
PR c++/9823
* g++.dg/parser/constructor1.C: New test.
2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/execute/20020720-1.x: Add xfail for cris-*-*.
* gcc.dg/old-style-asm-1.c: Tweak to match mmix-knuth-mmixware.
2003-03-08 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/Wunused.c: Update test.
2003-03-08 Jan Hubicka <jh@suse.cz>
* gcc.dg/inline-3.c: New test.
2003-03-08 Mark Mitchell <mark@codesourcery.com>
PR c++/9809
* g++.dg/parse/builtin1.C: New test.
PR c++/9982
* g++.dg/abi/cookie1.C: New test.
* g++.dg/abi/cookie2.C: Likewise.
PR c++/9524
2003-03-08 10:23:36 +01:00
* g++.dg/template/field1.C: New test.
PR c++/9912
* g++.dg/parse/class1.C: New test.
* g++.dg/parse/namespace7.C: Likewise.
* g++.old-deja/g++.other/decl5.C: Remove XFAILs.
2003-03-07 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/ref4.C: New test.
2003-03-07 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-local2.c: Fix problems with certain versions of dejagnu.
* gcc.dg/inline-3.c: New test.
2003-03-06 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/ref3.C: New test.
PR c++/9965
* g++.dg/init/ref2.C: New test.
PR c++/9400
* g++.dg/warn/Wshadow-2.C: New test.
PR c++/9791
* g++.dg/warn/Woverloaded-1.C: New test.
2003-03-05 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-local2.c: New.
* gcc.dg/i386-local.c: Fix typo.
2003-03-05 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/layout3.C: New test.
2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20030305-1.c
2003-03-05 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-local.c: New.
2003-03-04 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/sh-relax.c: Disable for sh64-*-*.
2003-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/switch-2.c: New test.
* gcc.dg/switch-3.c: New test.
* gcc.dg/Wswitch.c: Adjust line numbers.
* gcc.dg/Wswitch-default.c: Likewise.
* gcc.dg/Wswitch-enum.c: Likewise.
2003-03-04 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/20030222-1.c: New test.
2003-03-03 James E Wilson <wilson@tuliptree.org>
* gcc.dg/m68k-slp-ice.c: New test for PR c/7872.
re PR c++/9878 (error: non-lvalue in unary `&' wrongly issued) PR c++/9878 * call.c (convert_class_to_reference): Correct conversion sequences. (reference_binding): Add ref_bound_directly_to_rvalue_p parameter. (implicit_conversion): Adjust call to reference_binding. (add_candidate): Change type of candidates parameter. (add_function_candidate): Likewise. (add_conv_candidate): Likewise. (build_builtin_candidate): Likewise. (add_builtin_candidate): Likewise. (add_builtin_candidates): Likewise. (add_template_candidate_real): Likewise. (add_template_candidate): Likewise. (add_template_conv_candidate): Likewise. (build_user_type_conversion_1): Adjust accordingly. (build_object_call): Likewise. (build_conditional_expr): Likewise. (add_candidates): Likewise. (build_new_op): Likewise. (convert_like_real): Use USER_CONV_CAND. Use build_nop. (build_new_method_call): Adjust calls to add_function_candidate. (make_temporary_var_for_ref_to_temp): New function. (initialize_reference): Add decl parameter. * class.c (build_rtti_vtbl_entries): Use build_address and build_nop. * cp-tree.h (initialize_reference): Change prototype. (make_temporary_var_for_ref_to_temp): New function. (build_type_conversion): Change prototype. (build_address): New function. (build_nop): Likewise. * cvt.c (cp_convert_to_pointer): Adjust call to build_type_conversion. Avoid indicating redundant NOP_EXPRs. Use build_nop. (convert_to_pointer_force): Use build_nop. (build_up_reference): Use make_temporary_var_for_ref_to_temp. (convert_to_reference): Adjust call to build_type_conversion. (ocp_convert): Likewise. (build_type_conversion): Remove for_sure parameter. * decl.c (grok_reference_init): Use initialize_reference. * typeck.c (build_address): New function. (build_nop): Likewise. (build_unary_op): Use them. (build_ptrmemfunc): Tidy slightly. (convert_for_initialization): Adjust call to initialize_reference. * typeck2.c (store_init_value): Remove #if 0'd code. PR c++/9878 * g++.dg/init/ref1.C: New test. From-SVN: r63735
2003-03-03 22:55:25 +01:00
2003-03-03 Mark Mitchell <mark@codesourcery.com>
PR c++/9878
* g++.dg/init/ref1.C: New test.
2003-03-03 J"orn Rennecke <joern.rennecke@superh.com>
Fix sh-elf linker relaxation: gcc: * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and subtarget_asm_isa_spec. (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define. (ASM_SPEC): Define as SH_ASM_SPEC. (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h. Use subtarget_asm_relax_spec and subtarget_asm_isa_spec. * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC. (SUBTARGET_ASM_ISA_SPEC): Undef / define. gcc/testsuite: gcc.dg/sh-relax.c: New test. include/elf: * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E, and SH2E & SH4 merge to SH4, not SH2E. gas: * config/tc-sh.c (sh_dsp): Replace with preset_target_arch. (md_begin): Use preset_target_arch. (md_longopts): Make isa option unconditional. (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any set preset_target_arch. (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups by -S_GET_VALUE (fixP->fx_subsy). (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy, and the addend is 0. Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. bfd: elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary relocation (no special function), and make it non-partial_inplace. (sh_elf_relax_section): When creating a bsr, use a consistent value no matter if the symbol is extern or not; set addend to -4. Don't swap load / non-load instructions for SH4. (sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset rather than if the symbol is external to determine if adjusting the offset makes sense. Adjust the addend too if appropriate. (sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the relocation. From-SVN: r63732
2003-03-03 21:57:19 +01:00
* gcc.dg/sh-relax.c: New SH-only test.
2003-03-03 Geoffrey Keating <geoffk@apple.com>
* gcc.c-torture/compile/20010327-1.c: Back out last change. Add
comment explaining purpose of testcase.
2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
* gcc.c-torture/execute/960312-1.x: New file, must pass -mshort
for HC11/HC12 (asm needs two int registers).
* gcc.c-torture/compile/20020312-1.x: New file, don't execute on
HC11/HC12 because the test uses an asm which needs two 32-bit
registers.
2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
* gcc.c-torture/compile/920501-12.x: New file, must pass -mshort
for HC11/HC12 (array is too large otherwise).
* gcc.c-torture/compile/920501-4.x: New file, likewise.
* gcc.c-torture/compile/20010518-2.x: Likewise.
* gcc.c-torture/compile/980506-1.x: Don't execute this test on
HC11/HC12 (array is too large).
2003-03-01 Geoffrey Keating <geoffk@apple.com>
* lib/gcc-dg.exp (gcc-dg-test): Change .pch to .gch.
* lib/g++-dg.exp (g++-dg-test): Likewise.
2003-03-01 Roger Sayle <roger@eyesopen.com>
* g++.old-deja/g++.other/builtins10.C: New test for PR 9367.
* gcc.dg/format/attr-5.c: Handle new conflicting types warning.
2003-03-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/warn/implicit-typename1.C: Remove warning.
2003-02-28 Richard Henderson <rth@redhat.com>
* gcc.dg/noreturn-1.c: Move noreturn warning line.
* gcc.dg/return-type-1.c: Move control reaches end warning line.
2003-02-28 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/pch.exp: Change .pch to .gch.
* g++.dg/pch/pch.exp: Likewise.
2003-02-28 Mark Mitchell <mark@codesourcery.com>
PR c++/9879
* testsuite/g++.dg/init/new4.C: New test.
2003-02-28 Richard Earnshaw <rearnsha@arm.com>
* gcc.dg/arm-asm.c: Enable for StrongARM and XScale targets.
2003-02-28 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead of
unsigned long.
* gcc.c-torture/compile/simd-3.c: Do nothing if double is not
wider than float.
2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* lib/scanasm.exp: Add support for counting numbers of
occurences.
* gcc.dg/unswitch-1.c, gcc.dg/peel-1.c, gcc.dg/unroll-1.c,
gcc.dg/unroll-2.c, gcc.dg/unroll-3.c: New tests.
2003-02-25 Mark Mitchell <mark@codesourcery.com>
PR c++/9683
* g++.dg/template/static3.C: New test.
PR c++/9829
* g++.dg/parse/namespace6.C: New test.
2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR target/9732
* gcc.dg/20030225-1.c: New test.
2003-02-24 Mark Mitchell <mark@codesourcery.com>
* README: Remove out-of-date information.
PR c++/9836
* g++.dg/template/spec6.C: New test.
2003-02-24 Jeff Law <law@redhat.com>
* gcc.c-torture/compile/20030224-1.c: New test for ia32 backend bug.
2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX.
* gcc.dg/pragma-ep-1.c: Likewise.
2003-02-24 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9602
* g++.dg/template/friend16.C: New test.
2003-02-23 Mark Mitchell <mark@codesourcery.com>
PR c++/5333
* g++.dg/parse/fused-params1.C: Adjust error messages.
* g++.dg/template/nested3.C: New test.
2003-02-23 23:48:05 +01:00
2003-02-24 Alan Modra <amodra@bigpond.net.au>
* g++.dg/abi/param1.C: New test.
2003-02-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/7982
* g++.dg/warn/implicit-typename1.C: New test.
2003-02-22 Kelley Cook <kelleycook@comcast.net>
* g++.old-deja/g++.other/store-expr1.C: Replace "mcpu"
with "mtune".
* g++.old-deja/g++.other/store-expr2.C: Likewise.
* gcc.c-torture/execute/20010129-1.x: Likewise.
* gcc.dg/20011107-1.c: Likewise.
* gcc.dg/20020108-1.c: Likewise.
* gcc.dg/20020122-3.c: Likewise.
* gcc.dg/20020206-1.c: Likewise.
* gcc.dg/20020310-1.c: Likewise.
* gcc.dg/20020426-2.c: Likewise.
* gcc.dg/20020517-1.c: Likewise.
* gcc.dg/991230-1.c: Likewise.
* gcc.dg/i386-unroll-1.c: Likewise.
* gcc.misc-tests/i386-prefetch.exp: Likewise.
2003-02-22 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-mul.c: New test.
2003-02-21 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-5.c: New test case.
2003-02-22 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/asmreg-1.c: New test.
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/9749
* g++.dg/parse/varmod1.C: New test.
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/9727
* g++.dg/template/op1.C: New test.
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/8906
* g++.dg/template/nested2.C: New test.
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/8724
* g++.dg/expr/dtor1.C: New test.
2003-02-21 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/cpp/include3.c: New test.
* gcc.dg/cpp/inc/foo.h: New file.
2003-02-21 Glen Nakamura <glen@imodulo.com>
* gcc.c-torture/execute/20030221-1.c: New test.
2003-02-20 Mark Mitchell <mark@codesourcery.com>
PR c++/9729
* g++.dg/abi/conv1.C: New test.
2003-02-20 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/execute/20020720-1.x: XFAIL for x86-64.
2003-02-19 Daniel Jacobowitz <drow@mvista.com>
* gcc.c-torture/compile/20030219-1.c: New test.
2003-02-18 Jan Hubicka <jh@suse.cz>
* gcc.dg/funcorder.c: New test.
2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20030218-1.c: New.
2003-02-18 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20030218-1.c: New.
2003-02-18 Richard Henderson <rth@redhat.com>
* gcc.dg/attr-invalid.c: Allow __used__ on static data.
* gcc.dg/attr-used-2.c: New.
2003-02-18 Mark Mitchell <mark@codesourcery.com>
PR c++/9704
* g++.dg/init/copy5.C: New test.
2003-02-18 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/pch.exp: Delete $bname.h before copying into it.
* g++.dg/pch/pch.exp: Likewise.
2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20030209-1.c: Enable the test if
STACK_SIZE is not defined.
2003-02-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9457
* g++.dg/template/init1.C: New test.
2003-02-16 Jan HUbicka <jh@suse.cz>
* gcc.dg/c90-const-expr-3.c (DZERO): New static variable
(foo): Add few extra tests
* gcc.dg/c99-const-expr-3.c: Likewise.
* gcc.c-torture/execute/20030216-1.c: New.
2003-02-16 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9459
* g++.dg/ext/typeof4.C: New test.
2003-02-15 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-387-3.c: New test case.
2003-02-14 Josef Zlomek <zlomekj@suse.cz>
* gcc.dg/20030213-1.c: Expect warning for unsupported -fpic on
cris-*-elf* cris-*-aout* and mmix-*-*.
2003-02-13 Josef Zlomek <zlomekj@suse.cz>
* gcc.dg/20030213-1.c: New test.
2003-02-12 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-387-1.c: Add new test for __builtin_atan2.
* gcc.dg/i386-387-2.c: Likewise.
2003-02-12 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/ppc-spe.c: Fix formatting.
Enable tests that were previously unsupported by gas.
Delete tests for instructions that no longer exist.
Switch arguments on evsubifw builtin.
2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20030209-1.c: Disable the test if
STACK_SIZE is too small.
2003-02-10 Eric Botcazou <ebotcazou@libertysurf.fr>
Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
* gcc.dg/decl-2.c: New test.
2003-02-10 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-fpcvt-1.c: New test.
2002-02-09 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20030209-1.c: New test.
2003-02-09 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/builtin-bitops-1.c: When testing the
int-wide bitops, use the constants of the same width.
Likewise, if long long is 32-bit wide, test bitops using
32-bit constants.
2003-02-07 Loren James Rittle <ljrittle@acm.org>
* gcc.dg/20021014-1.c: Annotate with expected notice text.
2003-02-07 Roger Sayle <roger@eyesopen.com>
* testsuite/gcc.dg/builtins-4.c: New test case.
2003-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/20020430-1.c: Fix dg command typos.
* gcc.dg/20020503-1.c: Likewise.
2003-02-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/8785
* g++.dg/parse/fused-params1.C: New test.
PR c++/8857
* g++.dg/parse/tmpl-tmpl-operator1.C: New test.
PR c++/8921
* g++.dg/parse/non-dependent1.C: New test.
PR c++/8928
* g++.dg/parse/dupl-tmpl-args1.C: New test.
PR c++/9228
* g++.dg/parse/undefined7.C: New test.
* g++.dg/parse/non-templ1.C: New test.
PR c++/9229
* g++.dg/parse/too-many-tmpl-args1.C: New test.
2003-02-06 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20030206-1.c: New test.
2003-02-05 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/compile/921206-1.c: Rename undeclared function from
"pow" to "foo" to avoid potential confusion with a math built-in.
2003-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
conditions for SPARC targets.
2003-02-05 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20030204-1.c: New test.
2003-02-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/38
* g++.dg/parse/array-size1.C: New test.
PR c++/5657
* g++.dg/parse/undefined3.C: New test.
PR c++/5665
* g++.dg/parse/undefined4.C: New test.
PR c++/5975
* g++.dg/parse/undefined5.C: New test.
PR c++/7259
* g++.dg/parse/tmpl-tmpl-param1.C: New test.
PR c++/8578
* g++.dg/parse/casting-operator1.C: New test.
PR c++/8596
* g++.dg/parse/undefined6.C: New test.
PR c++/8736
* g++.dg/parse/missing-template1.C: New test.
2003-02-04 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-cadd.c: Compile using -march=k8.
* gcc.dg/i386-cmov?.c: Likewise.
* gcc.dg/i386-fpcvt-?.c: Likewise.
* gcc.dg/i386-ssefp-1.c: Likewise.
* gcc.dg/i386-ssetype-?.c: Likewise; fix for register passing
conventions.
2003-02-03 Mark Mitchell <mark@codesourcery.com>
PR c++/7129
* testsuite/g++.dg/ext/max.C: New test.
2003-02-03 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/execute/20030203-1.c: New test.
2003-02-03 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is
'natural-endian'.
2003-02-01 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/init/new1.C: Remove -fvolatile dg-options line.
* g++.dg/init/new2.C: Likewise.
* g++.dg/other/new1.C: Likewise.
2003-01-31 Loren J. Rittle <ljrittle@acm.org>
* gcc.dg/struct-ret-libc.c: New test.
2003-01-31 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030129-1.c: New test.
2003-01-31 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/8849
* g++.dg/template/ptrmem4.C: New test.
c-common.c (builtin_define_float_constants): Define __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. * c-common.c (builtin_define_float_constants): Define __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. * call.c (build_field_call): Use build_new_op, not build_opfncall. (prep_operand): New function. (build_new_op): Use it. Remove dead code. * class.c (pushclass): Change "modify" parameter type from int to bool. (currently_open_class): Use same_type_p, not pointer equality. (push_nested_class): Adjust calls to pushclass, remove modify parameter. * cp-tree.h (INTEGRAL_OR_ENUMERATION_TYPE_P): New macro. (pushclass): Change prototype. (push_nested_class): Likewise. (grokoptypename): Remove. (build_opfncall): Remove. (value_dependent_expression_p): Declare. (resolve_typename_type): Likewise. (resolve_typename_type_in_current_instantiation): Likewise. (enter_scope_of): Remove. (tsubst): Remove. (tsubst_expr): Likewise. (tsubst_copy): Likewise. (tsubst_copy_and_build): Likewise. * decl.c (warn_about_implicit_typename_lookup): Remove. (finish_case_label): Return error_mark_node for erroneous labels. (start_decl): Adjust calls to push_nested_class. (grokfndecl): Call push_scope/pop_scope around call to duplicate_decls. (grokdeclarator): Do not call tsubst. (start_function): Adjust calls to push_nested_class. * decl2.c (grok_array_decl): Use build_new_op, not build_opfncall. (check_classfn): Use push_scope/pop_scope around type comparisions. (grokoptypename): Remove. (push_sscope): Adjust call to push_nested_class. * error.c (dump_type): Show cv-qualification of typename types. * init.c (build_member_call): Use build_new_op, not build_opfncall. * method.c (build_opfncall): Remove. * parser.c (cp_parser): Add allow_non_constant_expression_p and non_constant_expression_p. (cp_parser_constant_expression): Adjust prototype. (cp_parser_resolve_typename_type): Remove. (cp_parser_non_constant_expression): New function. (cp_parser_non_constant_id_expression): Likewise. (cp_parser_new): Set allow_non_constant_expression_p and non_constant_expression_p. (cp_parser_primary_expression): Reject `this' and `va_arg' in constant-expressions. Note that dependent names aren't really constant. (cp_parser_postfix_expression): Reject conversions to non-integral types in constant-expressions. Neither are increments or decrements. (cp_parser_unary_expression): Reject increments and decrements in constant-expressions. (cp_parser_direct_new_declarator): Adjust call to cp_parser_constant_expression. (cp_parser_cast_expression): Reject conversions to non-integral types in constant-expressions. (cp_parser_assignment_expression): Rejects assignments in constant-expressions. (cp_parser_expression): Reject commas in constant-expressions. (cp_parser_labeled_statement): Adjust call to cp_parser_constant_expression. (cp_parser_direct_declarator): Simplify array bounds, even in templates, when they are non-dependent. Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_class_head): Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_member_declaration): Adjust call to cp_parser_constant_expression. (cp_parser_constant_initializer): Likewise. (cp_parser_constructor_declarator): Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_late_parsing_default_args): Adjust call to push_nested_class. * pt.c (tsubst): Give it internal linkage. (tsubst_expr): Likewise. (tsubst_copy): Likewise. (tsubst_copy_and_build): Likewise. (push_access_scope_real): Likewise. (tsubst_friend_class): Likewise. (instantiate_class_template): Adjust call to pushclass. (value_dependent_expression_p): Give it external linkage. Robustify. (resolve_typename_type): New function. * semantics.c (finish_call_expr): Use build_new_op, not build_opfncall. (begin_constructor_declarator): Remove. (begin_class_definition): Adjust call to pushclass. (enter_scope_of): Remove. * typeck.c (comptypes): Resolve typename types as appropriate. (build_x_indirect_ref): Use build_new_op, not build_opfncall. (build_x_compound_expr): Likewise. (build_modify_expr): Likewise. (build_x_modify_expr): Likewise. * typeck2.c (build_x_arrow): Likewise. * g++.dg/parser/constant1.C: New test. * include/std/std_limits.h (numeric_limits<float>::has_infinity): Use __FLT_HAS_INIFINITY__ to initialize. (numeric_limits<float>::has_quiet_NaN): Likewise. (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__ to initialize. (numeric_limits<double>::has_quiet_NaN): Likewise. (numeric_limits<long double>::has_infinity): Use __LDBL_HAS_INIFINITY__ to initialize. (numeric_limits<long_double>::has_quiet_NaN): Likewise. From-SVN: r62130
2003-01-30 08:24:02 +01:00
2003-01-29 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parser/constant1.C: New test.
2003-01-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/8591
* g++.dg/parse/friend2.C: New test.
2003-01-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9437
* g++.dg/template/unify4.C: New test.
2003-01-28 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20030128-1.c: New test.
2003-01-28 Jeffrey D. Oldham <oldham@codesourcery.com>
* g++.dg/lookup/nested1.C: Test moved from ...
* g++.old-deja/g++.other/lookup24.C: ... here.
2003-01-28 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-cmov5.c: New test.
2003-01-28 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* gcc.c-torture/execute/20010925-1.c: Changed the
memcpy declaration.
2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
PR c++/3902
* g++.dg/parse/template5.C: New test.
2003-01-28 Toon Moene <toon@moene.indiv.nluug.nl>
PR fortran/9258
* g77.dg/pr9258: New test.
2003-01-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* README: Move relevant parts from README.g++.
* README.g++: Remove this file.
2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/dcast1.C: New test.
2003-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/builtin-constant.x: Only expect failure at -O1.
2003-01-27 Jeffrey D. Oldham <oldham@codesourcery.com>
PR c++/47
* g++.old-deja/g++.other/lookup24.C: New test.
2003-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR middle-end/7227
* gcc.dg/uninit-C.c: New test.
2003-01-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/covariant1.C: New test.
2003-01-25 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030123-1.c: New test.
2003-01-25 Jan Hubicka <jh@suse.cz>
PR opt/8492
* gcc.c-torture/compile/20030125-1.c
2003-01-25 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9403
* g++.dg/parse/template3.C: New test.
* g++.old-deja/g++.pt/memclass5.C: Add needed template keyword.
PR c++/795
* g++.dg/parse/template4.C: New test.
PR c++/9415
* g++.dg/template/qual2.C: New test.
PR c++/8545
* g++.old-deja/g++.brendan/parse3.C: Remove XFAIL.
* g++.old-deja/g++.ns/bogus1.C: Change expected error.
2003-01-25 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/switch-1.c: New test case.
2003-01-25 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/execute/20030125-1.[cx]: New test.
2003-01-25 Paolo Carlini <pcarlini@unitus.it>
Tweaks for Bison-1.875. From the NEWS file:
"- `parse error' -> `syntax error'
Bison now uniformly uses the term `syntax error'"
* gcc.dg/cpp/19990413-1.c: Test for "(parse|syntax) error".
* gcc.dg/cpp/digraph2.c: Likewise.
* gcc.dg/cpp/direct2.c: Likewise.
* gcc.dg/cpp/paste4.c: Likewise.
* gcc.dg/c90-restrict-1.c: Likewise.
* gcc.dg/c99-func-2.c: Likewise.
* gcc.dg/noncompile/920721-2.c: Likewise.
* gcc.dg/noncompile/930622-2.c: Likewise.
* gcc.dg/noncompile/940112-1.c: Likewise.
* gcc.dg/noncompile/950921-1.c: Likewise.
* gcc.dg/noncompile/951123-1.c: Likewise.
* gcc.dg/noncompile/971104-1.c: Likewise.
* gcc.dg/noncompile/990416-1.c: Likewise.
2003-01-24 Paolo Carlini <pcarlini@unitus.it>
* g++.dg/parse/undefined1.C: Add error message.
2003-01-22 Mark Mitchell <mark@codesourcery.com>
PR c++/9354
* g++.dg/parse/new1.C: New test.
PR c++/9216
* g++.dg/parse/template2.C: New test.
PR c++/9354
* g++.dg/parse/typedef2.C: New test.
PR c++/9328
* g++.dg/ext/typeof3.C: New test.
2003-01-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/2738
* g++.dg/parse/ret-type1.C: New test.
PR c++/3792
* g++.dg/parse/tmpl-outside1.C: New test.
PR c++/4207
* g++.dg/parse/int-as-enum1.C: New test.
PR c++/4903
* g++.dg/parse/no-typename1.C: New test.
PR c++/5533
* g++.dg/parse/no-value1.C: New test.
PR c++/5921
* g++.dg/parse/wrong-inline1.C: New test.
PR c++/6402
* g++.dg/parse/ref1.C: New test.
PR c++/6992
* g++.dg/parse/attr-ctor1.C: New test.
PR c++/7229
* g++.dg/parse/namespace5.C: New test.
PR c++/7917
* g++.dg/parse/func-def1.C: New test.
PR c++/8143
* g++.dg/parse/undefined1.C: New test.
PR c++/5723, PR c++/8522
* g++.dg/parse/specialization1.C: New test.
PR c++/163, PR c++/8595
* g++.dg/parse/struct-as-enum1.C: New test.
PR c++/9173
* g++.dg/parse/undefined2.C: New test.
2003-01-22 Mark Mitchell <mark@codesourcery.com>
PR c++/9298
* g++.dg/parse/template1.C: New test.
PR c++/9384
* g++.dg/parse/using1.C: New test.
PR c++/9285
PR c++/9294
* g++.dg/parse/expr2.C: New test.
PR c++/9388
* g++.dg/parse/lookup2.C: Likewise.
2003-01-21 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/execute/990208-1.c: Add noinline attributes as needed.
* gcc.c-torture/execute/eeprof-1.c: Likewise.
* gcc.c-torture/execute/stdio-opt-*.c: Likewise.
* gcc.c-torture/execute/string-opt-*.c: Likewise.
2003-01-20 Nick Clifton <nickc@redhat.com>
* gcc.c-torture/execute/20030117-1.c: New test case. Exposes
problem with ARM sibcall code generation.
2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20030120-1.c: New.
2003-01-19 Paolo Carlini <pcarlini@unitus.it>
* g++.old-deja/g++.pt/typename13.C: Remove XFAIL.
2003-01-17 Mark Mitchell <mark@codesourcery.com>
PR c++/9272
* g++.dg/parse/ctor1.C: New test.
PR c++/9294:
* g++.dg/parse/qualified1.C: New test.
* g++.dg/parse/typename3.C: New test.
2003-01-16 Richard Henderson <rth@redhat.com>
* g++.dg/tls/init-2.C: Fix error matches for real this time.
2003-01-16 Richard Henderson <rth@redhat.com>
* g++.dg/pch/pch.exp: Copy test header to the working directory
before using it either for precompilation or direct use.
* g++.dg/pch/*.Hs: Rename from gcc.dg/pch/*.H.
* g++.dg/pch/*.C: Include foo.H, not foo.Hp.
2003-01-16 Richard Henderson <rth@redhat.com>
* gcc.dg/pch/pch.exp: Copy test header to the working directory
before using it either for precompilation or direct use.
* gcc.dg/pch/*.hs: Rename from gcc.dg/pch/*.h.
* gcc.dg/pch/*.c: Include foo.h, not foo.hp.
cp-tree.h (lang_type_class): Remove is_partial_instantiation. * cp-tree.h (lang_type_class): Remove is_partial_instantiation. (PARTIAL_INSTANTIATION_P): Remove. (IMPLICIT_TYPENAME_P): Likewise. (IMPLICIT_TYPENAME_TYPE_DECL_P): Likewise. (build_typename_type): Remove declaration. (parmlist_is_exprlist): Likewise. * decl.c (build_typename_type): Make it static, remove third parameter. (push_class_binding): Don't do implicit typename stuff. (make_typename_type): Likewise. (lookup_name_real): Likewise. (grokdeclarator): Don't try to convert declarations into initializations. Don't do implicit typename stuff. (parmlist_is_exprlist): Remove. (xref_basetypes): Simplify. * decl2.c (grokfield): Don't try to convert declarations into initializations. (build_anon_union_vars): Do this while processing templates, too. (finish_anon_union): Likewise. * error.c (dump_type): Remove implicit typename handling. * parser.c (cp_parser_diagnose_invalid_type_name): New method. (cp_parser_primary_expression): Correct handling of names not found by unqualified name lookup in templates. (cp_parser_nested_name_specifier_opt): Avoid checking dependency of types when possible. (cp_parser_simple_declaration): Complain intelligently about some invalid declarations. (cp_parser_member_declaration): Likewise. (cp_parser_constructor_declarator_p): Don't check when we're in a function scope. * pt.c (instantiate_class_template): Remove PARTIAL_INSTANTIATION_P gunk. * search.c (lookup_field_r): Don't build implicit typenames. (marked_pushdecls_p): Don't enter dependent base types. (unmarked_pushdecls_p): Likewise. * semantics.c (begin_class_definition): Remove implicit typename stuff. * config/locale/gnu/messages_members.h: Use this-> to refer to unqualified members of base clasess. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise. * include/bits/codecvt.h: Likewise. * include/bits/deque.tcc: Likewise. * include/bits/fstream.tcc: Likewise. * include/bits/istream.tcc: Likewise. * include/bits/list.tcc: Likewise. * include/bits/locale_facets.h: Likewise. * include/bits/ostream.tcc: Likewise. * include/bits/sstream.tcc: Likewise. * include/bits/stl_bvector.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_tree.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/bits/vector.tcc: Likewise. * include/ext/ropeimpl.h: Likewise. * include/ext/stdio_filebuf.h: Likewise. * include/ext/stl_rope.h: Likewise. * include/std/std_fstream.h: Likewise. * include/std/std_sstream.h: Likewise. Co-Authored-By: Jeffrey Oldham <oldham@codesourcery.com> From-SVN: r61403
2003-01-16 21:30:50 +01:00
2003-01-16 Mark Mitchell <mark@codesourcery.com>
* gcc/testsuite/g++.dg/ext/typename1.C: Add typename keyword.
* gcc/testsuite/g++.dg/template/crash1.C: Update error messages.
* gcc/testsuite/g++.dg/template/crash2.C: Remove error message.
* gcc/testsuite/g++.dg/parse/typename2.C: New test.
* gcc/testsuite/g++.dg/template/typename2.C: Change implicit
typename warning into error.
* gcc/testsuite/g++.old-deja/g++.benjamin/tem03.C: Issue more
error messages.
* gcc/testsuite/g++.old-deja/g++.benjamin/tem04.C: Fix typos.
* gcc/testsuite/g++.old-deja/g++.brendan/crash56.C: Add this->.
* gcc/testsuite/g++.old-deja/g++.law/visibility13.C: Remove error
messages.
* gcc/testsuite/g++.old-deja/g++.ns/template17.C: Reorder code to
make declaration visible in template.
* gcc/testsuite/g++.old-deja/g++.pt/crash3.C: Fix typos.
* gcc/testsuite/g++.old-deja/g++.pt/crash36.C: Issue more error
messages.
* gcc/testsuite/g++.old-deja/g++.pt/crash5.C: Improve error
message.
* gcc/testsuite/g++.old-deja/g++.pt/crash67.C: Remove warning.
* gcc/testsuite/g++.old-deja/g++.pt/inherit1.C: Add this->.
* gcc/testsuite/g++.old-deja/g++.pt/niklas01a.C: Add error message.
* gcc/testsuite/g++.old-deja/g++.pt/typename16.C: Replace implicit
typename warning with error message.
* gcc/testsuite/g++.old-deja/g++.pt/typename19.C: Remove warning.
* gcc/testsuite/g++.old-deja/g++.robertl/eb112.C: Fix typo.
* gcc/testsuite/g++.old-deja/g++.robertl/eb24.C: Use this->.
2003-01-16 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/parse/ambig2.C: New test.
2003-01-15 Richard Henderson <rth@redhat.com>
* g++.dg/tls/init-2.C: Update error message string.
2003-01-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/builtin-constant.x: XFAIL the test.
2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
* gcc.c-torture/compile/20000804-1.x: Don't execute this test at
all for HC11/HC12.
* gcc.c-torture/compile/20001205-1.x: Likewise.
* gcc.c-torture/compile/20001226-1.x: Likewise.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/961203-1.x: Likewise.
* gcc.c-torture/compile/20020604-1.x: Likewise.
2003-01-15 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/20030115-1.c: New test.
* gcc.dg/i386-fpcvt-1.c: New test.
* gcc.dg/i386-fpcvt-2.c: New test.
2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
Further conform g++'s __vmi_class_type_info to the C++ ABI
specification.
* g++.old-deja/g++.abi/vmihint.C (main): Revise expected flags per
the specification.
2003-01-14 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-fpcvt-1.c: New test.
* gcc.dg/i386-fpcvt-2.c: New test.
2003-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-mmx-3.c: New test.
2003-01-12 Mark Mitchell <mark@codesourcery.com>
PR c++/9264
* g++.dg/parse/octal1.C: New file.
PR c++/9172
* g++.dg/parse/typename1.C: New file.
2003-01-10 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/bf-ms-layout.c: Enable for cygwin and mingw32 targets.
* gcc.dg/bf-no-ms-layout.c: Likewise.
* gcc.dg/bf-ms-attrib.c: Likewise.
2003-01-10 21:30:56 +01:00
2003-01-10 Mark Mitchell <mark@codesourcery.com>
PR c++/9099
* g++.dg/parse/dtor1.C: New file.
2003-01-10 21:30:56 +01:00
PR c++/9128
* g++.dg/rtti/typeid1.C: New file.
PR c++/9153
* g++.dg/parse/lookup1.C: New file.
PR c++/9171
* g++.dg/templ/spec5.C: New file.
2003-01-10 Josef Zlomek <zlomekj@suse.cz>
* gcc.c-torture/compile/20030110-1.c: New test.
2003-01-09 Geoffrey Keating <geoffk@apple.com>
Merge from pch-branch:
2002-12-23 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/cpp-1.h: New.
* gcc.dg/pch/cpp-1.c: New.
* gcc.dg/pch/cpp-2.h: New.
* gcc.dg/pch/cpp-2.c: New.
2002-11-19 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/except-1.h: New.
* gcc.dg/pch/except-1.c: New.
2002-11-13 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/pch.exp: Ensure that <test>.hp doesn't exist before
running test.
* gcc.dg/pch: Include *.hp not *.h.
* gcc.dg/pch/system-1.h: New.
* gcc.dg/pch/system-1.c: New.
2002-11-11 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/pch.exp: Compare .s files with/without PCH,
rather than trying to build and run a program using PCH.
* gcc.dg/pch: Remove dg-do commands from test files.
2002-11-08 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/macro-3.c: New.
* gcc.dg/pch/macro-3.h: New.
2002-11-04 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/common-1.c: New.
* gcc.dg/pch/common-1.h: New.
* gcc.dg/pch/decl-1.c: New.
* gcc.dg/pch/decl-1.h: New.
* gcc.dg/pch/decl-2.c: New.
* gcc.dg/pch/decl-2.h: New.
* gcc.dg/pch/decl-3.c: New.
* gcc.dg/pch/decl-3.h: New.
* gcc.dg/pch/decl-4.c: New.
* gcc.dg/pch/decl-4.h: New.
* gcc.dg/pch/decl-5.c: New.
* gcc.dg/pch/decl-5.h: New.
* gcc.dg/pch/global-1.c: New.
* gcc.dg/pch/global-1.h: New.
* gcc.dg/pch/inline-1.c: New.
* gcc.dg/pch/inline-1.h: New.
* gcc.dg/pch/inline-2.c: New.
* gcc.dg/pch/inline-2.h: New.
* gcc.dg/pch/static-1.c: New.
* gcc.dg/pch/static-1.h: New.
* gcc.dg/pch/static-2.c: New.
* gcc.dg/pch/static-2.h: New.
2002-09-01 Geoffrey Keating <geoffk@redhat.com>
* g++.dg/pch/pch.exp: Better handle failing testcases.
* gcc.dg/pch/pch.exp: Likewise.
* gcc.dg/pch/macro-1.c: New.
* gcc.dg/pch/macro-1.h: New.
* gcc.dg/pch/macro-2.c: New.
* gcc.dg/pch/macro-2.h: New.
2002-08-27 Geoffrey Keating <geoffk@redhat.com>
* g++.dg/dg.exp: Treat files in pch/ specially.
* g++.dg/pch/pch.exp: New file.
* g++.dg/pch/empty.H: New file.
* g++.dg/pch/empty.C: New file.
* lib/g++-dg.exp (g++-dg-test): Add case for when $do_what is
"precompile".
* gcc.dg/pch/pch.exp: New file.
* gcc.dg/pch/empty.h: New file.
* gcc.dg/pch/empty.c: New file.
* lib/gcc-dg.exp (gcc-dg-test): Add case for when $do_what is
"precompile".
2003-01-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/friend14.C: New test.
2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
2003-01-09 12:15:15 +01:00
* gcc.dg/old-style-asm-1.c: New test.
2003-01-09 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20030109-1.c: New test.
2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20030109-1.c: New test.
dyncast1.C: Remove reference to AMD A29K 2003-01-08 Larin Hennessey <larin@science.oregonstate.edu> * g++.old-deja/g++.mike/dyncast1.C: Remove reference to AMD A29K * g++.old-deja/g++.mike/dyncast2.C: Likewise * g++.old-deja/g++.mike/dyncast3.C: Likewise * g++.old-deja/g++.mike/eh2.C: Likewise * g++.old-deja/g++.mike/eh3.C: Likewise * g++.old-deja/g++.mike/eh5.C: Likewise * g++.old-deja/g++.mike/eh6.C: Likewise * g++.old-deja/g++.mike/eh7.C: Likewise * g++.old-deja/g++.mike/eh8.C: Likewise * g++.old-deja/g++.mike/eh9.C: Likewise * g++.old-deja/g++.mike/eh10.C: Likewise * g++.old-deja/g++.mike/eh12.C: Likewise * g++.old-deja/g++.mike/eh13.C: Likewise * g++.old-deja/g++.mike/eh14.C: Likewise * g++.old-deja/g++.mike/eh16.C: Likewise * g++.old-deja/g++.mike/eh17.C: Likewise * g++.old-deja/g++.mike/eh18.C: Likewise * g++.old-deja/g++.mike/eh21.C: Likewise * g++.old-deja/g++.mike/eh23.C: Likewise * g++.old-deja/g++.mike/eh24.C: Likewise * g++.old-deja/g++.mike/eh25.C: Likewise * g++.old-deja/g++.mike/eh26.C: Likewise * g++.old-deja/g++.mike/eh27.C: Likewise * g++.old-deja/g++.mike/eh28.C: Likewise * g++.old-deja/g++.mike/eh29.C: Likewise * g++.old-deja/g++.mike/eh31.C: Likewise * g++.old-deja/g++.mike/eh33.C: Likewise * g++.old-deja/g++.mike/eh34.C: Likewise * g++.old-deja/g++.mike/eh35.C: Likewise * g++.old-deja/g++.mike/eh36.C: Likewise * g++.old-deja/g++.mike/eh37.C: Likewise * g++.old-deja/g++.mike/eh38.C: Likewise * g++.old-deja/g++.mike/eh39.C: Likewise * g++.old-deja/g++.mike/eh40.C: Likewise * g++.old-deja/g++.mike/eh41.C: Likewise * g++.old-deja/g++.mike/eh42.C: Likewise * g++.old-deja/g++.mike/eh44.C: Likewise * g++.old-deja/g++.mike/eh46.C: Likewise * g++.old-deja/g++.mike/eh47.C: Likewise * g++.old-deja/g++.mike/eh48.C: Likewise * g++.old-deja/g++.mike/eh49.C: Likewise * g++.old-deja/g++.mike/eh50.C: Likewise * g++.old-deja/g++.mike/eh51.C: Likewise * g++.old-deja/g++.mike/eh53.C: Likewise * g++.old-deja/g++.mike/eh55.C: Likewise * g++.old-deja/g++.mike/p7912.C: Likewise * g++.old-deja/g++.mike/p9706.C: Likewise * g++.old-deja/g++.mike/p10416.C: Likewise * g++.old-deja/g++.mike/p11667.C: Likewise * g77.f-torture/compile/20010519-1.f: Remove reference to Convex. Remove redundant reference to Iris. * gcc.dg/20020312-2.c: Remove references to AMD A29K, Clipper, Convex, Elxsi, i860, Pico Java, and WE32K. From-SVN: r61062
2003-01-09 01:46:10 +01:00
2003-01-08 Larin Hennessey <larin@science.oregonstate.edu>
* g++.old-deja/g++.mike/dyncast1.C: Remove reference to AMD A29K
* g++.old-deja/g++.mike/dyncast2.C: Likewise
* g++.old-deja/g++.mike/dyncast3.C: Likewise
* g++.old-deja/g++.mike/eh2.C: Likewise
* g++.old-deja/g++.mike/eh3.C: Likewise
* g++.old-deja/g++.mike/eh5.C: Likewise
* g++.old-deja/g++.mike/eh6.C: Likewise
* g++.old-deja/g++.mike/eh7.C: Likewise
* g++.old-deja/g++.mike/eh8.C: Likewise
* g++.old-deja/g++.mike/eh9.C: Likewise
* g++.old-deja/g++.mike/eh10.C: Likewise
* g++.old-deja/g++.mike/eh12.C: Likewise
* g++.old-deja/g++.mike/eh13.C: Likewise
* g++.old-deja/g++.mike/eh14.C: Likewise
* g++.old-deja/g++.mike/eh16.C: Likewise
* g++.old-deja/g++.mike/eh17.C: Likewise
* g++.old-deja/g++.mike/eh18.C: Likewise
* g++.old-deja/g++.mike/eh21.C: Likewise
* g++.old-deja/g++.mike/eh23.C: Likewise
* g++.old-deja/g++.mike/eh24.C: Likewise
* g++.old-deja/g++.mike/eh25.C: Likewise
* g++.old-deja/g++.mike/eh26.C: Likewise
* g++.old-deja/g++.mike/eh27.C: Likewise
* g++.old-deja/g++.mike/eh28.C: Likewise
* g++.old-deja/g++.mike/eh29.C: Likewise
* g++.old-deja/g++.mike/eh31.C: Likewise
* g++.old-deja/g++.mike/eh33.C: Likewise
* g++.old-deja/g++.mike/eh34.C: Likewise
* g++.old-deja/g++.mike/eh35.C: Likewise
* g++.old-deja/g++.mike/eh36.C: Likewise
* g++.old-deja/g++.mike/eh37.C: Likewise
* g++.old-deja/g++.mike/eh38.C: Likewise
* g++.old-deja/g++.mike/eh39.C: Likewise
* g++.old-deja/g++.mike/eh40.C: Likewise
* g++.old-deja/g++.mike/eh41.C: Likewise
* g++.old-deja/g++.mike/eh42.C: Likewise
* g++.old-deja/g++.mike/eh44.C: Likewise
* g++.old-deja/g++.mike/eh46.C: Likewise
* g++.old-deja/g++.mike/eh47.C: Likewise
* g++.old-deja/g++.mike/eh48.C: Likewise
* g++.old-deja/g++.mike/eh49.C: Likewise
* g++.old-deja/g++.mike/eh50.C: Likewise
* g++.old-deja/g++.mike/eh51.C: Likewise
* g++.old-deja/g++.mike/eh53.C: Likewise
* g++.old-deja/g++.mike/eh55.C: Likewise
* g++.old-deja/g++.mike/p7912.C: Likewise
* g++.old-deja/g++.mike/p9706.C: Likewise
* g++.old-deja/g++.mike/p10416.C: Likewise
* g++.old-deja/g++.mike/p11667.C: Likewise
* g77.f-torture/compile/20010519-1.f: Remove reference to Convex.
dyncast1.C: Remove reference to AMD A29K 2003-01-08 Larin Hennessey <larin@science.oregonstate.edu> * g++.old-deja/g++.mike/dyncast1.C: Remove reference to AMD A29K * g++.old-deja/g++.mike/dyncast2.C: Likewise * g++.old-deja/g++.mike/dyncast3.C: Likewise * g++.old-deja/g++.mike/eh2.C: Likewise * g++.old-deja/g++.mike/eh3.C: Likewise * g++.old-deja/g++.mike/eh5.C: Likewise * g++.old-deja/g++.mike/eh6.C: Likewise * g++.old-deja/g++.mike/eh7.C: Likewise * g++.old-deja/g++.mike/eh8.C: Likewise * g++.old-deja/g++.mike/eh9.C: Likewise * g++.old-deja/g++.mike/eh10.C: Likewise * g++.old-deja/g++.mike/eh12.C: Likewise * g++.old-deja/g++.mike/eh13.C: Likewise * g++.old-deja/g++.mike/eh14.C: Likewise * g++.old-deja/g++.mike/eh16.C: Likewise * g++.old-deja/g++.mike/eh17.C: Likewise * g++.old-deja/g++.mike/eh18.C: Likewise * g++.old-deja/g++.mike/eh21.C: Likewise * g++.old-deja/g++.mike/eh23.C: Likewise * g++.old-deja/g++.mike/eh24.C: Likewise * g++.old-deja/g++.mike/eh25.C: Likewise * g++.old-deja/g++.mike/eh26.C: Likewise * g++.old-deja/g++.mike/eh27.C: Likewise * g++.old-deja/g++.mike/eh28.C: Likewise * g++.old-deja/g++.mike/eh29.C: Likewise * g++.old-deja/g++.mike/eh31.C: Likewise * g++.old-deja/g++.mike/eh33.C: Likewise * g++.old-deja/g++.mike/eh34.C: Likewise * g++.old-deja/g++.mike/eh35.C: Likewise * g++.old-deja/g++.mike/eh36.C: Likewise * g++.old-deja/g++.mike/eh37.C: Likewise * g++.old-deja/g++.mike/eh38.C: Likewise * g++.old-deja/g++.mike/eh39.C: Likewise * g++.old-deja/g++.mike/eh40.C: Likewise * g++.old-deja/g++.mike/eh41.C: Likewise * g++.old-deja/g++.mike/eh42.C: Likewise * g++.old-deja/g++.mike/eh44.C: Likewise * g++.old-deja/g++.mike/eh46.C: Likewise * g++.old-deja/g++.mike/eh47.C: Likewise * g++.old-deja/g++.mike/eh48.C: Likewise * g++.old-deja/g++.mike/eh49.C: Likewise * g++.old-deja/g++.mike/eh50.C: Likewise * g++.old-deja/g++.mike/eh51.C: Likewise * g++.old-deja/g++.mike/eh53.C: Likewise * g++.old-deja/g++.mike/eh55.C: Likewise * g++.old-deja/g++.mike/p7912.C: Likewise * g++.old-deja/g++.mike/p9706.C: Likewise * g++.old-deja/g++.mike/p10416.C: Likewise * g++.old-deja/g++.mike/p11667.C: Likewise * g77.f-torture/compile/20010519-1.f: Remove reference to Convex. Remove redundant reference to Iris. * gcc.dg/20020312-2.c: Remove references to AMD A29K, Clipper, Convex, Elxsi, i860, Pico Java, and WE32K. From-SVN: r61062
2003-01-09 01:46:10 +01:00
Remove redundant reference to Iris.
* gcc.dg/20020312-2.c: Remove references to AMD A29K, Clipper, Convex,
Elxsi, i860, Pico Java, and WE32K.
2003-01-07 Mark Mitchell <mark@codesourcery.com>
* g++.dg/ext/asm4.C: New test.
2003-01-08 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9030
* g++.dg/template/friend12.C: New test.
* g++.dg/template/friend13.C: Likewise.
* g++.old-deja/g++.eh/spec6.C: Add missing error message.
2003-01-08 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-cadd.c: New test.
* gcc.dg/i386-cmov4.c: Likewise.
2003-01-06 Mark Mitchell <mark@codesourcery.com>
PR c++/9165
* g++.dg/warn/Wunused-3.C: New test.
* g++.dg/abi/bitfield9.C: New test.
PR c++/9189
* g++.dg/parse/defarg3.C: New test.
2003-01-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/parse/ambig1.C: New test.
* g++.dg/parse/defarg2.C: New test.
2003-01-05 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/defarg-1.C: New test.
* g++.dg/template/local2.C: Likewise.
2003-01-05 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20030105-1.c: New test.
2003-01-04 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/parse/namespace3.C: Remove extra semicolons.
* g++.dg/parse/namespace4.C: Likewise.
2003-01-03 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/ntp2.C: New test.
2003-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/parse/extern-C-1.C: New test.
* g++.dg/parse/namespace4.C: New test.
* g++.dg/template/nested1.C: New test.
* g++.dg/parse/namespace3.C: New test.
2003-01-02 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/lookup/two-stage1.C: New test.
2003-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.old-deja/g++.bugs/900404_04.C: Remove XFAIL.
* g++.old-deja/g++.jason/access8.C: Likewise.
* g++.old-deja/g++.other/decl5.C: Likewise.
2003-01-02 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse7.C: New test.
2003-01-02 Mark Mitchell <mark@codesourcery.com>
PR c++/2843
* g++.dg/ext/attrib7.C: New test.
2003-01-02 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse6.C: New test.
2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/h8300-stack-1.c: New.
2003-01-01 Nathanael Nerode <neroden@gcc.gnu.org>
g++.dg/lookup/exception1.C: New test.
g++.dg/lookup/template1.C: New test.
g++.dg/parse/namespace2.C: New test.
g++.dg/parse/parens2.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse5.C: New test.
* g++.dg/lookup/scoped4.C: New test.
2003-01-01 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/parse/parens1.C: New test.
* g++.dg/parse/parens2.C: Removed, turned out to duplicate
angle-bracket1.C.
* g++.dg/parse/parens2.C: New test.
* g++.dg/lookup/scope-operator1.C: New test.
* g++.dg/parse/operator1.C: New test.
2003-01-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.jason/ambig3.C: Remove XFAIL.
* g++.old-deja/g++.other/access6.C: Likewise.
* g++.old-deja/g++.other/decl1.C: Likewise.
* g++.old-deja/g++.pt/typename12.C: Likewise.
2002-12-31 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parse/namespace1.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse4.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse3.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse2.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/template/friend11.C: New test.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse1.C: New test.
2002-12-31 Janis Johnson <janis187@us.ibm.com>
* lib/profopt.exp: Change the name of a global variable to avoid
possible clashes with other test suites.
2002-12-31 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/covariant8.C: New test.
2002-12-31 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/array9.C: New test.
PR c++/9112
* g++.dg/parse/expr1.C: New test.
2002-12-30 Daniel Jacobowitz <drow@mvista.com>
* gcc.c-torture/compile/20021230-1.c: New test.
2002-12-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/covariant5.C: New test.
* g++.dg/inherit/covariant6.C: New test.
* g++.dg/inherit/covariant7.C: New test.
2002-12-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/2739
* g++.dg/other/access2.C: New test.
2002-12-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
* g++.dg/other/anon-struct.C: No longer fails
* g++.old-deja/g++.brendan/parse4.C: Likewise.
* g++.old-deja/g++.brendan/parse5.C: Likewise.
* g++.old-deja/g++.brendan/parse6.C: Likewise.
2002-12-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
* g++.dg/parse/angle-bracket.C (main): No longer fails.
spec4.C: Remove stray semicolon. * g++.dg/eh/spec4.C: Remove stray semicolon. * 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. From-SVN: r60559
2002-12-28 08:48:15 +01:00
2002-12-27 Mark Mitchell <mark@codesourcery.com>
* g++.dg/eh/spec4.C: Remove stray semicolon.
* 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
spec4.C: Remove stray semicolon. * g++.dg/eh/spec4.C: Remove stray semicolon. * 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. From-SVN: r60559
2002-12-28 08:48:15 +01:00
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.
2002-12-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/warn/inline1.C: New test.
* g++.old-deja/g++.brendan/crash64.C: Remove spurious inlines.
* g++.old-deja/g++.jason/synth10.C: Likewise.
* g++.old-deja/g++.mike/net31.C: Likewise.
* g++.old-deja/g++.mike/p8786.C: Likewise.
* g++.dg/template/friend10.C: New test.
* g++.dg/template/conv5.C: New test.
2002-12-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/lookup/scoped3.C: New test.
* g++.dg/lookup/decl1.C: New test.
* g++.dg/lookup/decl2.C: New test.
2002-12-24 Joseph S. Myers <jsm@polyomino.org.uk>
* g++.dg/init/new1.C, g++.dg/template/alignof1.C,
gcc.c-torture/compile/20021015-1.c,
gcc.c-torture/compile/20021015-2.c,
gcc.c-torture/compile/20021123-1.c,
gcc.c-torture/compile/20021123-2.c,
gcc.c-torture/compile/20021123-3.c,
gcc.c-torture/compile/20021123-4.c,
gcc.c-torture/execute/20021024-1.c: Add tests previously added
only to 3.1 or 3.2 branch.
2002-12-23 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/i386-bitfield3.c: New test.
* gcc.dg/i386-bitfield2.c: New test.
2002-12-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/parse/conv_op1.C: New test.
2002-12-21 Josef Zlomek <zlomekj@suse.cz>
* gcc.c-torture/compile/20021220-1.c: Removed until bug fix is
approved.
2002-12-20 Josef Zlomek <zlomekj@suse.cz>
* gcc.c-torture/compile/20021220-1.c: New test.
i386.c (ix86_handle_cdecl_attribute): Check for attributes incompatible with fastcall attribute. * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for attributes incompatible with fastcall attribute. (ix86_handle_regparm_attribute): Likewise. * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched fastcall types. * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall attributes. (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref. * config/i386/i386-protos.h (i386_pe_output_labelref): Declare. * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in i386_pe_output_labelref rather than here. (gen_fastcall_suffix): New function. Decorates a label name with the fastcall prefix (@) and the stdcall suffix. (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol has a fastcall attribute. (i386_pe_output_labelref): New function. Outputs a label reference. * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a valid attribute. (ix86_return_pops_args): Fastcall functions pop the stack. (init_cumulative_args): Reserve registers ECX and EDX if function has fastcall attribute. (function_arg): Use registers ECX and EDX if function has fastcall attribute. * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag. (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'. (FASTCALL_PREFIX): Define as '@'. * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall attributes. * doc/extend.texi: Add documentation of fastcall attribute. * testsuite/gcc.dg/i386-fastcall-1.c: New. Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net> Co-Authored-By: Eric Kohl <ekohl@rz-online.de> From-SVN: r60337
2002-12-19 23:00:33 +01:00
2002-12-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* gcc.dg/i386-fastcall-1.c: New.
2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20021219-1.c: New test.
2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-pic-1.c: New test.
2002-12-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/8099
* g++.dg/template/friend9.C: New test.
2002-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/3663
* g++.dg/template/access7.C: New test.
2002-12-18 Nick Clifton <nickc@redhat.com>
* lib/g++.exp (g++_include_flags): Only invoke testsuite_flags if
the libstdc++-v3 directory has been found.
2002-12-12 Devang Patel <dpatel@apple.com>
* gcc.dg/darwin-ld-1.c: New test.
* gcc.dg/darwin-ld-2.c: New test.
* gcc.dg/darwin-ld-3.c: New test.
* gcc.dg/darwin-ld-4.c: New test.
* gcc.dg/darwin-ld-5.c: New test.
2002-12-12 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021212-1.c: New test.
2002-12-11 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/fshort-wchar: New test.
2002-12-10 Mark Mitchell <mark@codesourcery.com>
PR c++/8372
* g++.dg/template/dtor1.C: New test.
* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.
2002-12-10 Jakub Jelinek <jakub@redhat.com>
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
2002-12-09 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/static1.C: New test.
* g++.dg/template/static2.C: New test.
* g++.old-deja/g++.ext/memconst.C: New test.
2002-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.dg/special/conpr-2.C: Expect failure on solaris2.
* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
* g++.dg/special/initp1.C: Likewise.
2002-12-06 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20021204-1.c: New test.
2002-12-04 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/ppc-fmadd-1.c: New file.
* gcc.dg/ppc-fmadd-2.c: New file.
* gcc.dg/ppc-fmadd-3.c: New file.
2002-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021204-1.c: New test.
2002-12-03 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/covariant2.C: New test.
* g++.dg/inherit/covariant3.C: New test.
* g++.dg/inherit/covariant4.C: New test.
* g++.dg/inherit/covariant1.C: Remove XFAIL.
* g++.old-deja/g++.robertl/eb17.C: Likewise.
2002-12-03 Mark Mitchell <mark@codesourcery.com>
PR c++/8688
* g++.dg/init/brace3.C: New test.
2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/20020210-1.c: Fix a comment typo.
2002-12-02 Mark Mitchell <mark@codesourcery.com>
PR c++/8720
* g++.dg/parse/defarg1.C: New test.
PR c++/8615
* g++.dg/template/char1.C: New test.
* g++.dg/template/varmod1.C: Fix typo.
2002-12-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
DR 180
* g++.old-deja/g++.pt/crash32.C: Expect error.
2002-12-01 Mark Mitchell <mark@codesourcery.com>
PR c++/5919
* g++.dg/template/varmod1.C: New test.
PR c++/8727
* g++.dg/inherit/typeinfo1.C: New test.
PR c++/8663
* g++.dg/inherit/typedef1.C: New test.
2002-11-30 Mark Mitchell <mark@codesourcery.com>
PR c++/8332
PR c++/8493
* g++.dg/template/strlen1.C: New test.
PR c++/8227
* g++.dg/template/ctor2.C: New test.
PR c++/8214
* g++.dg/init/string1.C: New test.
PR c++/8511
* g++.dg/template/friend8.C: New test.
2002-11-29 Joe Buck <jbuck@synopsys.com>
* g++.dg/lookup/anon2.C: New test.
2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/strct-varg-1.x: Remove xfail on the
h8300 port.
2002-11-27 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/bitfld-6.c: New test.
2002-11-27 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/execute/20021127.[cx]: New test.
2002-11-26 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-cmov[123].c: New tests for conditional move code
quality.
2002-11-26 Geoffrey Keating <geoffk@apple.com>
* g++.dg/init/brace2.C: New test.
* g++.old-deja/g++.mike/p9129.C: Correct.
2002-11-26 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/empty10.C: Don't run on non-x86 targets.
2002-11-25 Andreas Bauer <baueran@in.tum.de>
* gcc.dg/sibcall-6: New test for indirect sibcalls.
2002-11-25 Mark Mitchell <mark@codesourcery.com>
* testsuite/g++.dg/abi/empty11.C: New test.
* testsuite/g++.dg/rtti/cv1.C: New test.
2002-11-25 Hans-Peter Nilsson <hp@bitrange.com>
* lib/prune.exp: Prune more -fpic/-fPIC warnings.
2002-11-24 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/empty10.C: New test.
2002-11-24 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021124-1.c: New test.
2002-11-22 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/rtti2.C: New test.
2002-11-21 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-unroll-1.c: New test.
2002-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021120-1.c: New test.
* gcc.c-torture/compile/20021120-2.c: New test.
2002-11-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/bitfld-5.c: New test.
2002-11-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20021120-3.c: New test.
2002-11-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20021120-2.c: New test.
2002-11-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20021120-1.c: New test.
2002-11-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20021118-3.c: New test.
2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021119-1.c: New test.
2002-11-19 Jason Thorpe <thorpej@wasabisystems.com>
* gcc.dg/duff-1.c: New test.
* gcc.dg/duff-2.c: New test.
* gcc.dg/duff-3.c: New test.
2002-11-18 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/_Pragma5.c: New test.
2002-11-18 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20021118-2.c: New test.
2002-11-18 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20021118-1.c: New test.
2002-11-16 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20021116-1.c: New test.
2002-11-14 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vcall1.C: New test.
2002-11-14 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20021029-1.c: New test.
* gcc.dg/20021029-2.c: New test.
2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
* g++.dg/abi/vague1.C (dg-final): Return if target is hppa*-*-hpux*.
2002-11-09 Eric Botcazou <ebotcazou@libertysurf.fr>
PR c/8439
* gcc.dg/20021110.c: Move to ...
* gcc.c-torture/compile/20021110.c: .... here.
2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR c/8467
* gcc.c-torture/execute/20021111-1.c
2002-11-09 Eric Botcazou <ebotcazou@libertysurf.fr>
PR c/8439
* gcc.dg/20021110.c: New test.
2002-11-10 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vthunk3.C: Run only on x86.
2002-11-10 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c90-idem-qual-2.c, gcc.dg/c99-idem-qual-2.c: New tests.
2002-11-09 Hans-Peter Nilsson <hp@bitrange.com>
* lib/compat.exp (compat-execute): Fix logic error in last
change.
2002-11-09 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.
2002-11-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/8389
* g++.dg/template/access6.C: New test.
2002-11-08 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-ssefp-1.c: New test.
* gcc.dg/i386-ssefp-1.c: New test.
2002-11-08 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/20021108-1.c: New testcase for x86-64 failure.
2002-11-07 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vthunk3.C: New test.
PR c++/8338
* g++.dg/template/crash2.C: New test.
2002-11-07 Mark Mitchell <mark@codesourcery.com>
* testsuite/g++.dg/abi/dtor1.C: New test.
* testsuite/g++.dg/abi/dtor2.C: Likewise.
2002-11-05 Geoffrey Keating <geoffk@apple.com>
* g++.old-deja/g++.eh/badalloc1.C: XFAIL excess errors test on
Darwin.
2002-11-04 Adam Nemet <anemet@lnxw.com>
* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
-mthumb. Only xfail with -O0.
call.c (build_special_member_call): Do not try to lookup VTTs by name. * call.c (build_special_member_call): Do not try to lookup VTTs by name. * class.c (vtbl_init_data): Add generate_vcall_entries. (get_vtable_decl): Do not look up virtual tables by name. (copy_virtuals): Do not use BV_USE_VCALL_INDEX_P. (set_primary_base): Do not set CLASSTYPE_RTTI. (determine_primary_base): Likewise. (get_matching_virtual): Remove. (get_vcall_index): New function. (update_vtable_entry_for_fn): Do not try to use virtual thunks when they are not required. Assign vcall indices at this point. (finish_struct_1): Do not set CLASSTYPE_NEEDS_VIRTUAL_REINIT. Do update dynamic_classes. (build_vtt): Do not add VTTs to the symbol table. (build_ctor_vtbl_group): Likewise. (build_vtbl_initializer): Simplify handling of vcall indices. (build_vcall_offset_vtbl_entries): Pretend to build vcall offsets for the most derived class. (add_vcall_offset_vtbl_entries_1): But do not actually add them to the vtable. * cp-tree.h (dynamic_classes): New macro. (lang_type_class): Remove rtti. Add vtables. Add vcall_indices. (CLASSTYPE_RTTI): Remove. (CLASSTYPE_NEEDS_VIRTUAL_REINIT): Remove. (CLASSTYPE_VCALL_INDICES): New macro. (CLASSTYPE_VTABLES): Likewise. (BV_USE_VCALL_INDEX_P): Remove. (build_vtable_path): Remove. * decl2.c (finish_vtable_vardecl): Remove. (key_method): Remove #if 0'd code. (finish_vtable_vardecl): Rename to ... (maybe_emit_vtables): ... this. (finish_file): Use it. * search.c (look_for_overrides_here): Update comment. * g++.dg/abi/thunk1.C: New test. * g++.dg/abi/thunk2.C: Likewise. * g++.dg/abi/vtt1.C: Likewise. From-SVN: r58779
2002-11-04 02:45:58 +01:00
2002-11-03 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/thunk1.C: New test.
* g++.dg/abi/thunk2.C: Likewise.
* g++.dg/abi/vtt1.C: Likewise.
2002-11-02 Diego Novillo <dnovillo@redhat.com>
PR optimization/8423
* gcc.c-torture/execute/builtin-constant.c: New test.
2002-11-01 Zack Weinberg <zack@codesourcery.com>
* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
Add some more cases.
2002-11-01 Mark Mitchell <mark@codesourcery.com>
PR c++/8391
* g++.dg/opt/local1.C: New test.
2002-10-30 Mark Mitchell <mark@codesourcery.com>
PR c++/8160
* g++.dg/template/complit1.C: New test.
PR c++/8149
* g++.dg/template/typename4.C: Likewise.
2002-10-30 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Core issue 287, PR c++/7639
* g++.dg/template/instantiate1.C: Adjust error location.
* g++.dg/template/instantiate3.C: New test.
* g++.old-deja/g++.pt/crash10.C: Adjust error location.
* g++.old-deja/g++.pt/derived3.C: Adjust error location.
* g++.old-deja/g++.pt/spec28.C: Reorder declaration.
2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
* lib/compat.exp (compat-execute): Don't clean out a gluefile.
2002-10-29 Mark Mitchell <mark@codesourcery.com>
PR c++/8287
* g++.dg/init/dtor2.C: New test.
2002-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/20021014-1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/nest.c: Bypass errors on irix6.
2002-10-27 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/nest.c: Expect error for mmix-*-*.
* gcc.dg/20021014-1.c: Use dg-error, not dg-build.
2002-10-26 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/wint_t-1.c, gcc.dg/wchar_t-1.c: Remove excess-errors
markers.
* gcc.dg/20021014-1.c: Expect build failure on mmix-*-*.
2002-10-26 03:15:16 +02:00
2002-10-25 Mike Stump <mrs@apple.com>
* gcc.dg/warn-1.c: New test.
2002-10-25 Zack Weinberg <zack@codesourcery.com>
* g++.dg/template/typename3.C: New test.
2002-10-25 Mark Mitchell <mark@codesourcery.com>
* g++.dg/lookup/ptrmem1.C: New test.
* g++.dg/abi/vthunk2.C: New test.
2002-10-25 Zack Weinberg <zack@codesourcery.com>
* g++.dg/ext/vla1.C, gcc.dg/vla-2.c: New tests.
2002-10-24 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/empty9.C: New test.
2002-10-24 Richard Henderson <rth@redhat.com>
* g++.dg/inherit/thunk1.C: Enable for ia64.
2002-10-23 Mark Mitchell <mark@codesourcery.com>
PR c++/8067
* g++.dg/lookup/pretty1.C: New test.
2002-10-23 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20021023-1.c: New test.
2002-10-23 Mark Mitchell <mark@codesourcery.com>
PR c++/7679
* g++.dg/parse/inline1.C: New test.
2002-10-23 Richard Henderson <rth@redhat.com>
* g++.dg/inherit/thunk1.C: Enable for x86_64.
* g++.dg/inherit/thunk1.C: Enable for s390 and alpha.
2002-10-22 Mark Mitchell <mark@codesourcery.com>
PR c++/6579
* g++.dg/parse/stmtexpr3.C: New test.
2002-10-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/expr/cond1.C: New test.
2002-10-21 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/sibcall-5.c: Correct { dg-do run } line.
2002-10-21 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vbase13.C: New test.
* g++.dg/abi/vbase14.C: Likewise.
i386.c (x86_64_sign_extended_value): Add allow_rip argument. * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or from constant pool or LABEL_REFs as sign extended if allow_rip. Change all +-1GB limits to +-16MB. (x86_64_general_operand, x86_64_szext_general_operand, x86_64_nonmemory_operand, x86_64_movabs_operand, x86_64_szext_nonmemory_operand, x86_64_immediate_operand, legitimate_address_p, ix86_expand_int_movcc): Update callers. (local_symbolic_operand): Don't allow offsets bigger than +-16MB in CM_SMALL_PIC model. (legitimate_pic_address_disp_p): Don't check offsets before calling local_symbolic_operand. (legitimize_pic_address): Force offsets bigger than +-16MB into register. * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise. * config/i386/i386-protos.h (x86_64_sign_extended_value): Update prototype. * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too. Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64. * configure: Rebuilt. * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF, UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF. (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT -fpic. (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for non-pic code if TARGET_64BIT. (legitimize_address): Generate 64-bit TLS sequences. (output_pic_addr_const): Support x86-64 TLS operators. (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0. (print_operand_address): Use %fs instead of %gs on TARGET_64BIT. Don't append (%rip) in 64-bit TLSGD and TLSLD sequences. (output_addr_const_extra): Support x86-64 TLS operators. (maybe_get_pool_constant): Handle TARGET_64BIT -fpic. (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT unconditionally. * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to... (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT. (*tls_global_dynamic_sun): Renamed to... (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT. (tls_global_dynamic): Renamed to... (tls_global_dynamic_32): ... this. (tls_global_dynamic_64, *tls_global_dynamic_64): New. (*tls_local_dynamic_base_dynamic_gnu): Renamed to... (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT. (*tls_local_dynamic_base_dynamic_sun): Renamed to... (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT. (tls_local_dynamic_base_dynamic): Renamed to... (tls_local_dynamic_base_dynamic_32): ... this. (tls_local_dynamic_base_dynamic_64, *tls_local_dynamic_base_dynamic_64): New. (*tls_local_dynamic_once): Renamed to... (*tls_local_dynamic_32_once): ... this. * gcc.dg/tls/pic-1.c: New test. * gcc.dg/tls/nonpic-1.c: New test. * gcc.dg/20021018-1.c: New test. From-SVN: r58383
2002-10-21 22:27:14 +02:00
2002-10-21 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/tls/pic-1.c: New test.
* gcc.dg/tls/nonpic-1.c: New test.
* gcc.dg/20021018-1.c: New test.
2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
* lib/profopt.exp (profopt-cleanup): New argument TESTCASE.
Remove only files with the same base name as the test case.
(profopt-perf-value): Pass TESTCASE to profopt-cleanup.
(profopt-execute): Likewise. Also, remove old profiling
and performance data files before running the tests.
* gcc.misc-tests/bprob.exp: Remove profopt-cleanup calls.
* g++.dg/bprob/bprob.exp: Likewise.
* g77.dg/bprob/bprob.exp: Likewise. Also, relax regexp
to allow more general test case names.
* g++.dg/bprob/bprob-1.C: Rename to ...
* g++.dg/bprob/g++-bprob-1.C: ... this.
* g77.dg/bprob/bprob-1.f: Rename to ...
* g77.dg/bprob/g77-bprob-1.f: ... this.
2002-10-21 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/noncompile/920923-1.c: Prevent spurious regressions with
bison 1.50 or later.
2002-10-21 Janis Johnson <janis187@us.ibm.com>
* g++.dg/README: Describe more test directories.
2002-10-21 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/array6.C: Add additional tests.
2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/weak/typeof-2.c: Handle s390x targets as well.
* gcc.misc-tests/linkage.exp: Handle s390x targets in -m31 mode.
2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20020604-1.x: New.
* gcc.c-torture/compile/simd-5.x: Likewise.
* gcc.c-torture/execute/920710-1.x: Likewise.
* gcc.c-torture/execute/20020720-1.x: Disable on h8300.
2002-10-21 Mark Mitchell <mark@codesourcery.com>
* g++.dg/inherit/override1.C: Add dg-options clause.
2002-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* testsuite/gcc.dg/i386-sse-3.c: Add tests for _mm_srli_si128 and
_mm_slli_si128.
2002-10-19 Andreas Schwab <schwab@suse.de>
* lib/compat.exp (compat-run): Prepend "./" when $dest has no
directory component.
2002-10-18 Mark Mitchell <mark@codesourcery.com>
* g++.dg/inherit/thunk1.C: New test.
* g++.dg/inherit/override1.C: New test.
* g++.dg/abi/mangle11.C: New test.
* g++.dg/abi/mangle14.C: New test.
* g++.dg/abi/mangle17.C: New test.
2002-10-17 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/overload/member2.C: New test.
README: Describe new compat directory. 2002-10-17 Janis Johnson <janis187@us.ibm.com> * g++.dg/README: Describe new compat directory. * g++.dg/dg.exp: Skip tests in compat directory. * README.compat: New file. * lib/compat.exp: New expect script. * g++.dg/compat: New test directory. * g++.dg/compat/compat.exp: New expect script. * g++.dg/compat/abi: New test directory. * g++.dg/compat/abi/bitfield1_x.C, g++.dg/compat/abi/bitfield1_main.C, g++.dg/compat/abi/bitfield1_y.C, g++.dg/compat/abi/bitfield1.h, g++.dg/compat/abi/bitfield2_x.C, g++.dg/compat/abi/bitfield2_main.C, g++.dg/compat/abi/bitfield2_y.C, g++.dg/compat/abi/bitfield2.h, g++.dg/compat/abi/vbase8-10_x.C, g++.dg/compat/abi/vbase8-10_main.C, g++.dg/compat/abi/vbase8-10_y.C, g++.dg/compat/abi/vbase8-10.h, g++.dg/compat/abi/vbase8-21_x.C, g++.dg/compat/abi/vbase8-21_main.C, g++.dg/compat/abi/vbase8-21_y.C, g++.dg/compat/abi/vbase8-21.h, g++.dg/compat/abi/vbase8-22_x.C, g++.dg/compat/abi/vbase8-22_main.C, g++.dg/compat/abi/vbase8-22_y.C, g++.dg/compat/abi/vbase8-22.h, g++.dg/compat/abi/vbase8-4_x.C, g++.dg/compat/abi/vbase8-4_main.C, g++.dg/compat/abi/vbase8-4_y.C, g++.dg/compat/abi/vbase8-4.h: New files. * g++.dg/compat/break: New test directory. * g++.dg/compat/break/empty6_x.C, g++.dg/compat/break/empty6_main.C, g++.dg/compat/break/empty6_y.C, g++.dg/compat/break/empty6.h, g++.dg/compat/break/vbase10_x.C, g++.dg/compat/break/vbase10_main.C, g++.dg/compat/break/vbase10_y.C, g++.dg/compat/break/vbase10.h, g++.dg/compat/break/vbase11_x.C, g++.dg/compat/break/vbase11_main.C, g++.dg/compat/break/vbase11_y.C, g++.dg/compat/break/vbase11.h, g++.dg/compat/break/bitfield7_x.C, g++.dg/compat/break/bitfield7_main.C, g++.dg/compat/break/bitfield7_y.C, g++.dg/compat/break/bitfield7.h, g++.dg/compat/break/bitfield5_x.C, g++.dg/compat/break/bitfield5_main.C, g++.dg/compat/break/bitfield5_y.C, g++.dg/compat/break/bitfield5.h, g++.dg/compat/break/README: New files. * g++.dg/compat/eh: New test directory. * g++.dg/compat/eh/ctor1_x.C, g++.dg/compat/eh/ctor1_main.C, g++.dg/compat/eh/ctor1_y.C, g++.dg/compat/eh/ctor1.h, g++.dg/compat/eh/ctor2_x.C, g++.dg/compat/eh/ctor2_main.C, g++.dg/compat/eh/ctor2_y.C, g++.dg/compat/eh/ctor2.h, g++.dg/compat/eh/dtor1_x.C, g++.dg/compat/eh/dtor1_main.C, g++.dg/compat/eh/dtor1_y.C, g++.dg/compat/eh/dtor1.h, g++.dg/compat/eh/filter1_x.C, g++.dg/compat/eh/filter1_main.C, g++.dg/compat/eh/filter1_y.C, g++.dg/compat/eh/filter1.h, g++.dg/compat/eh/filter2_x.C, g++.dg/compat/eh/filter2_main.C, g++.dg/compat/eh/filter2_y.C, g++.dg/compat/eh/new1_x.C, g++.dg/compat/eh/new1_main.C, g++.dg/compat/eh/new1_y.C, g++.dg/compat/eh/nrv1_x.C, g++.dg/compat/eh/nrv1_main.C, g++.dg/compat/eh/nrv1_y.C, g++.dg/compat/eh/nrv1.h, g++.dg/compat/eh/spec3_x.C, g++.dg/compat/eh/spec3_main.C, g++.dg/compat/eh/spec3_y.C, g++.dg/compat/eh/spec3.h, g++.dg/compat/eh/template1_x.C, g++.dg/compat/eh/template1_main.C, g++.dg/compat/eh/template1_y.C, g++.dg/compat/eh/template1.h, g++.dg/compat/eh/unexpected1_x.C, g++.dg/compat/eh/unexpected1_main.C, g++.dg/compat/eh/unexpected1_y.C: New files. * g++.dg/compat/init: New test directory. * g++.dg/compat/init/array5_x.C, g++.dg/compat/init/array5_main.C, g++.dg/compat/init/array5_y.C, g++.dg/compat/init/byval1_x.C, g++.dg/compat/init/byval1_main.C, g++.dg/compat/init/byval1_y.C, g++.dg/compat/init/byval1.h, g++.dg/compat/init/dtor1_x.C, g++.dg/compat/init/dtor1_main.C, g++.dg/compat/init/dtor1_y.C, g++.dg/compat/init/dtor1.h, g++.dg/compat/init/elide1_x.C, g++.dg/compat/init/elide1_main.C, g++.dg/compat/init/elide1_y.C, g++.dg/compat/init/elide1.h, g++.dg/compat/init/init-ref2_x.C, g++.dg/compat/init/init-ref2_main.C, g++.dg/compat/init/init-ref2_y.C: New files. From-SVN: r58266
2002-10-18 02:22:58 +02:00
2002-10-17 Janis Johnson <janis187@us.ibm.com>
* g++.dg/README: Describe new compat directory.
* g++.dg/dg.exp: Skip tests in compat directory.
* README.compat: New file.
* lib/compat.exp: New expect script.
* g++.dg/compat: New test directory.
* g++.dg/compat/compat.exp: New expect script.
* g++.dg/compat/abi: New test directory.
* g++.dg/compat/abi/bitfield1_x.C, g++.dg/compat/abi/bitfield1_main.C,
g++.dg/compat/abi/bitfield1_y.C, g++.dg/compat/abi/bitfield1.h,
g++.dg/compat/abi/bitfield2_x.C, g++.dg/compat/abi/bitfield2_main.C,
g++.dg/compat/abi/bitfield2_y.C, g++.dg/compat/abi/bitfield2.h,
g++.dg/compat/abi/vbase8-10_x.C, g++.dg/compat/abi/vbase8-10_main.C,
g++.dg/compat/abi/vbase8-10_y.C, g++.dg/compat/abi/vbase8-10.h,
g++.dg/compat/abi/vbase8-21_x.C, g++.dg/compat/abi/vbase8-21_main.C,
g++.dg/compat/abi/vbase8-21_y.C, g++.dg/compat/abi/vbase8-21.h,
g++.dg/compat/abi/vbase8-22_x.C, g++.dg/compat/abi/vbase8-22_main.C,
g++.dg/compat/abi/vbase8-22_y.C, g++.dg/compat/abi/vbase8-22.h,
g++.dg/compat/abi/vbase8-4_x.C, g++.dg/compat/abi/vbase8-4_main.C,
g++.dg/compat/abi/vbase8-4_y.C, g++.dg/compat/abi/vbase8-4.h: New files.
* g++.dg/compat/break: New test directory.
* g++.dg/compat/break/empty6_x.C, g++.dg/compat/break/empty6_main.C,
g++.dg/compat/break/empty6_y.C, g++.dg/compat/break/empty6.h,
g++.dg/compat/break/vbase10_x.C, g++.dg/compat/break/vbase10_main.C,
g++.dg/compat/break/vbase10_y.C, g++.dg/compat/break/vbase10.h,
g++.dg/compat/break/vbase11_x.C, g++.dg/compat/break/vbase11_main.C,
g++.dg/compat/break/vbase11_y.C, g++.dg/compat/break/vbase11.h,
g++.dg/compat/break/bitfield7_x.C, g++.dg/compat/break/bitfield7_main.C,
g++.dg/compat/break/bitfield7_y.C, g++.dg/compat/break/bitfield7.h,
g++.dg/compat/break/bitfield5_x.C, g++.dg/compat/break/bitfield5_main.C,
g++.dg/compat/break/bitfield5_y.C, g++.dg/compat/break/bitfield5.h,
g++.dg/compat/break/README: New files.
* g++.dg/compat/eh: New test directory.
* g++.dg/compat/eh/ctor1_x.C, g++.dg/compat/eh/ctor1_main.C,
g++.dg/compat/eh/ctor1_y.C, g++.dg/compat/eh/ctor1.h,
g++.dg/compat/eh/ctor2_x.C, g++.dg/compat/eh/ctor2_main.C,
g++.dg/compat/eh/ctor2_y.C, g++.dg/compat/eh/ctor2.h,
g++.dg/compat/eh/dtor1_x.C, g++.dg/compat/eh/dtor1_main.C,
g++.dg/compat/eh/dtor1_y.C, g++.dg/compat/eh/dtor1.h,
g++.dg/compat/eh/filter1_x.C, g++.dg/compat/eh/filter1_main.C,
g++.dg/compat/eh/filter1_y.C, g++.dg/compat/eh/filter1.h,
g++.dg/compat/eh/filter2_x.C, g++.dg/compat/eh/filter2_main.C,
g++.dg/compat/eh/filter2_y.C,
g++.dg/compat/eh/new1_x.C, g++.dg/compat/eh/new1_main.C,
g++.dg/compat/eh/new1_y.C,
g++.dg/compat/eh/nrv1_x.C, g++.dg/compat/eh/nrv1_main.C,
g++.dg/compat/eh/nrv1_y.C, g++.dg/compat/eh/nrv1.h,
g++.dg/compat/eh/spec3_x.C, g++.dg/compat/eh/spec3_main.C,
g++.dg/compat/eh/spec3_y.C, g++.dg/compat/eh/spec3.h,
g++.dg/compat/eh/template1_x.C, g++.dg/compat/eh/template1_main.C,
g++.dg/compat/eh/template1_y.C, g++.dg/compat/eh/template1.h,
g++.dg/compat/eh/unexpected1_x.C, g++.dg/compat/eh/unexpected1_main.C,
g++.dg/compat/eh/unexpected1_y.C: New files.
* g++.dg/compat/init: New test directory.
* g++.dg/compat/init/array5_x.C, g++.dg/compat/init/array5_main.C,
g++.dg/compat/init/array5_y.C,
g++.dg/compat/init/byval1_x.C, g++.dg/compat/init/byval1_main.C,
g++.dg/compat/init/byval1_y.C, g++.dg/compat/init/byval1.h,
g++.dg/compat/init/dtor1_x.C, g++.dg/compat/init/dtor1_main.C,
g++.dg/compat/init/dtor1_y.C, g++.dg/compat/init/dtor1.h,
g++.dg/compat/init/elide1_x.C, g++.dg/compat/init/elide1_main.C,
g++.dg/compat/init/elide1_y.C, g++.dg/compat/init/elide1.h,
g++.dg/compat/init/init-ref2_x.C, g++.dg/compat/init/init-ref2_main.C,
g++.dg/compat/init/init-ref2_y.C: New files.
2002-10-17 Mark Mitchell <mark@codesourcery.com>
PR c++/7584
* g++.dg/inherit/using3.C: New test.
2002-10-17 Jan Hubicka <jh@suse.cz>
* gcc.dg/20021017-2.c: New test.
2002-10-17 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/mangle16.C: Adjust.
* g++.dg/init/array8.C: New test.
2002-10-17 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/special/mips-abi.exp: New test.
* gcc.dg/special/mips-abi.s: Empty file used by the above.
2002-10-16 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/mangle16.C: New test.
* g++.dg/abi/mangle17.C: Likewise.
PR c++/7478
* g++.dg/template/ref1.C: New test.
2002-10-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/20020720-1.x: Don't XFAIL for mips.
2002-10-16 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/weak/typeof-2.c: For S/390 targets, return before baz3 test.
2002-10-16 Mark Mitchell <mark@codesourcery.com>
PR c++/7524
* g++.dg/init/array7.C: New test.
2002-10-15 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/array6.C: New test.
* g++.dg/abi/mangle13.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle15.C: Likewise.
2002-10-14 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/empty8.C: New test.
2002-10-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/init/ctor1.C: New test.
2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.c-torture/execute/20021015-1.c: New test.
2002-10-15 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/weak/typeof-2.c: For SH targets, return before baz3 test.
2002-10-14 Jan Hubicka <jh@suse.cz>
re PR c/7344 (performance regression on huge case statements) * i386.md (movv2di_internal): New pattern. (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate. (movv2di): New expander. * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands. * i386.c (ix86_expand_timode_binop_builtin): Delete. (builtin_description): Add SSE1 logicals; rename SSE2 logicals. (ix86_init_mmx_sse_builtins): Kill SSE1 logicals. (ix86_expand_builtin): Likewise. * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2, sse_andti3, sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2, sse_andnti3, sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2, sse_orti3, sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2, sse_xorti3): Kill. (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3, sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders. (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3, *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns. (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3, *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns. * xmmintrin.h (__m128i): Define as __v2di. PR c/7344 * predict.c (can_predict_insn_p): New function. (estimate_probability): Avoid unnecesary work. (process_note_prediction): Likewise. * toplev.c (rest_of_compilation): Account early branch prediction pass as TV_BRANCH_PROB. PR c++/6419 (expand_expr): Use DECL_RTL_SET_P. From-SVN: r58156
2002-10-15 10:24:36 +02:00
* gcc.dg/i386-ssetype-[1-5].c: New tests.
2002-10-14 Richard Henderson <rth@redhat.com>
* gcc.dg/20020219-1.c: Disable for 16-bit targets.
2002-10-14 Mark Mitchell <mark@codesourcery.com>
PR optimization/6631
* g++.dg/opt/const2.C: New test.
2002-10-14 Mark Mitchell <mark@codesourcery.com>
PR c++/7176
* g++.dg/parse/friend1.C: New test.
* g++.old-deja/g++.pt/memtemp64.C: Adjust.
2002-10-14 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20021014-1.c: New test.
NEWS: Document removal of "new X = ..." extension. * NEWS: Document removal of "new X = ..." extension. * class.c (initialize_array): Set TREE_HAS_CONSTRUCTOR on brace-enclosed initializers. * cp-tree.h (CP_AGGREGATE_TYPE_P): New macro. (initialize_local_var): Remove declaration. (expand_static_init): Likewise. * decl.c (next_initializable_field): New function. (reshape_init): Likewise. (check_initializer): Use them. Build dynamic initializer for aggregates here too. (initialize_local_var): Simplify, and incorporate cleanup insertion code as well. (destroy_local_var): Remove. (cp_finish_decl): Tidy. (expand_static_init): Fold checks for whether or not a variable needs initialization into this function. Simplify. * decl2.c (do_static_initialization): Simplify. * init.c (build_init): Do not set TREE_SIDE_EFFECTS when it will be done for us automatically. (expand_default_init): Handle brace-enclosed initializers correctly. (expand_aggr_init_1): Remove RTL-generation code. (build_vec_init): Remove "new X = ..." support. * parse.y (new_initializer): Likewise. * rtti.c (get_pseudo_ti_init): Set TREE_HAS_CONSTRUCTOR on brace-enclosed initializer. (create_pseudo_type_info): Likewise. * typeck2.c (store_init_value): Don't try to handle digest_init being called more than once. (digest_init): Tidy handling of brace-enclosed initializers. * g++.dg/init/array1.C: Remove invalid braces. * g++.dg/init/brace1.C: New test. * g++.dg/init/copy2.C: Likewise. * g++.dg/init/copy3.C: Likewise. * g++.old-deja/g++.ext/arrnew.C: Change WARNING to ERROR. * g++.old-deja/g++.mike/p9129.C: Add ERROR on invalid use of braces. From-SVN: r58053
2002-10-11 18:50:44 +02:00
2002-10-11 Mark Mitchell <mark@codesourcery.com>
PR c++/5661
* g++.dg/ext/vlm1.C: New test.
* g++.dg/ext/vlm2.C: Likewise.
NEWS: Document removal of "new X = ..." extension. * NEWS: Document removal of "new X = ..." extension. * class.c (initialize_array): Set TREE_HAS_CONSTRUCTOR on brace-enclosed initializers. * cp-tree.h (CP_AGGREGATE_TYPE_P): New macro. (initialize_local_var): Remove declaration. (expand_static_init): Likewise. * decl.c (next_initializable_field): New function. (reshape_init): Likewise. (check_initializer): Use them. Build dynamic initializer for aggregates here too. (initialize_local_var): Simplify, and incorporate cleanup insertion code as well. (destroy_local_var): Remove. (cp_finish_decl): Tidy. (expand_static_init): Fold checks for whether or not a variable needs initialization into this function. Simplify. * decl2.c (do_static_initialization): Simplify. * init.c (build_init): Do not set TREE_SIDE_EFFECTS when it will be done for us automatically. (expand_default_init): Handle brace-enclosed initializers correctly. (expand_aggr_init_1): Remove RTL-generation code. (build_vec_init): Remove "new X = ..." support. * parse.y (new_initializer): Likewise. * rtti.c (get_pseudo_ti_init): Set TREE_HAS_CONSTRUCTOR on brace-enclosed initializer. (create_pseudo_type_info): Likewise. * typeck2.c (store_init_value): Don't try to handle digest_init being called more than once. (digest_init): Tidy handling of brace-enclosed initializers. * g++.dg/init/array1.C: Remove invalid braces. * g++.dg/init/brace1.C: New test. * g++.dg/init/copy2.C: Likewise. * g++.dg/init/copy3.C: Likewise. * g++.old-deja/g++.ext/arrnew.C: Change WARNING to ERROR. * g++.old-deja/g++.mike/p9129.C: Add ERROR on invalid use of braces. From-SVN: r58053
2002-10-11 18:50:44 +02:00
* g++.dg/init/array1.C: Remove invalid braces.
* g++.dg/init/brace1.C: New test.
* g++.dg/init/copy2.C: Likewise.
* g++.dg/init/copy3.C: Likewise.
* g++.old-deja/g++.ext/arrnew.C: Change WARNING to ERROR.
* g++.old-deja/g++.mike/p9129.C: Add ERROR on invalid use of
braces.
2002-10-11 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/assembler.S: Don't use -ansi.
2002-10-11 Richard Shann <richard.shann@superh.com>
* gcc.c-torture/compile/simd-5.c: New test.
2002-10-10 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/shiftopt-1.c: New test case.
2002-10-10 Jim Wilson <wilson@redhat.com>
* gcc.c-torture/execute/20021010-1.c: New test.
2002-10-09 Zack Weinberg <zack@codesourcery.com>
PR c/7353
* g++.dg/ext/typedef-init.C: New test.
* gcc.dg/typedef-init.c: New test.
2002-10-09 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/paste13.c: New test.
2002-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs. For
remaining platforms, XFAIL during compile, not execute. Don't
XFAIL at -O0.
2002-10-08 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/alias-1.c: Tweak expected warning.
2002-10-06 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* gcc.dg/20020411-1.c: Disable for 16-bit "int".
2002-10-06 Andreas Jaeger <aj@suse.de>
* gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp.
* gcc.dg/cpp/c++98.C: Likewise.
* g++.dg/cpp/c++98-pedantic.C: Moved from gcc.dg/cpp to here.
* g++.dg/cpp/c++98.C: Likewise.
* g++.dg/README (Subdirectories): Mention cpp directory.
PR target/7559
* gcc.dg/20021006-1.c: New test.
2002-10-05 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/7804
* g++.dg/other/warning1.C: New test.
2002-10-04 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.x: XFAIL instead of skipping
the test on failing platforms. Mark sparcv9-*-*, sparc64-*-*
and sparc-*-* with -m64 as expected failures. See PR 8087.
2002-10-03 Mark Mitchell <mark@codesourcery.com>
PR c++/7931
* g++.dg/template/ptrmem3.C: New test.
PR c++/7754
* g++.dg/template/union1.C: New test.
2002-10-03 Mark Mitchell <mark@codesourcery.com>
PR c++/8006
* g++.dg/abi/mangle9.C: New test.
* g++.dg/abi/mangle10.C: New test.
* g++.dg/abi/mangle11.C: New test.
* g++.dg/abi/mangle12.C: New test.
2002-10-02 Mark Mitchell <mark@codesourcery.com>
PR c++/7188.
* g++.dg/template/meminit1.C: New test.
* g++.dg/warn/Wreorder-1.C: Likewise.
* g++.old-deja/g++.mike/warn3.C: Tweak.
* lib/prune.exp: Ingore "in copy constructor".
2002-10-02 Andreas Jaeger <aj@suse.de>
* gcc.dg/20020919-1.c, gcc.dg/inline-2.c, gcc.dg/980211-1.c,
gcc.dg/20020103-1.c, gcc.dg/20000614-2.c,
g++.old-deja/g++.pt/asm1.C, g++.old-deja/g++.other/asm3.C: Enable
on x86-64.
2002-10-01 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/empty1.C: Fix typo.
2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/alias-1.c: New test.
2002-10-01 20:27:33 +02:00
2002-10-01 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/empty1.C: New test.
2002-10-01 20:27:33 +02:00
* g++.dg/tls/init-2.C: Tweak error messages.
2002-10-01 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20020923-1.c: New test.
2002-09-30 Jason Thorpe <thorpej@wasabisystems.com>
* gcc.c-torture/execute/ffs-1.c: New test.
* gcc.c-torture/execute/ffs-2.c: Ditto.
2002-09-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/overload/member1.C: New test.
store-layout.c (finish_record_layout): Add free_p parameter. * store-layout.c (finish_record_layout): Add free_p parameter. (layout_type): Pass it. * tree.h (finish_record_layout): Update prototype. * class.c (walk_subobject_offsets): Correct the calculation of offsets for virtual bases. Correct the counting of array elements. (layout_nonempty_base_or_field): Simplify. Correct the calculation of offsets to be propagated through the binfo hierarchy. (build_base_field): Avoid creating a FIELD_DECL for empty bases. Add the FIELD_DECL to TYPE_FIELDS. (build_base_fields): Adjust accordingly. (layout_virtual_bases): Use build_base_field. (end_of_class): Return a tree, not an integer. (warn_about_ambiguous_direct_bases): Rename to ... (warn_about_ambiguous_bases): ... this. (include_empty_classes): New function. (layout_class_type): Create an alternative version of the type to be used when as a base class type. Do not call finish_record_layout until we are done laying out the class. * cp-tree.h (lang_type_class): Remove size, size_unit. Add as_base. (CLASSTYPE_SIZE): Reimplement. (CLASSTYPE_SIZE_UNIT): Likewise. (CLASSTYPE_ALIGN): Likweise. (CLASSTYPE_USER_ALIGN): Likewise. (CLASSTYPE_AS_BASE): New macro. (DECL_INITIALIZED_P): Likewise. (extract_init): Remove prototype. (build_forced_zero_init): Rename to ... (build_zero_init): ... this. (force_store_init_value): Remove. * decl.c (obscure_complex_init): Remove. (duplicate_decls): Copy DECL_INITIALIZED_P. (check_initializer): Do not leave junk in DECL_INITIAL. (cp_finish_decl): Handle zero-initialization of entities with static storage duration. * expr.c (extract_init): Remove. * init.c (build_forced_zero_init): Remove. (build_zero_init): New function. (build_default_init): Use it. (build_field_list): Skip FIELD_DECLs for base subobjects. (push_base_cleanups): Likewise. * method.c (do_build_assign_ref): Likewise. (synthesize_exception_spec): Likewise. * pt.c (tsubst_decl): Clear DECL_INITIALIZED_P. (regenerate_decl_from_template): To not set DECL_INITIAL for a static data member whose initialization took place in its class. (instantiate_decl): Do not pass an initializer to cp_finish_decl in that situation. * search.c (dfs_push_decls): Skip FIELD_DECLs for base subobjects. (dfs_unuse_fields): Likewise. * tree.c (pod_type_p): Handle error_mark_node. (zero_init_p): Likewise. * typeck.c (lookup_anon_field): Skip FIELD_DECLs for base subobjects. * typeck2.c (store_init_value): Remove #if 0'd code. (force_store_init_value): Remove. (process_init_constructor): Use build_zero_init. * g++.dg/abi/empty7.C: New test. * g++.dg/init/pm2.C: Likewise. From-SVN: r57654
2002-09-30 18:52:19 +02:00
2002-09-30 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/empty7.C: New test.
* g++.dg/init/pm2.C: Likewise.
2002-09-29 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/rtti/crash1.C: New test.
2002-09-29 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/sibcall-1.c, gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c,
gcc.dg/sibcall-4.c: New tests.
2002-09-28 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.x: No longer skip test on
powerpc and MMIX targets.
2002-09-27 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/cpp/20020927-1.c: New.
2002-09-26 David S. Miller <davem@redhat.com>
* gcc.c-torture/compile/trunctfdf.c: New.
2002-09-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lib/target-supports.exp (check_weak_available): Handle solaris2.
2002-09-27 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/execute/loop-15.c: New.
2002-09-26 Janis Johnson <janis187@us.ibm.com>
* README.QMTEST: Fix typo.
2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20020926-1.c: New test.
2002-09-25 David S. Miller <davem@redhat.com>
PR target/7842
* gcc.c-torture/execute/shiftdi.c: New test.
2002-09-26 Richard Earnshaw <rearnsha@arm.com>
* lib/gcc.exp (gcc_init): Use a filename for the testglue that is
unique to the tool.
* lib/g77.exp (g77_init): Likewise.
* lib/g++.exp (g++_init): Likewise.
* lib/objc.exp (objc_init): Likewise.
2002-09-25 Mark Mitchell <mark@codesourcery.com>
* gcc/testsuite/g++.dg/abi/empty5.C: New test.
* gcc/testsuite/g++.dg/abi/empty6.C: New test.
* gcc/testsuite/g++.dg/abi/vbase12.C: New test.
2002-09-25 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/ieee/20010226-1.c: Early exit for
too-small long double.
2002-09-23 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/20020919-1.c: New test.
2002-09-23 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/bitfield6.C: New test.
* g++.dg/abi/bitfield7.C: New test.
* g++.dg/abi/bitfield8.C: New test.
* g++.dg/abi/vbase11.C: New test.
2002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gcc.dg/20020219-1.c: Add "-mdisable-indexing" option for target
hppa*-*-hpux*. Update test comment.
2002-09-20 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/tls/struct-1.c: New test.
2002-09-20 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/tr-warn2.c: Update.
2002-09-20 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/execute/20020720-1.x: Skip test on ARM-based systems.
2002-09-20 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/execute/990208-1.x: XFAIL this at -O3 for ARM-based
systems.
2002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/execute/ieee/mzero3.c: New test.
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not):
Adjust for c++filt moved to binutils. Remove spurious duplicate
setting of cxxfilt.
2002-09-19 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/20020312-2.c: Update for darwin.
2002-09-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash32.C: Mark ICE.
2002-09-17 Nicola Pero <n.pero@mi.flashnet.it>
* objc.dg/comp-types-1.m: New test.
* objc.dg/comp-types-2.m: New test.
* objc.dg/comp-types-3.m: New test.
* objc.dg/comp-types-4.m: New test.
* objc.dg/comp-types-5.m: New test.
* objc.dg/comp-types-6.m: New test.
2002-09-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gcc.c-torture/execute/strct-stdarg-1.x: Remove file.
2002-09-16 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/do1.C: New test.
* g++.dg/template/subst1.C: New test.
2002-09-16 Steve Ellcey <sje@cup.hp.com>
* gcc.dg/20020312-2.c: Change __parisc__ to __hppa__.
2002-09-16 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/qualttp20.C: Adjust expected errors.
* g++.old-deja/g++.jason/report.C: Likewise.
* g++.old-deja/g++.other/qual1.C: Likewise.
* g++.dg/lookup/scoped2.C: New test.
* g++.dg/ext/asm3.C: New test.
2002-09-16 Richard Earnshaw <rearnsha@arm.com>
* objc.dg/bitfield-2.m (dg-options): Add -fsigned-char.
2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: follow spelling conventions.
* g++.old-deja/g++.abi/ptrmem.C: Likewise.
* g++.old-deja/g++.bugs/900210_05.C: Likewise.
* g++.old-deja/g++.bugs/900211_04.C: Likewise.
* g++.old-deja/g++.bugs/900321_02.C: Likewise.
* g++.old-deja/g++.bugs/900404_02.C: Likewise.
* g++.old-deja/g++.bugs/900520_06.C: Likewise.
* g++.old-deja/g++.law/global-init1.C: Likewise.
* g++.old-deja/g++.other/delete4.C: Likewise.
* g++.old-deja/g++.other/inline21.C: Likewise.
* g++.old-deja/g++.other/singleton.C: Likewise.
* g77.dg/strlen0.f: Likewise.
* g77.f-torture/compile/20010519-1.f: Likewise.
* g77.f-torture/compile/980310-4.f: Likewise.
* gcc.c-torture/compile/20000605-1.c: Likewise.
* gcc.c-torture/execute/20020225-1.c: Likewise.
* gcc.dg/c90-hexfloat-2.c: Likewise.
* gcc.dg/c99-bool-1.c: Likewise.
* gcc.dg/c99-hexfloat-2.c: Likewise.
* gcc.dg/dll-2.c: Likewise.
* gcc.dg/wtr-union-init-1.c: Likewise.
* gcc.dg/wtr-union-init-2.c: Likewise.
* gcc.dg/wtr-union-init-3.c: Likewise.
* gcc.dg/cpp/avoidpaste1.c: Likewise.
* gcc.dg/cpp/defined.c: Likewise.
* gcc.dg/cpp/macsyntx.c: Likewise.
* gcc.dg/cpp/paste2.c: Likewise.
* gcc.dg/cpp/trad/defined.c: Likewise.
* gcc.dg/format/c90-printf-1.c: Likewise.
* gcc.dg/format/c90-scanf-1.c: Likewise.
* gcc.dg/format/c99-printf-1.c: Likewise.
* gcc.dg/format/c99-scanf-1.c: Likewise.
* gcc.misc-tests/gcov-8.c: Likewise.
* lib/profopt.exp: Likewise.
2002-09-15 Krister Walfridsson <cato@df.lth.se>
* lib/old-dejagnu.exp (old-dejagnu) Improve test for ICE.
2002-09-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/using2.C: New test.
2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Follow spelling conventions.
* g++.dg/template/friend4.C: Likewise.
* g++.old-deja/g++.pt/crash67.C: Likewise.
* gcc.c-torture/execute/20000801-4.c: Likewise.
* gcc.dg/c90-digraph-1.c: Likewise.
* gcc.dg/c94-digraph-1.c: Likewise.
* gcc.dg/c99-digraph-1.c: Likewise.
* gcc.dg/cpp/line5.c: Likewise.
* gcc.dg/cpp/multiline.c: Likewise.
* gcc.dg/cpp/trad/literals-1.c: Likewise.
* gcc.dg/format/attr-3.c: Likewise.
* gcc.dg/format/c90-scanf-3.c: Likewise.
* gcc.dg/format/ext-4.c: Likewise.
2002-09-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/pretty1.C: New test.
2002-09-14 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/execute/struct-cpy-1.c: New test.
2002-09-13 Matt Austern <austern@apple.com>
* testsuite/g++.dg/other/constref[12].C: New, regression tests for
passing a cast expression to a function by const reference.
2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/deduce1.C: New test.
2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/simd-1.c: Force all use of int to
32-bit int.
2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gcc.dg/struct-ret-1.c: Add prototype for exit function and correct
usage.
2002-09-10 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/compile/20020910-1.c: New test.
2002-09-10 Frank Ch. Eigler <fche@redhat.com>
* gcc.c-torture/execute/20010915-1.c: Correct typo in abort call.
2002-09-10 Andreas Jaeger <aj@suse.de>
* gcc.dg/20020312-2.c: Adjust for x86-64.
2002-09-08 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.dg/7388.f: New test case for PR 7388.
2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
* gcc.dg/compare2.c: Remove xfail from cases 10 and 12.
2002-09-05 Ziemowit Laski <zlaski@apple.com>
* objc.dg/proto-lossage-1.m: New test.
2002-09-06 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/_Pragma4.c: Fix typo.
2002-09-06 Nicola Pero <n.pero@mi.flashnet.it>
* objc/execute/formal_protocol-6.x: Removed. This testcase is now
expected to pass.
2002-09-06 Stan Shebs <shebs@apple.com>
David Edelsohn <edelsohn@gnu.org>
* gcc.dg/weak: New directory.
* gcc.dg/weak-[1-9].c: Move to new directory, remove all
target-specific xfail bits.
* gcc.dg/typeof-2.c: Move to new directory.
* gcc.dg/weak.exp: New expect script.
2002-09-06 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/execute/extzvsi.c: New test.
2002-09-05 Stan Shebs <shebs@apple.com>
* gcc.dg/weak-1.c: xfail on Darwin.
* gcc.dg/weak-2.c: Ditto.
* gcc.dg/weak-3.c: Ditto.
* gcc.dg/weak-4.c: Ditto.
* gcc.dg/weak-5.c: Ditto.
* gcc.dg/weak-6.c: Ditto.
* gcc.dg/weak-7.c: Ditto.
* gcc.dg/weak-8.c: Ditto.
* gcc.dg/weak-9.c: Ditto.
2002-09-05 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/loop-14.c: New test.
2002-09-04 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/cxa-atexit1.C: New test.
* gcc.dg/typeof-2.c: New test.
2002-09-03 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-2.c: New testcase.
* gcc.dg/builtins-3.c: New testcase.
2002-09-03 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/_Pragma4.c: New test.
2002-09-03 Nicola Pero <n.pero@mi.flashnet.it>
2002-09-03 12:27:36 +02:00
* objc/execute/nil_method-1.m: New testcase.
2002-09-01 Nicola Pero <n.pero@mi.flashnet.it>
* objc/execute/class-tests-1.h (test_class_with_superclass): Call
[Object class], not [Object initialize].
2002-08-31 Roger Sayle <roger@eyesopen.com>
Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/execute/20020720-1.x: Skip test on
mmix-knuth-mmixware. Correct comment.
2002-08-27 Mark Mitchell <mark@codesourcery.com>
* testsuite/g++.dg/abi/bitfield5.C: New test.
* testsuite/g++.dg/abi/vbase10.C: Likewise.
2002-08-27 Nicola Pero <n.pero@mi.flashnet.it>
* objc.dg/undeclared-selector.m: New test.
2002-08-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/offsetof1.C: Avoid cast warning.
2002-08-26 Ziemowit Laski <zlaski@apple.com>
* objc.dg/super-class-2.m: New test.
2002-08-24 Matt Austern <austern@apple.com>
* g++.dg/ext/lvaddr.C: New test.
* g++.dg/ext/lvcast.C: New test.
2002-08-22 Mark Mitchell <mark@codesourcery.com>
* testsuite/g++.dg/inherit/cond1.C: New test.
2002-08-22 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/noncompile/incomplete-1.c: New test.
2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/typespec-1.c: New test.
2002-08-20 Devang Patel <dpatel@apple.com>
* objc.dg/proto-hier-2.m: New test.
2002-08-19 Ziemowit Laski <zlaski@apple.com>
* objc.dg/bitfield-1.m: New test.
* objc.dg/bitfield-2.m: New test.
2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c90-flex-array-1.c, gcc.dg/c99-flex-array-3.c,
gcc.dg/c99-flex-array-4.c: New tests.
2002-08-16 Stan Shebs <shebs@apple.com>
* objc/execute/selector-1.m: Add __NEXT_RUNTIME__ case.
2002-08-15 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/typeof-1.c: New test.
* g++.dg/ext/typeof2.C: New test.
2002-08-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/offsetof1.C: New test.
2002-08-14 Richard Henderson <rth@redhat.com>
* gcc.dg/tls/diag-3.c: Fix expected message strings.
2002-08-14 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/_Pragma3.c: New test.
2002-08-13 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/inherit3: New test.
2002-08-10 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/bitfld-4.c: Add blank options.
2002-08-09 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/crash1.C: New test.
2002-08-08 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/tls/opt-2.c: New test.
2002-08-08 Devang Patel <dpatel@apple.com>
* objc.dg/selector-1.m : New test
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/bitfield4.C: New test.
* gcc.dg/bitfld-4.c: New test.
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/packed1.C: New test.
Rework build_component_ref. * call.c (build_vfield_ref): Do not go through build_component_ref. (build_field_call): Use build_class_member_access_expr. (build_user_type_conversion_1): Use BASELINK_FUNCTIONS. (build_object_call): Likewise. * class.c (convert_to_base): New function. (type_requires_array_cookie): Use BASELINK_FUNCTIONS. (instantiate_type): Handle BASELINKs. * cp-tree.def (BASELINK): New tree code. * cp-tree.h (BASELINK_P): Reimplement. (SET_BASELINK_P): Remove. (BASELINK_BINFO): Reimplement. (BASELINK_FUNCTIONS): Likewise. (BASELINK_ACCESS_BINFO): Likewise. (BASELINK_OPTYPE): Likewise. (convert_to_base): New function. (name_p): Likewise. (build_object_ref): Remove. (build_component_ref_1): Likewise. (build_component_ref): Likewise. (build_x_component_ref): Likewise. (build_class_member_access_expr): New function. (finish_class_member_access_expr): Likewise. (build_ptrmemfunc_access_expr): Likewise. * decl.c (grokdeclarator): Handle BASELINKs. * decl2. (build_expr_from_tree): Handle COMPONENT_REFs by using finish_class_member_access_expr. (arg_assoc): Handle BASELINKs. (do_class_using_decl): Likewise. * error.c (dump_decl): Likewise. (dump_expr): Use build_ptrmemfunc_access_expr. * except.c (dtor_nothrow): Use CLASSTYPE_DESTRUCTORS to find destructors. (build_throw): Use BASELINK_FUNCTIONS. * init.c (perform_member_init): Use build_class_member_access_expr. (build_offset_ref): Handle BASELINKs. Use build_class_member_access_expr. * method.c (hack_identifier): Likewise. * parse.y (do_id): Use BASELINK, not TREE_LIST. (primary): Remove uses of build_object_ref. * pt.c (lookup_template_function): Handle BASELINKs. (resolve_overloaded_unification): Likewise. * search.c (build_baselink): Build a BASELINK, not a TREE_LIST. (lookup_field): Use BASELINK, not TREE_LIST. (lookup_fnfiels): Likewise. (setup_class_bindings): Likewise. * semantics.c (finish_object_call_expr): Do not use build_method_call when we already know what function is being called. * spew.c (identifier_type): Use BASELINK, not TREE_LIST. * tree.c (really_overloaded_fn): Use OVL_CHAIN for OVERLOADs, not TREE_CHAIN. (name_p): New function. * typeck.c (build_object_ref): Remove. (build_component_ref_1): Likewise. (build_x_component_ref): Likewise. (build_class_member_access_expr): New function. (finish_class_member_access_expr): Likewise. (build_ptrmemfunc_access_expr): Likewise. (get_member_function_from_ptrfunc): Use build_ptrmemfunc_access_expr. (build_binary_op): Likewise. (build_unary_op): Likewise. (build_ptrmemfunc): Likewise. (pfn_from_ptrmemfunc): Likewise. * typeck2.c (build_m_component_ref): Adjust comment. * g++.dg/abi/offsetof.C: Tweak error messages. * g++.old-deja/g++.mike/p10769a.C: Likewise. From-SVN: r56117
2002-08-08 07:48:39 +02:00
2002-08-07 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/offsetof.C: Tweak error messages.
* g++.old-deja/g++.mike/p10769a.C: Likewise.
2002-08-08 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/bitfld-3.c: New test.
2002-08-07 Jakub Jelinek <jakub@redhat.com>
Richard Henderson <rth@redhat.com>
* gcc.dg/i386-bitfield1.c: New test.
* g++.dg/abi/bitfield3.C: Update.
2002-08-07 Neil Booth <neil@daikokuya.co.uk>
* objc.dg/const-str-2.m: Update.
* gcc.dg/cpp/c++98.c: Change to C extension.
* gcc.dg/cpp/c++98-pedantic.c: Similarly.
* gcc.dg/cpp/cpp.exp: Process .C extensions too.
2002-08-06 Aldy Hernandez <aldyh@redhat.com>
* testsuite/gcc.dg/tls/diag-3.c: New.
2002-08-07 Gabriel Dos Reis <gdr@nerim.net>
* g++.dg/README (Subdirectories): Document new subdir expr.
* g++.dg/expr/pmf-1.C: New test.
2002-08-06 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/vararg3.c, gcc.dg/cpp/vararg4.c: New tests.
2002-08-06 Jakub Jelinek <jakub@redhat.com>
* g++.dg/abi/bitfield3.C: New test.
2002-08-05 Nathan Sidwell <nathan@codesourcery.com>
* lib/gcov.exp: Tweak expected line formats.
* gcc.misc-tests/gcov8.c: New test.
* gcc.misc-tests/gcov8.x: New flags.
2002-08-05 Jakub Jelinek <jakub@redhat.com>
* consistency.vlad/layout/endian.c: Include string.h.
* gcc.c-torture/execute/20020805-1.c: New test.
2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
* g++.dg/other/conversion1.C: New test.
2002-08-03 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-1.c: New testcase.
2002-08-02 Mark Mitchell <mark@codesourcery.com>
* g++.dg/inherit/access3.C: New test.
2002-08-01 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/ia64-visibility-2.c: New test.
2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
* g++.old-deja/g++.abi/ptrflags.C (expect): Change
__qualifier_flags to __flags.
call.c (build_field_call): Do not look up the field by name. * call.c (build_field_call): Do not look up the field by name. (build_method_call): Simplify. (struct z_candidate): Add access_path and conversion_path. Remove basetype_path. (convert_class_to_reference): Adjust use of add_function_candidate. (add_candidate): Add conversion_path argument. (add_function_candidate): Use it. (add_conv_dndidate): Likewise. (build_builtin_candidate): Likewise. (add_template_candidate_real): Add conversion_path argument. (add_template_conv_candidate): Likewise. (add_template_candidate): Likewise. (build_user_type_conversion_1): Use it. (build_new_function_call): Remove name lookup code. Adjust use of add_template_candidate and add_function_candidate. (build_new_op): Likewise. (convert_like_real): Use build_special_member_call. (build_over_call): Use cand->conversion_path. (build_special_member_call): New method. (build_new_method_call): Remove name lookup code. * cp-tree.def (OFFSET_REF): Update documentation. (TEMPLATE_ID_EXPR): Likewise. * cp-tree.h (BASELINK_ACCESS_BINFO): New macro. (BASELINK_OPTYPE): Likewise. (build_new_method_call): Adjust prototype. (build_special_member_call): New method. (build_baselink): New method. (build_offset_ref_call_from_tree): Likewise. (build_call_from_tree): Likewise. (finish_qualified_call_expr): Remove. (finish_call_expr): Adjust prototype. (build_x_function_call): Remove. * cvt.c (ocp_convert): Use build_special_member_call. * decl2.c (reparse_absdcl_as_expr): Use finish_call_expr. (build_expr_from_tree): Adjust handling for TEMPLATE_ID_EXPR and CALL_EXPR. (build_offset_ref_call_from_tree): New function. (build_call_from_tree): Likewise. * init.c (expand_cleanup): Use build_special_member_call. (expand_default_init): Likewise. (build_member_call): Use finish_call_expr. (build_new_1): Use build_special_member_call. (push_base_cleanups): Likewise. * method.c (do_build_assign_ref): Likewise. * parse.y (template_id): Do not pass a COMPONENT_REF to lookup_template_function. (primary): Use parse_finish_call_epxr, not finish_call_expr. (parse_finish_call_expr): New function. * pt.c (lookup_template_function): Add assertions. * search.c (lookup_base): Allow T to be a binfo. (build_baselink): New function. (lookup_member): Use it. * semantics.c (finish_call_expr): Do not do name lookup. (finish_object_call_expr): Remove #if 0'd code. (finish_qualified_call_expr): Remove. * typeck.c (build_x_function_call): Remove. (build_static_case): Use build_special_member_call. * typeck2.c (build_functional_cast): Likewise. * g++.dg/inherit/operator1.C: New test. * g++.dg/lookup/disamb1.C: Fix typo in comment. * g++.dg/other/error1.C: Change expected error message. * g++.dg/template/conv4.C: Likewise. From-SVN: r55920
2002-08-01 06:46:23 +02:00
2002-07-31 Mark Mitchell <mark@codesourcery.com>
* g++.dg/inherit/operator1.C: New test.
* g++.dg/lookup/disamb1.C: Fix typo in comment.
* g++.dg/other/error1.C: Change expected error message.
* g++.dg/template/conv4.C: Likewise.
call.c (build_field_call): Do not look up the field by name. * call.c (build_field_call): Do not look up the field by name. (build_method_call): Simplify. (struct z_candidate): Add access_path and conversion_path. Remove basetype_path. (convert_class_to_reference): Adjust use of add_function_candidate. (add_candidate): Add conversion_path argument. (add_function_candidate): Use it. (add_conv_dndidate): Likewise. (build_builtin_candidate): Likewise. (add_template_candidate_real): Add conversion_path argument. (add_template_conv_candidate): Likewise. (add_template_candidate): Likewise. (build_user_type_conversion_1): Use it. (build_new_function_call): Remove name lookup code. Adjust use of add_template_candidate and add_function_candidate. (build_new_op): Likewise. (convert_like_real): Use build_special_member_call. (build_over_call): Use cand->conversion_path. (build_special_member_call): New method. (build_new_method_call): Remove name lookup code. * cp-tree.def (OFFSET_REF): Update documentation. (TEMPLATE_ID_EXPR): Likewise. * cp-tree.h (BASELINK_ACCESS_BINFO): New macro. (BASELINK_OPTYPE): Likewise. (build_new_method_call): Adjust prototype. (build_special_member_call): New method. (build_baselink): New method. (build_offset_ref_call_from_tree): Likewise. (build_call_from_tree): Likewise. (finish_qualified_call_expr): Remove. (finish_call_expr): Adjust prototype. (build_x_function_call): Remove. * cvt.c (ocp_convert): Use build_special_member_call. * decl2.c (reparse_absdcl_as_expr): Use finish_call_expr. (build_expr_from_tree): Adjust handling for TEMPLATE_ID_EXPR and CALL_EXPR. (build_offset_ref_call_from_tree): New function. (build_call_from_tree): Likewise. * init.c (expand_cleanup): Use build_special_member_call. (expand_default_init): Likewise. (build_member_call): Use finish_call_expr. (build_new_1): Use build_special_member_call. (push_base_cleanups): Likewise. * method.c (do_build_assign_ref): Likewise. * parse.y (template_id): Do not pass a COMPONENT_REF to lookup_template_function. (primary): Use parse_finish_call_epxr, not finish_call_expr. (parse_finish_call_expr): New function. * pt.c (lookup_template_function): Add assertions. * search.c (lookup_base): Allow T to be a binfo. (build_baselink): New function. (lookup_member): Use it. * semantics.c (finish_call_expr): Do not do name lookup. (finish_object_call_expr): Remove #if 0'd code. (finish_qualified_call_expr): Remove. * typeck.c (build_x_function_call): Remove. (build_static_case): Use build_special_member_call. * typeck2.c (build_functional_cast): Likewise. * g++.dg/inherit/operator1.C: New test. * g++.dg/lookup/disamb1.C: Fix typo in comment. * g++.dg/other/error1.C: Change expected error message. * g++.dg/template/conv4.C: Likewise. From-SVN: r55920
2002-08-01 06:46:23 +02:00
2002-07-26 Neil Booth <neil@daikokuya.cop.uk>
* gcc.dg/cpp/trad/Wunused.c, gcc.dg/cpp/Wunused.c: Add test
for documented behavior.
2002-07-25 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.x: Skip this test on
several targets known to fail.
invoke.texi: Document -mabi=meabi, and expand on the EABI description. * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI description. Document -mips32, -mips64, and the associated -march values. Describe the "mipsN" arguments to -march. Say that the -mipsN options are equivalent to -march. Reword the description of default type sizes. * toplev.h (target_flags_explicit): Declare. * toplev.c (target_flags_explicit): New var. (set_target_switch): Update target_flags_explicit. * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine. * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine. * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3. * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine. * config/mips/mips.h (mips_cpu_info): New struct. (mips_cpu_string, mips_explicit_type_size_string): Remove. (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare. (MIPS_CPP_SET_PROCESSOR): New macro. (TARGET_CPP_BUILTINS): Declare a macro for each supported processor. Define _MIPS_ARCH and _MIPS_TUNE. (MIPS_ISA_DEFAULT): Don't provide a default value. Instead... (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor MIPS_ISA_DEFAULT were already defined. (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT. (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size. (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New. (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules. (ABI_GAS_ASM_SPEC): Remove. (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros. (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64. Invoke %(asm_abi_default_spec) if no ABI was specified. (CC1_SPEC): Remove ISA -> register-size rules. (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec. * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars. (mips_cpu_string, mips_explicit_type_size_string): Remove. (mips_cpu_info_table): New array. (mips_set_architecture, mips_set_tune): New fns. (override_options): Rework to make -mipsN equivalent to -march. Detect more erroneous cases, including those removed from CC1_SPEC. Don't change the ABI based on architecture, or vice versa. Unify logic with GAS. (mips_asm_file_start): Get architecture name from mips_arch_info. (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. (mips_parse_cpu): Take the name of the option as argument. Handle 'from-abi'. Raise an error if the option is wrong. (mips_cpu_info_from_isa): New fn. [gcc/testsuite] * gcc.dg/mips-args-[123].c: New tests. From-SVN: r55747
2002-07-25 12:16:00 +02:00
2002-07-25 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/mips-args-[123].c: New tests.
2002-07-24 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/ppc-spe.c: New.
2002-07-24 Geoffrey Keating <geoffk@redhat.com>
* g++.dg/other/ptrmem4.C: New testcase.
2002-07-24 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/loop-2e.c: Rewrite for 64 bit and no mmap.
2002-07-24 Gabriel Dos Reis <gdr@nerim.net>
* g++.dg/ext/alignof1.C (main): Return 0 for success.
2002-07-24 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/memset-3.c: New testcase.
2002-07-24 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/Wunused.c, gcc.dg/cpp/trad/Wunused.h,
gcc.dg/cpp/Wunused.c, gcc.dg/cpp/Wunused.h: New tests.
2002-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/va-arg-15.x, va-arg-16.x, va-arg-17.x:
Delete.
2002-07-23 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/compile/simd-4.c: New test.
2002-07-22 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/7347, c++/7348
* g++.dg/template/access4.C: New test.
* g++.dg/template/access5.C: New test.
* g++.old-deja/g++.pt/memtemp85.C: Fix access problem.
* g++.old-deja/g++.pt/memtemp86.C: Likewise.
* g++.old-deja/g++.pt/ttp58.C: Likewise.
* g++.old-deja/g++.pt/memtemp89.C: Remove XFAIL.
2002-07-22 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-2.c: New test.
2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
* gcc.dg/c90-arraydecl-1.c: Change C89 too C90.
2002-07-20 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.c: New testcase.
2002-07-20 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/Wsignprom.c: New tests.
2002-07-20 02:33:49 +02:00
2002-07-20 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/execute/loop-13.c: New test.
2002-07-19 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/expr.c: New tests.
2002 07-18 David Edelsohn <edelsohn@gnu.org>
* g++.dg/opt/pr6713.C: Add template instantiation.
2002-07-18 05:41:04 +02:00
2002-07-18 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/nest.c: New test.
2002-07-17 Richard Henderson <rth@redhat.com>
* g++.dg/opt/pr6713.C: New test.
2002-07-18 05:41:04 +02:00
2002-07-17 Eric Botcazou <ebotcazou@multimania.com>
* gcc.c-torture/execute/loop-2e.x: Let the testcase
XFAIL for all x86 processors.
2002-07-17 Ian Dall <ian@sibyl.beware.dropbear.id.au>
* gcc.c-torture/execute/20010122-1.x: Do not test with
-fomit-frame-pointer.
2002-07-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/instantiate2.C: New test.
* g++.dg/template/spec4.C: New test.
2002-07-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/access2.C: New test.
* g++.dg/template/access3.C: New test.
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
2002-07-15 Zack Weinberg <zack@codesourcery.com>
* c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c,
c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c,
c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c,
c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c:
Convert to use <stdarg.h>.
* c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x:
Delete.
* gcc.dg/va-arg-2.c: New.
* lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS.
2002-07-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020710-1.c: New test.
2002-07-11 J"orn Rennecke <joern.rennecke@superh.com>
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
Andrew Pinski <pinskia@physics.uc.edu>
gcc.c-torture/compile/simd-2.c: New testcase.
gcc.c-torture/compile/simd-3.c: Likewise.
2002-07-11 Mark Mitchell <mark@codesourcery.com>
PR c++/7224
* g++.dg/overload/error1.C: New test.
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gcc.misc-tests/linkage.exp: Handle mips-sgi-irix6*o32
configuration and IRIX 6 O32 ABI.
2002-07-11 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/builtin-noret-1.c: Test non-ANSI functions.
2002-07-10 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20000217-1.c: Fix usage of "abort".
2002-07-10 Jeffrey A Law <law@redhat.com>
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* gcc.c-torture/compile/930326-1.x: Remove. No longer needed.
2002-07-09 Aldy Hernandez <aldyh@redhat.com>
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* gcc.dg/20020312-2.c: Check for __PPC__.
2002-07-09 Diego Novillo <dnovillo@redhat.com>
* gcc.c-torture/compile/20020709-1.c: New test.
2002-07-07 Roger Sayle <roger@eyesopen.com>
* g++.dg/template/qualttp21.C: New test case.
2002-07-06 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/compile/20020706-1.c: New test.
* gcc.c-torture/compile/20020706-2.c: New test.
2002-07-06 Brian R. Gaeke <brg@dgate.ORG>
Alexandre Oliva <aoliva@redhat.com>
* g++.dg/warn/incomplete1.C: New test.
2002-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR c++/7099
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* g++.dg/warn/noreturn1.C: New test.
2002-07-03 Mark Mitchell <mark@codesourcery.com>
PR c++/6706
* g++.dg/debug/debug6.C: New test.
* g++.dg/debug/debug7.C: New test.
2002-07-04 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/compile/simd-3.c: New test.
2002-07-03 Chris Demetriou <cgd@broadcom.com>
* g++.dg/abi/mangle6.C: Run for mipsisa64*-*-* targets.
* gcc.dg/20020620-1.c: Likewise.
2002-07-03 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/6944
* g++.dg/init/array4.C: New test.
* g++.dg/init/array5.C: New test.
2002-07-03 J"orn Rennecke <joern.rennecke@superh.com>
2002-07-03 11:49:46 +02:00
* gcc.c-torture/execute/simd-1.c (main): Also test &, |, ^, ~.
* gcc.c-torture/execute/simd-2.c (main): Likewise.
2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cpp/tr-warn2.c: Use traditional C style function definitions.
* gcc.dg/wtr-aggr-init-1.c: Likewise.
* gcc.dg/wtr-conversion-1.c: Likewise.
* gcc.dg/wtr-escape-1.c: Likewise.
* gcc.dg/wtr-int-type-1.c: Likewise.
* gcc.dg/wtr-label-1.c: Likewise.
* gcc.dg/wtr-static-1.c: Likewise.
* gcc.dg/wtr-strcat-1.c: Likewise.
* gcc.dg/wtr-suffix-1.c: Likewise.
* gcc.dg/wtr-switch-1.c: Likewise.
* gcc.dg/wtr-unary-plus-1.c: Likewise.
* gcc.dg/wtr-union-init-1.c: Likewise.
* gcc.dg/wtr-union-init-2.c: Likewise.
* gcc.dg/wtr-union-init-3.c: Likewise.
* gcc.dg/wtr-func-def-1.c: New test.
2002-07-02 Devang Patel <dpatel@apple.com>
* objc.dg/param-1.m: New test.
2002-07-03 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/directive.c: Add test.
* gcc.dg/cpp/trad/macroargs.c: Add test.
* gcc.dg/cpp/trad/recurse-3.c: Add tests.
2002-07-03 00:03:40 +02:00
2002-07-02 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/cmdlne-M.c: New test.
2002-07-02 Ziemowit Laski <zlaski@apple.com>
* objc.dg/desig-init-1.m: New test.
2002-07-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/6716
* g++.dg/template/instantiate1.C: New test.
2002-07-01 Mark Mitchell <mark@codesourcery.com>
PR c++/7112
* g++.dg/template/sizeof2.C: New test.
2002-07-01 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/cmdlne-dD.c, gcc.dg/cpp/trad/cmdlne-dM.c,
gcc.dg/cpp/trad/include.c: New tests.
2002-07-01 Hans-Peter Nilsson <hp@axis.com>
PR target/7177
* gcc.c-torture/compile/20020701-1.c: New test.
2002-07-01 Stan Shebs <shebs@apple.com>
* lib/objc.exp (objc_target_compile): Add the -I path to ObjC
header here...
* lib/objc-torture.exp (objc-torture-compile): ...instead of here
(objc-torture-execute): or here.
2002-07-01 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/arith-rand-ll.c: New test.
2002-07-01 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/escaped-nl.c: New test.
2002-06-30 Devang Patel <dpatel@apple.com>
* objc.dg/fsyntax-only.m: New test.
2002-06-27 Mark Mitchell <mark@codesourcery.com>
PR c++/6695
* g++.dg/template/friend7.C: New file.
2002-06-27 Aldy Hernandez <aldyh@redhat.com>
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in
return type.
2002-06-27 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/simd-2.c (i, j): Add initializer elements to
avoid division by zero.
2002-06-27 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/Wunknownprag.c: New tests.
2002-06-25 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/simd-2.c: New test.
2002-06-25 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/mi7.c, gcc.dg/cpp/mi7a.h, gcc.dg/cpp/mi7b.h,
gcc.dg/cpp/trad/builtins.c, gcc.dg/cpp/trad/builtins.h,
gcc.dg/cpp/trad/cmdlne-C.c, gcc.dg/cpp/trad/cmdlne-C2.c,
gcc.dg/cpp/trad/maccom1.c, gcc.dg/cpp/trad/maccom2.c,
gcc.dg/cpp/trad/maccom3.c, gcc.dg/cpp/trad/maccom4.c,
gcc.dg/cpp/trad/maccom6.c, gcc.dg/cpp/trad/mi1.c,
gcc.dg/cpp/trad/mi1c.h, gcc.dg/cpp/trad/mi1nd.h,
gcc.dg/cpp/trad/mi1ndp.h, gcc.dg/cpp/trad/mi1x.h,
gcc.dg/cpp/trad/mi2.c, gcc.dg/cpp/trad/mi2a.h,
gcc.dg/cpp/trad/mi2b.h, gcc.dg/cpp/trad/mi2c.h
gcc.dg/cpp/trad/mi3.c, gcc.dg/cpp/trad/mi3.def,
gcc.dg/cpp/trad/mi3.h, gcc.dg/cpp/trad/mi4.c,
gcc.dg/cpp/trad/mi5.c, gcc.dg/cpp/trad/mi6.c,
gcc.dg/cpp/trad/mi6a.h, gcc.dg/cpp/trad/mi6b.h,
gcc.dg/cpp/trad/mi6c.h, gcc.dg/cpp/trad/mi6d.h,
gcc.dg/cpp/trad/mi6e.h, gcc.dg/cpp/trad/mi7.c,
gcc.dg/cpp/trad/mi7a.h, gcc.dg/cpp/trad/mi7b.h: New tests.
2002-06-24 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/assembler.S,
gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/funlike-4.c,
gcc.dg/cpp/trad/null-drctv.c, gcc.dg/cpp/trad/recurse-1.c,
gcc.dg/cpp/trad/recurse-2.c, gcc.dg/cpp/trad/recurse-3.c:
New tests.
* gcc.dg/cpp/trad/directive.c: Update.
2002-06-23 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/complex-6.c: New.
2002-06-22 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/comment-2.c. gcc.dg/cpp/trad/funlike-2.c,
gcc.dg/cpp/trad/funlike.c, gcc.dg/cpp/trad/funlike-3.c,
gcc.dg/cpp/trad/literals-1.c, gcc.dg/cpp/trad/literals-2.c,
gcc.dg/cpp/trad/macroargs.c, gcc.dg/cpp/trad/quote.c: New tests.
2002-06-21 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad: New directory with traditional tests copied
from parent directory.
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c,
gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c,
gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c,
gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c:
Move to trad/ and rename.
* gcc.dg/cpp/trad/__STDC__.c, gcc.dg/cpp/trad/comment.c,
gcc.dg/cpp/trad/escaped-eof.c, gcc.dg/cpp/trad/redef1.c,
gcc.dg/cpp/trad/redef2.c: New tests.
* gcc.dg/cpp/trad/trad.exp: New driver.
2002-06-20 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c,
gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c,
gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c,
gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c:
Remove.
2002-06-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/20020620-1.c: New test.
2002-06-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/ttp4.C: New test.
2002-06-19 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/vt1.C: Fix regexp.
2002-06-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/pure-1.c: Make functions static again.
Don't use attribute `noinline'.
2002-06-18 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20020615-1.c: Fix typo in comment.
2002-06-18 Aldy Hernandez <aldyh@redhat.com>
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* gcc.c-torture/execute/simd-1.c: New.
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* gcc.dg/simd-1.c: New.
2002-06-18 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20020615-1.c: Correct bug-description.
2002-06-16 Richard Henderson <rth@redhat.com>
* g++.dg/ext/anon-struct1.C: New.
* g++.dg/ext/anon-struct2.C: New.
* g++.dg/ext/anon-struct3.C: New.
* gcc.dg/anon-struct-1.c: New.
* gcc.dg/anon-struct-2.c: New.
* gcc.dg/anon-struct-3.c: New.
* gcc.dg/20011008-1.c: Adjust warning text.
* gcc.dg/20020527-1.c: Add -fms-extensions.
2002-06-16 Richard Henderson <rth@redhat.com>
* gcc.dg/20020531-1.c: Add LL specifier to avoid warning.
2002-06-15 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20020615-1.c: New test.
2002-06-15 Roger Sayle <roger@eyesopen.com>
* gcc.c-tortuture/execute/compare-1.c: New test case.
* gcc.c-tortuture/execute/compare-2.c: New test case.
* gcc.c-tortuture/execute/compare-3.c: New test case.
2002-06-13 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.abi/vtable2.C (INC_VDATA): New. Define for
ia64 ilp32.
2002-06-12 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/typename2.C: Update error message.
2002-06-12 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20020611-1.c: New test.
2002-06-11 Bob Wilson <bob.wilson@acm.org>
* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
list of targets to skip.
2002-06-10 Bob Wilson <bob.wilson@acm.org>
* gcc.c-torture/compile/20001226-1.x: Only xfail for Xtensa
targets if not optimizing.
2002-06-10 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020605-1.c: New test.
* g++.dg/opt/vt1.C: New test.
* gcc.dg/20020531-1.c: New test.
* gcc.dg/20020530-1.c: New test.
* gcc.dg/20020527-1.c: New test.
* g++.dg/opt/cse1.C: New test.
2002-06-07 Roger Sayle <roger@eyesopen.com>
* gcc.dg/20020607-2.c: New test case.
2002-06-07 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020604-1.c: New test.
2002-06-04 Richard Henderson <rth@redhat.com>
* gcc.dg/alpha-base-1.c: Add ext/ins/msk/umulh cases.
* gcc.dg/alpha-max-1.c, gcc.dg/alpha-max-2.c: Use -mcpu=ev67.
* gcc.dg/alpha-cix-1.c, gcc.dg/alpha-cix-2.c: New.
2002-06-04 Aldy Hernandez <aldyh@redhat.com>
varargs.h: Replace with stub which issues #error. * ginclude/varargs.h: Replace with stub which issues #error. * ginclude/stdarg.h: __builtin_stdarg_start is renamed __builtin_va_start. * builtins.def (BUILT_IN_VARARGS_START): Delete. (BUILT_IN_VA_START): New. * builtins.c (expand_builtin_va_start): Eliminate first argument and code to implement pre-ISO varargs. (std_expand_builtin_va_start): Ignore first argument; it is always 1. (expand_builtin): Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * function.c (assign_parms): Delete hide_last_arg and all its uses. (mark_varargs): Delete function. * function.h (struct function): Delete 'varargs' bit. (current_function_varargs): Delete macro. * tree.h: Don't declare mark_varargs. * c-decl.c (c_function_varargs, c_mark_varargs): Delete. (c_expand_body): Don't call mark_varargs. * c-objc-common.c: Handle BUILT_IN_VA_START and BUILT_IN_STDARG_START identically. Delete BUILT_IN_VARARGS_START case. * c-tree.h: Don't declare c_mark_varargs. * c-parse.in: Remove grammar rules for '&...' (which has been commented out since before 2.7.2) and for '...' in K+R argument declarations. * builtins.c, function.c, integrate.c, sibcall.c, config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h, config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c, config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c, config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.c: Delete all references to current_function_varargs, and code predicated on that flag. * config/alpha/alpha.c (alpha_va_start), config/arc/arc.c (arc_va_start), config/i386/i386.c (ix86_va_start), config/mips/mips.c (mips_va_start), config/mn10300/mn10300.c (mn10300_va_start), config/rs6000/rs6000.c (rs6000_va_start), config/s390/s390.c (s390_va_start), config/sh/sh.c (sh_va_start), Ignore first argument; it is always 1. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: Delete m68hc11_va_start. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h: No need to define EXPAND_BUILTIN_VA_START. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Remove references to GCC-provided <varargs.h>. testsuite: * c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c, c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c, c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c, c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c: Convert to use <stdarg.h>. * c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x: Delete. * gcc.dg/va-arg-2.c: New. * lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS. From-SVN: r55472
2002-07-16 04:16:47 +02:00
* gcc.dg/altivec-2.c: Remove test for invalid vector type V2DF.
2002-06-04 06:06:38 +02:00
2002-06-03 Richard Henderson <rth@redhat.com>
* gcc.dg/alpha-base-1.c, gcc.dg/alpha-base-2.c: New.
* gcc.dg/alpha-max-1.c, gcc.dg/alpha-max-2.c: New.
2002-06-02 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/pure-1.c: Don't mark any of the
test functions static.
2002-06-02 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/loop-3c.x: Remove, the test should pass
now.
2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-suffix-1.c,
gcc.dg/cpp/paste4.c, gcc.dg/cpp/sysmac2.c:
Update for mofified diagnostics.
* gcc.dg/c99-intconst-1.c: No longer fail.
2002-06-02 Richard Henderson <rth@redhat.com>
* gcc.dg/uninit-A.c: Remove xfail markers.
2002-06-01 Roger Sayle <roger@eyesopen.com>
* gcc.dg/fnegate-1.c: New test case.
2002-05-30 Osku Salerma <osku@iki.fi>
* gcc.c-torture/execute/mayalias-1.c: New file.
2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/c++98-pedantic.c, gcc.dg/cpp/c89-pedantic.c,
gcc.dg/cpp/c94-pedantic.c, gcc.dg/cpp/gnuc89-pedantic.c,
gcc.dg/cpp/if-1.c: Update for modified diagnostics.
2002-05-29 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20020529-1.c: New test.
2002-05-27 Richard Henderson <rth@redhat.com>
* g++.dg/ext/attrib6.C: New test case.
2002-05-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/pure-1.c: New test.
2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/arith-2.c: Remove.
2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/arith-2.c, gcc.dg/cpp/arith-3.c: New tests.
* gcc.dg/cpp/if-3.c: Remove.
2002-05-26 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/cse2.C: New test.
2002-05-26 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/arith-1.c: New semantic tests.
* gcc.dg/cpp/if-1.c: Update.
2002-05-24 Ben Elliston <bje@redhat.com>
* lib/c-torture.exp (c-torture-execute): Handle multiple sources.
2002-05-24 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/verbose-asm.c: New test.
2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/paste12.c: New test.
2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
* g++.dg/parse/named_ops.C: New test.
2002-05-23 Mark Mitchell <mark@codesourcery.com>
* gcc/testsuite/gcc.dg/weak-8.c: New test.
2002-05-23 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/weak-2.c: Allow optional leading underscore
in scan-assembler symbol name.
* gcc.dg/weak-3.c: Likewise.
* gcc.dg/weak-4.c: Likewise.
* gcc.dg/weak-5.c: Likewise.
2002-05-23 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020523-1.c: New test.
2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
* objc.dg/const-str-2.m: Update now that we stop after
a command line error.
2002-05-22 Richard Henderson <rth@redhat.com>
* g++.dg/dg.exp: Fix typo in test pruneing.
2002-05-22 Richard Henderson <rth@redhat.com>
* g++.dg/dg.exp: Prune the tls subdirectory.
* g++.dg/tls/tls.exp, g++.dg/tls/trivial.C: New.
* g++.dg/tls/diag-1.C, g++.dg/tls/diag-2.C: New.
* g++.dg/tls/init-1.C: New.
2002-05-22 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020517-1.c: New test.
2002-05-21 Richard Henderson <rth@redhat.com>
* gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
gcc.dg/tls/diag-2.c, gcc.dg/tls/init-1.c: New directory and files.
2002-05-21 Brian R. Gaeke <brg@dgate.ORG>
* g++.dg/other/copy2.C: New test.
2002-05-20 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.c-torture/execute/memcpy-2.c (SEQUENCE_LENGTH): Define.
(MAX_COPY): Bump up to 10 times sizeof (long long).
(main): Use a pattern of SEQUENCE_LENGTH different characters to copy.
* gcc.c-torture/execute/memset-1.c (MAX_COPY): Bump up to 10 times
sizeof (long long).
* gcc.c-torture/execute/strcpy-1.c: New test.
2002-05-19 Jason Merrill <jason2redhat.com>
* g++.dg/ext/oper1.C: New test.
2002-05-20 David Billinghurst <David.Billinghurst@riotinto.com>
2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
* README.QMTEST: New file.
* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
2002-05-19 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
now.
* gcc.c-torture/execute/loop-2d.x: Likewise.
2002-05-19 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-2.c: xfail warnings for platforms that don't
support weak symbols.
* gcc.dg/weak-4.c: Likewise
* gcc.dg/weak-6.c: Likewise
2002-05-16 David.Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-3.c: Add dg-excess-error comment for
cygwin, coff and h8300-*-hms targets
* gcc.dg/weak-5.c: Likewise
* gcc.dg/weak-7.c: Likewise
2002-05-16 Jason Merrill <jason@redhat.com>
* lib/scanasm.exp (scan-assembler): Use upvar, not uplevel.
(scan-assembler-not, scan-assembler-dem): Likewise.
(scan-assembler-dem-not): Likewise.
2002-05-15 Richard Henderson <rth@redhat.com>
* gcc.dg/weak-5.c (vfoo1c, vfoo1g): Warn here.
2002-05-15 Richard Henderson <rth@redhat.com>
* gcc.dg/weak-5.c (vfoo1c): No warning here.
(vfoo1f): Warning here.
(vfoo1l): Don't redefine the alias.
2002-05-14 Jason Merrill <jason@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
* g++.dg/init/pm1.C: New test.
2002-05-12 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/conversion.c (ldnear): Use long double
types.
2002-05-10 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020510-1.c: New test case.
2002-05-10 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/conversion.c: Test long double too.
2002-05-09 Jakub Jelinek <jakub@redhat.com>
* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
* lib/g++.exp (g++_link_flags): Likewise.
* lib/objc.exp (objc_target_compile): Likewise.
2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/poison.c: Update.
* gcc.dg/cpp/20000625-2.c: Remove.
* gcc.dg/cpp/direct2s.c: Remove final test.
2002-05-08 Tom Rix <trix@redhat.com>
* gcc.c-torture/execute/20020508-1.c: New test.
* gcc.c-torture/execute/20020508-2.c: New test.
* gcc.c-torture/execute/20020508-3.c: New test.
2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/charconst-4.c: More tests.
2002-05-08 Mark Mitchell <mark@codesourcery.com>
PR c/6569
* gcc.dg/weak-3.c: Update location of warning messages.
* gcc.dg/weak-5.c: Likewise.
2002-05-06 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020506-1.c: New test case.
2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/charconst-3.c: Correct tests accordingly.
2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/charconst-3.c: Run, don't compile.
2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/charconst-3.c: New test.
2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/charconst.c: Update tests.
2002-05-05 Tim Josling <tej@melbpc.org.au>
* treelang: Added directory for new sample language treelang. Also
lib/treelang.exp: New file to signal treelang should be tested.
2002-05-03 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/cmdlne-dM-M.c: New test.
* gcc.dg/cpp/cmdlne-dD-M.c: New test.
* gcc.dg/cpp/cmdlne-dN-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.h: New aux file.
* gcc.dg/cpp/cmdlne-dD-dM.c: New test.
* gcc.dg/cpp/cmdlne-dM-dD.c: New test.
2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format/xopen-2.c: New test.
2002-05-03 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020503-1.c: New test.
2002-05-02 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/dtor1.C: Make it tougher.
2002-05-01 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/dtor1.C: New test.
2002-05-02 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-8.c: New.
2002-05-01 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-7.c: New.
2002-04-29 Jakub Jelinek <jakub@redhat.com>
* g++.dg/parse/typedef1.C: New test.
2002-04-29 Mark Mitchell <mark@codesourcery.com>
PR c++/6486
* g++.dg/template/friend6.C: New test.
PR c++/6492
* g++.dg/init/copy1.C: New test.
2002-04-29 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/warn/effc1.C: New test.
2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/if-cexp.c: Add a test.
2002-04-28 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020426-2.c: New test.
2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/if-mop.c: Update.
* gcc.dg/cpp/if-mpar.c: Add test.
* gcc.dg/cpp/if-oppr.c: Update.
2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR c/6343
* gcc.dg/weak-[2-7].c: New tests.
2002-04-26 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/enum1.c: New test.
2002-04-26 Mark Mitchell <mark@codesourcery.com>
PR c++/6497
* g++.dg/inherit/access2.C: New test.
2002-04-26 Mark Mitchell <mark@codesourcery.com>
PR bootstrap/6445
* gcc.dg/20020426-1.c: New test.
2002-04-26 Alexandre Oliva <aoliva@redhat.com>
* g++.dg/abi/enum1.C: New test.
2002-04-26 Richard Henderson <rth@redhat.com>
* gcc.dg/c99-bool-1.c: Expect always true warning.
2002-04-25 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-memset-1.c: New test case for PR target/6456.
2002-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
targets.
2002-04-24 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/mange7.C: New test.
PR c++/6438.
* g++.dg/parse/stmtexpr2.C: New test.
2002-04-24 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/20020312-2.c: Add SH target.
2002-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/compile/labels-3.x: New file, don't assemble the
compiler output on mips*-*-irix*.
2002-04-23 Jakub Jelinek <jakub@redhat.com>
* g++.dg/parse/attr1.C: New test.
2002-04-23 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/string-opt-17.c: New test case.
* gcc.c-torture/execute/memset-2.c: New test case.
2002-04-23 Mark Mitchell <mark@codesourcery.com>
PR c++/6256:
* g++.dg/template/friend5.C: New test.
PR c++/6331:
* g++.dg/template/qual1.C: Likewise.
2002-04-22 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/980707-1.c: Don't use isspace().
Include stdlib.h, not stdio.h or ctype.h.
2002-04-22 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
cris-*-elf* and mmix-*-*.
* g77.f-torture/execute/io0.x: xfail for cris-*-elf.
* g77.f-torture/execute/io1.x, g77.f-torture/execute/20001201.x,
g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x:
Ditto.
* gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
* gcc.dg/wchar_t-1.c: Ditto.
2002-04-21 Hans-Peter Nilsson <hp@axis.com>
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
Clarify comment.
2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests.
2002-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20000906-1.x: Delete.
2002-04-20 David.Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-in.f: Restore missing { dg-do run }
2002-04-19 Toon Moene <toon@moene.indiv.nluug.nl>
* PR6367
* g77.f-torture/execute/6367.f: New test.
* g77.f-torture/execute/6367.x: Disable for MMIX.
2002-04-19 Mark Mitchell <mark@codesourcery.com>
* PR6352
* g++.dg/opt/inline2.C: New test.
2002-04-18 Richard Henderson <rth@redhat.com>
* gcc.dg/20000906-1.c: Enable for all targets.
* gcc.c-torture/compile/iftrap-2.c: New.
2002-04-18 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020418-1.c: New test.
* gcc.dg/20020418-2.c: New test.
2002-04-18 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/iftrap-1.c: New.
* gcc.dg/iftrap-1.c: Adjust for ia64.
* gcc.dg/iftrap-2.c: New.
2002-04-18 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020418-1.c: New test.
2002-04-18 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/compile/20020415-1.c: New.
2002-04-18 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/20020418-1.c: New test.
2002-04-17 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020416-1.c: New test.
* g++.dg/opt/inline1.C: New test.
2002-04-16 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/altivec-5.c: New test.
* gcc.dg/20020415-1.c: New test.
2002-04-15 Mark Mitchell <mark@codesourcery.com>
* testsuite/lib/chill.exp: Remove.
2002-04-14 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/big-struct.C: New test.
2002-04-14 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-in.f: Use internal buffer in place
of scratch file.
2002-04-13 David Billinghurst <David.Billinghurst@riotinto.com>
PR c/6277
* gcc.dg/i386-387-1.c: Allow optional leading underscore
in scan-assembler function name
2002-04-13 Hans-Peter Nilsson <hp@bitrange.com>
* g77.f-torture/execute/980628-4.x,
g77.f-torture/execute/980628-5.x,
g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
g77.f-torture/compile/alpha1.x: xfail powerpc-*-* hosted on
i[34567]86-*-*.
2002-04-13 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/20020413-1.c: New test.
2002-04-13 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/asm-6.c,
* g++.dg/ext/asm1.C: New tests.
2002-04-12 Mark Mitchell <mark@codesourcery.com>
PR c++ 5373.
* g++.dg/parse/stmtexpr1.C: New test.
PR c++/5189.
* g++.dg/template/copy1.C: New test.
2002-04-12 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.
2002-04-12 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/execute/20020412-1.c: New file, renamed from
gcc.c-torture/execute/20020307-2.c.
2002-04-12 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/ext/attrib5.C,
* g++.dg/lookup/struct1.C: New tests.
2002-04-11 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020411-1.c: New test.
* gcc.c-torture/execute/20020411-1.c: New test.
2002-04-10 Janis Johnson <janis187@us.ibm.com>
* g77.f-torture/execute/6177.f: New test.
2002-04-10 Jakub Jelinek <jakub@redhat.com>
PR middle-end/6247
* g++.dg/opt/cleanup1.C: New test.
* g++.dg/opt/const1.C: New test.
2002-04-10 Lars Brinkhoff <lars@nocrew.org>
* gcc.c-torture/execute/20020406-1.c: Declare malloc.
2002-04-10 Nathan Sidwell <nathan@codesourcery.com>
PR c++/5507
* g++.dg/template/typename2.C: New test.
2002-04-10 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/execute/loop-12.c: New.
2002-04-08 Hans-Peter Nilsson <hp@bitrange.com>
* g77.f-torture/execute/980628-4.x,
g77.f-torture/execute/980628-5.x,
g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
g77.f-torture/compile/alpha1.x: New, xfail cross-endian tests.
2002-04-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR optimization/6086
* g++.dg/opt/preinc1.C: New test.
2002-04-06 Mark Mitchell <mark@codesourcery.com>
PR c++/5571
* g++.dg/opt/static2.C: New test.
2002-04-06 Mark Mitchell <mark@codesourcery.com>
PR c/5120
* gcc.dg/20020406-1.c: New test.
2002-04-04 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/20020404-1.c: New test.
2002-04-04 Jakub Jelinek <jakub@redhat.com>
PR c/6123
* gcc.dg/20020312-2.c: Do not declare global register variable
if __PIC__ or __pic__ is defined.
2002-04-04 Richard Earnshaw <rearnsha@arm.com>
* gcc.dg/arm-asm.c: Run this test on ARM chips, not SPARC. Use
__asm__ so that it works correctly even if -ansi -pedantic-errors.
2002-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.misc-tests/linkage.exp: Update last change to handle
sparc*-, not just sparc-.
2002-04-03 Richard Henderson <rth@redhat.com>
* gcc.dg/cpp/ucs.c: Improved long UCS test.
2002-04-03 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/wchar_t-1.c, gcc.dg/wchar_t-1.c: Fix typo last change.
2002-04-02 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/20020402-3.c: New test.
2002-04-03 Hans-Peter Nilsson <hp@bitrange.com>
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
* g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto.
* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
g77.f-torture/execute/20001201.x,
g77.f-torture/execute/u77-test.x: New files.
* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
* gcc.dg/wchar_t-1.c: Ditto.
2002-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20020402-1.c: New test.
2002-04-01 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/920625-1.x: XFAIL -O1.
* g++.dg/other/new1.C: Use __SIZE_TYPE__.
2002-04-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
2002-04-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* g++.dg/inherit/template-as-base.C: Expect error.
* g++.dg/inherit/namespace-as-base.C: Likewise.
2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
* g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C,
g++.dg/ext/instantiate3.C: Tweak match patterns.
* g++.old-deja/g++.pt/static11.C: Skip on mmix-knuth-mmixware.
* g++.dg/other/static11.C: Copy g++.old-deja/g++.pt/static11.C for
-da test.
2002-03-31 Richard Henderson <rth@redhat.com>
* gcc.dg/special/alias-2.c: New.
* gcc.dg/special/ecos.exp: Run it.
2002-03-31 Richard Henderson <rth@redhat.com>
* gcc.dg/va-arg-1.c: Expect warnings, not errors.
2002-03-31 Kazu Hirata <kazu@hxi.com>
* gcc.dg/weak-1.c: Disable on h8300 port.
2002-03-29 Janis Johnson <janis187@us.ibm.com>
* g++.dg/dg.exp: Ignore tests in new directories bprob and gcov.
* g++.dg/bprob/bprob.exp: New driver for profile-directed branch
ordering tests.
* g++.dg/bprob/bprob-1.C: New test.
* g++.dg/gcov/gcov.exp: New driver for gcov tests.
* g++.dg/gcov/gcov-1.C: New test.
* g++.dg/gcov/gcov-1.x: New file.
* g++.dg/gcov/gcov-2.C: New test.
* g++.dg/gcov/gcov-3.C: New test.
* g++.dg/gcov/gcov-3.h: New file.
re PR c++/5998 (regression, all builtins disabled) * include/c_std/std_cmath.h: To prevent problems overloading g++ builtins, use the double variants from the global namespace before defining float and long double variants in std::. PR c++/5998: * decl.c (cxx_init_decl_processing): Re-enable built-in functions in the g++ front-end. (duplicate_decl): Allow redefinition of anticipated built-ins. Fix inlining problem by over-writing the old DECL_RTL. (lookup_namespace_name): Fail to find an identifier in the specified namespace if its still anticipated. (builtin_function_1): New function split out from builtin_function to create a builtin in the current namespace with given context. (builtin_function): Call builtin_function_1 to define the appropriate builtins in both the std and global namespaces. (select_decl): Don't test for anticipated decls here. (unqualified_namespace_lookup): Instead ignore them whilst searching through scopes and namespaces. * decl2.c (do_nonmember_using_decl): If a using declaration specifies an anticipated built-in function, mark it as no longer anticipated in that scope. (ambiguous_decl): Avoid resolving to an anticipated decl. * lex.c (do_scoped_id): Fail to find an identifier in the global namespace if its still anticipated. * g++.old-deja/g++.other/builtins5.C: New test. * g++.old-deja/g++.other/builtins6.C: New test. * g++.old-deja/g++.other/builtins7.C: New test. * g++.old-deja/g++.other/builtins8.C: New test. * g++.old-deja/g++.other/builtins9.C: New test. From-SVN: r51568
2002-03-29 21:41:53 +01:00
2002-03-28 Roger Sayle <roger@eyesopen.com>
* g++.old-deja/g++.other/builtins5.C: New test.
* g++.old-deja/g++.other/builtins6.C: New test.
* g++.old-deja/g++.other/builtins7.C: New test.
* g++.old-deja/g++.other/builtins8.C: New test.
* g++.old-deja/g++.other/builtins9.C: New test.
2002-03-29 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/static1.C: New test.
* g++.dg/opt/longbranch1.C: New test.
2002-03-28 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/weak-1.c: Fix typo in scan-assembler pattern.
* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.
2002-03-28 Jeffrey A Law (law@redhat.com)
* gcc.c-torture/execute/20020328-1.c: New test.
2002-03-27 Richard Henderson <rth@redhat.com>
* g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors.
* g++.dg/ext/instantiate2.C, g++.dg/ext/instantiate3.C: Likewise;
move from g++.old-deja/g++.ext/.
2002-03-27 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/new2.C: New test.
2002-03-26 Richard Henderson <rth@redhat.com>
* gcc.dg/pragma-re-2.c: Avoid empty source file warning.
* gcc.dg/20020312-2.c: Don't test epilogue vs global register
on sparc.
* gcc.dg/20001101-1.c: Add -mcpu=ultrasparc. Only run on
sparcv9 systems.
* gcc.dg/20001102-1.c: Likewise.
2002-03-26 Phil Edwards <pme@gcc.gnu.org>
* gcc.dg/cpp/endif-pedantic1.c,
gcc.dg/cpp/endif-pedantic2.c: New tests.
2002-03-26 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/new1.C: New test.
2002-03-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/vbase9.C: New test.
2002-03-26 Richard Earnshaw <rearnsha@arm.com>
* gcc.dg/arm-asm.c: New test.
2002-03-26 Andrew Cagney <ac131313@redhat.com>
* gcc.dg/Wswitch-enum.c: New test.
Fix PR c/5044.
2002-03-26 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20020307-2.c (main): Pass a variable sized
structure.
2002-03-25 Richard Henderson <rth@redhat.com>
* gcc.dg/20001013-1.c: Add -mcpu=ultrasparc. Only run on
sparcv9 systems.
* gcc.c-torture/compile/20011119-1.c (xxx): New.
* gcc.c-torture/compile/20011119-2.c (xxx): New.
2002-03-25 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/c90-hexfloat-1.c: Adjust error regexps.
2002-03-25 Bob Wilson <bob.wilson@acm.org>
* g++.old-deja/g++.jason/thunk3.C: Add xtensa-*-* to list of
targets using generic thunk support.
2002-03-25 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020323-1.c: New test.
* g++.dg/opt/conj2.C: New test.
2002-03-24 Richard Henderson <rth@redhat.com>
* gcc.dg/weak-1.c: Use -fno-common.
2002-03-25 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-apostrophe-out.f: New test
* g77.dg/f77-edit-h-out.f: New test
* g77.dg/f77-edit-t-in.f: New test
* g77.dg/f77-edit-t-out.f: New test
* g77.dg/f77-edit-x-out.f: New test
* g77.dg/f77-edit-slash-out.f: New test
* g77.dg/f77-edit-colon-out.f: New test
* g77.dg/f77-edit-s-out.f: New test
2002-03-24 Richard Henderson <rth@redhat.com>
* objc/execute/formal_protocol-6.x: New XFAIL.
2002-03-25 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-1.c: Early return from dg-final on platforms
that do not support weak symbols
2002-03-25 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/g++.exp: Fix handling of LD_LIBRARY_PATH et al
* lib/g77.exp: Likewise
* lib/objc.exp: Likewise
2002-03-23 Andrew Cagney <ac131313@redhat.com>
* gcc.dg/Wswitch-default.c: New test.
2002-03-23 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/enum1.C: New test.
2002-03-23 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/pragma-ep-3.c: Fix typo.
2002-03-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* g++.dg/inherit/template-as-base.C: New test.
2002-03-22 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/dwarf2-1.C: Move...
* g++.dg/debug/debug5.C: ...here. Convert for dg framework.
2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/multiline.c: Update to match.
2002-03-22 Alexandre Oliva <aoliva@redhat.com>
* g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.
2002-03-22 Phil Edwards <pme@gcc.gnu.org>
* gcc.dg/cpp/extratokens2.c: New file.
2002-03-21 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/20020312-2.c: Add rs6000 target.
* gcc.c-torture/compile/20020319-1.c: New test.
2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* g++.old-deja/g++.eh/ia64-1.C: Use [ijkl]_[0-9] as variable names.
(A, E): Handle this.
2002-03-20 Jason Merrill <jason@redhat.com>
* lib/prune.exp (prune_gcc_output): Ignore Cygwin warning about
ignoring -fpic.
* lib/old-dejagnu.exp (old-dejagnu): Also pass compiler output
through prune_gcc_output.
2002-03-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020320-1.c: New test.
2002-03-19 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020318-1.c: New test.
* gcc.dg/struct-by-value-1.c: New test.
2002-03-22 19:35:32 +01:00
* gcc.dg/20020319-1.c: New test.
2002-03-18 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/conj1.C: New test.
2002-03-17 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/qualttp20.C: Revert previous change.
* g++.dg/template/qualttp3.C: Likewise.
* g++.dg/template/qualttp4.C: Likewise
* g++.dg/template/qualttp5.C: Likewise
* g++.dg/template/qualttp6.C: Likewise
* g++.dg/template/qualttp7.C: Likewise
* g++.dg/template/qualttp8.C: Likewise
* g++.dg/template/recurse.C: Likewise.
2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/wchar-1.c: Update.
2002-03-16 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/conv1.C: New test.
* g++.dg/template/conv2.C: New test.
* g++.dg/template/conv3.C: New test.
* g++.dg/template/conv4.C: New test.
2002-03-15 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/qualttp20.C: Remove unnecessary error tags.
* g++.dg/template/qualttp3.C: Likewise.
* g++.dg/template/qualttp4.C: Likewise
* g++.dg/template/qualttp5.C: Likewise
* g++.dg/template/qualttp6.C: Likewise
* g++.dg/template/qualttp7.C: Likewise
* g++.dg/template/qualttp8.C: Likewise
* g++.dg/template/recurse.C: Likewise.
2002-03-15 Mark Mitchell <mark@codesourcery.com>
* g++.dg/opt/dtor1.C: New test.
2002-03-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020315-1.c: New test.
2002-03-15 Richard Earnshaw <rearnsha@arm.com>
* gcc.dg/weak-1.c: Fix scan tests.
2002-03-15 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.
* gcc.c-torture/compile/981006-1.x: Don't use -fpic on cris-*-elf*
cris-*-aout* mmix-*-*.
* g++.old-deja/g++.other/local-alloc1.C: Skip on cris-*-elf*
cris-*-aout* mmix-*-*.
* g++.dg/debug/debug3.C: Expect warning for unsupported -fpic on
cris-*-elf* cris-*-aout* and mmix-*-*.
* gcc.dg/20001009-1.c: Ditto.
* gcc.dg/20010912-1.c: Ditto.
* gcc.dg/20020122-4.c: Ditto.
* gcc.dg/inline-2.c: Ditto.
2002-03-14 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20020314-1.c: New test.
2002-03-14 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/execute/20020314-1.c: New test.
2002-03-14 Jakub Jelinek <jakub@redhat.com>
* g++.dg/warn/Wunused-1.C: New test.
2002-02-13 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/abi/mangle6.C: New test.
2002-03-13 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020309-2.c: New test.
* gcc.c-torture/compile/20020312-1.c: New test.
2002-03-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/access1.C: New test.
2002-03-12 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/wchar_t-1.c: New test.
2002-03-12 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/20020103-1.c: Add rs6000 target and macro.
2002-03-12 Roger Sayle <roger@eyesopen.com>
* gcc.dg/20020312-1.c: New test case.
2002-03-11 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-1.c: Cleanup and use altivec.h.
2002-03-11 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.brendan/crash52.C: Remove return warning marker.
* g++.old-deja/g++.jason/report.C: Likewise.
2002-03-11 Nathan Sidwell <nathan@codesourcery.com>
* testsuite/g++.old-deja/g++.other/friend9.C: Revert DR 209 changes.
* testsuite/g++.old-deja/g++.robertl/eb56.C: Likewise.
2002-03-11 Nathan Sidwell <nathan@codesourcery.com>
* testsuite/g++.dg/overload/pmf1.C: New test.
2002-03-11 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/execute/20020307-1.c: Use long.
2002-03-11 Jakub Jelinek <jakub@redhat.com>
PR optimization/5844
* gcc.dg/20020310-1.c: New test.
2002-03-09 Michael Meissner <meissner@redhat.com>
* gcc.c-torture/execute/memcpy-2.c: New test.
* gcc.c-torture/execute/memset-1.c: New test.
* gcc.c-torture/execute/strlen-1.c: New test.
* gcc.c-torture/execute/strcmp-1.c: New test.
* gcc.c-torture/execute/strncmp-1.c: New test.
2002-03-09 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/ppc-ldstruct.c: New test.
2002-03-09 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/va-arg-22.c: New test.
2002-03-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcc.c-torture/compile/20020309-1.c: New test.
2002-03-08 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020307-2.c: New test.
2002-03-07 Jeffrey A Law (law@redhat.com)
* g77.f-torture/compile/20020307-1.f: New test.
2002-03-07 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/unordered-1.c: New test.
2002-03-07 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/execute/20020307-1.c: New test.
2002-03-05 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020304-1.c: New test.
* gcc.c-torture/compile/20020304-2.c: New test.
2002-03-04 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/compile/20020304-1.c: New test case
(from PR c/5830).
2002-03-03 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020103-1.c: Add other -D ppc variants.
2002-03-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/classkey1.C: New test.
2002-03-01 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/981223-1.x: New.
* gcc.c-torture/compile/920625-1.x: New.
2002-02-28 Richard Henderson <rth@redhat.com>
* g++.dg/opt/vtgc1.C: Adjust patterns for ia64.
2002-02-27 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/execute/20020227-1.c: New test.
2002-02-27 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.law/visibility13.C: Remove "instantiated from
here" ERROR lines.
* g++.old-deja/g++.oliva/partord1.C: Likewise.
* g++.old-deja.g++.other/defarg1.C: Likewise.
* g++.old-deja/g++.pt/calls2.C: Likewise.
* g++.old-deja/g++.pt/crash20.C: Likewise.
* g++.old-deja/g++.pt/crash30.C: Likewise.
* g++.old-deja/g++.pt/crash36.C: Likewise.
* g++.old-deja/g++.pt/crash6.C: Likewise.
* g++.old-deja/g++.pt/defarg13.C: Likewise.
* g++.old-deja/g++.pt/derived3.C: Likewise.
* g++.old-deja/g++.pt/error1.C: Likewise.
* g++.old-deja/g++.pt/friend21.C: Likewise.
* g++.old-deja/g++.pt/friend23.C: Likewise.
* g++.old-deja/g++.pt/infinite1.C: Likewise.
* g++.old-deja/g++.robertl/eb128.C: Likewise.
2002-02-27 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/execute/20020225-2.c: New test.
c-common.c, [...]: Delete code implementing -traditional mode. * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, cppmacro.c, objc/lang-specs.h, objc/objc-act.c, builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, gcc.c, toplev.c: Delete code implementing -traditional mode. * ada/misc.c, ch/ch-tree.h, ch/decl.c, cp/decl2.c, f/com.c, f/lex.c, f/top.c, java/builtins.c, java/decl.c: Delete traditional-mode-related code copied from the C front end but not used, or used only to permit the compiler to link. * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, doc/invoke.texi, doc/standards.texi, doc/trouble.texi: Document removal of -traditional mode for compilation, and remove documentation only relevant to that mode. * config/nextstep.h, config/ptx4.h, config/svr4.h, config/convex/convex.h, config/d30v/d30v.h, config/i386/dgux.h, config/i386/osf1elf.h, config/i386/osfelf.h, config/i386/osfrose.h, config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, config/m68k/hp310.h, config/m88k/dgux.h, config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, config/m88k/m88k.h, config/m88k/openbsd.h, config/mips/abi64.h, config/mips/osfrose.h, config/mips/svr4-5.h, config/mips/svr4-t.h, config/sparc/sol2-sld-64.h, config/sparc/sol2.h, config/stormy16/stormy16.h: Remove all references to -traditional from target specs. Delete all mention of the no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also delete a couple of commented-out definitions of DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring to -traditional. * system.h: Poison TRADITIONAL_RETURN_FLOAT. * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. * testsuite/gcc.c-torture/execute/920730-1t.c, testsuite/gcc.c-torture/execute/920730-1t.x, testsuite/gcc.dg/ext-glob.c: Delete test cases, only relevant to -traditional. From-SVN: r50110
2002-02-27 19:48:07 +01:00
2002-02-27 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/920730-1t.c,
gcc.c-torture/execute/920730-1t.x, gcc.dg/ext-glob.c:
Delete test cases, only relevant to -traditional.
2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/undef1.c: Remove.
* gcc.dg/cpp/directiv.c: Update.
* gcc.dg/cpp/mac-dir-1.c, mac-dir-2.c: New tests.
2002-02-27 Michael Meissner <meissner@redhat.com>
* gcc.c-torture/execute/20020226-1.c: New test.
2002-02-26 Jakub Jelinek <jakub@redhat.com>
* g++.dg/debug/debug4.C: New test.
* gcc.dg/ia64-visibility-1.c: New test.
2002-02-26 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/debug/20020224-1.c: New.
2002-02-25 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/execute/960416-1.x: New.
* gcc.c-torture/execute/divconst-3.x: Likewise.
2002-02-25 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020224-1.c: New test.
2002-02-25 00:17:23 +01:00
2002-02-25 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/execute/20020225-1.c: New.
2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
* testsuite/gcc.dg/cpp/wchar-1.c: New test.
2002-02-23 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020222-1.c: New test.
2002-02-22 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/anonunion1.C: New test.
2002-02-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/qualttp19.C: New test.
* g++.dg/template/qualttp20.C: New test.
* g++.old-deja/g++.jason/report.C: Adjust expected errors
* g++.old-deja/g++.other/qual1.C: Likewise.
2002-02-22 01:22:33 +01:00
2002-02-21 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/attr-alwaysinline.c: New.
2002-02-22 01:22:33 +01:00
2002-02-21 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020220-1.c: New test.
* gcc.dg/20020220-2.c: New test.
* g++.dg/opt/mmx1.C: New test.
2002-02-20 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/compile/20020110.c: New test.
2002-02-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020219-1.c: New test.
* gcc.dg/20020219-1.c: New test.
* gcc.dg/noncompile/20020220-1.c: New test.
* g++.dg/opt/ptrintsum1.C: New test.
* gcc.dg/debug/20020220-1.c: New test.
2002-02-17 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020216-1.c: New test.
2002-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/decl-1.c: Update, new test.
2002-02-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/bitfield1.C: New test.
* g++.dg/abi/bitfield2.C: New test.
2002-02-15 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/attr-nest.c: New test.
2002-02-15 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20020215-1.c: New test.
2002-02-14 Jakub Jelinek <jakub@redhat.com>
* g++.dg/dg.exp: Exclude debug subdir, it has its own .exp.
* g++.dg/debug/debug.exp: New.
* g++.dg/debug/trivial.C: New.
* g++.dg/debug/debug1.C: Moved...
* g++.dg/other/debug1.C: ...from here.
* g++.dg/debug/debug2.C: Moved...
* g++.dg/other/debug2.C: ...from here.
* g++.dg/debug/debug3.C: Moved...
* g++.dg/other/debug3.C: ...from here.
* gcc.dg/noncompile/20020213-1.c: New test.
2002-02-13 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/debug3.C: New test.
* gcc.c-torture/execute/20020213-1.c: New test.
2002-02-13 Richard Smith <richard@ex-parrot.com>
* g++.old-deja/g++.other/thunk1.C: New test.
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
* g++.dg/warn/weak1.C: weak attributes not supported on cygwin
2002-02-13 Stan Shebs <shebs@apple.com>
* gcc.dg/altivec-3.c: New.
2002-02-12 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/Wunreachable-1.c: New test.
* gcc.dg/Wunreachable-2.c: New test.
2002-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-3.c: New tests.
2002-02-12 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/decl-1.c: New test.
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999
2002-02-10 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/compile/961203-1.x: Disable on h8300 port.
* gcc.c-torture/compile/980506-1.x: Likewise.
2002-02-10 Kazu Hirata <kazu@hxi.com>
* gcc.dg/20020210-1.c: New.
2002-02-09 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/947.f: New regression test
for PR fortran/947.
2002-02-09 Alexandre Oliva <aoliva@redhat.com>
* g++.old-deja/g++.abi/ptrmem.C: Lowest bit is significant on SH5.
* g++.old-deja/g++.jason/thunk3.C: XFAIL on sh64-*-*.
2002-02-08 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/labels-3.c: New.
2002-02-08 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020206-1.c: Test whether nesting 2
expression statements work instead.
* gcc.dg/noncompile/20020207-1.c: New test.
2002-02-07 Richard Henderson <rth@redhat.com>
* gcc.dg/debug/dwarf2-1.c (foo): Return a value.
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/prune.exp: Remove "In (program|subroutine"block-data)"
message from g77
* lib/g77-dg.exp: Trim g77 error messages so that they are
recognized by dg.exp.
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/5473
* g77.dg/pr5473.f: Now dg-error. Add additional cases.
2002-02-07 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory
to be sufficiently aligned for integers.
2002-02-07 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/friend4.C: New test.
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/5743
* g77.f-torture/execute/intrinsic-unix-bessel.f: Remove
unsupported cases.
2002-02-07 Richard Henderson <rth@redhat.com>
* gcc.dg/debug/dwarf2-1.c: Update for return warnings.
* gcc.dg/noncompile/920507-1.c, gcc.dg/noncompile/920721-2.c,
gcc.dg/noncompile/label-lineno-1.c, objc.dg/const-str-1.m,
objc.dg/const-str-2.m, objc.dg/method-1.m: Likewise.
2002-02-06 Richard Henderson <rth@redhat.com>
* gcc.dg/asm-4.c: Add case with an unnamed operand in the middle.
2002-02-06 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/20020206-1.c: New test.
2002-02-06 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020206-1.c: New test.
* gcc.c-torture/execute/20020206-2.c: New test.
PR optimization/5429:
* gcc.c-torture/compile/20020206-1.c: New test.
2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
* g++.dg/ext/align1.C: Do not use an explicit alignment value
as certain file formats cannot support particularly large
alignments.
* g++.dg/warn/weak1.C: Expect a warning from COFF toolchains,
and do not expect to be able to link the executable.
* g++.old-deja/g++.ext/attrib5.C: Expect the compilation to
fail because the COFF format does not support the weak attribute.
2002-02-05 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/pr5473.f: New test
2002-02-05 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: AltiVec builtin predicates changed format.
Fix testcase accordingly.
2002-02-04 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/built-in-setjmp.c: Prototype stuff.
(buf): Change to be an array of pointers, not ints.
2002-02-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/Wswitch.c: Fix typos. Don't return unconditionally
before all tests. Move warning one line above to match where it
C frontend emits.
* gcc.dg/Wswitch-2.c: New test.
* g++.dg/warn/Wswitch-1.C: New test.
* g++.dg/warn/Wswitch-2.C: New test.
2002-02-04 Richard Henderson <rth@redhat.com>
* g++.dg/abi/offsetof.C: Fix size comparison.
2002-02-04 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/cast-qual-2.c: New test.
2002-02-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020201-4.c: New test.
2002-02-04 Ben Elliston <bje@redhat.com>
* lib/gcc.exp (gcc_init): Check that the need_status_wrapper
target_info attribute != 0, in addition to the empty string.
(gcc_target_compile): Likewise.
2002-02-03 Andrew Cagney <ac131313@redhat.com>
* gcc.dg/Wswitch.c: New test.
PR gcc/4475. PR gcc/3780.
2002-02-03 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/5122.f: New test for regressions
against PR fortran/5122.
2002-02-03 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/compile/pr3743.f: Delete
* g77.dg/pr3743-1.f: New test.
* g77.dg/pr3743-2.f: New test.
* g77.dg/pr3743-3.f: New test.
* g77.dg/pr3743-4.f: New test.
2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/uchar-1.c, uchar-2.c, uchar-3.c: New tests.
2002-02-02 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/991118-1.c: Revert 2002-01-29 change.
* gcc.c-torture/execute/bf64-1.c: Likewise.
2002-02-02 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020201-2.c: New test.
* gcc.dg/20020201-3.c: New test.
* gcc.c-torture/execute/bitfld-2.c: New test.
2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/bitfld-1.c: Update.
* gcc.dg/bitfld-2.c: Update.
* gcc.c-torture/execute/bitfld-1.x: New.
2002-02-02 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020201-1.c: New test.
2002-02-01 Janis Johnson <janis187@us.ibm.com>
PR target/5469
* gcc.dg/20020201-1.c: New test.
2002-02-01 David.Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/3743
* g77.f-torture/execute/f90-intrinsic-bit.x: Remove
* g77.f-torture/compile/pr3743.x: Remove
2002-01-31 Tom Rix <trix@redhat.com>
* gcc.dg/special/ecos.exp: Make gcsec-1.c unsupported for AIX.
2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/noncompile/20020130-1.c: New test.
2002-01-30 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-out.f: Escape \. Allow \r\n and \r.
2002-01-29 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/991118-1.c: Cast various constants back
to long long.
* gcc.c-torture/execute/bf64-1.c: Likewise.
2002-01-29 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020129-1.c: New test.
2002-01-29 18:23:41 +01:00
2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.c-torture/compile/20000224-1.c: Update.
* gcc.c-torture/execute/bitfld-1.c: New tests.
* gcc.dg/bitfld-1.c, bitfld-2.c: Diagnostic tests.
* gcc.dg/uninit-A.c: Update.
2002-01-29 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/ctor1.C: Add instantiation.
2002-01-28 Paul Koning <pkoning@equallogic.com>
* gcc.c-torture/execute/builtin-prefetch-1.c: Changed first
argument to __builtin_prefetch to be const ptr.
2002-01-28 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020120-1.c: New test.
2002-01-27 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/execute/20020127-1.c: New test.
2002-01-27 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-in.f: New test
* g77.dg/f77-edit-i-out.f: New test
2002-01-25 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/debug/debug.exp: New file.
* gcc.dg/debug/trivial.c: New file.
* gcc.dg/debug/20000503-1.c: Moved from gcc.dg/.
* gcc.dg/debug/20010207-1.c: Moved from gcc.dg/.
* gcc.dg/debug/20011223-1.c: Moved from gcc.dg/.
* gcc.dg/debug/20020104-2.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-1.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-2.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-3.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-4.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-5.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-6.c: Moved from gcc.dg/.
* gcc.dg/debug/dwarf2-1.c: Moved from gcc.dg/.
* gcc.dg/debug/dwarf2-2.c: Moved from gcc.dg/.
* gcc.dg/20000503-1.c: Removed.
* gcc.dg/20010207-1.c: Removed.
* gcc.dg/20011223-1.c: Removed.
* gcc.dg/20020104-2.c: Removed.
* gcc.dg/debug-1.c: Removed.
* gcc.dg/debug-2.c: Removed.
* gcc.dg/debug-3.c: Removed.
* gcc.dg/debug-4.c: Removed.
* gcc.dg/debug-5.c: Removed.
* gcc.dg/debug-6.c: Removed.
* gcc.dg/dwarf2-1.c: Removed.
* gcc.dg/dwarf2-2.c: Removed.
2002-01-25 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/eh5.C: New test.
* g++.old-deja/g++.other/sibcall2.C: New test.
* g++.old-deja/g++.other/array9.C: New test.
* g++.old-deja/g++.other/typename2.C: New test.
* g++.old-deja/g++.other/crash60.C: New test.
* g++.old-deja/g++.other/conv9.C: New test.
* g++.old-deja/g++.other/mangle10.C: New test.
* g++.old-deja/g++.other/unchanging1.C: New test.
* g++.old-deja/g++.other/exprstmt1.C: New test.
* g++.old-deja/g++.other/inline23.C: New test.
* g++.old-deja/g++.eh/ia64-1.C: New test.
* g++.old-deja/g++.other/dwarf2-1.C: New test.
* g++.old-deja/g++.other/reload1.C: New test.
* g++.old-deja/g++.other/static20.C: New test.
* g++.old-deja/g++.other/local-alloc1.C: New test.
* g++.old-deja/g++.other/conv8.C: New test.
* g++.old-deja/g++.other/stmtexpr2.C: New test.
* g++.old-deja/g++.other/storeexpr1.C: New test.
* g++.old-deja/g++.other/storeexpr2.C: New test.
* g++.dg/eh/template2.C: New test.
* g++.dg/warn/weak1.C: New test.
2002-01-25 Hans-Peter Nilsson <hp@bitrange.com>
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not):
Remove first, non-varying, argument.
2002-01-23 Richard Henderson <rth@redhat.com>
* gcc.dg/inline-2.c: New.
* lib/scanasm.exp (scan-assembler): Remove optional vmessage arg.
Add optional target arg. Check number of arguments.
(scan-assembler-not, scan-assembler-dem): Likewise.
(scan-assembler-dem-not): Likewise.
2002-01-23 Zack Weinberg <zack@codesourcery.com>
* g++.old-deja/g++.brendan/crash8.C: Don't expect an error on
line 12.
* g++.old-deja/g++.brendan/parse3.C,
g++.old-deja/g++.other/crash26.C,
g++.old-deja/g++.other/crash28.C,
g++.old-deja/g++.other/crash29.C,
g++.old-deja/g++.other/crash30.C,
g++.old-deja/g++.other/crash35.C: Remove XFAILs where appropriate.
2002-01-23 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020115-1.c: New.
2002-01-23 Bob Wilson <bob.wilson@acm.org>
* gcc.c-torture/compile/20001226-1.x: xfail for Xtensa.
2002-01-23 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/20020122-3.c: New.
2002-01-23 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/gc1.C: New test.
2002-01-23 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/c99-intconst-1.c: Mark XFAIL.
2002-01-22 Richard Henderson <rth@redhat.com>
* gcc.dg/20020122-4.c: Use multiple outputs on the asm.
2002-01-22 Richard Henderson <rth@redhat.com>
* gcc.dg/20020122-4.c: New.
2002-01-22 H.J. Lu <hjl@gnu.org>
* g++.dg/special/ecos.exp: Append .exe instead of a.out as the
link output.
* gcc.dg/special/ecos.exp: Likewise.
* lib/g++-dg.exp: Likewise.
* lib/g77-dg.exp: Likewise.
* lib/gcc-dg.exp : Likewise.
* lib/mike-g++.exp: Likewise.
* lib/mike-g77.exp: Likewise.
* lib/mike-gcc.exp: Likewise.
* lib/objc-dg.exp: Likewise.
2002-01-22 Janis Johnson <janis187@us.ibm.com>
PR target/5379
* gcc.dg/20020122-2.c: New test.
2002-01-22 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/20020122-1.c: New test.
2001-01-22 David.Billinghurst <David.Billinghurst@riotinto.com>
* g++.old-deja/g++.ext/attrib5.C: XFAIL cygwin too
2002-01-22 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/20010207-1.c: Restrict to i?86-*-[eflno]*
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/compile/20020121-1.c: New test.
2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
ld_library_path.
2002-01-21 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020218-1.c: New test.
2002-01-21 David.Billinghurst <David.Billinghurst@riotinto.com>
* lib/prune.exp (prune_gcc_output): Prune "At global scope"
messages
* g++.dg/other/deprecated.C: Remove dg-bogus comment for
"At global scope" warning
* g++.dg/ext/align1.C: Change cygwin test for alignment
from db-bogus to dg-warning
2002-01-21 Zack Weinberg <zack@codesourcery.com>
* g77.f-torture/compile/cpp2.F: New test.
2002-01-19 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/access1.C: New test.
2002-01-18 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020118-1.c: New.
2002-01-18 Kazu Hirata <kazu@hxi.com>
* testsuite/gcc.c-torture/execute/20020118-1.c: New test.
2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
* g++.dg/other/deprecated.C: Fix FAIL from "At global scope" message.
* g++.dg/ext/align1.C: Fix fail on cygwin from maximum
alignment warnings.
2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.misc-tests/i386-prefetch.exp: Save and restore
torture_with_loops and torture_without_loops
2002-01-17 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020116-1.c: New test.
2002-01-16 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020116-2.c: New test.
* gcc.dg/ultrasp4.c: New test.
* gcc.dg/20020116-1.c: New test.
2002-01-15 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/20020103-1.c: Also test for __PPC__, since that's used
by EABI.
2002-01-15 Janis Johnson <janis187@us.ibm.com>
* gcc.misc-tests/i386-prefetch.exp: New.
* gcc.misc-tests/i386-pf-3dnow-1.c: New test.
* gcc.misc-tests/i386-pf-athlon-1.c: New test.
* gcc.misc-tests/i386-pf-none-1.c: New test.
* gcc.misc-tests/i386-pf-sse-1.c: New test.
2002-01-15 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-1.c: Add new tests.
2002-01-15 Andreas Jaeger <aj@suse.de>
* gcc.dg/i386-mmx-1.c: Also run on x86-64.
* gcc.dg/i386-mmx-2.c: Likewise.
* gcc.dg/i386-sse-1.c: Likewise.
* gcc.dg/i386-sse-2.c: Likewise.
* gcc.dg/i386-sse-3.c: Likewise.
2001-01-14 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/intrinsic-unix-bessel.f:
Uncomment additional cases that now pass.
2002-01-11 Richard Henderson <rth@redhat.com>
* gcc.dg/i386-mmx-1.c, gcc.dg/i386-mmx-2.c: New.
* gcc.dg/i386-sse-1.c, gcc.dg/i386-sse-2.c, gcc.dg/i386-sse-1.c: New.
2002-01-11 Nicola Pero <n.pero@mi.flashnet.it>
* objc.dg/special/unclaimed-category-1.m: Include objc/objc-api.h.
2002-01-10 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl,
lvx, stvx, stvebx, stvehx, stvewx, stvxl.
2002-01-10 Dale Johannesen <dalej@apple.com>
* gcc.c-torture/execute/loop-11.c: New.
2002-01-08 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: Add test for mtvscr, dssall, mfvscr,
dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2002-01-09 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20020108-1.c: Rewrite to choose the proper
type in which to perform the operation for each size.
2002-01-09 Alan Matsuoka (alanm@redhat.com)
* gcc.c-torture/compile/20020109-2.c: New test.
2002-01-09 Gwenole Beauchesne <bgeauchesne@mandrakesoft.com>
* gcc.c-torture/execute/loop-10.c: New test.
2002-01-09 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010226-1.c: New test.
* gcc.c-torture/compile/20010227-1.c: New test.
* gcc.c-torture/compile/20010426-1.c: New test.
* gcc.c-torture/compile/20010510-1.c: New test.
* gcc.c-torture/compile/20010605-3.c: New test.
* gcc.c-torture/compile/20010824-1.c: New test.
* gcc.c-torture/execute/20010409-1.c: New test.
* gcc.dg/noncompile/20000901-1.c: New test.
* gcc.dg/20001023-1.c: New test.
* gcc.dg/20001101-1.c: New test.
* gcc.dg/20001102-1.c: New test.
* gcc.dg/20010207-1.c: New test.
* gcc.dg/20010405-1.c: New test.
* gcc.dg/20010822-1.c: New test.
* gcc.dg/20011107-1.c: New test.
2002-01-09 Jeffrey A Law (law@redhat.com)
* gcc.dg/asm-fs-1.c: Disable warnings when compiling.
* gcc.c-torture/execute/strct-stdarg-1.x: New file. Expect
execution failure on PA targets.
2002-01-09 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020109-1.c: New test.
2002-01-08 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/execute/20020108-1.c: New test.
2002-01-08 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020108-1.c: New test.
2002-01-08 H.J. Lu <hjl@gnu.org>
* objc.dg/special/special.exp: Add -I${srcdir}/../../libobjc
for header files.
2002-01-08 Geoff Keating <geoffk@redhat.com>
* gcc.dg/altivec-4.c: Make the 'char' entries signed also for
consistency.
002-01-07 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: Test altivec predicates.
2002-01-07 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20020107-1.c: New test.
2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR c/5279
* gcc.c-torture/compile/20020106-1.c: New test.
2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/execute/nestfunc-4.c: New test.
2002-01-04 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.abi/aggregates.C: Corrected last patch: removed
extra triple that slipped in.
* g++.old-deja/g++.abi/align.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.
2002-01-04 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.abi/aggregates.C: Do not skip i?86-*-freebsd*.
* g++.old-deja/g++.abi/align.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.
* gcc.c-torture/execute/ieee/rbug.c: Force FP to extended-precision
on FreeBSD/i386.
* gcc.c-torture/execute/ieee/rbug.x: Remove all XFAIL markers for
FreeBSD.
2002-01-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020104-1.c: New test.
* gcc.dg/20020104-2.c: New test.
2002-01-04 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/20020103-1.c: Fix typo in target selector.
2002-01-03 Richard Henderson <rth@redhat.com>
* gcc.dg/20020103-1.c: New.
2002-01-03 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/execute/20020103-1.c: New test.
2002-01-03 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/debug2.C: New test.
* gcc.c-torture/compile/20020103-1.c: New test.
2002-01-02 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-1.c: Added new tests.
2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/friend2.C: Remove as patch is reverted.
* g++.dg/warn/oldcast1.C: New test.
* g++.dg/template/ptrmem1.C: New test.
* g++.dg/template/ptrmem2.C: New test.
* g++.dg/template/ntp.C: New test.
* g++.dg/other/component1.C: New test.
* g++.dg/template/ttp3.C: New test.
* g++.dg/template/friend2.C: New test.
* g++.old-deja/g++/brendan/crash8.C: Adjust location of error.
2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/ptrmem1.C: New test.
* g++.dg/other/ptrmem2.C: New test.
2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/ctor1.C: New test.
2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/friend2.C: New test.
2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/mmix-1.c: New test.
2001-12-31 Richard Henderson <rth@redhat.com>
* gcc.dg/asm-5.c: New.
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* g++.old-deja/g++.robertl/eb130.C: hash_set is now
in namespace __gnu_cxx
2001-12-30 Richard Henderson <rth@redhat.com>
* gcc.dg/debug-6.c: New.
2001-12-30 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011229-2.c: New test.
2001-12-29 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/debug-3.c: New test.
* gcc.dg/debug-4.c: New test.
* gcc.dg/debug-5.c: New test.
2001-12-29 Richard Henderson <rth@redhat.com>
* g++.dg/eh/loop1.C: New.
2001-12-29 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/crash1.C: New test.
2001-12-29 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/const1.C: New test.
2001-12-29 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/compile/20011229-1.c: New test.
2001-12-28 Stan Shebs <shebs@apple.com>
* lib/objc-torture.exp: Resync with c-torture.exp.
* lib/objc.exp: Load standard libraries.
2001-12-28 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-1.c: Adjust for the new behavior, add some
additional tests.
2001-12-27 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/string-opt-16.c: New testcase.
2001-12-27 Richard Henderson <rth@redhat.com>
* gcc.dg/debug-1.c, gcc.dg/debug-2.c: New.
2001-12-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/eh/ctor1.C: New test.
* g++.dg/other/error2.C: New test.
2001-12-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/init2.C: New test.
2001-12-24 Richard Henderson <rth@redhat.com>
* gcc.dg/20011223-1.c: New.
* gcc.dg/inline-1.c: New.
2001-12-23 Richard Henderson <rth@redhat.com>
* gcc.dg/asm-4.c: Test operand modifiers.
2001-12-23 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20011219-1.c (main): Make "i" a long.
2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/20011223-1.c: New test.
2001-12-21 Richard Henderson <rth@redhat.com>
* gcc.dg/wtr-aggr-init-1.c: Test that __extension__ disables then
re-enables the warning.
2001-12-21 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.eh/badalloc1.C (malloc): Fix typo.
2001-12-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011218-1.c: New test.
2001-12-20 Nick Clifton <nickc@cambridge.redhat.com>
* gcc.misc-test/arm-isr.exp: New file. Control running of the
arm-isr.c test.
* gcc.misc-tests/arm-isr.c: New file. Test prologue and
epilogue generation for ARM ISR routines.
2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/format/builtin-1.c: Test unlocked stdio.
* gcc.dg/format/c90-printf-3.c: Likewise.
* gcc.dg/format/c99-printf-3.c: Likewise.
* gcc.dg/format/ext-1.c: Likewise.
* gcc.dg/format/ext-6.c: Likewise.
* gcc.dg/format/format.h: Prototype unlocked stdio.
2001-12-20 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.eh/badalloc1.C (arena_size): New.
(arena): Use it.
(malloc): Correct allocation logic. Abort if we fill up the
arena before initialization complete.
(realloc): Correct allocation logic.
2001-12-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011219-2.c: New test.
* gcc.c-torture/execute/20011219-1.c: New test.
2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/special/ecos.exp: wkali-1.c unsupported if
target does not support weak symbols.
2001-12-19 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011219-1.c: New test.
2001-12-19 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/error1.C: New test.
2001-12-17 Jeffrey A Law (law@redhat.com)
* gcc.c-torture/execute/20011217-1.c: New test.
2001-12-17 Nicola Pero <nicola@brainstorm.co.uk>
* objc.dg/special/: New directory.
* objc.dg/special/special.exp: New file.
* objc.dg/special/unclaimed-category-1.h: New file.
* objc.dg/special/unclaimed-category-1a.m: New file.
* objc.dg/special/unclaimed-category-1.m: New file.
2001-12-17 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/compile/20011217-2.c: New test.
2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20011217-1.c: New test.
2001-12-14 Aldy Hernandez <aldyh@redhat.com>
* testsuite/gcc.dg/20011214-1.c: New.
2001-12-13 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: New.
2001-12-13 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/20011113-1.c: New test.
2001-12-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
* g++.old-deja/g++.jason/template31.C: Remove templates for classes
std::__malloc_alloc_template<0> and
std::__default_alloc_template<false, 0>.
2001-12-13 Nicola Pero <n.pero@mi.flashnet.it>
* objc/execute/bf-21.m: New test.
* objc/execute/enumeration-1.m: New test.
* objc/execute/enumeration-2.m: New test.
2001-12-12 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-1.c: New test.
2001-12-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.brendan/crash56.C: Adjust implicit typename.
* g++.old-deja/g++.jason/2371.C: Likewise.
* g++.old-deja/g++.jason/template33.C: Likewise.
* g++.old-deja/g++.jason/template34.C: Likewise.
* g++.old-deja/g++.jason/template36.C: Likewise.
* g++.old-deja/g++.oliva/typename1.C: Likewise.
* g++.old-deja/g++.oliva/typename2.C: Likewise.
* g++.old-deja/g++.other/typename1.C: Likewise.
* g++.old-deja/g++.pt/inherit2.C: Likewise.
* g++.old-deja/g++.pt/nontype5.C: Likewise.
* g++.old-deja/g++.pt/typename11.C: Likewise.
* g++.old-deja/g++.pt/typename14.C: Likewise.
* g++.old-deja/g++.pt/typename16.C: Likewise.
* g++.old-deja/g++.pt/typename3.C: Likewise.
* g++.old-deja/g++.pt/typename4.C: Likewise.
* g++.old-deja/g++.pt/typename5.C: Likewise.
* g++.old-deja/g++.pt/typename7.C: Likewise.
* g++.old-deja/g++.robertl/eb9.C: Likewise.
2001-12-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/linkage1.C: New test.
* g++.old-deja/g++.brendan/err-msg2.C: Alter to avoid two
specifiers.
2001-12-11 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/concat.c: New test.
2001-12-11 Stan Shebs <shebs@apple.com>
* objc/compile: New test directory.
* objc/compile/compile.exp: New expect script.
* objc/compile/20011211-1.m: New compile test.
2001-12-11 Jason Merrill <jason@redhat.com>
* lib/prune.exp (prune_gcc_output): Also handle "In member
function". So many permutations...
2001-12-10 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/typedef1.C: New test.
2001-12-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/copy1.C: New test.
2001-10-08 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/builtin-types-compatible-p.c: New.
* gcc.dg/builtin-choose-expr.c: New.
2001-12-07 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-2.c: New.
2001-12-07 Richard Henderson <rth@redhat.com>
* gcc.dg/cpp/ucs.c: Adjust expected warning for 64-bit hosts.
2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
* gcc.dg/sparc-ret.c: New file, test return corruption bug for
ultrasparc.
2001-12-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* g++-old.deja/g++.robertl/eb101.C: Deleted.
2001-12-06 Janis Johnson <janis187@us.ibm.com>
* gcc.c-torture/execute/builtin-prefetch-1.c: Add checks for
variable argument list.
2001-12-06 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/memcheck: Delete entire directory.
(files: blkarg.c blkarg.x driver.c driver.h t1.c t2.c t3.c
t4.c t5.c t6.c t7.c t8.c t9.c template memcheck.exp)
2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/Wshadow-1.c: New test.
2001-12-05 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011130-1.c: New test.
* gcc.dg/noncompile/20011025-1.c: New test.
* g++.dg/other/anon-union.C: New test.
* gcc.c-torture/execute/20011024-1.c: New test.
2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/20000722-1.x,
gcc.c-torture/execute/20010123-1.x: Remove.
* gcc.c-torture/compile/init-3.c: Don't use a compound literal.
* gcc.dg/c90-complit-1.c, gcc.dg/c99-complit-1.c,
gcc.dg/c99-complit-2.c: New tests.
2001-12-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/base1.C: New test.
2001-12-04 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/stdarg1.C: New test.
* gcc.c-torture/compile/20011130-2.c: New test.
2001-12-03 Janis Johnson <janis187@us.ibm.com>
* gcc.c-torture/execute/builtin-prefetch-1.c: New test.
* gcc.c-torture/execute/builtin-prefetch-2.c: New test.
* gcc.c-torture/execute/builtin-prefetch-3.c: New test.
* gcc.c-torture/execute/builtin-prefetch-4.c: New test.
* gcc.c-torture/execute/builtin-prefetch-5.c: New test.
* gcc.dg/builtin-prefetch-1.c: New test.
2001-12-03 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20011130-1.c: New test.
2001-12-03 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/scope1.C: New test.
* g++.dg/template/explicit-instantiation.C: Remove XFAIL
2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/vla-init-1.c: New test.
2001-12-01 Geoff Keating <geoffk@redhat.com>
* gcc.c-torture/compile/structs.c: New testcase from GDB.
c-decl.c (duplicate_decls, [...]): Remove leading capital from diagnostics. * c-decl.c (duplicate_decls, push_parm_decl): Remove leading capital from diagnostics. * c-lex.c (cb_file_change): Similarly. * c-parse.in : Similarly. * cfgrtl.c (verify_flow_info): Similarly. * collect2.c: Similarly. * cppfiles.c (find_include_file): Similarly. * cppinit.c (cpp_handle_option): Similarly. * cpplex.c (cpp_spell_token): Similarly. * cppmain.c (do_preprocessing): Similarly. * gcc.c (translate_options, process_command, do_spec1, main, pfatal_execute): Similarly. * genattr.c (main): Similarly. * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp, write_test_expr, main): Similarly. * gencodes.c (main): Similarly. * genconfig.c (main): Similarly. * genconstants.c (main): Similarly. * genemit.c (main): Similarly. * genextract.c (main): Similarly. * genflags.c (main): Similarly. * genopinit.c (main): Similarly. * genoutput.c (process_template, main): Similarly. * genpeep.c (main): Similarly. * genrecog.c (main): Similarly. * gensupport.c (is_predicable, identify_predicable_attribute, alter_predicate_for_insn, init_md_reader_args, main): Similarly. * ggc-page.c (alloc_anon): Similarly. * mips-tfile.c (add_string, add_procedure, add_file, read_line, parse_begin, parse_bend, parse_def, parse_end, parse_file, parse_stabs_common, parse_stabs, write_varray, write_object, read_seek, copy_object, main, error): Similarly. * profile.c (compute_branch_probabilities): Similarly. * reg-stack.c (check_asm_stack_operands): Similarly. * reload.c (find_reloads): Similarly. * reload1.c (spill_failure, failed_reload): Similarly. * rtl-error.c (_fatal_insn_not_found): Similarly. * toplev.c (read_integral_parameter, crash_signal, decode_f_option, set_target_switch, parse_options_and_default_flags) : Similarly. * tradcif.y (parse_number, yylex): Similarly. * tradcpp.c (main, fancy_abort): Similarly. * tree.c (tree_check_failed): Similarly. * varray.c (varray_check_failed): Similarly. * xcoffout.c (xcoff_output_standard_types): Similarly. cp: * call.c (build_java_interface_fn_ref): Similarly. * except.c (is_admissible_throw_operand): Similarly. * init.c (build_java_class_ref): Similarly. * xref.c (open_xref_file): Similarly. objc: * objc-act.c (get_object_ref, lookup_and_install_protocols, build_objc_string_object, objc_declare_alias, build_ivar_chain, finish_message_expr, build_protocol_expr, is_public, start_class): Similarly. testsuite: * objc.dg/alias.m: Update. * objc.dg/class-1.m: Update. * objc.dg/const-str-1.m: Update. * objc.dg/fwd-proto-1.m: Update. * objc.dg/id-1.m: Update. * objc.dg/super-class-1.m: Update. From-SVN: r47518
2001-12-02 01:04:36 +01:00
2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
* objc.dg/alias.m: Update.
* objc.dg/class-1.m: Update.
* objc.dg/const-str-1.m: Update.
* objc.dg/fwd-proto-1.m: Update.
* objc.dg/id-1.m: Update.
* objc.dg/super-class-1.m: Update.
2001-11-29 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
constructs.
2001-11-28 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20011128-1.c: New test.
2001-11-28 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/20011127-1.c: New test.
2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format/strfmon-1.c: Update comments. Adjust examples
from Austin Group draft 7.
* gcc.dg/format/xopen-1.c: Update comments. Add tests for gaps in
scanf format arguments.
* gcc.dg/format/no-exargs-2.c: New test.
re PR c++/3145 (virtual inheritance still creates wrong code) cp: PR g++/3145 * class.c (build_vbase_pointer): Remove. (build_vbase_path): Remove. (build_base_path): New function. * cp-tree.h (base_access, base_kind): New enumerations. (build_base_path): Declare. (convert_pointer_to_real): Remove. (convert_pointer_to): Remove. (lookup_base): Declare. (convert_pointer_to_vbase): Remove. * call.c (build_scoped_method_call): Use lookup_base & build_base_path instead of convert_pointer_to_real, get_base_distance & get_binfo. (build_over_call): Likewise. * cvt.c (cp_convert_to_pointer): Likewise. (convert_to_pointer_force): Likewise. (build_up_reference): Likewise. (convert_pointer_to_real): Remove. (convert_pointer_to): Remove. * init.c (dfs_initialize_vtbl_ptrs): Use build_base_path instead of convert_pointer_to_vbase & build_vbase_path. (emit_base_init): Use build_base_path instead of convert_pointer_to_real. (expand_virtual_init): Lose unrequired conversions. (resolve_offset_ref): Use lookup_base and build_base_path instead of convert_pointer_to. * rtti.c (build_dynamic_cast_1): Use lookup_base & build_base_path instead of get_base_distance & build_vbase_path. * search.c (get_vbase_1): Remove. (get_vbase): Remove. (convert_pointer_to_vbase): Remove. (lookup_base_recursive): New function. (lookup_base): New function. * typeck.c (require_complete_type): Use lookup_base & build_base_path instead of convert_pointer_to. (build_component_ref): Likewise. (build_x_function_call): Likewise. (get_member_function_from_ptrfunc): Likewise. (build_component_addr): Likewise. * typeck2.c (build_scoped_ref): Likewise. testsuite: * g++.dg/abi/vbase8-4.C: New test. From-SVN: r47316
2001-11-25 14:21:45 +01:00
2001-11-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/vbase8-4.C: New test.
2001-11-24 Ian Lance Taylor <ian@airs.com>
* gcc.c-torture/execute/20011121-1.c: New test.
2001-11-23 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/ieee/20011123-1.c: New test.
2001-11-23 Andreas Jaeger <aj@suse.de>
* gcc.dg/cpp/charconst-2.c: New test.
2001-11-22 Geoffrey Keating <geoffk@redhat.com>
* lib/old-dejagnu.exp (old-dejagnu): Copy extra source files
to the host if it is remote. Let tests specify extra headers
they use.
* g++.old-deja/g++.abi/vtable3a.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3b.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3c.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3d.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3e.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3f.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3g.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3h.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3i.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3j.C: This uses 'vtable3.h'.
2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
* gcc.c-torture/execute/ieee/20000320-1.c: Fix patterns to work
for little endian ARMs.
2001-11-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011119-1.c: New test.
* gcc.c-torture/compile/20011119-2.c: New test.
2001-11-17 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-1.c: Fix typo.
2001-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-intconst-1.c, gcc.dg/c99-intconst-1.c: New tests.
2001-11-20 13:00:10 +01:00
2001-11-20 Nick Clifton <nickc@cambridge.redhat.com>
* gcc.c-torture/compile/981006-1.x: Treat XScale like ARM.
2001-11-19 Geoffrey Keating <geoffk@redhat.com>
* lib/g77.exp: Don't specify --rpath-link.
* gcc.dg/cpp/cpp.exp: For testing on a remote host, copy
across all the headers.
* gcc.dg/format/format.exp: For testing on a remote host,
copy format.h.
* gcc.c-torture/execute/20011008-3.c: Allow for small STACK_SIZE.
* gcc.c-torture/execute/930406-1.c: Likewise.
* gcc.c-torture/execute/comp-goto-1.c: Likewise.
2001-11-19 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-1.c: New.
2001-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/fpreprocessed.c: New test case.
2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/tr-paste.c,
gcc.dg/cpp/tr-str.c: Use -traditional-cpp instead of -traditional.
* gcc.dg/ext-glob.c: Expect -traditional deprecation warning.
2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/no-builtin-1.c: New test.
2001-11-16 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20011115-1.c: New test.
2001-11-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011114-2.c: New test.
* gcc.c-torture/compile/20011114-3.c: New test.
* gcc.c-torture/compile/20011114-4.c: New test.
2001-11-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/init1.C: New test.
2001-11-14 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/noncompile/920923-1.c: xstormy16 produces an extra error
message.
* gcc.c-torture/execute/20011114-1.c: New testcase.
* gcc.c-torture/compile/20010327-1.c: Revert last change.
* gcc.c-torture/compile/20011114-1.c: New test, exactly
like the (before this change) version of 20010327-1.c.
2001-11-14 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/string-opt-13.c: New testcase.
2001-11-14 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/init/array2.C: New test.
2001-11-14 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/20010122-1.c: Prevent unwanted inlining.
2001-11-13 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/other/forscope1.C: New test.
* g++.dg/ext/forscope1.C: New test.
* g++.dg/ext/forscope2.C: New test.
2001-11-13 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20011113-1.c: New test.
2001-11-09 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/execute/20011109-2.c: New test.
* gcc.c-torture/execute/20011109-1.c: New test.
2001-11-09 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011109-1.c: New test.
2001-11-08 Geoffrey Keating <geoffk@redhat.com>
* g++.old-deja/g++.bugs/900227_01.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.eh/badalloc1.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.mike/ns15.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.pt/crash16.C: Change stormy16 to xstormy16.
* gcc.c-torture/compile/961203-1.x: Change stormy16 to xstormy16.
* gcc.c-torture/compile/980506-1.x: Change stormy16 to xstormy16.
* gcc.c-torture/compile/990617-1.x: Change stormy16 to xstormy16.
2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
* g++.dg/warn/Wshadow-1.C: New tests.
* g++.old-deja/g++.mike/for3.C: Update.
re PR c/461 (non-lvalue arrays) * c-common.c (c_expand_expr_stmt): Apply default conversions to non-lvalue arrays if C99. * c-typeck.c (default_conversion): Split out code handling array-to-pointer and function-to-pointer conversions into a separate default_function_array_conversion function. (default_function_array_conversion): New function. Keep track of whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue arrays unchanged outside C99 mode instead of giving an error for them. (build_component_ref): Use pedantic_non_lvalue when handling COMPOUND_EXPR. Don't handle COND_EXPR specially. (convert_arguments): Use default_function_array_conversion. (build_unary_op): For ADDR_EXPR, take a flag indicating whether non-lvalues are OK. (unary_complex_lvalue): Likewise. (internal_build_compound_expr): Use default_function_array_conversion. Apply default conversions to function in compound expression. (build_c_cast, build_modify_expr, digest_init, build_asm_stmt): Use default_function_array_conversion. * doc/extend.texi: Update documentation of subscripting non-lvalue arrays. Fixes PR c/461. testsuite: * gcc.dg/c90-array-lval-1.c, gcc.dg/c90-array-lval-2.c, gcc.dg/c99-array-lval-1.c, gcc.dg/c99-array-lval-2.c: Remove XFAILs. Adjust expected error texts. * gcc.c-torture/compile/20011106-1.c, gcc.c-torture/compile/20011106-2.c, gcc.dg/c90-array-lval-3.c, gcc.dg/c90-array-lval-4.c, gcc.dg/c90-array-lval-5.c, gcc.dg/c99-array-lval-3.c, gcc.dg/c99-array-lval-4.c, gcc.dg/c99-array-lval-5.c: New tests. From-SVN: r46805
2001-11-06 13:39:36 +01:00
2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-array-lval-2.c,
gcc.dg/c99-array-lval-1.c, gcc.dg/c99-array-lval-2.c: Remove
XFAILs. Adjust expected error texts.
* gcc.c-torture/compile/20011106-1.c,
gcc.c-torture/compile/20011106-2.c, gcc.dg/c90-array-lval-3.c,
gcc.dg/c90-array-lval-4.c, gcc.dg/c90-array-lval-5.c,
gcc.dg/c99-array-lval-3.c, gcc.dg/c99-array-lval-4.c,
gcc.dg/c99-array-lval-5.c: New tests.
2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* gcc.dg/cpp/defined.c: Update.
2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* gcc.c-torture/execute/anon-1.c: New test.
2001-11-03 Geoffrey Keating <geoffk@redhat.com>
* g++.old-deja/g++.bugs/900227_01.C: short and pointer are the
same size, so no warning should be produced on stormy16.
* g++.old-deja/g++.eh/badalloc1.C: Will always fail on stormy16
due to oversized array.
* g++.old-deja/g++.mike/ns15.C: Likewise.
* g++.old-deja/g++.pt/crash16.C: Likewise.
2001-11-02 Graham Stott <grahams@redhat.com>
* g++.dgother/debug1.C: Fix typos.
2001-11-01 Jakub Jelinek <jakub@redhat.com>
* g++.dg/other/debug1.C: New test.
2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead
of unsigned long.
2001-10-30 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20011029-2.c: New test.
* gcc.c-torture/compile/20011029-1.c: New test.
2001-10-29 Nicola Pero <n.pero@mi.flashnet.it>
2001-10-29 22:00:46 +01:00
* objc/execute/class_self-1.m: New test.
* objc/execute/class_self-2.m: New test.
2001-10-25 Zack Weinberg <zack@codesourcery.com>
* gcc.misc-tests/msgs.exp: Delete.
* gcc.misc-tests/m-un-1.c: Move to gcc.dg.
* gcc.misc-tests/m-un-2.c: Move to gcc.dg. Update expected
error set to match recent changes.
2001-10-24 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/20011021-1.c: New test.
2001-10-24 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20011023-1.c: New test.
2001-10-23 Geoffrey Keating <geoffk@redhat.com>
* lib/g77.exp: Rewrite based on lib/g++.exp.
2001-10-19 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20011019-1.c: New test.
* gcc.dg/20011018-1.c: New test.
2001-10-19 NIIBE Yutaka <gniibe@m17n.org>
* gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*.
2001-10-18 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/attr-noinline.c, gcc.dg/attr-used.c: New tests.
* gcc.dg/attr-invalid.c: Likewise.
2001-10-18 Jakub Jelinek <jakub@redhat.com>
* testsuite/gcc.dg/20011015-1.c: New test.
2001-10-14 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/template/unify2.C: New test.
2001-10-14 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/other/exception-specification.C: New test
2001-10-13 Tom Rix <trix@redhat.com>
* gcc.c-torture/execute/990826-0.x: AIX XFAIL -msoft-float.
* gcc.c-torture/execute/980709-1.x: AIX XFAIL -msoft-float.
2001-10-12 Jakub Jelinek <jakub@redhat.com>
* testsuite/gcc.dg/20011009-1.c: New test.
2001-10-12 Nathan Sidwell <nathan@codesourcery.com>
PR g++/4476
* g++.dg/other/friend1.C: New test.
2001-10-11 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.other/crash18.C: Add -S to options.
2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/compile/20011010-1.c: New.
2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
* consistency.vlad/vlad.exp, g++.old-deja/g++.mike/p784.C,
g++.old-deja/old-deja.exp, g77.f-torture/compile/compile.exp,
g77.f-torture/execute/execute.exp,
g77.f-torture/noncompile/noncompile.exp,
gcc.c-torture/compile/compile.exp,
gcc.c-torture/execute/execute.exp,
gcc.c-torture/execute/ieee/ieee.exp,
gcc.c-torture/execute/memcheck/memcheck.exp,
gcc.c-torture/unsorted/unsorted.exp, gcc.misc-tests/linkage.exp,
objc/execute/execute.exp: Update FSF address.
2001-10-09 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/cmdlne-C.c: Update.
* gcc.dg/cpp/cmdlne-C2.c: New.
2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20011008-3.c: New.
2001-10-08 DJ Delorie <dj@redhat.com>
* gcc.dg/20011008-1.c: New.
* gcc.dg/20011008-2.c: New.
2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/spacing1.c: Update test.
2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/unsorted/unsorted.exp, lib/file-format.exp: Fix
spelling errors of "separate" as "seperate".
2001-10-05 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/20010122-1.c: Don't assume alloca() is
enough to avoid inlining.
2001-10-04 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* lib/g77.exp: set libg2c_dir correctly.
2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/macro11.c: New test.
c-common.c (c_format_attribute_table): Make format and format_arg attributes apply to function types rather than to decls. * c-common.c (c_format_attribute_table): Make format and format_arg attributes apply to function types rather than to decls. (is_valid_printf_arglist): Construct an attribute list and pass that to check_function_format rather than a name. * c-common.h (check_function_format): Adjust prototype. * c-decl.c (duplicate_decls): Preserve attributes from type of built-in decl when allowing for harmless conflict in types. * c-format.c (record_function_format, record_international_format, function_format_list, international_format_info, international_format_list): Remove. (function_format_info): Remove next, name and assembler_name. Make format_num and first_arg_num be unsigned HOST_WIDE_INT. (decode_format_attr): New. (handle_format_attribute): Handle receiving a type rather than a decl. Call decode_format_attr. Store format information in a function_format_info. (handle_format_arg_attribute): Correct comment. Handle receiving a type rather than a decl. Use unsigned HOST_WIDE_INT for arg_num. (check_format_info_recurse, check_format_info_main): Take argument numbers as unsigned HOST_WIDE_INT. (check_function_format): Take a list of attributes from the function type rather than a name or assembler name. Check for format attributes in that list and the attributes on the type of the current function rather than looking through function_format_list. (check_format_info): Use unsigned HOST_WIDE_INT for argument numbers. (check_format_info_recurse): Take format_arg attributes from the type of the function calls rather than using international_format_list. Allow for multiple format_arg attributes. * c-typeck.c (build_function_call): Pass type attributes to check_function_format rather than name or assembler name. Don't require there to be a name or assembler name to check formats. cp: * call.c (build_over_call), typeck.c (build_function_call_real): Pass type attributes to check_function_format rather than name or assembler name. Don't require there to be a name or assembler name to check formats. testsuite: * g++.dg/warn/format2.C, gcc.dg/format/attr-7.c, gcc.dg/format/multattr-1.c, gcc.dg/format/multattr-2.c, gcc.dg/format/multattr-3.c: New tests. * gcc.dg/format/attr-3.c: Update expected error texts. Remove tests for format attributes on function pointers being rejected. From-SVN: r45945
2001-10-02 09:19:47 +02:00
2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
* g++.dg/warn/format2.C, gcc.dg/format/attr-7.c,
gcc.dg/format/multattr-1.c, gcc.dg/format/multattr-2.c,
gcc.dg/format/multattr-3.c: New tests.
* gcc.dg/format/attr-3.c: Update expected error texts. Remove
tests for format attributes on function pointers being rejected.
attribs.c (decl_attributes): Possibly call insert_default_attributes to insert default attributes on... * attribs.c (decl_attributes): Possibly call insert_default_attributes to insert default attributes on functions in a lazy manner. * builtin-attrs.def: New file; define the default format and format_arg attributes. * c-common.c (c_format_attribute_table): Move to earlier in the file. (c_common_nodes_and_builtins): Initialize format_attribute_table. (enum built_in_attribute, built_in_attributes, c_attrs_initialized, c_init_attributes, c_common_insert_default_attributes): New. (c_common_lang_init): Don't initialize format_attribute_table. Do call c_init_attributes. * Makefile.in (c-common.o): Depend on builtin-attrs.def. * c-common.h (init_function_format_info): Don't declare. (c_common_insert_default_attributes): Declare. * c-decl.c (implicitly_declare, builtin_function): Call decl_attributes. (init_decl_processing): Don't call init_function_format_info. (insert_default_attributes): New. * c-format.c (handle_format_attribute, handle_format_arg_attribute): Be quiet about inappropriate declaration when applying default attributes. (init_function_format_info): Remove. * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN. (insert_default_attributes): Declare. cp: * decl.c (init_decl_processing): Don't call init_function_format_info. Initialize lang_attribute_table earlier. (builtin_function): Call decl_attributes. (insert_default_attributes): New. testsuite: * gcc.dg/format/attr-5.c, gcc.dg/format/attr-6.c: New tests. From-SVN: r45942
2001-10-02 09:12:25 +02:00
2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format/attr-5.c, gcc.dg/format/attr-6.c: New tests.
2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
* g++.dg/warn/format1.C: New test.
2001-10-01 Neil Booth <neil@daikokuya.demon.co.uk>
* mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: Correct tests.
2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
* mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: New test.
2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/redef2.c: Add test.
2001-09-27 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/execute/loop-2e.x: This is a manifestation of a
long-standing bug on i686, apparently.
* gcc.c-torture/execute/loop-2c.x: New file.
* gcc.c-torture/execute/loop-2d.x: New file.
* gcc.c-torture/execute/loop-3c.x: New file.
2001-09-25 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/20000625-2.c: Correct line number.
c-lex.c (cb_def_pragma): Update. * c-lex.c (cb_def_pragma): Update. (c_lex): Update, and skip padding. * cppexp.c (lex, parse_defined): Update, remove unused variable. * cpphash.h (struct toklist): Delete. (union utoken): New. (struct cpp_context): Update. (struct cpp_reader): New members eof, avoid_paste. (_cpp_temp_token): New. * cppinit.c (cpp_create_reader): Update. * cpplex.c (_cpp_temp_token): New. (_cpp_lex_direct): Add PREV_WHITE when parsing args. (cpp_output_token): Don't print leading whitespace. (cpp_output_line): Update. * cpplib.c (glue_header_name, parse_include, get__Pragma_string, do_include_common, do_line, do_ident, do_pragma, do_pragma_dependency, _cpp_do__Pragma, parse_answer, parse_assertion): Update. (get_token_no_padding): New. * cpplib.h (CPP_PADDING): New. (AVOID_LPASTE): Delete. (struct cpp_token): New union member source. (cpp_get_token): Update. * cppmacro.c (macro_arg): Convert to use pointers to const tokens. (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p, replace_args, quote_string, stringify_arg, parse_arg, next_context, enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput, _cpp_backup_tokens, _cpp_create_definition): Update. (push_arg_context): Delete. (padding_token, push_token_context, push_ptoken_context): New. (make_string_token, make_number_token): Update, rename. (cpp_get_token): Update to handle tokens as pointers to const, and insert padding appropriately. * cppmain.c (struct printer): New member prev. (check_multiline_token): Constify. (do_preprocessing, cb_line_change): Update. (scan_translation_unit): Update to handle spacing. * scan-decls.c (get_a_token): New. (skip_to_closing_brace, scan_decls): Update. * fix-header.c (read_scan_file): Update. * doc/cpp.texi: Update. * gcc.dg/cpp/macro10.c: New test. * gcc.dg/cpp/strify3.c: New test. * gcc.dg/cpp/spacing1.c: Add tests. * gcc.dg/cpp/19990703-1.c: Remove bogus test. * gcc.dg/cpp/20000625-2.c: Fudge to pass. From-SVN: r45793
2001-09-25 00:53:12 +02:00
2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/macro10.c: New test.
* gcc.dg/cpp/strify3.c: New test.
* gcc.dg/cpp/spacing1.c: Add tests.
* gcc.dg/cpp/19990703-1.c: Remove bogus test.
* gcc.dg/cpp/20000625-2.c: Fudge to pass.
2001-09-24 DJ Delorie <dj@redhat.com>
* gcc.c-torture/execute/20010924-1.c: New test.
2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
* testsuite/objc/execute/paste.m: Remove.
2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format/builtin-1.c, gcc.dg/format/ext-6.c: New tests.
2001-09-22 George Helffrich <george@geo.titech.ac.jp>
* g77.dg/strlen0.f: New test.
2001-09-21 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.abi/ptrmem.C: Update for ia64 c++ abi.
* g++.old-deja/g++.abi/vtable2.C: Likewise.
Table-driven attributes. * c-decl.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/arm/pe.c, config/avr/avr.c, config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h, config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c, config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c, config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi, doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c, tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES. * tree.h (struct tree_decl): Change machine_attributes to attributes. * doc/c-tree.texi: Document that all attributes are now attached to decls and types. * c-common.c (add_attribute, attrtab, attrtab_idx, default_valid_lang_attribute, valid_lang_attribute): Remove. (attribute_tables, attributes_initialized, c_common_attribute_table, default_lang_attribute_table): New variables. (handle_packed_attribute, handle_nocommon_attribute, handle_common_attribute, handle_noreturn_attribute, handle_unused_attribute, handle_const_attribute, handle_transparent_union_attribute, handle_constructor_attribute, handle_destructor_attribute, handle_mode_attribute, handle_section_attribute, handle_aligned_attribute, handle_weak_attribute, handle_alias_attribute, handle_no_instrument_function_attribute, handle_no_check_memory_usage_attribute, handle_malloc_attribute, handle_no_limit_stack_attribute, handle_pure_attribute): New functions. (init_attributes, decl_attributes): Rewrite to implement table-driven attributes. * c-common.h (enum attribute_flags): Move to tree.h. * c-format.c (decl_handle_format_attribute, decl_handle_format_arg_attribute): Rename to handle_format_attribute and handle_format_arg_attribute. Update for table-driven attributes. * c-common.h (decl_handle_format_attribute, decl_handle_format_arg_attribute): Remove prototypes. (handle_format_attribute, handle_format_arg_attribute): Add prototypes. * c-decl.c (grokdeclarator): Handle attributes nested inside declarators. * c-parse.in (setattrs, maybe_setattrs): Remove. (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs. Update to handle nested attributes properly. (maybe_resetattrs, after_type_declarator, parm_declarator_nostarttypename, notype_declarator, absdcl1_noea, absdcl1_ea, direct_absdcl1): Update to handle nested attributes properly. (make_pointer_declarator): Update to handle nested attributes properly. * doc/extend.texi: Update documentation of limits of attributes syntax. Warn about problems with attribute semantics in C++. * target.h (struct target): Remove valid_decl_attribute and valid_type_attribute. Add attribute_table and function_attribute_inlinable_p. * target-def.h (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Remove. (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Add. (TARGET_INITIALIZER): Update. * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default definition. (function_attribute_inlinable_p): New function. Check for the presence of any machine attributes before using targetm.function_attribute_inlinable_p. (function_cannot_inline_p): Update. * Makefile.in (integrate.o): Update dependencies. * doc/tm.texi: Update documentation of target attributes and example definition of TARGET_VALID_TYPE_ATTRIBUTE. * tree.c (default_valid_attribute_p, valid_machine_attribute): Remove. (default_target_attribute_table, default_function_attribute_inlinable_p): New. (lookup_attribute): Update comment to clarify handling of multiple attributes with the same name. (merge_attributes, attribute_list_contained): Allow multiple attributes with the same name but different arguments to appear in the same attribute list. * tree.h (default_valid_attribute_p): Remove prototype. (struct attribute_spec): New. (default_target_attribute_table): Declare. (enum attribute_flags): Move from c-common.h. Add ATTR_FLAG_TYPE_IN_PLACE. (default_function_attribute_inlinable_p): Declare. * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove. (TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (vms_attribute_table): New. * config/arc/arc.c (arc_valid_decl_attribute): Remove. (TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (arc_attribute_table, arc_handle_interrupt_attribute): New. * config/arm/arm.c (arm_valid_type_attribute_p, arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p): Remove. (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (arm_attribute_table, arm_handle_fndecl_attribute, arm_handle_isr_attribute): New. * config/avr/avr.c (avr_valid_type_attribute, avr_valid_decl_attribute): Remove. (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (avr_attribute_table, avr_handle_progmem_attribute, avr_handle_fndecl_attribute): New. * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove. (TARGET_VALID_TYPE_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (c4x_attribute_table, c4x_handle_fntype_attribute): New. * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove. (TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (h8300_attribute_table, h8300_handle_fndecl_attribute, h8300_handle_eightbit_data_attribute, h8300_handle_tiny_data_attribute): New. * config/i386/i386-protos.h (ix86_valid_type_attribute_p, i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p): Remove prototypes. (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New declarations. * config/i386/i386.c (ix86_valid_type_attribute_p: Remove. (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (ix86_attribute_table, ix86_handle_cdecl_attribute, ix86_handle_regparm_attribute): New. * config/i386/winnt.c (i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p): Remove. (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New. * config/ia64/ia64.c (ia64_valid_type_attribute): Remove. (TARGET_VALID_TYPE_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (ia64_attribute_table): New. * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1, interrupt_ident2, model_ident1, model_ident2): Remove. (TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (init_idents): Update. (m32r_attribute_table, m32r_handle_model_attribute): New. * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p): Remove. (TARGET_VALID_TYPE_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New. * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove. (TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (mcore_attribute_table, mcore_handle_naked_attribute): New. * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove. (TARGET_VALID_TYPE_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (ns32k_attribute_table, ns32k_handle_fntype_attribute): New. * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove. (TARGET_VALID_TYPE_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (rs6000_attribute_table, rs6000_handle_longcall_attribute): New. * config/sh/sh.c (sh_valid_decl_attribute): Remove. (TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (sh_attribute_table, sh_handle_interrupt_handler_attribute, sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute): New. * config/stormy16/stormy16.c (stormy16_valid_type_attribute): Remove. (TARGET_VALID_TYPE_ATTRIBUTE): Don't define (TARGET_ATTRIBUTE_TABLE): Define. (stormy16_attribute_table, stormy16_handle_interrupt_attribute): New. * config/v850/v850.c (v850_valid_decl_attribute): Remove. (TARGET_VALID_DECL_ATTRIBUTE): Don't define. (TARGET_ATTRIBUTE_TABLE): Define. (v850_attribute_table, v850_handle_interrupt_attribute, v850_handle_data_area_attribute): New. * config/v850/v850-c.c (mark_current_function_as_interrupt): Return void. Call decl_attributes instead of valid_machine_attribute. cp: Table-driven attributes. * decl.c: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES. * decl2.c (cplus_decl_attributes): Only take one attributes parameter. * cp-tree.c (cplus_decl_attributes): Update prototype. * class.c (finish_struct), decl.c (start_decl, start_function), decl2.c (grokfield), friend.c (do_friend), parse.y (parse_bitfield): Update calls to cplus_decl_attributes. * decl.c (grokdeclarator): Take a pointer to a single ordinary attribute list. * decl.h (grokdeclarator): Update prototype. * decl2.c (grokfield): Take a single ordinary attribute list. * friend.c (do_friend): Likewise. * decl.c (shadow_tag, groktypename, start_decl, start_handler_parms, grokdeclarator, grokparms, start_function, start_method), decl2.c (grokfield, grokbitfield, grokoptypename), parse.y (parse_field, parse_bitfield, component_decl_1), pt.c (process_template_parm, do_decl_instantiation): Pass single ordinary attribute lists around. * decl.c (grokdeclarator): Correct handling of nested attributes. Revert the patch 1998-10-18 Jason Merrill <jason@yorick.cygnus.com> * decl.c (grokdeclarator): Embedded attrs bind to the right, not the left. . * cp-tree.h (cp_valid_lang_attribute): Remove declaration (cp_attribute_table): Declare. * decl.c (valid_lang_attribute): Don't define. (lang_attribute_table): Define. (init_decl_processing): Initialize lang_attribute_table instead of valid_lang_attribute. * tree.c (cp_valid_lang_attribute): Remove. (handle_java_interface_attribute, handle_com_interface_attribute, handle_init_priority_attribute): New functions. (cp_attribute_table): New array. * decl2.c (import_export_class): Don't use targetm.valid_type_attribute. testsuite: Table-driven attributes. * g++.dg/ext/attrib1.C: New test. From-SVN: r45718
2001-09-21 03:27:06 +02:00
2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
Table-driven attributes.
* g++.dg/ext/attrib1.C: New test.
2001-09-20 DJ Delorie <dj@redhat.com>
* gcc.dg/20000926-1.c: Update expected warning messages.
* gcc.dg/array-2.c: Likewise, and test for warnings too.
* gcc.dg/array-4.c: Likewise, and don't verify the zero-length
array.
2001-09-18 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/eh/registers1.C: New test case.
2001-09-17 Richard Henderson <rth@redhat.com>
* gcc.dg/array-5.c: Fix VLA decomposition test.
2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/line5.c: New testcase.
2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/macro9.c: New test.
2001-09-15 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/980223.c: Change type of addr from long
to char *.
2001-09-15 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20010915-1.c: New test.
2001-09-14 Janis Johnson <janis187@us.ibm.com>
* g77.dg/bprob: New directory.
* g77.dg/bprob/bprob.exp: New file.
* g77.dg/bprob/bprob-1.f: New test.
* g77.dg/gcov: New directory.
* g77.dg/gcov/gcov.exp: New file.
* g77.dg/gcov/gcov-1.f: New test.
* g77.dg/gcov/gcov-1.x: New file.
c-parse.in (_yylex): Use _cpp_backup_tokens. * c-parse.in (_yylex): Use _cpp_backup_tokens. * cpphash.h (struct tokenrun): Add prev. (struct lexer_state): Remove bol. (struct cpp_reader): Remove old lookahead stuff, add lookaheads. (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token) : Remove. * cppinit.c (cpp_create_reader): Don't set bol. (cpp_destroy): Don't free lookaheads. * cpplex.c (lex_directive): Remove. (next_tokenrun): Update. (_cpp_lex_token): Clean up logic. (lex_token): Update to return a pointer to lexed token, since it can move to the start of the buffer. Simpify newline handling. * cpplib.c (SEEN_EOL): Update. (skip_rest_of_line): Remove lookahead stuff. (end_directive): Line numbers are already incremented. Revert to start of lexed token buffer if we can. (_cpp_handle_directive, do_pragma, do_pragma_dependency, parse_answer): Use _cpp_backup_tokens. (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags instead. Don't check for EOL. (do_include_common, do_line, do_pragma_system_header): Use skip_rest_of_line. * cpplib.h (BOL, _cpp_backup_tokens): New. * cppmacro.c (save_lookahead_token, take_lookahead_token, alloc_lookahead, free_lookahead, _cpp_free_lookaheads, cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove. (builtin_macro): Don't use cpp_get_line. (cpp_get_line): Short term kludge. (parse_arg): Handle directives in arguments here. Back up when appropriate. Store EOF at end of argument list. (funlike_invocation_p): Use _cpp_backup_tokens. (push_arg_context): Account for EOF at end of list. (cpp_get_token): Remove lookahead stuff. Update. * gcc.dg/cpp/directiv.c: Update. * gcc.dg/cpp/undef1.c: Update. From-SVN: r45582
2001-09-13 22:05:17 +02:00
2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/directiv.c: Update.
* gcc.dg/cpp/undef1.c: Update.
2001-09-12 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20010912-1.c: New test.
2001-09-11 Janis Johnson <janis187@us.ibm.com>
* gcc.misc-tests/gcov.exp: Move almost everything to a new,
language-independent file in lib.
* lib/gcov.exp: New file.
2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010911-1.c: New test.
2001-09-10 Janis Johnson <janis187@us.ibm.com>
* lib/profopt.exp: New, to support profile-directed optimizations.
* gcc.misc-tests/bprob.exp: New, to support branch profiling in C.
* gcc.misc-tests/bprob-1.c: New test.
* gcc.misc-tests/bprob-2.c: New test.
2001-09-07 Janis Johnson <janis187@us.ibm.com>
* gcc.misc-tests/gcov.exp: Add support for a .x file to control
XFAIL and which kinds of gcov output to verify.
* gcc.misc-tests/gcov-4b.x: New file.
* gcc.misc-tests/gcov-5b.x: New file.
* gcc.misc-tests/gcov-6.x: New file.
* gcc.misc-tests/gcov-7.c: New test.
* gcc.misc-tests/gcov-7.x: New file.
2001-09-06 Janis Johnson <janis187@us.ibm.com>
* gcc.misc-tests/gcov.exp: Add support for call return percentages.
* gcc.misc-tests/gcov-6.c: New test.
2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
PR c++/3986
* g++.dg/abi/vbase1.C: New test.
2001-09-05 Ziemowit Laski <zlaski@apple.com>
* objc.dg/method-2.m: New.
2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
PR c++/4203
* g++.old-deja/g++.other/empty1.C: XFAIL. See PR c++/4222
* g++.dg/init/empty1.C: New test.
2001-09-03 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010903-1.c: New test.
2001-08-31 Roman Zippel <zippel@linux-m68k.org>
* testsuite/gcc.c-torture/execute/ieee/ieee.exp: Add -ffloat-store
for m68k.
2001-08-31 Geoffrey Keating <geoffk@redhat.com>
* g++.dg/abi/empty4.C: Allow for 16-bit ints.
* g++.dg/special/initp1.C (X): Allow for 16-bit ints.
* gcc.c-torture/unsorted/bcopy.c (BYTES): Honor STACK_SIZE.
2001-08-30 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/execute/longlong.c (alpha_ep_extbl_i_eq_0): Allow
for 16-bit 'unsigned int'.
2001-08-29 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/compile/981006-1.x: Do not use -fpic on h8300.
2001-08-27 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/ieee/fp-cmp-4.c (main): Make "data" static.
* gcc.c-torture/execute/ieee/fp-cmp-5.c: New.
2001-08-25 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/asm-names.c (ymain): New.
2001-08-22 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/compile/961203-1.x: Mark unsupported by stormy16.
* gcc.c-torture/compile/980506-1.x: Mark unsupported by stormy16.
* gcc.c-torture/compile/990617-1.x: Mark unsupported by stormy16.
2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/compare5.c: New testcase.
2001-08-23 Jason Merrill <jason_merrill@redhat.com>
* lib/prune.exp (prune_gcc_output): Also ignore "In constructor"
and "In instantiation".
2001-08-21 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/divmod-1.c: Convert to ANSI.
2001-08-20 Janis Johnson <janis187@us.ibm.com>
* gcc.misc-tests/gcov.exp: Add support for branch information.
* gcc.misc-tests/gcov-2.c: Change to invoke gcov and clean up.
* gcc.misc-tests/gcov-4.c: New test.
* gcc.misc-tests/gcov-4b.c: New test.
* gcc.misc-tests/gcov-5b.c: New test.
2001-08-20 Zack Weinberg <zackw@panix.com>
* gcc.c-torture/execute/20000801-4.x: Delete, test no longer
expected to fail.
2001-08-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
* g++.dg/special/ecos.exp (initp1.C): Run initp1.C test.
2001-08-19 Jakub Jelinek <jakub@redhat.com>
* g++.dg/eh/template1.C: New test.
2001-08-16 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/compile/pr3743.x: Do not return 1 for xfail.
Fix thinko.
* g77.f-torture/execute/f90-intrinsic-bit.x: Do not return 1
for xfail.
2001-08-14 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/g77-dg.exp: Use prune.exp for common procedures
(g77-dg-prune): Replace prune_g77_output with prune_gcc_output
* lib/g77.exp: (g77-dg-prune) Remove
2001-08-13 Jason Merrill <jason_merrill@redhat.com>
* lib/scanasm.exp (scan-assembler*): Use expr instead of concat.
2001-08-11 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/template/unify1.C: New test.
2001-08-07 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/empty4.C: New test.
2001-08-06 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/f90-intrinsic-bit.x: XFAIL on irix6.* and
solaris2.*
* g77.f-torture/compile/pr3743.x: Likewise
2001-08-05 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* g++.dg/other/using-declaration.C: New test.
2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/tr-sign.c: New testcase.
re PR preprocessor/3081 (Preprocessor merges 2 first lines when -imacros is being used) PR preprocessor/3081 * c-lex.c (map): New. (cb_file_change): Update map and use it. (cb_def_pragma, cb_define, cb_undef): Use map and line. (c_lex): Update to use map. * cpperror.c (print_location): Move to using logical line numbers. * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change. (cpp_make_system_header): Similarly. (_cpp_execute_include): Stop line numbering hacks. Store the line we will return to. * cpphash.h (CPP_BUF_LINE): Remove. (struct cpp_buffer): Remove lineno and pseudo_newlines. Add map and return_to_line. (_cpp_do_file_change): Update. * cppinit.c (cpp_start_read): Update line kludge. * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines. (trigraph_ok): Use logical line numbers for diagnostics. (skip_block_comment): Likewise. (skip_whitespace): Likewise. (skip_line_comment): Use pfile->line instead. (_cpp_lex_token): Update to use logical line numbering exclusively. Handle BOL locally. Accept new lines in directives, but keep pfile->line decremented. Diagnostics use logical lines. Update directive handling. * cpplib.c (SEEN_EOL): New. (skip_rest_of_line, check_eol): Use it. (end_directive): Increase line number when accepting the newline at the end of a directive. (run_directive): Simplify. (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update. (_cpp_do_file_change): Update to take buffer line number as an argument, and store the current map in the cpp_reader. Remove line number kludges. (_cpp_do__Pragma): Restore output position after a _Pragma. (cpp_push_buffer): Don't set output line or lineno. (_cpp_pop_buffer): Transfer more info from a faked buffer. Remove line kludge. Set output_line. * cppmacro.c (builtin_macro): Update handling of __LINE__. (parse_arg): Use logical lines. (save_lookahead_token): Save EOFs too now. * cppmain.c (struct printer): Fix comments. (printer_init): Simplify, let caller do errors. (scan_translation_unit, check_multiline_token, dump_macro): Update. (maybe_print_line): Simplify. (print_line): Don't print a linemarker if -P. (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update. (cb_file_change): Simplify. * line-map.h (LAST_SOURCE_LINE): Fix. (CURRENT_LINE_MAP): New. * gcc.dg/cpp/19951025-1.c: Revert. * gcc.dg/cpp/directiv.c: We no longer process directives that interrupt macro arguments. From-SVN: r44650
2001-08-05 19:31:25 +02:00
2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/19951025-1.c: Revert.
* gcc.dg/cpp/directiv.c: We no longer process directives that
interrupt macro arguments.
2001-08-03 Zack Weinberg <zackw@stanford.edu>
* gcc.dg/bconstp-1.c: New test.
2001-08-03 Richard Henderson <rth@redhat.com>
* g++.dg/eh/filter1.C, g++.dg/eh/filter2.C: New tests.
line-map.c: New. * line-map.c: New. * line-map.h: New. * Makefile.in (line-map.o): New. (LIBCPP_OBJS, LIBCPP_DEPS): Update. * c-lex.c (cb_file_change): Update for new cpp_file_change structure. * cpperror.c (print_containing_files): Similarly. (print_location): Update. Don't output a space before _Pragma. * cppfiles.c (stack_include_file): Set to line 1 immediately. (stack_include_filee, cpp_make_system_header): Update. (_cpp_execute_include): Get logical line number right for calling as-yet-unterminated #include. * cpphash.h (struct cpp_reader): Add line_maps. (_cpp_do_file_change): Update. * cppinit.c (cpp_create_reader): Initialize line maps. (cpp_destroy): Destroy line maps. (cpp_start_read): Get logical line number right. * cpplex.c (parse_string): Only warn once for multi-line strings. Use boolean variable for null warning. * cpplib.c (_cpp_handle_directive): End the directive if it isn't already. (do_include_common): End the directive early. (do_line): Don't warn about out-of-range lines in preprocessed source. Update. Remove unused variables. (_cpp_do_file_change): Update for new line mapping. (pragma_cb): New typedef. (cpp_register_pragma): Stop looking ahead before calling the handler. Clean up. (do_pragma_system_header): End directive early. (cpp_get_line_maps): New. (cpp_pop_buffer): Fudge logical line. Update. * cpplib.h: Include line-map.h (enum cpp_fc_reason): Remove. (struct cpp_file_change): Update. (cpp_get_line_maps): New. * cppmain.c (struct_printer): New member map. (cb_file_change): Update for new mappings. * fix-header.c (cb_file_change): Similarly. testsuite: * gcc.dg/cpp/19951025-1.c: Update. From-SVN: r44584
2001-08-03 01:03:31 +02:00
2001-08-02 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/19951025-1.c: Update.
2001-08-02 Jeffrey Oldham <oldham@codesourcery.com>
* g77.dg/ff90-1.f (s): Fix reference of variable z,
should be x.
2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
Kill -fhonor-std.
* g++.old-deja/g++.ns/ns14.C: Remove special options.
* g++.old-deja/g++.other/std1.C: Likewise.
* g++.old-deja/g++.robertl/eb133.C: Likewise. Add using directive.
2001-08-01 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/g77.exp: Load gcc-defs.exp for common procedures
(g77_pass, g77_fail, g77_finish, g77_exit,
${tool}_check_unsupported_p} Now redundant. Deleted.
2001-08-01 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/fbackslash.f
* g77.dg/fcase-preserve.f
* g77.dg/ff90-1.f
* g77.dg/ffixed-line-length-0.f
* g77.dg/ffixed-line-length-132.f
* g77.dg/ffixed-line-length-7.f
* g77.dg/ffixed-line-length-72.f
* g77.dg/ffixed-line-length-none.f
* g77.dg/ffree-form-1.f
* g77.dg/fno-backslash.f
* g77.dg/fno-f90-1.f
* g77.dg/fno-fixed-form-1.f
* g77.dg/fno-onetrip.f
* g77.dg/fno-typeless-boz.f
* g77.dg/fno-underscoring.f
* g77.dg/fno-vxt-1.f
* g77.dg/fonetrip.f
* g77.dg/ftypeless-boz.f
* g77.dg/fugly-assumed.f
* g77.dg/funderscoring.f
* g77.dg/fvxt-1.f
2001-08-01 Ziemowit Laski <zlaski@apple.com>
* objc.dg/fwd-proto-1.m: New.
* objc.dg/local-decl-1.m: New.
* objc.dg/naming-1.m: New.
* objc.dg/naming-2.m: New.
* objc.dg/proto-hier-1.m: New.
2001-07-31 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/c99-scope-2.c: Don't generally assume adding more
largest-type elements to a struct makes its size grow.
2001-07-31 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/vthunk1.C: New test.
2001-07-31 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/vbase8-22.C: New test.
2001-07-31 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* gcc.dg/cpp/macro8.c: New test.
2001-07-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/vbase8-21.C: New test.
2001-07-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/vbase8-10.C: New test.
2001-07-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* lib/g++.exp (g++_set_ld_library_path): Renamed to
${tool}_set_ld_library_path.
Changed caller.
* lib/objc.exp (${tool}_set_ld_library_path): New, copied from
g++.exp.
2001-07-26 Stan Cox <scox@redhat.com>
* lib/g++.exp (g++_exit, g++_check_unsupported_p): Removed.
* lib/gcc.exp (gcc_check_compile, gcc_pass, gcc_fail, gcc_finish,
gcc_exit, gcc_check_unsupported_p):
Moved to gcc-deps.exp
* gcc-deps.exp: New file.
2001-07-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/defarg14.C: New test.
2001-07-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/lineno5.C: New test.
2001-07-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash68.C: New test.
2001-07-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash42.C: New test.
2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* gcc.dg/cpp/extratokens.c: Fix.
* gcc.dg/cpp/skipping2.c: New tests.
2001-07-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gcc.c-torture/execute/20010724-1.c: New file.
* gcc.c-torture/execute/20010724-1.x: New file.
2001-07-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/cond7.C: New test.
2001-07-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/optimize4.C: New test.
2001-07-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vbase8-5.C: New test.
2001-07-24 Jason Merrill <jason_merrill@redhat.com>
* lib/scanasm.exp (scan-assembler*): Don't take "testcase" argument.
* gcc.dg/asm-2.c, gcc.dg/asm-3.c, gcc.dg/asm-fs-1.c, gcc.dg/dll-1.c,
gcc.dg/dll-3.c, gcc.dg/dll-4.c, gcc.dg/iftrap-1.c: Don't pass it.
* g++.dg/mangle1.C, g++.dg/vtgc1.C: Likewise.
* lib/prune.exp (prune_gcc_output): Prune "Please submit a full
bug report" message.
* g++.dg/dg.exp: Run tests from subdirectories other than "special".
* g++.dg/ext/instantiate1.C: Move from old-deja.
2001-07-24 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/intrinsic-unix-bessel.f: New test
* g77.f-torture/execute/intrinsic-unix-erf.f: New test
* g77.f-torture/execute/intrinsic-vax-cd.f: New test
* g77.f-torture/execute/intrinsic-f2c-z.f: New test
2001-07-23 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20010723-1.c: New test.
2001-07-23 Ben Elliston <bje@redhat.com>
* g++.old-deja/g++.other/enum5.C: Mark as XFAIL.
2001-07-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/ieee/ieee.exp: Only use -ffloat-store only on
i[34567]86-*-*.
Delete handling of ieee_multilib_flags.
Pass -mieee for alpha*-*-* and sh-*-*.
* gcc.c-torture/execute/20010114-2.c: Move into ieee subdir.
2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
Remove old-abi tests.
* g++.old-deja/g++.mike/p11116.C: Remove.
* g++.old-deja/g++.eh/catchptr1.C: Remove old-abi ifdef.
2001-07-20 David Billinghurst <David.Billinghurst@riotinto.org>
* g77.f-torture/compile/pr3743.f: New test
2001-07-20 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/f90-intrinsic-bit.f: New test
2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* g++.old-deja/g++.pt/static3.C: Removed alpha*-*-osf* XFAIL.
g++.old-deja/g++.pt/static6.C: Likewise.
* lib/target-supports.exp (check_weak_available): alpha*-*-osf*
supports weak symbols.
2001-07-18 Andreas Jaeger <aj@suse.de>
* g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is
supported again.
2001-07-18 Andreas Jaeger <aj@suse.de>
* gcc.dg/iftrap-1.c: Fix target line.
2001-07-17 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20010717-1.c: New.
2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010714-1.c, gcc.dg/format/attr-4.c: New
tests.
2001-07-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* g++.old-deja/g++.robertl/eb130.C: Include the correct header file.
2001-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gcc.c-torture/execute/20001229-1.c: Include <sys/proc.h> for
UAC_SIGBUS, UAC_NOPRINT definitions.
2001-07-16 Nicola Pero <n.pero@mi.flashnet.it>
* objc/execute/object_is_class.m: New test.
* objc/execute/object_is_meta_class.m: New test.
2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/f90-intrinsic-numeric.f: Fix pasto.
* g77.f-torture/execute/f90-intrinsic-mathematical.f: Fix pasto.
2001-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/f90-intrinsic-numeric.f: New test.
* g77.f-torture/execute/f90-intrinsic-mathematical.f: New test.
2001-07-14 Richard Henderson <rth@redhat.com>
* gcc.dg/iftrap-1.c: New.
2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/intrinsic77.f: New test.
2001-07-11 Janis Johnson <janis@us.ibm.com>
* gcc.misc-tests/gcov-3.c: New test.
2001-07-11 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20010711-1.c,
* gcc.c-torture/compile/20010711-2.c: New tests.
2001-07-11 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20010711-1.c: New test.
2001-07-11 Ben Elliston <bje@redhat.com>
* g++.old-deja/g++.other/enum5.C: New test.
2001-07-10 Jason Merrill <jason_merrill@redhat.com>
* lib/g++-dg.exp: Load file-format and target-supports like gcc.
(g++-dg-prune): Call prune_gcc_output.
* prune.exp: New file for prune_gcc_output.
* lib/g++.exp, lib/gcc.exp: Load it.
c-common.c (decl_attributes): Only take a single attributes parameter. * c-common.c (decl_attributes): Only take a single attributes parameter. * c-common.h (decl_attributes): Update prototype. * c-decl.c (start_decl, start_function): Only take a single attributes parameter. Update calls to decl_attributes. (finish_struct, finish_enum): Update calls to decl_attributes. (push_parm_decl): Expect unified list of attributes. Update call to decl_attributes. * c-parse.in (fndef, initdcl, notype_initdcl, nested_function, notype_nested_function, component_declarator, component_notype_declarator, label): Update calls to decl_attributes. (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute lists that are passed to push_parm_decl. * c-tree.h (start_function, start_decl): Update prototypes. * config/sh/sh-protos.h, config/sh/sh.c (sh_pragma_insert_attributes): Only take a single attributes parameter. * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise. * doc/tm.texi (INSERT_ATTRIBUTES): Update. * objc/objc-act.c (define_decl, generate_objc_symtab_decl, build_module_descriptor, generate_static_references, generate_strings, build_selector_translation_table, generate_descriptor_table, generate_protocols, generate_ivars_list, generate_dispatch_table, generate_protocol_list, generate_category, generate_shared_structures, really_start_method, add_objc_decls, generate_classref_translation_entry): Update calls to start_decl and start_function. (build_tmp_function_decl, start_method_def): Unify attribute lists that are passed to push_parm_decl. cp: * decl.c (grokdeclarator), decl2.c (cplus_decl_attributes): Update calls to decl_attributes. testsuite: * gcc.c-torture/compile/20010701-1.c, g++.old-deja/g++.ext/attrib6.C: New tests. From-SVN: r43850
2001-07-08 21:58:19 +02:00
2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010701-1.c,
g++.old-deja/g++.ext/attrib6.C: New tests.
2001-07-06 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20010706-1.c: New test.
2000-09-10 Michael Chamberlain <michael@chamberlain.net.au>
* gcc.misc-tests/mg.exp (compiler_output): Support tcl 8.3.1.
2001-06-28 Stan Shebs <shebs@apple.com>
* gcc.dg/pragma-darwin.c: New test.
2001-06-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* lib/objc.exp (objc_target_compile): Don't need -lposix4 on any
Solaris 2.[678] system.
2001-06-22 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/20010622-1.c: New test.
2001-06-18 Stan Shebs <shebs@apple.com>
* objc.dg: New directory.
* objc.dg/dg.exp: New file.
* objc.dg/alias.m: New.
* objc.dg/class-1.m: New.
* objc.dg/class-2.m: New.
* objc.dg/const-str-1.m: New.
* objc.dg/const-str-2.m: New.
* objc.dg/id-1.m: New.
* objc.dg/method-1.m: New.
* objc.dg/super-class-1.m: New.
* lib/objc-dg.exp: New file.
2001-06-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
* g++.dg/mangle1.C: Modify regexp to test for `[: \t\n]' at end
of label name.
2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vbase8-9.C: New test.
2001-06-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* lib/objc.exp (objc_target_compile): Add ${rootme} to ld_library_path
variable.
2001-06-12 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.other/crash27.C: Don't XFAIL.
2001-06-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vbase5.C: New test.
* g++.old-deja/g++.abi/vbase6.C: New test.
* g++.old-deja/g++.abi/vbase7.C: New test.
2001-06-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/compile/20010610-1.c: New test.
2001-06-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vbase4.C: New test.
2001-06-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gcc.c-torture/execute/920501-8.x: New file, sprintf() does not
support %f for HC11/HC12 targets.
* gcc.c-torture/execute/930513-1.x: New file, likewise.
* gcc.c-torture/execute/980709-1.x: New file, pow() is not available
on HC11/HC12 targets.
* gcc.c-torture/execute/990826-0.x: New file, likewise for floor().
2001-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gcc.dg/wchar_t-1.c: New file.
* gcc.dg/wint_t-1.c: Likewise.
2001-06-11 21:28:51 +02:00
2001-06-11 Bernd Schmidt <bernds@redhat.com>
* g++.old-deja/g++.other/stepanov_v1p2.C: Remove.
2001-06-11 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.law/code-gen5.C: Don't send raw pointers to assert.
2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010611-1.c: New test.
2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-tag-1.c: Add more tests.
2001-06-10 Alexandre Oliva <aoliva@redhat.com>
* g++.old-deja/g++.abi/ptrmem.C: Take into account different
representation on MN10300 and ARM/Thumb.
2001-06-10 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20010610.f: New.
2001-06-09 David Billinghurst <David.Billinghurst@riotinto.com>
* g++.dg/mangle1.C: Change regex to allow USER_LABEL_PREFIX == "_"
names.
2001-06-09 23:37:03 +02:00
2001-06-09 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/ashrdi-1.c: New.
* gcc.c-torture/execute/ashldi-1.c: New.
* gcc.c-torture/execute/lshrdi-1.c: New.
2001-06-09 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/load-3.m: Added. Check sending +load to categories,
in addition to classes.
2001-06-08 Stan Shebs <shebs@apple.com>
* objc/execute/load-2.m: New test. From Nicola Pero
<n.pero@mi.flashnet.it>.
2001-06-08 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010605-2.c: New test.
2001-06-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vbase2.C: New test.
* g++.old-deja/g++.abi/vbase3.C: New test.
2001-06-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/friend49.C: New test.
2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ext/anon3.C: New test.
2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/conv7.C: New test.
2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010605-2.c: New test.
2001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gcc.c-torture/execute/20010604-1.c: New test.
2001-06-04 Loren J. Rittle <ljrittle@acm.org>
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 5.x.
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
* lib/g++.exp (g++_include_flags): Change `args' to gccpath's value.
(g++_link_flags): Likewise.
(g++_init): Pass gccpath's value to two previous functions.
2001-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.misc-tests/linkage.exp: Use wildcards when matching N32.
Ensure logfile entry matches exec command line.
2001-05-31 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/memcheck/blkarg.x: Disable the test.
* g++.dg/mangle1.C: Tweek expected mangling for 64-bit hosts.
2001-05-30 David.Billinghurst <David.Billinghurst@riotinto.com>
* gcc.misc-tests/linkage.exp: Pass appropriate flags to native
compiler for irix6.2
2001-05-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/optimize3.C: New file.
2001-05-29 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c-torture/compile/20010518-2.x: New file to compile, not
assemble.
2001-05-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/optimize2.C: New file.
2001-05-25 Diego Novillo <dnovillo@redhat.com>
* gcc.c-torture/compile/20010518-2.c: New file.
* gcc.c-torture/execute/20010518-1.c: New file.
* gcc.c-torture/execute/20010518-2.c: New file.
2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-arraydecl-1.c, gcc.dg/c99-arraydecl-1.c: New tests.
2001-05-24 Mark Mitchell <mark@codesourcery.com>
G++ no longer defines builtins that do not begin with __builtin.
* g++.old-deja/g++.abi/bitfields.C: Update accordingly.
* g++.old-deja/g++.brendand/misc13.C: Likewise.
* g++.old-deja/g++.law/builtin1.C: Likewise.
* g++.old-deja/g++.law/cvt2.C: Likewise.
* g++.old-deja/g++.mike/net5.C: Likewise.
* g++.old-deja/g++.other/builtins1.C: Likewise.
* g++.old-deja/g++.other/builtins2.C: Likewise.
* g++.old-deja/g++.other/builtins3.C: Likewise.
* g++.old-deja/g++.other/builtins4.C: Likewise.
* g++.old-deja/g++.other/inline8.C: Likewise.
* g++.old-deja/g++.robertl/eb39.C: Likewise.
2001-05-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/using1.C: Adjust.
* g++.old-deja/g++.pt/using2.C: New test.
2001-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/charconst.c: New tests.
* gcc.dg/cpp/escape.c: New tests.
* gcc.dg/cpp/escape-1.c: New tests.
* gcc.dg/cpp/escape-2.c: New tests.
* gcc.dg/cpp/ucs.c: New tests.
2001-05-23 David.Billinghurst <David.Billinghurst@riotinto.com>
* gcc.misc-tests/linkage.exp: Pass appropriate flags to
native compiler for irix6.5.
Wed May 23 2001 Jeffrey D. Oldham <oldham@codesourcery.com>
* lib/g++.exp (g++_include_flags): Use args to compute
get_multilibs.
(g++_link_flags): Likewise.
(g++_init): Pass TOOL_OPTIONS as arguments to two above functions.
2001-05-22 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-hexfloat-1.c: Add more tests.
2001-05-21 Geoff Keating <geoffk@redhat.com>
* gcc.c-torture/compile/920520-1.x: Merge previous contents into
this file.
2001-05-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gcc.c-torture/unsorted/msp.c (A_SIZE): Define according to
STACK_SIZE;
* gcc.c-torture/compile/991214-2.c (HISTO_SIZE): Define according
to STACK_SIZE; Use it to define size of add_histo array.
* gcc.c-torture/compile/920723-1.c (GITT_SIZE): Define according
to STACK_SIZE.
(f): Use GITT_SIZE to define size of gitt local table.
* gcc.c-torture/compile/930621-1.c (BYTEMEM_SIZE): Define according
to STACK_SIZE; Use it to define size of bytemem array.
2001-05-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gcc.c-torture/compile/20000804-1.x: New file, this test fails
on 68HC11/HC12 due to the asm instruction.
* gcc.c-torture/compile/20001205-1.x: New file, ditto.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/20001226-1.x: New file, this test fails
on 68HC11/HC12 because the function is larger than 64K.
* gcc.c-torture/compile/961203-1.x: New file, this test fails
on 68HC11/HC12 because the structure is too large.
2001-05-21 03:36:21 +02:00
2001-05-20 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20010520-1.c: New.
2001-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.old-deja/g++.warn/compare1.C: New test.
* gcc.dg/compare4.c: New test.
2001-05-20 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/optimize1.C: New test.
2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/spec41.C: New test.
2001-05-19 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010114-1.x: Remove.
2001-05-18 Stan Shebs <shebs@apple.com>
* gcc.c-torture/compile/20010518-1.c: New test.
2001-05-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/inherit2.C: Remove XFAIL.
* g++.old-deja/g++.pt/crash67.C: New test.
2001-05-17 Jeffrey D. Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.other/debug9.C: New test.
i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. * testsuite/gcc.dg/complete-port.c: New (revised version of libgcc1-test.c) * po/POTFILES.in: Remove libgcc1-test.c and libgcc1.c. * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR, OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1, LIB1FUNCS, and LIB1FUNCS_EXTRA. Delete rules: libgcc1-test, libgcc1-test.o. Clarify commentary now that libgcc1 no longer exists. * cross-make: Don't set LIBGCC1. * mklibgcc.in: Delete all code for building from libgcc1.c. Always honor LIB1ASMFUNCS if set. * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c, config/arc/lib1funcs.asm, config/arm/lib1funcs.asm, config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm, config/h8300/lib1funcs.asm, config/i386/cygwin.asm, config/i386/uwin.asm, config/m68hc11/larith.asm, config/m68k/lb1sf68.asm, config/mcore/lib1.asm, config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm, config/sparc/lb1spc.asm, config/sparc/lb1spl.asm, config/v850/lib1funcs.asm, config/c4x/libgcc.S: Delete or update references to libgcc1 in commentary. * config/t-libc-ok, config/t-linux, config/t-linux-aout, config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k, config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms, config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff, config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe, config/arm/t-semi, config/arm/t-strongarm-coff, config/arm/t-strongarm-elf, config/arm/t-strongarm-pe, config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr, config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30, config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin, config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware, config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2, config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64, config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx, config/m68k/t-m68kbare, config/m68k/t-m68kelf, config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas, config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs, config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k, config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore, config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas, config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf, config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3, config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix, config/mn10200/t-mn10200, config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64, config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro, config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43, config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas, config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux, config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf, config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare, config/sparc/t-sparclite, config/sparc/t-splet, config/sparc/t-sunos41, config/sparc/t-vxsparc, config/sparc/t-vxsparc64, config/v850/t-v850: Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST. * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h: Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY. * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE, FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY, nongcc_SI_type, nongcc_word_type, or perform_* * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3. * config/i386/386bsd.h, config/i386/beos-elf.h, config/i386/linux-aout.h, config/i386/linux-oldld.h, config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h, config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h: Don't include i386/perform.h. * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370, config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe, config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta, config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas, config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40, config/vax/t-openbsd, config/vax/t-vax: Delete. * config.gcc: Remove references to deleted files. (arm-semi-aof): Use arm/t-semi for tmake_file. * gcc.texi, install.texi, invoke.texi, tm.texi: Delete or rewrite text which is no longer relevant now that libgcc1 no longer exists. * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix: No need to set INSTALL_ASSERT_H. (Missed in previous sweep.) From-SVN: r42188
2001-05-17 05:16:18 +02:00
2001-05-16 Zack Weinberg <zackw@stanford.edu>
* gcc.dg/complete-port.c: New (revised version of libgcc1-test.c)
2001-05-16 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/20010516-1.c: New test.
2001-05-16 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash41.C: New test.
2001-05-16 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash66.C: New test.
2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
* g++.old-deja/g++.robertl/eb27.C: Convert.
2001-05-15 Nick Clifton <nickc@cambridge.redhat.com>
* g++.dg/friend-warn.C: New test. Do not warn about friend
declaration being redundant.
2001-05-15 Mark Mitchell (admin) <mitchell@nunki.dbai.tuwien.ac.at>
* gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.
2001-05-14 Mark Mitchell <mark@codesourcery.com>
* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp: Use testsuite_flags.
2001-05-13 Mark Mitchell <mark@codesourcery.com>
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.
2001-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gcc.c-torture/execute/ieee/ieee.exp: Don't run ieee tests on VAX.
2001-05-11 Mark Mitchell <mark@codesourcery.com>
* lib/objc.exp: Add -lposix4 on Solaris 2.8.
c-parse.in: Remove many shift/reduce conflicts. * c-parse.in: Remove many shift/reduce conflicts. Update %expect values. (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea, declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea, declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea, declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea, declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea, declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea, declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea, declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts, declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa, declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs, maybe_type_quals_setattrs, typespec_nonattr, typespec_attr, typespec_reserved_nonattr, typespec_reserved_attr, typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr, structsp_nonattr, components_notype, component_notype_declarator, absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute, firstparm, setspecs_fp): New (typed_declspecs, reserved_declspecs, typed_typespecs, reserved_typespecquals, declmods, typespec, typespecqual_reserved, typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr declmods_no_prefix_attr, nonempty_type_quals, structsp, type_quals): Remove. Users updated. (initdecls, notype_initdecls, after_type_declarator, parm_declarator, notype_declarator, absdcl1, components, ivars): Don't allow attributes at the start of a declarator; include them in the production containing the declarator instead. Always require type specifiers before trying to redeclare a typedef name. (typename): Allow for attributes but warn that they are ignored. (parmlist, firstparm, setspecs_fp): Include attributes in parmlist; suck them off the parser stack in firstparm using setspecs_fp. testsuite: * gcc.c-torture/compile/20010313-1.c: New test. From-SVN: r41940
2001-05-10 18:17:07 +02:00
2001-05-10 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010313-1.c: New test.
2001-05-09 Zack Weinberg <zackw@stanford.edu>
* gcc.dg/cpp/direct2.c: New test.
* gccq.dg/cpp/direct2s.c: New test.
* gcc.c-torture/execute/920730-1t.c: #undef __GNUC__ at head.
2001-05-07 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.other/op2.C: Don't use `glob' as a variable.
* g++.old-deja/g++.other/op3.C: Likewise.
2001-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/syshdr.h: New file.
* gcc.dg/cpp/sysmac1.c: Update.
* gcc.dg/cpp/sysmac2.c: Update.
2001-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/sysmac1.c,sysmac2.c: Return to original file.
2001-05-04 David Edelsohn <edelsohn@gnu.org>
* gcc.c-torture/execute/20001227-1.c: Remove duplicate of
gcc.c-torture/execute/20000412-3.c with no ChangeLog entry.
2001-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.c-torture/execute/longlong.c: Update for 16 bit int issues.
2001-05-03 Geoffrey Keating <geoffk@redhat.com>
* lib/g++.exp (g++_include_flags): Don't use any special flags
if TESTING_IN_BUILD_TREE is not defined.
(g++_init): Use a plain 'c++' as the compiler if
TESTING_IN_BUILD_TREEE is not defined.
2001-05-02 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.eh/catch13.C: New test.
* g++.old-deja/g++.eh/catch14.C: New test.
2001-05-02 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/tr-define.c: New test.
2001-05-01 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.abi/cxa_vec.C: Get malloc() from
<stdlib.h>, not <malloc.h>.
2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ns/template17.C: New test.
2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/ref4.C: New test.
2001-05-01 01:28:23 +02:00
2001-04-30 Richard Henderson <rth@redhat.com>
* gcc.dg/20000724-1.c: Revert last change.
2001-04-30 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20010430.f: New test.
2001-04-30 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/20000724-1.c: Add a clobber of `esp'.
2001-04-29 Joseph S. Myers <jsm28@cam.ac.uk>
* g++.old-deja/g++.other/crash14.C: Remove -fnew-abi.
2001-04-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/crash6.C: New test.
2001-04-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/warn7.C: New test.
2001-04-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/defarg9.C: New test.
2001-04-26 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/20010426.f: New test.
* g77.f-torture/execute/20010426.f: New test.
2001-04-26 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/20000629-1.x: Remove - error
has been fixed.
2001-04-26 Jeffrey A Law (law@cygnus.com)
* g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
Tweak slightly to work with g++.dg framework.
* g++.dg/special/ecos.exp: Run initp1.C test.
* g++.old-deja/g++.ext/initp1.C: Moved to g++.dg/special.
* g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
its linker doesn't give line numbers either.
* g++.old-deja/g++.ext/instantiate3.C: Similarly.
2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/lex1.C: New test.
2001-04-26 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/noncompile/20010425-1.c: New test.
2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/mangle2.C: New test.
2001-04-25 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/format/plus-1.c: New test.
2001-04-25 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20010423-1.c: New test.
2001-04-25 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010422-1.c: New test.
2001-04-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ns/type2.C: New test.
2001-04-24 Zack Weinberg <zackw@stanford.edu>
* g++.old-deja/g++.other/perf1.C: New test.
Lazy __FUNCTION__ generation. gcc: Lazy __FUNCTION__ generation. * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME, RID_C99_FUNCTION_NAME): New _RIDs. (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove. (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL, CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New global tree slots. (function_id_node, pretty_function_id_node, func_id_node): Remove. (c99_function_name_decl_node, function_name_decl_node, pretty_function_name_decl_node, saved_function_name_decls): Declare. (struct language_function): Remove x_function_name_declared_p. (make_fname_decl): Remove a parameter. (declare_function_names): Remove prototype. (start_fname_decls, finish_fname_decls): Prototype. (fname_as_string): Likewise. (fname_string, fname_decl): Likewise. * c-common.c (make_fname_decl): Adjust. (struct fname_var_t): New struct. (fname_vars): New static array. (declare_function_name): Remove. (start_fname_decls, finish_fname_decls): New functions. (fname_as_string): New function from remnants of declare_function_name. (fname_string, fname_decl): New functions. * c-decl.c (c_function_name_declared_p): Remove. (init_decl_processing): Don't generate __FUNCTION__ et al ids, don't call declare_function_name. Call start_fname_decls. (c_make_fname_decl): Adjust parameters. Generate the name. Don't clobber the line number. Call finish_decl. (start_function): Call start_fname_decls. (finish_function): Call finish_fname_decls. Remove c_function_name_declared_p. (push_c_function_context): Don't push c_function_name_declared_p. (pop_c_function_context): Don't pop c_function_name_declared_p. (c_begin_compound_stmt): Don't check c_function_name_declared_p. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens. (program): Call finish_fname_decls for C. (primary): Add VAR_FUNC_NAME. (reswords): Add slots for __FUNCTION__ et al. (rid_to_yy): Add mappings for __FUNCTION__ et al. (yylexname): If it's a STRING_FUNC_NAME generate the function name now. Don't look for VAR_DECLs containing __FUNCTION__ et al. * c-semantics.c (prune_unused_decls): Remove. (finish_stmt_tree): Don't call prune_unused_decls. (genrtl_decl_stmt): Don't prune unused decls here. cp: Lazy __FUNCTION__ generation. * cp-tree.def (FUNCTION_NAME): Remove. * cp-tree.h (function_name_declared_p): Remove. (cp_fname_init): Prototype. * decl.c (init_decl_processing): Don't generate __FUNCTION__ et al ids, don't call declare_function_name. Call start_fname_decls. (cp_make_fname_decl): Adjust parameters. Generate the name. Don't clobber the line number. (cp_fname_init): New function. (start_function): Call start_fname_decls. (finish_function): Call finish_fname_decls. * lex.c (reswords): Add slots for __FUNCTION__ et al. (rid_to_yy): Add mappings for __FUNCTION__ et al. * optimize.c (maybe_clone_body): Remove function_name_declared_p. * parse.y (VAR_FUNC_NAME): New token. (primary): Add VAR_FUNC_NAME. * pt.c (tsubst_decl): Adjust a DECL_PRETTY_FUNCTION_P's generation. (tsubst, FUNCTION_NAME case): Remove. (tsubst_copy, FUNCTION_NAME case): Remove. (tsubst_expr, DECL_STMT case): Be careful with a DECL_PRETTY_FUNCTION_P. (instantiate_decl): Remove function_name_declared_p. * semantics.c (begin_compound_statement): Don't call declare_function_name here. (setup_vtbl_ptr). Don't save & restore function_name_declared_p. (finish_translation_unit): Call finish_fname_decls. (expand_body): Remove function_name_declared_p. * typeck2.c (digest_init): Allow any ERROR_MARK. testsuite: * gcc.dg/c99-func-2.c: Remove xfail. * gcc.dg/c99-func-3.c: Remove xfail. * gcc.dg/c99-func-4.c: Remove xfail. From-SVN: r41520
2001-04-24 10:22:06 +02:00
2001-04-24 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/c99-func-2.c: Remove xfail.
* gcc.dg/c99-func-3.c: Remove xfail.
* gcc.dg/c99-func-4.c: Remove xfail.
2001-04-23 Zack Weinberg <zackw@stanford.edu>
* gcc.c-torture/execute/20010124-1.c: No longer expected to fail.
2001-04-23 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010423-1.c: New test.
2001-04-20 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/typename28.C: New test.
2001-04-20 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/empty2.C: New test.
* g++.old-deja/g++.abi/empty3.C: New test.
2001-04-20 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/comdat2.C: New test.
* g++.old-deja/g++.other/comdat2-aux.cc: Auxiliary source for it.
2001-04-20 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/overload14.C: New test.
2001-04-20 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/lookup23.C: New test.
2001-04-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010403-1.c: New test.
2001-04-19 David Billinghurst <David.Billinghurst@riotinto.com>
Mark Mitchell <mark@codesourcery.com>
* lib/old-dejagnu.exp: Don't delete output of executable.
Add .exe suffix to executables.
2001-04-18 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/short.x; Remove - Error has been fixed.
2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/wtr-conversion-1.c: Don't test for width changes.
2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/primary3.C (main): Correct expected layout.
* g++.old-deja/g++.abi/crash1.C: New test.
2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash40.C: New test.
2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/20010122-1.c: Fix declaration of alloca.
2001-04-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/warn6.C: New test.
22001-04-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* g++.old-deja/g++.robertl/eb42.C: Same.
001-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/wtr-conversion-1.c: New testcase.
2001-04-11 00:22:06 +02:00
2001-04-10 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.other/array5.C: New.
2001-04-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20010408-1.c: New test.
15071.C (main): Update to conformant headers and constructs. 2001-04-06 Benjamin Kosnik <bkoz@redhat.com> * g++.old-deja/g++.benjamin/15071.C (main): Update to conformant headers and constructs. * g++.old-deja/g++.robertl/eb79.C: Same. * g++.old-deja/g++.robertl/eb77.C (main): Same. * g++.old-deja/g++.robertl/eb73.C: Same. * g++.old-deja/g++.robertl/eb66.C (main): Same. * g++.old-deja/g++.robertl/eb55.C (t): Same. * g++.old-deja/g++.robertl/eb54.C (main): Same. * g++.old-deja/g++.robertl/eb46.C (main): Same. * g++.old-deja/g++.robertl/eb44.C: Same. * g++.old-deja/g++.robertl/eb41.C (main): Same. * g++.old-deja/g++.robertl/eb4.C (main): Same. * g++.old-deja/g++.robertl/eb39.C: Same. * g++.old-deja/g++.robertl/eb33.C (main): Same. * g++.old-deja/g++.robertl/eb31.C (main): Same. * g++.old-deja/g++.robertl/eb30.C: Same. * g++.old-deja/g++.robertl/eb3.C: Same. * g++.old-deja/g++.robertl/eb24.C (T>): Same. * g++.old-deja/g++.robertl/eb21.C: Same. * g++.old-deja/g++.robertl/eb15.C: Same. * g++.old-deja/g++.robertl/eb118.C: Same. * g++.old-deja/g++.robertl/eb115.C (main): Same. * g++.old-deja/g++.robertl/eb113.C (streambuf): Same. * g++.old-deja/g++.robertl/eb109.C: Same. * g++.old-deja/g++.other/sibcall1.C (main): Same. * g++.old-deja/g++.mike/rtti1.C: Same. * g++.old-deja/g++.mike/p658.C: Same. * g++.old-deja/g++.mike/net46.C: Same. * g++.old-deja/g++.mike/net34.C: Same. * g++.old-deja/g++.mike/memoize1.C: Same. * g++.old-deja/g++.mike/eh2.C: Same. * g++.old-deja/g++.law/weak.C: Same. * g++.old-deja/g++.law/visibility7.C: Same. * g++.old-deja/g++.law/visibility25.C: Same. * g++.old-deja/g++.law/visibility22.C: Same. * g++.old-deja/g++.law/visibility2.C: Same. * g++.old-deja/g++.law/visibility17.C: Same. * g++.old-deja/g++.law/visibility13.C: Same. * g++.old-deja/g++.law/visibility10.C: Same. * g++.old-deja/g++.law/visibility1.C: Same. * g++.old-deja/g++.law/virtual3.C (eval): Same. * g++.old-deja/g++.law/vbase1.C: Same. * g++.old-deja/g++.law/operators32.C: Same. * g++.old-deja/g++.law/nest3.C: Same. * g++.old-deja/g++.law/missed-error2.C (foo): Same. * g++.old-deja/g++.law/except5.C (main): Same. * g++.old-deja/g++.law/cvt7.C (run): Same. * g++.old-deja/g++.law/cvt2.C: Same. * g++.old-deja/g++.law/cvt16.C: Same. * g++.old-deja/g++.law/ctors6.C (bar): Same. * g++.old-deja/g++.law/ctors17.C (main): Same. * g++.old-deja/g++.law/ctors13.C: Same. * g++.old-deja/g++.law/ctors12.C (main): Same. * g++.old-deja/g++.law/ctors10.C: Same. * g++.old-deja/g++.law/code-gen5.C: Same. * g++.old-deja/g++.law/bad-error7.C: Same. * g++.old-deja/g++.law/arm9.C: Same. * g++.old-deja/g++.law/arm12.C: Same. * g++.old-deja/g++.law/arg8.C: Same. * g++.old-deja/g++.law/arg1.C: Same. * g++.old-deja/g++.jason/typeid1.C (struct foo): Same. * g++.old-deja/g++.jason/template31.C: Same. * g++.old-deja/g++.jason/template24.C (main): Same. * g++.old-deja/g++.jason/2371.C: Same. * g++.old-deja/g++.eh/new2.C: Same. * g++.old-deja/g++.eh/new1.C: Same. * g++.old-deja/g++.brendan/ptolemy2.C: Same. * g++.old-deja/g++.brendan/nest21.C (main): Same. * g++.old-deja/g++.brendan/err-msg3.C: Same. * g++.old-deja/g++.brendan/crash62.C: Same. * g++.old-deja/g++.brendan/crash52.C: Same. * g++.old-deja/g++.brendan/crash49.C (main): Same. * g++.old-deja/g++.brendan/crash38.C: Same. * g++.old-deja/g++.brendan/crash15.C (main): Same. * g++.old-deja/g++.brendan/copy9.C: Same. From-SVN: r41167
2001-04-07 00:05:10 +02:00
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
* g++.old-deja/g++.benjamin/15071.C (main): Update to conformant
headers and constructs.
* g++.old-deja/g++.robertl/eb79.C: Same.
* g++.old-deja/g++.robertl/eb77.C (main): Same.
* g++.old-deja/g++.robertl/eb73.C: Same.
* g++.old-deja/g++.robertl/eb66.C (main): Same.
* g++.old-deja/g++.robertl/eb55.C (t): Same.
* g++.old-deja/g++.robertl/eb54.C (main): Same.
* g++.old-deja/g++.robertl/eb46.C (main): Same.
* g++.old-deja/g++.robertl/eb44.C: Same.
* g++.old-deja/g++.robertl/eb41.C (main): Same.
* g++.old-deja/g++.robertl/eb4.C (main): Same.
* g++.old-deja/g++.robertl/eb39.C: Same.
* g++.old-deja/g++.robertl/eb33.C (main): Same.
* g++.old-deja/g++.robertl/eb31.C (main): Same.
* g++.old-deja/g++.robertl/eb30.C: Same.
* g++.old-deja/g++.robertl/eb3.C: Same.
* g++.old-deja/g++.robertl/eb24.C (T>): Same.
* g++.old-deja/g++.robertl/eb21.C: Same.
* g++.old-deja/g++.robertl/eb15.C: Same.
* g++.old-deja/g++.robertl/eb118.C: Same.
* g++.old-deja/g++.robertl/eb115.C (main): Same.
* g++.old-deja/g++.robertl/eb113.C (streambuf): Same.
* g++.old-deja/g++.robertl/eb109.C: Same.
* g++.old-deja/g++.other/sibcall1.C (main): Same.
* g++.old-deja/g++.mike/rtti1.C: Same.
* g++.old-deja/g++.mike/p658.C: Same.
* g++.old-deja/g++.mike/net46.C: Same.
* g++.old-deja/g++.mike/net34.C: Same.
* g++.old-deja/g++.mike/memoize1.C: Same.
* g++.old-deja/g++.mike/eh2.C: Same.
* g++.old-deja/g++.law/weak.C: Same.
* g++.old-deja/g++.law/visibility7.C: Same.
* g++.old-deja/g++.law/visibility25.C: Same.
* g++.old-deja/g++.law/visibility22.C: Same.
* g++.old-deja/g++.law/visibility2.C: Same.
* g++.old-deja/g++.law/visibility17.C: Same.
* g++.old-deja/g++.law/visibility13.C: Same.
* g++.old-deja/g++.law/visibility10.C: Same.
* g++.old-deja/g++.law/visibility1.C: Same.
* g++.old-deja/g++.law/virtual3.C (eval): Same.
* g++.old-deja/g++.law/vbase1.C: Same.
* g++.old-deja/g++.law/operators32.C: Same.
* g++.old-deja/g++.law/nest3.C: Same.
* g++.old-deja/g++.law/missed-error2.C (foo): Same.
* g++.old-deja/g++.law/except5.C (main): Same.
* g++.old-deja/g++.law/cvt7.C (run): Same.
* g++.old-deja/g++.law/cvt2.C: Same.
* g++.old-deja/g++.law/cvt16.C: Same.
* g++.old-deja/g++.law/ctors6.C (bar): Same.
* g++.old-deja/g++.law/ctors17.C (main): Same.
* g++.old-deja/g++.law/ctors13.C: Same.
* g++.old-deja/g++.law/ctors12.C (main): Same.
* g++.old-deja/g++.law/ctors10.C: Same.
* g++.old-deja/g++.law/code-gen5.C: Same.
* g++.old-deja/g++.law/bad-error7.C: Same.
* g++.old-deja/g++.law/arm9.C: Same.
* g++.old-deja/g++.law/arm12.C: Same.
* g++.old-deja/g++.law/arg8.C: Same.
* g++.old-deja/g++.law/arg1.C: Same.
* g++.old-deja/g++.jason/typeid1.C (struct foo): Same.
* g++.old-deja/g++.jason/template31.C: Same.
* g++.old-deja/g++.jason/template24.C (main): Same.
* g++.old-deja/g++.jason/2371.C: Same.
* g++.old-deja/g++.eh/new2.C: Same.
* g++.old-deja/g++.eh/new1.C: Same.
* g++.old-deja/g++.brendan/ptolemy2.C: Same.
* g++.old-deja/g++.brendan/nest21.C (main): Same.
* g++.old-deja/g++.brendan/err-msg3.C: Same.
* g++.old-deja/g++.brendan/crash62.C: Same.
* g++.old-deja/g++.brendan/crash52.C: Same.
* g++.old-deja/g++.brendan/crash49.C (main): Same.
* g++.old-deja/g++.brendan/crash38.C: Same.
* g++.old-deja/g++.brendan/crash15.C (main): Same.
* g++.old-deja/g++.brendan/copy9.C: Same.
2001-04-06 J"orn Rennecke <amylaar@redhat.com>
2001-04-11 21:16:01 +02:00
* gcc.c-torture/execute/20001203-2.c (memset):
Count argument is of type __SIZE_TYPE__.
2001-04-04 Diego Novillo <dnovillo@redhat.com>
* gcc.c-torture/compile/20010404-1.c: New test.
2001-04-04 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010326-1.c: New test.
2001-04-03 Alexandre Oliva <aoliva@redhat.com>
* g++.old-deja/g++.ext/instantiate1.C: Adjust to accommodate
peculiarities of the SH.
* g++.old-deja/g++.ext/instantiate2.C: Likewise.
2001-04-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gcc.c-torture/execute/ieee/fp-cmp-1.c: Renamed nan to dnan.
* gcc.c-torture/execute/ieee/fp-cmp-3.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-2.c: Renamed nan to fnan.
2001-04-02 Jakub Jelinek <jakub@redhat.com>
* g77.f-torture/compile/20010321-1.f: New test.
2001-04-02 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010329-1.c: New test.
2001-04-02 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010329-1.c: New test.
2001-03-28 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.other/eh4.C: Fix typo.
2001-03-28 Loren J. Rittle <ljrittle@acm.org>
* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.
2001-03-28 Philip Blundell <philb@gnu.org>
* gcc.c-torture/compile/20010328-1.c: New test.
2001-03-27 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.eh/crash3.C: Don't use -fsjlj-exceptions.
* g++.old-deja/g++.eh/vbase3.C: Likewise.
2001-03-27 Alan Modra <alan@linuxcare.com.au>
* gcc.c-torture/compile/20010327-1.c: New test.
2001-03-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/friend12.C: New test.
* g++.old-deja/g++.other/friend9.C: Expect no errors.
* g++.old-deja/g++.robertl/eb56.C: Make typedef public.
2001-03-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/20010325-1.c: New test.
2001-03-23 13:04:11 +01:00
2001-03-23 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/mangle3.C: New test.
2001-03-22 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/anon8.C: New test.
2001-03-20 Philip Blundell <philb@gnu.org>
* gcc.c-torture/compile/20010320-1.c: New test.
2001-03-17 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.other/eh4.C: Add expected error text.
2001-03-15 Geoff Keating <geoff@redhat.com>
* gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these
tests on AIX.
2001-03-15 Gabriel Dos Reis <gdr@codesourcery.com>
* g++.old-deja/g++.other/eh4.C: New test.
2001-03-14 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/mi1.c: Update.
2001-03-14 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/regstack.C: New test.
2001-03-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/ref4.C: New test.
va_method.m: Added. 2001-03-11 Nicola Pero <n.pero@mi.flashnet.it> * objc/execute/va_method.m: Added. * objc/execute/IMP.m: Added. * objc/execute/_cmd.m: Added. * objc/execute/accessing_ivars.m: Added. * objc/execute/class-1.m: Added. * objc/execute/class-10.m: Added. * objc/execute/class-11.m: Added. * objc/execute/class-12.m: Added. * objc/execute/class-13.m: Added. * objc/execute/class-14.m: Added. * objc/execute/class-2.m: Added. * objc/execute/class-3.m: Added. * objc/execute/class-4.m: Added. * objc/execute/class-5.m: Added. * objc/execute/class-6.m: Added. * objc/execute/class-7.m: Added. * objc/execute/class-8.m: Added. * objc/execute/class-9.m: Added. * objc/execute/class-tests-1.h * objc/execute/class-tests-2.h * objc/execute/compatibility_alias.m: Added. * objc/execute/encode-1.m: Added. * objc/execute/formal_protocol-1.m: Added. * objc/execute/formal_protocol-2.m: Added. * objc/execute/formal_protocol-3.m: Added. * objc/execute/formal_protocol-4.m: Added. * objc/execute/formal_protocol-5.m: Added. * objc/execute/formal_protocol-6.m: Added. * objc/execute/formal_protocol-7.m: Added. * objc/execute/informal_protocol.m: Added. * objc/execute/initialize.m: Added. * objc/execute/load.m: Added. * objc/execute/many_args_method.m: Added. * objc/execute/nested-3.m: Added. * objc/execute/no_clash.m: Added. * objc/execute/private.m: Added. * objc/execute/redefining_self.m: Added. * objc/execute/root_methods.m: Added. * objc/execute/selector-1.m: Added. * objc/execute/static-1.m: Added. * objc/execute/static-2.m: Added. * objc/execute/va_method.m: Added. From-SVN: r40398
2001-03-12 07:26:40 +01:00
2001-03-11 Nicola Pero <n.pero@mi.flashnet.it>
* objc/execute/va_method.m: Added.
* objc/execute/IMP.m: Added.
* objc/execute/_cmd.m: Added.
* objc/execute/accessing_ivars.m: Added.
* objc/execute/class-1.m: Added.
* objc/execute/class-10.m: Added.
* objc/execute/class-11.m: Added.
* objc/execute/class-12.m: Added.
* objc/execute/class-13.m: Added.
* objc/execute/class-14.m: Added.
* objc/execute/class-2.m: Added.
* objc/execute/class-3.m: Added.
* objc/execute/class-4.m: Added.
* objc/execute/class-5.m: Added.
* objc/execute/class-6.m: Added.
* objc/execute/class-7.m: Added.
* objc/execute/class-8.m: Added.
* objc/execute/class-9.m: Added.
* objc/execute/class-tests-1.h
* objc/execute/class-tests-2.h
* objc/execute/compatibility_alias.m: Added.
* objc/execute/encode-1.m: Added.
* objc/execute/formal_protocol-1.m: Added.
* objc/execute/formal_protocol-2.m: Added.
* objc/execute/formal_protocol-3.m: Added.
* objc/execute/formal_protocol-4.m: Added.
* objc/execute/formal_protocol-5.m: Added.
* objc/execute/formal_protocol-6.m: Added.
* objc/execute/formal_protocol-7.m: Added.
* objc/execute/informal_protocol.m: Added.
* objc/execute/initialize.m: Added.
* objc/execute/load.m: Added.
* objc/execute/many_args_method.m: Added.
* objc/execute/nested-3.m: Added.
* objc/execute/no_clash.m: Added.
* objc/execute/private.m: Added.
* objc/execute/redefining_self.m: Added.
* objc/execute/root_methods.m: Added.
* objc/execute/selector-1.m: Added.
* objc/execute/static-1.m: Added.
* objc/execute/static-2.m: Added.
* objc/execute/va_method.m: Added.
2001-03-10 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.
2001-03-07 Neil Booth <neil@daikokuya.demon.co.uk>
* g++.old-deja/g++.other/crash31.C: XFAIL.
* g77.f-torture/execute/20010116.x: Conditional XFAIL.
* g77.f-torture/execute/short.x: XFAIL -Os on x86.
* gcc.c-torture/execute/20010123-1.x: XFAIL.
* gcc.c-torture/execute/20010124-1.x: XFAIL.
* gcc.dg/sequence-pt-1.c: XFAIL one test.
va_method.m: Added. 2001-03-11 Nicola Pero <n.pero@mi.flashnet.it> * objc/execute/va_method.m: Added. * objc/execute/IMP.m: Added. * objc/execute/_cmd.m: Added. * objc/execute/accessing_ivars.m: Added. * objc/execute/class-1.m: Added. * objc/execute/class-10.m: Added. * objc/execute/class-11.m: Added. * objc/execute/class-12.m: Added. * objc/execute/class-13.m: Added. * objc/execute/class-14.m: Added. * objc/execute/class-2.m: Added. * objc/execute/class-3.m: Added. * objc/execute/class-4.m: Added. * objc/execute/class-5.m: Added. * objc/execute/class-6.m: Added. * objc/execute/class-7.m: Added. * objc/execute/class-8.m: Added. * objc/execute/class-9.m: Added. * objc/execute/class-tests-1.h * objc/execute/class-tests-2.h * objc/execute/compatibility_alias.m: Added. * objc/execute/encode-1.m: Added. * objc/execute/formal_protocol-1.m: Added. * objc/execute/formal_protocol-2.m: Added. * objc/execute/formal_protocol-3.m: Added. * objc/execute/formal_protocol-4.m: Added. * objc/execute/formal_protocol-5.m: Added. * objc/execute/formal_protocol-6.m: Added. * objc/execute/formal_protocol-7.m: Added. * objc/execute/informal_protocol.m: Added. * objc/execute/initialize.m: Added. * objc/execute/load.m: Added. * objc/execute/many_args_method.m: Added. * objc/execute/nested-3.m: Added. * objc/execute/no_clash.m: Added. * objc/execute/private.m: Added. * objc/execute/redefining_self.m: Added. * objc/execute/root_methods.m: Added. * objc/execute/selector-1.m: Added. * objc/execute/static-1.m: Added. * objc/execute/static-2.m: Added. * objc/execute/va_method.m: Added. From-SVN: r40398
2001-03-12 07:26:40 +01:00
2001-03-06 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/nested-2.m: Added. Contributed by Nicola Pero.
2001-03-06 Zack Weinberg <zackw@stanford.edu>
* gcc.dg/20000724-1.c: Don't use multiline strings.
2001-03-06 Zack Weinberg <zackw@stanford.edu>
* objc/execute/string1.m, objc/execute/string2.m: Compare the
result of -cString against what we expect it to be; don't just
print it out for no one to read.
* objc/execute/string3.m, objc/execute/string4.m: New tests.
Based on testcases provided by Nicola Pero.
2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/macro7.c: New test.
2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/multiline.c: Update.
2001-03-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/enum3.C: New test.
2001-03-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/pod1.C: New test.
2001-03-02 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ext/overload1.C: New test.
2001-03-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/using1.C: New test.
2001-03-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/using9.C: New test.
2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/bycopy-3.m: Added new test from Nicola Pero.
* objc/execute/protocol.m (main): Added patch from Nicola Pero.
2001-02-28 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ext/realpt1.C: Remove.
2001-02-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vtable3.h: Check vcall offsets too.
2001-02-26 Will Cohen <wcohen@redhat.com>
* gcc.c-torture/execute/ieee/20010226-1.c: New test.
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.pt/overload15.C: New test to stress overloaded
templatized constructors.
2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20010224-1.c: New test.
2001-02-23 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010222-1.c: New test.
2001-02-22 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/inline20.C: New test.
2001-02-21 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/nested-1.m: Added (contributed by Nicola Pero).
2001-02-21 12:48:24 +01:00
2001-02-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* g++.old-deja/g++.other/lookup22.C: New test.
2001-02-19 Zack Weinberg <zackw@stanford.edu>
* g77.dg: New directory.
* g77.dg/20010216-1.f: New test case.
* g77.dg/dg.exp: New driver.
* lib/g77-dg.exp: New driver library.
2001-02-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.other/inline19.c: Remove XFAIL.
2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
* g++.old-deja/g++.other/decl9.C: New test.
2001-02-16 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/init16.C: Update the test so that it does
not need <string> and also tests the initialization at runtime.
2001-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.c-torture/execute/longlong.c: New test.
2001-02-14 J"orn Rennecke <amylaar@redhat.com>
* g++.old-deja/g++.brendan/new2.C (main): Use sizeof.
2001-02-14 J"orn Rennecke <amylaar@redhat.com>
* gcc.c-torture/execute/920302-1.c (execute):
Change argument type to short.
2001-02-14 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/deduct6.C: New test.
2001-02-14 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/deduct5.C: New test.
2001-02-14 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010209-1.c: New test.
2001-02-14 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/sysmac1.c, sysmac2.c: New tests.
2001-02-12 Geoffrey Keating <geoffk@redhat.com>
* g++.dg/vtgc1.C: Update for new ABI.
* consistency.vlad: New directory, 1665 files.
2001-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-impl-int-1.c: Use stricter error string for implicit
return type.
* gcc.dg/cpp/digraphs.c: Declare puts.
2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/warn5.C: New test.
2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/spec40.C: New test.
2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.robertl/eb63.C: Remove new initializer list
case.
* g++.old-deja/g++.ext/arrnew.C: Deprecate.
2001-02-12 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010209-1.c: New test.
2001-02-11 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.other/crash26.C: XFAIL if parser produces
excess errors message but not if it crashes.
* g++.old-deja/g++.other/crash27.C: Likewise.
* g++.old-deja/g++.other/crash28.C: Likewise.
* g++.old-deja/g++.other/crash30.C: Likewise.
* g++.old-deja/g++.other/crash32.C: Likewise.
* g++.old-deja/g++.other/crash35.C: Likewise.
* g++.old-deja/g++.pt/inherit2.C: Likewise.
2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
* config/default.exp, gcc.dg/cpp/cpp.exp, gcc.dg/dg.exp,
gcc.dg/noncompile/noncompile.exp, gcc.dg/format/format.exp,
g++.dg/dg.exp, g++.old-deja/old-deja.exp,
g77.f-torture/execute/execute.exp,
g77.f-torture/noncompile/noncompile.exp,
gcc.c-torture/execute/execute.exp,
gcc.c-torture/execute/memcheck/memcheck.exp,
gcc.misc-tests/acker1.exp, gcc.misc-tests/dg-test.exp,
gcc.misc-tests/dhry.exp, gcc.misc-tests/gcov.exp,
gcc.misc-tests/linkage.exp, gcc.misc-tests/matrix1.exp,
gcc.misc-tests/mg.exp, gcc.misc-tests/msgs.exp,
gcc.misc-tests/sieve.exp, gcc.misc-tests/sort2.exp,
lib/g++-dg.exp, lib/g++.exp, lib/g77.exp, lib/gcc-dg.exp,
lib/gcc.exp, lib/mike-g++.exp, lib/mike-gcc.exp,
lib/old-dejagnu.exp, lib/scanasm.exp, objc/execute/execute.exp:
Remove bug reporting instructions with ancient email addresses.
2001-02-07 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20010202-1.c: New test.
* gcc.dg/991209-1.c: Compile on whole ia32 family, not just i386.
2001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
* g++.dg/stdbool-if.C: New test.
2001-02-07 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/fdecl.m: Added main().
2001-02-07 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010206-1.c: New test.
2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Update.
2001-02-05 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/bycopy-1.m, bycopy-2.m: Added new tests from Nicola
Pero <nicola@brainstorm.co.uk>.
* objc/execute/fdecl.m: Declare foo as pointer to AClass.
2001-02-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/spec39.C: New test.
2001-02-05 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010202-1.c: New test.
invoke.texi (-fdump-class-layout): Document. gcc: * invoke.texi (-fdump-class-layout): Document. (-fdump-translation-unit): Use `=' as filename separator. cp: Fix specification and implementation bugs in V3 ABI construction vtables. * cp-tree.h (flag_dump_class_layout): New flag. (BINFO_OVERRIDE_ALONG_VIRTUAL_PATH_P): Remove. (BINFO_LOST_PRIMARY_P): New flag. (SET_BINFO_NEW_VTABLE_MARKED): Adjust asserts. (BINFO_PRIMARY_MARKED_P): Rename to ... (BINFO_PRIMARY_P): ... here. (binfo_via_virtual): New prototype. * decl2.c (flag_dump_class_layout): New flag. (cxx_decode_option): Set it. Adjust -fdump-translation-unit to use `=' as a file name separator. * init.c (dfs_initialize_vtbl_ptrs): Walk into virtual primary bases. (build_vtbl_address): If this is a virtual primary base, then get the vtbl of what it is ultimately primary for. * search.c (dfs_skip_nonprimary_vbases_unmarkedp): Adjust for BINFO_PRIMARY_P. (dfs_skip_nonprimary_vbases_markedp): Likewise. (get_shared_vbase_if_not_primary): Likewise. (dfs_get_pure_virtuals): Likewise. (expand_upcast_fixups): Likewise. (fixup_virtual_upcast_offsets): Likewise. (dfs_find_vbase_instance): Likewise. (find_vbase_instance): Likewise. (binfo_from_vbase): Adjust comment to reflect reality. (binfo_via_virtual): New function. * class.c (VTT_TOP_LEVEL_P, VTT_MARKED_BINFO_P): New macros for binfo walking during VTT construction. (dfs_mark_primary_bases): Remove. (force_canonical_binfo_r): New function. (force_canonical_binfo): New function. (mark_primary_virtual_base): New function. (mark_primary_bases): Walk in inheritance graph order, use mark_primary_virtual_base. (determine_primary_base): Use some more intermediate variables. (dfs_find_final_overrider): Don't check for overriding along a virtual path. (dfs_modify_vtables): Walk into primary virtual bases too. (walk_subobject_offsets): Adjust for BINFO_PRIMARY_P. (build_base_fields): Likewise. (dfs_set_offset_for_unshared_vbases): Likewise. (layout_virtual_bases): Likewise. (end_of_class): Likewise. (finish_struct_1): Call dump_class_hierarchy, if requested. (dfs_get_primary_binfo): Use BINFO_TYPE for binfos. (dump_class_hierarchy_r): Add stream parameter. Emit more information. (dump_class_hierarchy): Add file parameter. Append to file, if required. (finish_vtbls): Adjust accumulate_vtbl_inits call. Use canonical base for virtual bases. (build_vtt): Add more comments. Adjust build_vtt_inits call. (build_vtt_inits): Remove VIRTUAL_VTTS_P parm. Only set BINFO_VPTR_INDEX on top level. Use VTT_TOP_LEVEL_P, VTT_MARKED_BINFO_P for binfo walking. Use canonical vbase for virtual VTTs. (dfs_build_secondary_vptr_vtt_inits): Extract VTT_TOP_LEVEL_P from DATA. We want virtual primary bases and all bases via virtual. Only set BINFO_VPTR_INDEX for top level. Look up from a primary virtual base when not a construction vtable. (dfs_ctor_vtable_bases_queue_p): New DFS predicate. (build_ctor_vtbl_group): Adjust accumulate_vtbl_inits call. Use canonical bases when processing virtual bases. (accumulate_vtbl_inits): We're interested in any base via a virtual path. (dfs_accumulate_vtbl_inits): If this is a primary virtual base within a construction vtable, determine what is being overridden. (build_vtbl_initializer): Add more comments (add_vcall_offset_vtbl_entries_1): Adjust comment. (build_rtti_vtbl_entries): Check if the base has lost its primary. testsuite: * g++.old-deja/g++.abi/primary2.C: New test. * g++.old-deja/g++.abi/primary3.C: New test. * g++.old-deja/g++.abi/primary4.C: New test. * g++.old-deja/g++.abi/primary5.C: New test. * g++.old-deja/g++.abi/vtable3.h: New test. * g++.old-deja/g++.abi/vtable3a.C: New test. * g++.old-deja/g++.abi/vtable3b.C: New test. * g++.old-deja/g++.abi/vtable3c.C: New test. * g++.old-deja/g++.abi/vtable3d.C: New test. * g++.old-deja/g++.abi/vtable3e.C: New test. * g++.old-deja/g++.abi/vtable3f.C: New test. * g++.old-deja/g++.abi/vtable3g.C: New test. * g++.old-deja/g++.abi/vtable3h.C: New test. * g++.old-deja/g++.abi/vtable3i.C: New test. * g++.old-deja/g++.abi/vtable3j.C: New test. * g++.old-deja/g++.oliva/thunk1.C: Remove XFAIL. From-SVN: r39455
2001-02-05 12:45:16 +01:00
2001-02-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/primary2.C: New test.
* g++.old-deja/g++.abi/primary3.C: New test.
* g++.old-deja/g++.abi/primary4.C: New test.
* g++.old-deja/g++.abi/primary5.C: New test.
* g++.old-deja/g++.abi/vtable3.h: New test.
* g++.old-deja/g++.abi/vtable3a.C: New test.
* g++.old-deja/g++.abi/vtable3b.C: New test.
* g++.old-deja/g++.abi/vtable3c.C: New test.
* g++.old-deja/g++.abi/vtable3d.C: New test.
* g++.old-deja/g++.abi/vtable3e.C: New test.
* g++.old-deja/g++.abi/vtable3f.C: New test.
* g++.old-deja/g++.abi/vtable3g.C: New test.
* g++.old-deja/g++.abi/vtable3h.C: New test.
* g++.old-deja/g++.abi/vtable3i.C: New test.
* g++.old-deja/g++.abi/vtable3j.C: New test.
* g++.old-deja/g++.oliva/thunk1.C: Remove XFAIL.
2001-02-03 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/anon6.C: New test.
* g++.old-deja/g++.other/anon7.C: New test.
2001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste2.c: New tests.
2001-01-31 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu99-init-1.c: Add test for [0 ... 0] range.
2001-01-31 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.dg/c99-float-1.c: Back out "XFAIL FLT_EVAL_METHOD and
DECIMAL_DIG cases for Irix."
2001-01-31 J"orn Rennecke <amylaar@redhat.com>
* gcc.c-torture/execute/920302-1.c: Cast 0 to pointer.
2001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-tag-1.c: New test.
2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/tr-warn1.c: Add tests.
2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Update.
* gcc.dg/cpp/paste4.c: Update.
2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.dg/c99-float-1.c: XFAIL FLT_EVAL_METHOD and DECIMAL_DIG
cases for Irix.
2001-01-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* g++.old-deja/g++.other/inline19.C: New test.
2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/Wlarger-than.c: New test.
2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Fix typos.
2001-01-29 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010129-1.c: New test.
* gcc.c-torture/execute/20010129-1.x: Add -mcpu=i686 on ia32.
2001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Test case.
2001-01-28 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/inline18.C: New test.
2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts
and __builtin_putchar.
2001-01-27 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu99-init-1.c: Add 3 more designated range initializer
tests.
2001-01-25 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c-torture/execute/ieee/20000320-1.c (main): For MIPS, change
floating point number rounding mode to round to the nearest
representable mode.
2001-01-25 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/mangle2.C: New test.
2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010124-1.c: New test.
2001-01-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/spec38.C: New test.
2001-01-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/spec33.C: Change from "Build don't link" to
"Build don't run".
2001-01-24 01:48:03 +01:00
2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20010123-1.c: New test.
2001-01-23 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/spec37.C: New test.
2001-01-23 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/overload14.C: New test.
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20010122-1.c: New test, exercise
__builtin_return_address.
2001-01-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.martin/sts_partial.C: Remove XFAIL.
* g++.old-deja/g++.pt/spec35.C: New test.
* g++.old-deja/g++.pt/spec36.C: New test.
2001-01-20 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010118-1.c: New test.
2001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/macro3.c,macro4.c,strp1.c: Update.
2001-01-19 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010119-1.c: New test.
2001-01-19 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/vbase5.C: New test.
2001-01-19 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20010118-1.c: New test.
2001-01-19 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/deduct3.C: New test.
2001-01-19 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/spec34.C: New test.
2001-01-19 "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
* g77.f-torture/compile/20000601-2.f: New test.
2001-01-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/init17.C: New test.
2001-01-18 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
2001-01-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/unify8.C: New test.
2001-01-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vbase1.C: New test.
2001-01-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash65.C: New test.
2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/assembl2.S: New test case.
2001-01-17 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.dg/special/ecos.exp (wkali-2.c): Xfail if only weak aliases
are supported.
2001-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.old-deja/g++.other/builtins1.C: New test.
* g++.old-deja/g++.other/builtins2.C: Likewise.
* g++.old-deja/g++.other/builtins3.C: Likewise.
* g++.old-deja/g++.other/builtins4.C: Likewise.
2001-01-17 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010117-1.c: New test.
* gcc.c-torture/compile/20010117-2.c: New test.
2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20010116.[fx]: New test,
XFAIL on i?86-*-*.
* g77.f-torture/compile/20010115.f: Indicate it's
a test for PR fortran/1636.
2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-float-1.c, gcc.dg/c99-float-1.c: New tests.
2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/20010115.f: New test.
2001-01-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/nontype5.C: New test.
2001-01-15 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/if-2.c: Comment out occasionally bogus test; we
have an equivalent working one below it.
2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.ext/instantiate2.C: Add explanatory comment.
* g++.old-deja/g++.ext/instantiate3.C: Likewise.
2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
* g++.dg/special/ecos.exp (conpr-1.C): XFAIL if compile emits
message containing "init_priority".
(conpr-2.C): Likewise.
(conpr-3.C): Likewise.
* g++.old-deja/g++.ext/initp1.C: XFAIL for Irix.
2001-01-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20010114-2.c: New test.
2001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010114-1.c: New test.
* gcc.c-torture/compile/20010114-1.x: Xfail.
* gcc.c-torture/compile/20010114-2.c: New test.
* gcc.c-torture/execute/20010114-1.c: New test.
* gcc.dg/trunc-1.c: New test.
* gcc.dg/uninit-B.c: New test.
2001-01-13 Nick Clifton <nickc@redhat.com>
* gcc.c-torture/execute/bf64-1.x: Expect to fail on M*Core
target.
2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20010113-1.c: New test.
2001-01-13 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20001212-1.c: New test.
2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/widestr1.c: Update.
* gcc.dg/cpp/prag-imp.c: Remove.
c-typeck.c (store_init_value): Don't require constant initializer elements with -pedantic -std=c99. * c-typeck.c (store_init_value): Don't require constant initializer elements with -pedantic -std=c99. (digest_init): Change error about non-constant initializer elements into pedwarn. (constructor_range_end): Remove. (constructor_incremental, designator_depth, designator_errorneous): New variables. (struct constructor_stack): Remove range_end, add incremental. (struct constructor_range_stack, constructor_range_stack): New. (struct initializer_stack): Add constructor_range_stack. (finish_init): Set it. (start_init): Likewise. require_constant_elements for non-static trees only if not flag_isoc99. (really_start_incremental_init): Remove constructor_range_end, add constructor_incremental. (pop_init_level): Likewise. (push_init_level): Likewise. If implicit and the subobject had some value set already, preinitialize the level with it. Warn about missing braces only if not pushing due to designators. (set_designator, push_range_stack): New functions. (set_init_label): Use them. (set_init_index): Likewise. Remove constructor_range_end. Error if designator index is outside of array bounds. (add_pending_init): Compare values of purpose index trees, not the trees themselves. Allow overwriting of already initialized element. Issue a warning if it had side-effects. (set_nonincremental_init, set_nonincremental_init_from_string): New functions. (pending_init_member): Rename to... (find_init_member): ...this function. Call set_nonincremental_init if necessary. Compare values of purpose index trees, not the trees themselves. Return the actual value, not just non-zero if something is found. (output_init_element): Remove checks for duplicates. If field has zero size, only check the initializer for correctness. Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL if constructor_incremental is zero. Change error about initializers not computable at load time into pedwarn. (output_pending_init_elements): Compare bit positions, not FIELD_DECLs to take into account zero-sized fields. (process_init_element): Use constructor_range_stack to fill all ranges in the designator lists from current level up. * extend.texi: Update documentation for labeled elements. * gcc.c-torture/execute/20000801-3.x: Remove. * gcc.dg/c90-init-1.c: New test. * gcc.dg/c99-init-1.c: New test. * gcc.dg/c99-init-2.c: New test. * gcc.dg/gnu99-init-1.c: New test. From-SVN: r38968
2001-01-13 00:18:05 +01:00
2001-01-12 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000801-3.x: Remove.
* gcc.dg/c90-init-1.c: New test.
* gcc.dg/c99-init-1.c: New test.
* gcc.dg/c99-init-2.c: New test.
* gcc.dg/gnu99-init-1.c: New test.
2001-01-12 Richard Earnshaw <rearnsha@arm.com>
* lib/f-torture.exp (f_torture_compile): Prune the warnings before
testing that no relevant ones were found.
2001-01-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/cast2.C: New test.
2001-01-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/friend47.C: New test.
2001-01-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/instantiate13.C: New test.
2001-01-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/defarg7.C: New test.
* g++.old-deja/g++.other/defarg8.C: New test.
2001-01-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash64.C: New test.
2001-01-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash63.C: New test.
2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/if-2.c: Add wide char test without sign extension.
2001-01-10 Alan Lehotsky <lehotsky@tiac.net>
* gcc.dg/20000926-1.c: Parameterize for machines with 16-bit ints.
2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/error3.C: New test.
2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash39.C: New test.
2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/vbase4.C: New test.
2001-01-08 Jonathan Larmour <jlarmour@redhat.com>
* gcc.dg/20000419-2.c: Move to "special" subdirectory.
* gcc.dg/special/20000419-2.c: New file. Identical to above.
* gcc.dg/special/special.exp: New test driver which will check
for alias support for the above test.
2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
* gcc.c-torture/execute/921202-1.c: Use STACK_SIZE to avoid
problems on small machines.
* gcc.c-torture/execute/920730-1.c: Use values from <limits.h> to
parameterize.
2001-01-09 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.ext/instantiate2.C: ERROR line should fail for
mips.
* g++.old-deja/g++.ext/instantiate3.C: Likewise.
2001-01-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.old_deja/g++.pt/using8.C: New test.
2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format/attr-2.c, gcc.dg/format/attr-3.c: New tests.
2000-01-08 Loren J. Rittle <ljrittle@acm.org>
* gcc.c-torture/execute/ieee/mzero2.x: Adjust statement of
where a failure is expected.
* gcc.c-torture/execute/ieee/rbug.x: Likewise.
2001-01-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old_deja/g++.pt/instantiate12.C: New test.
2001-01-08 12:45:22 +01:00
2001-01-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.benjamin/15309-1.C: Expect diagnostic at
start of structs.
* g++.old-deja/g++.benjamin/15309-2.C: Likewise.
* g++.old-deja/g++.brendan/crash17.C: Likewise.
* g++.old-deja/g++.brendan/crash29.C: Likewise.
* g++.old-deja/g++.brendan/crash48.C: Likewise.
* g++.old-deja/g++.brendan/ns1.C: Likewise.
* g++.old-deja/g++.brendan/warnings1.C: Likewise.
* g++.old-deja/g++.bugs/900205_04.C: Likewise.
* g++.old-deja/g++.bugs/900514_03.C: Likewise.
* g++.old-deja/g++.eh/spec6.C: Likewise.
* g++.old-deja/g++.jason/crash3.C: Likewise.
* g++.old-deja/g++.law/ctors11.C: Likewise.
* g++.old-deja/g++.law/ctors17.C: Likewise.
* g++.old-deja/g++.law/ctors5.C: Likewise.
* g++.old-deja/g++.law/ctors9.C: Likewise.
* g++.old-deja/g++.mike/ambig1.C: Likewise.
* g++.old-deja/g++.mike/net22.C: Likewise.
* g++.old-deja/g++.mike/p3538a.C: Likewise.
* g++.old-deja/g++.mike/p3538b.C: Likewise.
* g++.old-deja/g++.mike/virt3.C: Likewise.
* g++.old-deja/g++.niklas/t128.C: Likewise.
* g++.old-deja/g++.other/anon4.C: Likewise.
* g++.old-deja/g++.other/using1.C: Likewise.
* g++.old-deja/g++.other/warn3.C: Likewise.
* g++.old-deja/g++.pt/t37.C: Likewise.
* g++.old-deja/g++.robertl/eb69.C: Likewise.
* g++.old-deja/g++.robertl/eb71.C: Likewise.
2001-01-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/lookup16.C: Remove XFAIL.
2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/stdio-opt-3.c: New test.
2001-01-07 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010107-1.c: New test.
2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/builtin-noret-1.c: New test.
2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format/format.h: New file.
* gcc.dg/format/array-1.c, gcc.dg/format/attr-1.c,
gcc.dg/format/branch-1.c, gcc.dg/format/c90-printf-1.c,
gcc.dg/format/c90-printf-2.c, gcc.dg/format/c90-printf-3.c,
gcc.dg/format/c90-scanf-1.c, gcc.dg/format/c90-scanf-2.c,
gcc.dg/format/c90-scanf-3.c, gcc.dg/format/c90-scanf-4.c,
gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c94-printf-1.c, gcc.dg/format/c94-scanf-1.c,
gcc.dg/format/c99-printf-1.c, gcc.dg/format/c99-printf-2.c,
gcc.dg/format/c99-printf-3.c, gcc.dg/format/c99-scanf-1.c,
gcc.dg/format/c99-scanf-2.c, gcc.dg/format/c99-scanf-3.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/c99-strftime-2.c,
gcc.dg/format/diag-1.c, gcc.dg/format/errmk-1.c,
gcc.dg/format/ext-1.c, gcc.dg/format/ext-2.c,
gcc.dg/format/ext-3.c, gcc.dg/format/ext-4.c,
gcc.dg/format/ext-5.c, gcc.dg/format/miss-1.c,
gcc.dg/format/miss-2.c, gcc.dg/format/no-exargs-1.c,
gcc.dg/format/no-y2k-1.c, gcc.dg/format/nonlit-1.c,
gcc.dg/format/nonlit-2.c, gcc.dg/format/nonlit-3.c,
gcc.dg/format/sec-1.c, gcc.dg/format/strfmon-1.c,
gcc.dg/format/va-1.c, gcc.dg/format/warnll-1.c,
gcc.dg/format/xopen-1.c, gcc.dg/format/z-1.c: Include "format.h"
instead of declaring standard types, macros and functions in each
test.
2001-01-06 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/20010106-1.c: New test.
format.exp: New file. * gcc.dg/format/format.exp: New file. * gcc.dg/c90-printf-1.c: Rename to gcc.dg/format/c90-printf-1.c. * gcc.dg/c90-printf-2.c: Rename to gcc.dg/format/c90-printf-2.c. * gcc.dg/c90-printf-3.c: Rename to gcc.dg/format/c90-printf-3.c. * gcc.dg/c94-printf-1.c: Rename to gcc.dg/format/c94-printf-1.c. * gcc.dg/c99-printf-1.c: Rename to gcc.dg/format/c99-printf-1.c. * gcc.dg/c99-printf-2.c: Rename to gcc.dg/format/c99-printf-2.c. * gcc.dg/c99-printf-3.c: Rename to gcc.dg/format/c99-printf-3.c. * gcc.dg/c90-scanf-1.c: Rename to gcc.dg/format/c90-scanf-1.c. * gcc.dg/c90-scanf-2.c: Rename to gcc.dg/format/c90-scanf-2.c. * gcc.dg/c90-scanf-3.c: Rename to gcc.dg/format/c90-scanf-3.c. * gcc.dg/c90-scanf-4.c: Rename to gcc.dg/format/c90-scanf-4.c. * gcc.dg/c94-scanf-1.c: Rename to gcc.dg/format/c94-scanf-1.c. * gcc.dg/c99-scanf-1.c: Rename to gcc.dg/format/c99-scanf-1.c. * gcc.dg/c99-scanf-2.c: Rename to gcc.dg/format/c99-scanf-2.c. * gcc.dg/c99-scanf-3.c: Rename to gcc.dg/format/c99-scanf-3.c. * gcc.dg/c90-strftime-1.c: Rename to gcc.dg/format/c90-strftime-1.c. * gcc.dg/c90-strftime-2.c: Rename to gcc.dg/format/c90-strftime-2.c. * gcc.dg/c99-strftime-1.c: Rename to gcc.dg/format/c99-strftime-1.c. * gcc.dg/c99-strftime-2.c: Rename to gcc.dg/format/c99-strftime-2.c. * gcc.dg/format-array-1.c: Rename to gcc.dg/format/array-1.c. * gcc.dg/format-attr-1.c: Rename to gcc.dg/format/attr-1.c. * gcc.dg/format-branch-1.c: Rename to gcc.dg/format/branch-1.c. * gcc.dg/format-diag-1.c: Rename to gcc.dg/format/diag-1.c. * gcc.dg/format-errmk-1.c: Rename to gcc.dg/format/errmk-1.c. * gcc.dg/format-ext-1.c: Rename to gcc.dg/format/ext-1.c. * gcc.dg/format-ext-2.c: Rename to gcc.dg/format/ext-2.c. * gcc.dg/format-ext-3.c: Rename to gcc.dg/format/ext-3.c. * gcc.dg/format-ext-4.c: Rename to gcc.dg/format/ext-4.c. * gcc.dg/format-ext-5.c: Rename to gcc.dg/format/ext-5.c. * gcc.dg/format-miss-1.c: Rename to gcc.dg/format/miss-1.c. * gcc.dg/format-miss-2.c: Rename to gcc.dg/format/miss-2.c. * gcc.dg/format-no-exargs-1.c: Rename to gcc.dg/format/no-exargs-1.c. * gcc.dg/format-no-y2k-1.c: Rename to gcc.dg/format/no-y2k-1.c. * gcc.dg/format-nonlit-1.c: Rename to gcc.dg/format/nonlit-1.c. * gcc.dg/format-nonlit-2.c: Rename to gcc.dg/format/nonlit-2.c. * gcc.dg/format-nonlit-3.c: Rename to gcc.dg/format/nonlit-3.c. * gcc.dg/format-sec-1.c: Rename to gcc.dg/format/sec-1.c. * gcc.dg/format-strfmon-1.c: Rename to gcc.dg/format/strfmon-1.c. * gcc.dg/format-va-1.c: Rename to gcc.dg/format/va-1.c. * gcc.dg/format-warnll-1.c: Rename to gcc.dg/format/warnll-1.c. * gcc.dg/format-xopen-1.c: Rename to gcc.dg/format/xopen-1.c. * gcc.dg/formatz-1.c: Rename to gcc.dg/format/z-1.c. From-SVN: r38749
2001-01-06 19:47:19 +01:00
2001-01-06 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format/format.exp: New file.
* gcc.dg/c90-printf-1.c: Rename to gcc.dg/format/c90-printf-1.c.
* gcc.dg/c90-printf-2.c: Rename to gcc.dg/format/c90-printf-2.c.
* gcc.dg/c90-printf-3.c: Rename to gcc.dg/format/c90-printf-3.c.
* gcc.dg/c94-printf-1.c: Rename to gcc.dg/format/c94-printf-1.c.
* gcc.dg/c99-printf-1.c: Rename to gcc.dg/format/c99-printf-1.c.
* gcc.dg/c99-printf-2.c: Rename to gcc.dg/format/c99-printf-2.c.
* gcc.dg/c99-printf-3.c: Rename to gcc.dg/format/c99-printf-3.c.
* gcc.dg/c90-scanf-1.c: Rename to gcc.dg/format/c90-scanf-1.c.
* gcc.dg/c90-scanf-2.c: Rename to gcc.dg/format/c90-scanf-2.c.
* gcc.dg/c90-scanf-3.c: Rename to gcc.dg/format/c90-scanf-3.c.
* gcc.dg/c90-scanf-4.c: Rename to gcc.dg/format/c90-scanf-4.c.
* gcc.dg/c94-scanf-1.c: Rename to gcc.dg/format/c94-scanf-1.c.
* gcc.dg/c99-scanf-1.c: Rename to gcc.dg/format/c99-scanf-1.c.
* gcc.dg/c99-scanf-2.c: Rename to gcc.dg/format/c99-scanf-2.c.
* gcc.dg/c99-scanf-3.c: Rename to gcc.dg/format/c99-scanf-3.c.
* gcc.dg/c90-strftime-1.c: Rename to gcc.dg/format/c90-strftime-1.c.
* gcc.dg/c90-strftime-2.c: Rename to gcc.dg/format/c90-strftime-2.c.
* gcc.dg/c99-strftime-1.c: Rename to gcc.dg/format/c99-strftime-1.c.
* gcc.dg/c99-strftime-2.c: Rename to gcc.dg/format/c99-strftime-2.c.
* gcc.dg/format-array-1.c: Rename to gcc.dg/format/array-1.c.
* gcc.dg/format-attr-1.c: Rename to gcc.dg/format/attr-1.c.
* gcc.dg/format-branch-1.c: Rename to gcc.dg/format/branch-1.c.
* gcc.dg/format-diag-1.c: Rename to gcc.dg/format/diag-1.c.
* gcc.dg/format-errmk-1.c: Rename to gcc.dg/format/errmk-1.c.
* gcc.dg/format-ext-1.c: Rename to gcc.dg/format/ext-1.c.
* gcc.dg/format-ext-2.c: Rename to gcc.dg/format/ext-2.c.
* gcc.dg/format-ext-3.c: Rename to gcc.dg/format/ext-3.c.
* gcc.dg/format-ext-4.c: Rename to gcc.dg/format/ext-4.c.
* gcc.dg/format-ext-5.c: Rename to gcc.dg/format/ext-5.c.
* gcc.dg/format-miss-1.c: Rename to gcc.dg/format/miss-1.c.
* gcc.dg/format-miss-2.c: Rename to gcc.dg/format/miss-2.c.
* gcc.dg/format-no-exargs-1.c: Rename to gcc.dg/format/no-exargs-1.c.
* gcc.dg/format-no-y2k-1.c: Rename to gcc.dg/format/no-y2k-1.c.
* gcc.dg/format-nonlit-1.c: Rename to gcc.dg/format/nonlit-1.c.
* gcc.dg/format-nonlit-2.c: Rename to gcc.dg/format/nonlit-2.c.
* gcc.dg/format-nonlit-3.c: Rename to gcc.dg/format/nonlit-3.c.
* gcc.dg/format-sec-1.c: Rename to gcc.dg/format/sec-1.c.
* gcc.dg/format-strfmon-1.c: Rename to gcc.dg/format/strfmon-1.c.
* gcc.dg/format-va-1.c: Rename to gcc.dg/format/va-1.c.
* gcc.dg/format-warnll-1.c: Rename to gcc.dg/format/warnll-1.c.
* gcc.dg/format-xopen-1.c: Rename to gcc.dg/format/xopen-1.c.
* gcc.dg/formatz-1.c: Rename to gcc.dg/format/z-1.c.
2001-01-05 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/991228-1.c: Take word endianness into
account.
2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/builtin-complex-1.c: New test.
2001-01-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash62.C: New test.
2001-01-04 Richard Henderson <rth@redhat.com>
* gcc.dg/20000926-1.c: Update expected warnings.
* gcc.dg/array-2.c: Likewise.
* gcc.dg/array-4.c: Also validate flexible array members.
* gcc.dg/c99-flex-array-1.c: New.
2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20001222-1.x: Remove.
2001-01-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcc.c-torture/execute/built-in-setjmp.c: New.
2001-01-03 Richard Henderson <rth@redhat.com>
* gcc.dg/940510-1.c: Update expected error wording.
* gcc.dg/array-2.c, gcc.dg/array-3.c, gcc.dg/array-4.c: New.
2001-01-03 Jeffrey Oldham <oldham@codesourcery.com>
* lib/target-supports.exp (check_alias_available): Modified to
indicate aliases not supported if only weak aliases are supported.
2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-8.c: Add more testcases.
Turn on cmpstrsi checks for __pj__ and __i370__.
2001-01-03 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/virtual11.C: New test.
2001-01-03 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/spec6.C: Remove remaining XFAIL.
2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/compile/20010102-1.c: New test.
2001-01-02 Andreas Jaeger <aj@suse.de>
* gcc.dg/noreturn-3.c: New test.
* gcc.dg/noreturn-4.c: New test.
2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/stdio-opt-1.c: Also test
__builtin_fputc and __builtin_fwrite.
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c-torture/execute/20001009-2.c (foo): Test only works for
signed char, not default char.
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.other/crash18.C: Fails on mips*-sgi-irix*.
2000-12-30 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/g++.exp: Use sh to exec ${odir_v3}/tests_flags
2000-12-29 Richard Henderson <rth@redhat.com>
* gcc.dg/20001117-1.c (__cyg_profile_func_enter): Define.
(__cyg_profile_func_exit): Define.
2000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
* g++.dg/vtgc1.C: New test.
2000-12-28 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/noncompile/20001228-1.c: New test.
* gcc.dg/20001228-1.c: New test.
* gcc.c-torture/execute/20001228-1.c: New test.
2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-strfmon-1.c: New test.
2000-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/stdio-opt-1.c: Test __builtin_ style too.
* gcc.c-torture/execute/stdio-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-1.c: Likewise.
* gcc.c-torture/execute/string-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Likewise.
* gcc.c-torture/execute/string-opt-4.c: Likewise.
* gcc.c-torture/execute/string-opt-6.c: Likewise.
* gcc.c-torture/execute/string-opt-7.c: Likewise.
* gcc.c-torture/execute/string-opt-8.c: Likewise.
* gcc.c-torture/execute/string-opt-9.c: Likewise.
* gcc.c-torture/execute/string-opt-10.c: Likewise.
* gcc.c-torture/execute/string-opt-11.c: Likewise.
* gcc.c-torture/execute/string-opt-12.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Test rindex.
* gcc.c-torture/execute/string-opt-4.c: Test index.
2000-12-26 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/compile/20001226-1.c: New test.
2000-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20001222-1.c: New test.
* gcc.c-torture/compile/20001222-1.x: Xfail.
2000-12-22 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/comp-goto-2.c: New test.
2000-12-21 J"orn Rennecke <amylaar@redhat.com>
* gcc.c-torture/execute/comp-goto-1.c (uint32, sint32):
Use long types if __INT_MAX__ is 32767.
(main): Use cast to (sint32 *) when poking 88 into a_page.
* gcc.c-torture/execute/20000822-1.c: Check for NO_TRAMPOLINES.
2000-12-21 Bernd Schmidt <bernds@redhat.com>
* gcc.c-torture/compile/20001221-1.c: New test.
2000-12-21 15:37:30 +01:00
* gcc.c-torture/execute/20001221-1.c: New test.
2000-12-20 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.pt/crash36.C: Update error lines.
* g++.old-deja/g++.robertl/eb109.C: Likewise.
2000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/compare3.c: New test.
2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-warnll-1.c: New test.
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/cmdlne-P.c: New test.
2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/builtin-abs-1.c,
gcc.c-torture/execute/builtin-abs-2.c: New tests.
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/multiline.c: New test.
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
* g++.old-deja/g++.other/syshdr1.C: Update.
* gcc.dg/cpp/lineflags.c: Remove temporarily.
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.oliva/template5.C: Remove XFAILs.
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/ttp65.C: New test.
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/ttp64.C: New test.
2000-12-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/spec33.C: New test.
2000-12-14 Catherine Moore <clm@redhat.com>
* gcc.c-torture/execute/920501-7.c: Check for NO_TRAMPOLINES.
* gcc.c-torture/execute/920612-2.c: Likewise.
* gcc.c-torture/execute/920428-2.c: Likewise.
* gcc-c-torture/execute/va-arg-11.c: Call exit.
* gcc.c-torture/execute/va-arg-21.c: Likewise.
2000-12-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/pack-test-1.c: Compile on powerpc*-*-eabi* too.
* gcc.dg/pack-test-2.c: Likewise.
2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
Tests by Zack Weinberg <zackw@stanford.edu>.
* gcc.dg/cpp/defined.c: Update.
* gcc.dg/cpp/defined_trad.c: New tests.
2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/trad-direct.c: Update.
2000-12-11 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/defined_trad.c
2000-12-11 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.
2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-miss-2.c: New test.
2000-12-09 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/lineflags.c: New tests.
* gcc.dg/cpp/poison.c: Update.
* gcc.dg/cpp/redef2.c: Update.
* gcc.dg/cpp/skipping.c: New test.
2000-12-07 Geoffrey Keating <geoffk@redhat.com>
* g++.old-deja/g++.other/eh3.C: New testcase.
2000-12-07 Neil Booth <neilb@earthling.net>
* gcc.dg/wtr-aggr-init-1.c, wtr-escape-1.c, wtr-int-type-1.c,
wtr-label-1.c, wtr-static-1.c, wtr-strcat-1.c, wtr-suffix-1.c,
wtr-switch-1.c, wtr-unary-plus-1.c, wtr-union-init-1.c
wtr-union-init-2.c, wtr-union-init-3.c: Update.
* gcc.dg/cpp/extratokens.c, tr-warn4.c, tr-warn5.c, tr-warn6.c:
Update.
2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-nonlit-1.c, gcc.dg/format-nonlit-2.c: Use
__SIZE_TYPE__ instead of int for type of integers cast to
pointers.
2000-12-07 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/cleanup4.C: New test.
2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
* format-sec-1.c: New test.
2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-nonlit-3.c: New test.
2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-1.c: Add test for printf formats reading
through a null pointer.
2000-12-06 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.oliva/partspec1.C: Remove XFAIL.
* g++.old-deja/g++.pt/partial4.C: New test.
2000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* gcc.c-torture/execute/ieee/hugeval.x: New.
2000-12-06 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/backslash2.c: New tests.
2000-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks.
* testsuite/gcc.c-torture/execute/stdio-opt-2.c: New test.
2000-12-05 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/execute/20001203-2.c: New testcase.
2000-12-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.h/spec6.C: Remove some of the XFAILS.
* g++.old-deja/g++.other/virtual10.C: New test.
2000-12-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.mike/pmf5.C: Remove test.
2000-12-05 09:13:27 +01:00
2000-12-05 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/20001205-1.c: New.
2000-12-04 Neil Booth <neilb@earthling.net>
* g++.old-deja/g++.other/virtual9.C: New test.
* g++.old-deja/g++.pt/crash61.C: New test.
* gcc.c-torture/execute/loop-9.c: New test.
2000-12-04 Neil Booth <neilb@earthling.net>
* g++.old-deja/g++.other/instan1.C, instan2.C: Move to...
* g++.old-deja/g++.pt/instantiate1.C, instantiate2.C: ...here.
* gcc.dg/cpp/19960224-2.c, endif.c, if-6.c: Move into...
* gcc.dg/cpp/extratokens.c: ...here.
2000-12-04 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c:
New tests.
2000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-11.c: Add more strspn checks.
* gcc.c-torture/execute/string-opt-12.c: Add more strcspn checks.
2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/20001203-1.c: New test.
2000-12-03 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/macro6.c: New test cases.
2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-9.c: New test.
* gcc.c-torture/execute/string-opt-10.c: Likewise.
* gcc.c-torture/execute/string-opt-11.c: Likewise.
* gcc.c-torture/execute/string-opt-12.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Add more strcmp checks.
* gcc.c-torture/execute/string-opt-8.c: Add more strncmp checks.
2000-12-02 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/cpp/if-6.c: New testcase.
* gcc.dg/20001201-1.c: New testcase.
2000-12-02 Neil Booth <neilb@earthling.net>
* g++.old-deja/g++.other/externC4.C,
g++.old-deja/g++.other/friend10.C: New tests.
2000-12-02 Neil Booth <neilb@earthling.net>
* g++.old-deja/g++.other/instan2.C
* g++.old-deja/g++.other/instan3.C: New test.
2000-12-02 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/c++98.c,c++98-pedantic.c,c89.c,c89-pedantic.c,
c94.c,c94-pedantic.c,c99.c,c99-pedantic.c,gnuc89.c,gnuc89-pedantic.c,
gnuc99.c,gnuc99-pedantic.c: New tests.
2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-no-exargs-1.c, gcc.dg/format-no-y2k-1.c,
gcc.dg/format-nonlit-1.c, gcc.dg/format-nonlit-2.c: New tests.
2000-12-01 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/20000720-1.S: Remove duplicate testcase.
* gcc.dg/cpp/poison.c: Update.
* gcc.dg/cpp/spacing1.c: New testcase for all spacing issues.
2000-12-01 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20001201.f: New test.
2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-array-nonobj-1.c: No longer XFAIL.
2000-12-01 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-5.c: Add some memset tests.
2000-12-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/cast6.C: New test.
2000-11-30 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/execute/20001130-2.c: New testcase.
2000-11-30 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20001130-1.c: New test.
2000-11-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/op3.C: New test.
2000-11-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/op2.C: New test.
2000-11-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash38.C: New test.
2000-11-29 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20001111.x: Test fixed - remove XFAIL.
2000-11-29 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-5.c: Add some strcmp and strncpy
tests.
* gcc.c-torture/execute/string-opt-6.c: New test.
* gcc.dg/20001117-1.c: Add main.
2000-11-28 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/noncompile/940510-1.c: Update to test c89 functionality.
Move from here ...
* gcc.dg/940510-1.c: ... to here.
* gcc.dg/20000926-1.c: GNU C now allows initializations of
zero-size arrays in toplevel structures.
2000-11-28 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/loop-8.c: New test.
2000-11-28 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/base1.C: New test.
2000-11-28 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/parse2.C: New test.
2000-11-28 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/incomplete1.C: New test.
2000-11-28 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/friend9.C: New test.
2000-11-28 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20001127-1.c: New test.
2000-11-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/friend46.C: New test.
2000-11-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/ptrmem8.C: New test.
2000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-7.c: New test.
* gcc.c-torture/execute/string-opt-8.c: Likewise.
2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
* lib/g++.exp (g++_include_flags): Invoke 'tests_flags --compiler'
instead of 'mkcheck 2'.
2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/memcheck/driver.c,
gcc.c-torture/execute/memcheck/driver.h, gcc.dg/cpp/if-3.c: Change
C9X references to refer to C99.
2000-11-25 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/ultrasp3.c: New test.
2000-11-25 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/include2.c: Update test to be locale independent.
2000-11-25 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/compile/20001123-2.c: New.
2000-11-24 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-dega/g++.pt/ttp62.C: Call abort() on failure.
2000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
* gcc.dg/sequence-point-1.c: Add some new tests.
2000-11-24 18:11:10 +01:00
* gcc.c-torture/execute/20001124-1.c: New test.
2000-11-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/vaarg4.C: New test.
* gcc.c-torture/compile/20001123-1.c: New test.
2000-11-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.other/crash24.C: Adjust and remove XFAIL.
* g++.other/crash37.C: New test.
2000-11-23 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/instantiate9.C: New test.
2000-11-22 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.other/decl4.C: Tweak so that it fails with the
new ABI, too.
* g++.old-deja/g++.mike/p6610a.C: This test no longer fails.
* g++.old-deja/g++.robertl/eb55.C: Likewise.
2000-11-22 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/Wtrigraphs.c: New test.
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.robertl/eb39.C: Don't include libio.h.
2000-11-22 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/ieee/20001122-1.c: New test.
2000-11-22 Hans-Peter Nilsson <hp@bitrange.com>
* lib/gcc-dg.exp: load_lib scanasm.exp.
(scan-assembler, scan-assembler-not): Break out to scanasm.exp.
* lib/g++-dg.exp: load_lib scanasm.exp.
* lib/scanasm.exp: New.
(scan-assembler, scan-assembler-not): Add optional arguments to
test name, or if not present, the pattern name.
(scan-assembler-dem, scan-assembler-dem-not): New.
* g++.dg/dg.exp: New.
2000-11-21 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/integrated1.c: Remove.
2000-11-21 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20001121-1.c: New test.
2000-11-21 10:09:45 +01:00
2000-11-21 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/20001121-1.c: New test.
2000-11-21 08:41:32 +01:00
2000-11-20 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/integrated1.c: New test.
2000-11-21 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/inline17.C: New test.
2000-11-20 Donald Lindsay <dlindsay@redhat.com>
* gcc.dg/20000614-2.c: Bug fix. This test expected an unitialized
local variable to be zero: I made the variable global. Now
uses abort() and exit() instead of relying on main's return value.
2000-11-20 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/paste2.c: Update test.
* objc/execute/paste.m: New test.
2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-condexpr-1.c: New test.
2000-11-20 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/macsyntx.c: Use correct command line option.
2000-11-20 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/export1.C: New test.
2000-11-20 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20001117-1.c: New test.
2000-11-18 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/nestfunc-3.c (main): Mask result to 32 bits.
2000-11-18 Richard Henderson <rth@redhat.com>
* lib/c-torture.exp (TORTURE_OPTIONS): Remove -fssa.
* lib/f-torture.exp (TORTURE_OPTIONS): Likewise.
* lib/gcc-dg.exp (TORTURE_OPTIONS): Likewise.
2000-11-18 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20001009-2.c (foo): Rename from main.
(main): New. Exit cleanly.
2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-fordecl-1.c, gcc.dg/c99-fordecl-1.c,
gcc.dg/c99-fordecl-2.c: New tests.
2000-11-18 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/zerolen-1.c: Rename from 20001115-1.c.
* gcc.c-torture/execute/zerolen-2.c: New.
2000-11-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20001115-1.c: Don't access nonexistant
memory.
2000-11-17 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/instantiate8.C: New test.
2000-11-17 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/incomplete.C: Add more tests.
* g++.old-deja/g++.pt/crash9.C: Mark new expected error.
2000-11-16 Nick Clifton <nickc@redhat.com>
* gcc.c-torture/execute/nestfunc-2.c: New test.
* gcc.c-torture/execute/nestfunc-3.c: New test.
2000-11-16 17:19:37 +01:00
2000-11-11 Bernd Schmidt <bernds@redhat.co.uk>
* gcc.c-torture/compile/20001116-1.c: New test.
2000-11-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20001115-1.c: New test.
2000-11-15 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.
* g++.old-deja/g++.abi/cxa_vec.C: Likewise.
* g++.old-deja/g++.abi/ptrflags.C: Likewise.
* g++.old-deja/g++.abi/vmihint.C: Likewise.
2000-11-15 Neil Booth <neilb@earthling.net>
gcc.dg/cpp/_Pragma1.c: Update.
gcc.dg/cpp/_Pragma2.c: New test.
2000-11-15 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/anon5.C: New test.
2000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-const-expr-2.c, gcc.dg/c99-const-expr-2.c: Add more
tests.
2000-11-14 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000801-4.c: Make sure the second string is
output.
2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/wtr-label-1.c, gcc.dg/990214-1.c: Add semicolons after
labels at end of compound statements.
2000-11-13 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/loop-7.c: New test.
2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-mixdecl-1.c, gcc.dg/c90-mixdecl-1.c: New tests.
2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-bool-1.c: New test.
2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-scope-1.c: Remove xfail.
* gcc.dg/c99-scope-2.c: New test.
2000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-3.c: Also test builtin rindex.
* gcc.c-torture/execute/string-opt-4.c: Also test builtin index.
2000-11-11 Mark Mitchell <mark@codesourcery.com>
* g++.brendan/err-msg8.C: Avoid capricious line-number issues with
error messages.
* g++.mike/p700.C: Don't typedef wchar_t.
* g++.mike/p784.C: Likewise.
* g++.mike/eb101.C: Don't use __wchar_t.
2000-11-11 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20001111.[fx]: Test premature exit
from DO loop.
2000-11-11 15:09:42 +01:00
2000-11-11 Bernd Schmidt <bernds@redhat.co.uk>
* gcc.c-torture/execute/20001111-1.c: New test.
2000-11-10 Nick Clifton <nickc@redhat.com>
* gcc.c-torture/execute/20001108-1.c: Add test of unsigned long
long multuiple and accumulate.
2000-11-09 Richard Henderson <rth@redhat.com>
* gcc.dg/sequence-pt-1.c: Cast from pointer to integer
via size_t instead of int.
* gcc.c-torture/execute/string-opt-1.c: Make stub functions static.
* gcc.c-torture/execute/string-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Likewise.
* gcc.c-torture/execute/string-opt-4.c: Likewise.
2000-11-09 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/compile/20001109-1.c: New test.
* gcc.c-torture/compile/20001109-2.c: New test.
2000-11-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/operator1.C: New test.
* g++.old-deja/g++.brendan/err-msg8.C: Adjust error line.
2000-11-09 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20001108-1.c: New test.
2000-11-09 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/string-opt-1.c: Add test for strstr
with both arguments constant strings.
* gcc.c-torture/execute/string-opt-3.c: New test.
* gcc.c-torture/execute/string-opt-4.c: New test.
* gcc.c-torture/execute/string-opt-5.c: New test.
2000-11-08 Nick Clifton <nickc@redhat.com>
* gcc.c-torture/execute/20001108-1.c: New test case. Checks
mulsidi3adddi patterns.
2000-11-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash36.C: New test.
2000-11-08 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/init16.C: New test.
2000-11-06 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.mike/p6610a.C: Update XFAIL.
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
* gcc.c-torture/execute/va-arg-15.x: Changed to mips*-sgi-irix6.*.
* gcc.c-torture/execute/va-arg-16.x: Likewise.
* gcc.c-torture/execute/va-arg-17.x: Likewise.
2000-11-07 23:27:26 +01:00
2000-11-07 DJ Delorie <dj@redhat.com>
* testsuite/gcc.dg/20000614-1.c: Add return so that test can pass.
2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-1.c: New test.
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
* gcc.c-torture/execute/va-arg-15.x: New file. Fails on
mips-sgi-irix6.* because the MIPS ABI passes floating-point
parameters in registers, and there is no way for a varargs
function to know in which order the integer and floating-point
parameters should be interleaved when they are placed on the
stack.
* gcc.c-torture/execute/va-arg-16.x: Likewise.
* gcc.c-torture/execute/va-arg-17.x: Likewise.
2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/string-opt-2.c: New test.
2000-11-07 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash60.C: New test.
2000-11-06 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/crash24.C: New test.
* g++.old-deja/g++.other/crash25.C: New test.
* g++.old-deja/g++.other/crash26.C: New test.
* g++.old-deja/g++.other/crash27.C: New test.
* g++.old-deja/g++.other/crash28.C: New test.
* g++.old-deja/g++.other/crash29.C: New test.
* g++.old-deja/g++.other/crash30.C: New test.
* g++.old-deja/g++.other/crash31.C: New test.
* g++.old-deja/g++.other/crash32.C: New test.
* g++.old-deja/g++.other/crash33.C: New test.
* g++.old-deja/g++.other/crash34.C: New test.
* g++.old-deja/g++.other/crash35.C: New test.
2000-11-06 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20001031-1.c: New test.
2000-11-04 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
namespace.
* g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
standards-conformant.
* g++.old-deja/g++.mike/net5.C: Put `abort' in `std' namespace.
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
* g++.old-deja/g++.mike/p755a.C: Likewise.
* g++.old-deja/g++.mike/p9706.C: Don't assume that the standard
library makes no calls to `operator new' during initialization.
2000-11-04 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/include2.c: New tests.
2000-11-03 Mark P Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++_set_ld_library_path): New function.
Use it to set LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH.
2000-11-03 Bernd Schmidt <bernds@redhat.co.uk>
* gcc.dg/sequence-pt-1.c: A few new tests. Unify output for bogus
warnings.
2000-11-01 11:31:02 +01:00
2000-11-01 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.ext/namedret1.C: New.
* g++.old-deja/g++.ext/namedret2.C: New.
* g++.old-deja/g++.ext/namedret3.C: New.
2000-10-31 Geoffrey Keating <geoffk@cygnus.com>
* gcc.c-torture/compile/920501-7.c: Remove 'CYGNUS LOCAL' markers.
* gcc.c-torture/execute/ieee/rbug.c: Remove 'CYGNUS LOCAL' markers.
2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/va-arg-21.c: New test.
2000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-complex-2.c: New test.
2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/stdio-opt-1.c: New test.
2000-10-31 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/inline16.C: New test.
2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
* g++.old-deja/g++.pt/memtemp77.C (main): Adjust comparison against.
__PRETTY_FUNCTION__
2000-10-29 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/defined.c, include1.c, paste11.c, skipping.c:
New tests.
* gcc.dg/cpp/macsyntx.c: Move test to defined.c.
* gcc.dg/cpp/mi3.c, mi3.h: New test for over-enthusiastic
optimisation.
2000-10-29 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/macro4.c, macro5.c: New tests.
* mi1.c, mi1c.h: Add null directives to multiple-include test.
* mi5.c: Test multiple includes work with -C.
* trigraphs.c: Test ^= version.
2000-10-28 Neil Booth <neilb@earthling.net>
New tests and test updates for new macro expander.
* gcc.dg/cpp/19960224-2.c, 20000625-2.c, cxxcom2.c, directiv.c,
endif.c, if-4.c, if-5.c, if-mop.c, macsyntx.c, paste2.c, paste6.c,
paste8.c, redef2.c, strify2.c, strp1.c, tr-warn1.c, tr-warn3.c,
tr-warn6.c, undef1.c, undef2.c, widestr1.c: Update tests for
new diagnostic messages.
* gcc.dg/cpp/macro3.c: New tests.
2000-10-27 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/noncompile/init-2.c: Tweak to deal with multiple errors
on the same line.
2000-10-27 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/eh2.C: New test.
2000-10-27 14:52:16 +02:00
2000-10-27 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/execute/20001027-1.c: New test.
2000-10-27 01:24:31 +02:00
2000-10-26 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20001026-1.c: New.
2000-10-26 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.brendan/label2.C: Tweak to work with V3.
* g++.old-deja/g++.law/builtin1.C: Likewise.
* g++.old-deja/g++.law/ctors10.C: Likewise.
* g++.old-deja/g++.law/virtual3.C: Likewise.
* g++.old-deja/g++.mike/p658.C: Likewise.
* g++.old-deja/g++.other/sibcall1.C: Likewise.
* g++.old-deja/g++.other/vaarg2.C: Likewise.
* g++.old-deja/g++.robertl/eb124.C: Likewise.
* g++.old-deja/g++.robertl/eb44.C: Likewise.
* g++.old-deja/g++.robertl/eb77.C: Likewise.
2000-10-26 Nathan Sidwell <nathan@codesourcery.com>
* gcc.c-torture/compile/20001024-1.c: New test.
2000-10-25 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++_include_flags): Trust HAVE_LIBSTDCXX_V3
to tell us whether or not we are using V3.
2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
* g++.old-deja/g++.pt/memtemp77.C (main): Adjust comparaison
operands.
2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/qual-return-1.c, gcc.dg/qual-return-2.c: New tests.
2000-10-25 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20001024-1.c: New test.
2000-10-24 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/sibcall1.C: New test.
2000-10-20 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/noncompile/init-3.c: New test.
2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-array-1.c: New test.
2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-1.c, gcc.dg/c90-scanf-1.c: Add tests for
writing through null pointers; remove comment about testing
unterminated strings.
2000-10-17 Matthew Hiller <hiller@redhat.com>
* gcc.c-torture/execute/20001017-2.c: New test.
2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/compile/20001018-1.c: New test.
* gcc.c-torture/compile/20001018-1.x: Xfail.
2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20001017-1.c: New test.
2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-xopen-1.c: Update comments; adjust for checking
for multiple use of arguments with scanf formats; add tests for
multiple use of arguments.
2000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
* gcc.dg/sequence-pt-1.c: Several new tests; remove xfail from some old tests.
2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-miss-1.c: New test.
2000-10-16 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20001013-1.c: New test.
2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-branch-1.c: New test.
2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
* README, lib/file-format.exp: Remove EGCS references.
2000-10-16 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20001013-1.c: New test.
2000-10-15 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Determine the type
for intmax_t in the compiler using __typeof__ and the type rules
for conditional expressions.
2000-10-13 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20001012-1.c: New test.
* gcc.dg/20001012-2.c: New test.
2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-attr-1.c: New test.
2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Use
__LONG_LONG_MAX__ instead of LLONG_MAX.
2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-scanf-2.c, gcc.dg/format-ext-2.c: Test ' and I
scanf flags.
* gcc.dg/format-ext-3.c: Test mutually exclusive pairs of strftime
flags.
2000-10-11 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/sequence-pt-1.c: New test.
2000-10-11 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/20001011-1.c: New testcase.
Testcase provided by Zack Weinberg <zackw@stanford.edu>.
2000-10-10 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi
does not error on it.
2000-10-10 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20001009-1.c: New test.
Mon Oct 9 23:32:06 MET DST 2000 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/20001009-1.c: Move from here ....
* gcc.c-torture/execute/20001009-2.c: ... to here.
2000-10-09 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/compile/20001009-1.c: New testcase.
* gcc.c-torture/execute/20001009-1.c: New testcase.
Testcases provided by Jan Hubicka <jh@suse.cz>.
2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-printf-1.c, gcc.dg/c99-scanf-1.c,
gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Define intmax_t and
uintmax_t using <limits.h> to emulate the compiler's internal
logic. No longer XFAIL %j tests.
2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-1.c, gcc.dg/c90-scanf-1.c,
gcc.dg/c99-printf-1.c, gcc.dg/c99-scanf-1.c,
gcc.dg/c99-strftime-1.c, gcc.dg/format-ext-3.c: Adjust error
regexps and details of expected handling of some bad formats.
* gcc.dg/format-xopen-1.c: Add test for $ format with assignment
suppression.
2000-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
* g++.old-deja/g++.eh/cond1.C, g++.old-deja/g++.other/bitfld3.C,
g++.old-deja/g++.other/cond5.C, g++.old-deja/g++.other/decl3.C,
g++.old-deja/g++.other/decl5.C, gcc.dg/cast-qual-1.c,
gcc.dg/return-type-1.c, gcc.dg/unused-1.c: Update URLs of messages
in list archives.
2000-10-06 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.brendan/crash13.C: Pass -Wreturn-type.
* g++.old-deja/g++.brendan/crash52.C: Likewise.
* g++.old-deja/g++.jason/report.C: Likewise.
* g++.old-deja/g++.law/friend5.C: Likewise.
* g++.old-deja/g++.mike/p646.C: Likewise. Adjust the spelling
of the expected warnings.
2000-10-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/enum14.C: New test.
2000-10-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash59.C: New test.
2000-10-04 Will Cohen <wcohen@redhat.com>
* gcc.dg/20000926-1.c: New test.
2000-10-03 Geoff Keating <geoffk@cygnus.com>
* g++.old-deja/g++.pt/memtemp77.C (main): Update demangled
function name for current C++ compiler.
Patch from Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>.
2000-09-29 Gabriel Dos Reis <gdr@codesourcery.com>
* g++.old-deja/g++.ext/pretty3.C: Fix comparison with
__PRETTY_FUNCTION__.
* g++.old-deja/g++.ext/pretty2.C: Likewise.
2000-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/wtr-int-type-1.c: Don't expect a warning from system headers.
2000-09-26 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20000923-1.c: New test.
2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* g++.old-deja/g++.other/crash20.C: Make ready for libstdc++-v3.
* g++.old-deja/g++.pt/ttp62.C: Same.
* g++.old-deja/g++.other/inline14.C: Same.
2000-09-24 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000914-1.c: Declare malloc.
2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-1.c: Add test for wide string format.
2000-09-22 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/compile/20000922-1.c: New file.
2000-09-21 Nick Clifton <nickc@redhat.com>
* gcc.c-torture/execute/divmod-1.c (mod5): New function - perform
a signed long modulo operation.
(mod6): New function - perform an unsigned long modulo operation.
(main): Add tests for modulos of very large numbers by very small
dividends.
2000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.old-deja/g++.other/virtual8.C: Declare printf correctly.
2000-09-19 Richard Henderson <rth@cygnus.com>
* gcc.dg/compare2.c (case 10): XFAIL.
2000-09-18 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000906-1.c: Move ...
* gcc.dg/20000906-1.c: ... here. Only run on targets
that support __builtin_trap.
cpphash.h (HASHSTEP): Take character rather than pointer to character. * cpphash.h (HASHSTEP): Take character rather than pointer to character. (_cpp_check_directive, _cpp_check_linemarker): Update prototypes. * cpphash.c (cpp_loookup): Update for new HASHSTEP. * cpplex.c (auto_expand_name_space, trigraph_replace, backslash_start, handle_newline, parse_name, INIT_TOKEN_STR, IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN, BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE, KNOWN_DIRECTIVE): Delete. (handle_newline, check_long_token, skip_escaped_newlines, unterminated): New functions. (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros. (parse_identifier): Was parse_name, new implementation. (skip_line_comment, skip_block_comment, skip_whitespace, parse_number, parse_string, trigraph_ok, save_comment, adjust_column, _cpp_get_line): New implementations. (lex_token): New function. Lexes a token at a time, looking forwards. Contains most of the guts of the old lex_line. (lex_line): New implementation, using lex_token to obtain individual tokens. (cpp_scan_buffer): Use the token's line, not the list's line. * cpplib.c (_cpp_check_directive, _cpp_check_linemarker): New implementations. (do_assert): Don't bother setting the answer's list's line. (cpp_push_buffer): Initialise new pfile and read_ahead members of struct cpp_buffer. * cpplib.h (cppchar_t): New typedef. (struct cpp_buffer): read_ahead, pfile and col_adjust are new members. (struct lexer_state): New structure that determines the state and behaviour of the lexer. (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros. (struct cpp_reader): New member "state". Rename multiline_string_line and multiline_string_column. Delete col_adjust, in_lex_line members. (CPP_BUF_COLUMN): Update. * gcc.dg/cpp/cmdlne-C.c: Remove bogus warning test. From-SVN: r36509
2000-09-18 20:43:05 +02:00
Mon 18-Sep-2000 19:23:11 BST Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/cmdlne-C.c: Remove bogus warning test.
2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-ext-1.c: Add tests for mixing %m with $ formats.
* gcc.dg/format-xopen-1.c: Fix error in one $ format test. Add
more $ format tests.
2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-errmk-1.c: New test.
2000-09-17 Greg McGary <greg@mcgary.org>
* gcc.c-torture/execute/20000917-1.x: Remove.
2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-complex-1.c, gcc.dg/c99-complex-1.c: New tests.
2000-09-17 Greg McGary <greg@mcgary.org>
* gcc.c-torture/execute/20000917-1.c: New test.
* gcc.c-torture/execute/20000917-1.x: XFAIL.
2000-09-16 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/macro2.c: Testcase for multi-context arguments
in nested macro bug.
2000-09-15 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/paste10.c: Testcase for PASTE_LEFT buglet.
2000-09-14 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000914-1.c: New test.
2000-09-12 Alexandre Oliva <aoliva@redhat.com>
* g++.other/inline13.C: New test.
2000-09-12 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/widechar-2.c: New test for wchar_t
constant by Ulrich Drepper <drepper@redhat.com>.
2000-09-12 J"orn Rennecke <amylaar@redhat.co.uk>
* gcc.c-torture/compile/981006-1.x: No -fpic for sh-coff / sh-hms.
2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/wtr-union-init-2.c, gcc.dg/wtr-union-init-3.c: New tests.
2000-09-11 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/backslash.c: New test.
2000-09-11 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/20000910-1.c: New test.
* gcc.c-torture/execute/20000910-2.c: Likewise.
2000-09-11 Robert Lipe <robertl@sco.com>
* gcc.dg/pragma-align.c: New test.
2000-09-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/explicit82.C: New test.
* g++.old-deja/g++.pt/explicit83.C: New test.
2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/asm-names.c: New test.
2000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cpp/tr-warn6.c: New test
2000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-ext-3.c: Test %#b and %#h as formats that should
be accepted.
2000-09-07 Catherine Moore <clm@redhat.com>
* gcc.c-torture/execute/unroll-1.c: New test.
Integrated preprocessor. top level: * Makefile.in: Remove all references to c-parse.gperf, c-gperf.h, and c-parse.h. Remove -d from yacc command line generating c-parse.c. Update dependencies. * c-parse.gperf, c-gperf.h: Delete. * c-common.c: Don't define parse_options, cpp_token, yy_cur, yy_lim, or yy_get_token. Don't define get_directive_line if USE_CPPLIB. * c-common.h: Add multiple include guard. Define RID values for every keyword in C, C++, and Objective C. Put all the modifiers first. (struct c_fileinfo, get_fileinfo, dump_time_statistics): New. * c-decl.c (c_decode_option): Handle -lang-objc here. (print_lang_identifier): Handle C_IS_RESERVED_WORD case. (grokdeclarator): Adjust for new RID scheme. (extract_interface_info): New stub. * c-lang.c: Don't declare yy_cur or parse_options. (lang_init_options): Call cpp_init. Don't call cpp_options_init. (lang_init): Don't call check_newline if USE_CPPLIB. * c-lex.c: Don't include c-parse.h. Do include timevar.h. Elide lots of unnecessary code if USE_CPPLIB. Delete code rendered unnecessary by new architecture. Move routines not shared with C++ to c-parse.in. Maintain a local idea of the line number. Handle C++ as well as C. [USE_CPPLIB]: Declare and register callbacks for #ident and for entering/leaving files. (init_c_lex, c_lex): Are now the entry points to this file. (check_newline): Break out directive handling to process_directive. (read_ucs, is_extended_char, utf8_extend_token): Moved here from C++ front end. (readescape, parse_float): Overhaul. (lex_number, lex_string, lex_charconst): Break out of c_lex (n'ee yylex). (get_fileinfo, update_header_times, dump_one_header, dump_time_statistics): New and/or moved here from C++. Support per-file data needed by C++ and per-header timing statistics (C++ only, at the moment). * c-lex.h: Update prototypes. Add multiple include guard. * c-tree.h (struct lang_identifier): Add rid_code field. (C_IS_RESERVED_WORD, C_RID_CODE): New. * c-parse.in: Include c-pragma.h. Remove unnecesary calls to reinit_parse_for_function and/or position_after_white_space. (save_filename, save_lineno): Look ahead before saving. (label -> identifier ':'): Save file and line before shifting ':'. (reservedwords): No need to call get_identifier. (init_parse, finish_parse, yyerror, yylex, yyprint, make_pointer_declarator): Are now here for C/ObjC. (rid_to_yy): Conversion table from RID constants to Yacc codes. * c-pragma.c: Rewrite parsing logic to fit with cpplib's #pragma registry. Provide dummy implementation of that interface if !USE_CPPLIB. * c-pragma.h: Update to match. * flags.h: Add multiple include guard. (flag_detailed_statistics): Moved here from C++. * toplev.c: Define flag_detailed_statistics. * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case #if USE_CPPLIB. * timevar.def (TV_CPP, TV_LEX): New. * timevar.h: Add multiple include guard. * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case #if USE_CPPLIB. * objc/objc-act.c: Don't mention yy_cur or parse_options. Initialize cpplib properly. Force lineno to 0 after first call to check_newline. Don't handle -lang-objc here. Move forget_protocol_qualifiers and remember_protocol_qualifiers here. cp: * Make-lang.in, Makefile.in: Remove all references to input.c, gxx.gperf, and hash.h. Add ../c-lex.o to C_OBJS. * gxx.gperf, hash.h, input.c: Delete. * lang-specs.h: Pass -lang-c++ to cc1plus so cpplib is initialized properly. * class.c (fixup_pending_inline): Take a tree, not a struct pending_inline *. All callers changed. (init_class_processing): Set RID_PUBLIC, RID_PRIVATE, RID_PROTECTED entries in ridpointers[] array here. * decl.c (duplicate_decls): Do not refer to struct pending_inline. (record_builtin_type, init_decl_processing): Use RID_MAX not CP_RID_MAX. (grokdeclarator): Use C_IS_RESERVED_WORD. * decl2.c (lang_decode_option): Ignore -lang-c++ for sake of cpplib. (grok_x_components): Do not inspect pending_inlines chain. * cp-tree.h (struct lang_identifier): Add rid_code entry. (C_IS_RESERVED_WORD, C_RID_CODE, C_RID_YYCODE): New. (flag_no_gnu_keywords, flag_operator_names, rid_to_yy): Declare. (DEFARG_LENGTH, struct pending_inline, TIME_IDENTIFIER_TIME, TIME_IDENTIFIER_FILEINFO): Kill. Update prototypes. * lex.h: Expunge cp_rid. Rewrite RIDBIT macros to use just a single 32-bit word. * parse.y: Call do_pending_inlines unconditionally. reinit_parse_for_method is now snarf_method. fn.defpen is no longer necessary. Remove unnecessary <itype> annotation on SCOPE. Do not refer to end_of_file or struct pending_inline. * semantics.c (begin_inline_definitions): Call do_pending_inlines unconditionally. * lex.c: Remove all code now shared with C front end. Initialize cpplib properly if USE_CPPLIB. Put reserved words into the get_identifier table. Rewrite pragma handling to work with the registry. Move code to save tokens for later processing to spew.c. * spew.c: Rewrite everything in terms of token streams instead of text. Move routines here from lex.c / input.c as appropriate. GC-mark trees hanging off the pending inlines chain. testsuite: * g++.old-deja/g++.benjamin/13478.C: Put meaningful tags on ERROR markers. * g++.old-deja/g++.brendan/crash8.C: Move ERROR marker up one line. * gcc.dg/c99-array-nonobj-1.c: Don't expect func[] cases to fail. * gcc.dg/wtr-label-1.c: Don't use unconstrained .* in error regexps. * gcc.dg/wtr-suffix-1.c: Correct error regexps. * gcc.dg/cpp/unc1.c, gcc.dg/cpp/unc2.c, gcc.dg/cpp/unc3.c: Preprocess only. * gcc.dg/cpp/unc4.c: Adjust line number in dg-error line. * gcc.dg/noncompile/const-ll-1.c: Generalize error regexp. From-SVN: r36216
2000-09-07 02:37:14 +02:00
2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
* g++.old-deja/g++.benjamin/13478.C: Put meaningful tags on
ERROR markers.
* g++.old-deja/g++.brendan/crash8.C: Move ERROR marker up one line.
* gcc.dg/c99-array-nonobj-1.c: Don't expect func[] cases to fail.
* gcc.dg/wtr-label-1.c: Don't use unconstrained .* in error regexps.
* gcc.dg/wtr-suffix-1.c: Correct error regexps.
* gcc.dg/cpp/unc1.c, gcc.dg/cpp/unc2.c, gcc.dg/cpp/unc3.c:
Preprocess only.
* gcc.dg/cpp/unc4.c: Adjust line number in dg-error line.
* gcc.dg/noncompile/const-ll-1.c: Generalize error regexp.
2000-09-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/deduct2.C: New test.
2000-09-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/parms2.C: New test.
2000-09-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash58.C: New test.
2000-09-06 Greg McGary <greg@mcgary.org>
* gcc.c-torture/execute/20000906-1.c: New test.
* gcc.c-torture/execute/20000906-1.x: Expect failure for ix86 at `-O2'.
2000-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/wtr-int-type-1.c: Fix for 64-bit platforms.
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash57.C: New test.
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash56.C: New test.
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/koenig1.C: New test.
2000-09-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20000904-1.c: New test.
2000-09-04 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/paste8.c: New test.
2000-09-01 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/compile/20000827-1.c: New test.
2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-diag-1.c: New test.
2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-1.c, gcc.dg/c90-printf-2.c,
gcc.dg/c90-scanf-1.c, gcc.dg/c90-scanf-2.c, gcc.dg/c99-printf-1.c,
gcc.dg/c99-scanf-1.c, gcc.dg/format-ext-1.c,
gcc.dg/format-ext-2.c, gcc.dg/format-xopen-1.c,
gcc.dg/formatz-1.c: Adjust warning regular expressions.
2000-09-01 Nathan Sidwell <nathan@codesourcery.com>
Integrated preprocessor. top level: * Makefile.in: Remove all references to c-parse.gperf, c-gperf.h, and c-parse.h. Remove -d from yacc command line generating c-parse.c. Update dependencies. * c-parse.gperf, c-gperf.h: Delete. * c-common.c: Don't define parse_options, cpp_token, yy_cur, yy_lim, or yy_get_token. Don't define get_directive_line if USE_CPPLIB. * c-common.h: Add multiple include guard. Define RID values for every keyword in C, C++, and Objective C. Put all the modifiers first. (struct c_fileinfo, get_fileinfo, dump_time_statistics): New. * c-decl.c (c_decode_option): Handle -lang-objc here. (print_lang_identifier): Handle C_IS_RESERVED_WORD case. (grokdeclarator): Adjust for new RID scheme. (extract_interface_info): New stub. * c-lang.c: Don't declare yy_cur or parse_options. (lang_init_options): Call cpp_init. Don't call cpp_options_init. (lang_init): Don't call check_newline if USE_CPPLIB. * c-lex.c: Don't include c-parse.h. Do include timevar.h. Elide lots of unnecessary code if USE_CPPLIB. Delete code rendered unnecessary by new architecture. Move routines not shared with C++ to c-parse.in. Maintain a local idea of the line number. Handle C++ as well as C. [USE_CPPLIB]: Declare and register callbacks for #ident and for entering/leaving files. (init_c_lex, c_lex): Are now the entry points to this file. (check_newline): Break out directive handling to process_directive. (read_ucs, is_extended_char, utf8_extend_token): Moved here from C++ front end. (readescape, parse_float): Overhaul. (lex_number, lex_string, lex_charconst): Break out of c_lex (n'ee yylex). (get_fileinfo, update_header_times, dump_one_header, dump_time_statistics): New and/or moved here from C++. Support per-file data needed by C++ and per-header timing statistics (C++ only, at the moment). * c-lex.h: Update prototypes. Add multiple include guard. * c-tree.h (struct lang_identifier): Add rid_code field. (C_IS_RESERVED_WORD, C_RID_CODE): New. * c-parse.in: Include c-pragma.h. Remove unnecesary calls to reinit_parse_for_function and/or position_after_white_space. (save_filename, save_lineno): Look ahead before saving. (label -> identifier ':'): Save file and line before shifting ':'. (reservedwords): No need to call get_identifier. (init_parse, finish_parse, yyerror, yylex, yyprint, make_pointer_declarator): Are now here for C/ObjC. (rid_to_yy): Conversion table from RID constants to Yacc codes. * c-pragma.c: Rewrite parsing logic to fit with cpplib's #pragma registry. Provide dummy implementation of that interface if !USE_CPPLIB. * c-pragma.h: Update to match. * flags.h: Add multiple include guard. (flag_detailed_statistics): Moved here from C++. * toplev.c: Define flag_detailed_statistics. * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case #if USE_CPPLIB. * timevar.def (TV_CPP, TV_LEX): New. * timevar.h: Add multiple include guard. * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case #if USE_CPPLIB. * objc/objc-act.c: Don't mention yy_cur or parse_options. Initialize cpplib properly. Force lineno to 0 after first call to check_newline. Don't handle -lang-objc here. Move forget_protocol_qualifiers and remember_protocol_qualifiers here. cp: * Make-lang.in, Makefile.in: Remove all references to input.c, gxx.gperf, and hash.h. Add ../c-lex.o to C_OBJS. * gxx.gperf, hash.h, input.c: Delete. * lang-specs.h: Pass -lang-c++ to cc1plus so cpplib is initialized properly. * class.c (fixup_pending_inline): Take a tree, not a struct pending_inline *. All callers changed. (init_class_processing): Set RID_PUBLIC, RID_PRIVATE, RID_PROTECTED entries in ridpointers[] array here. * decl.c (duplicate_decls): Do not refer to struct pending_inline. (record_builtin_type, init_decl_processing): Use RID_MAX not CP_RID_MAX. (grokdeclarator): Use C_IS_RESERVED_WORD. * decl2.c (lang_decode_option): Ignore -lang-c++ for sake of cpplib. (grok_x_components): Do not inspect pending_inlines chain. * cp-tree.h (struct lang_identifier): Add rid_code entry. (C_IS_RESERVED_WORD, C_RID_CODE, C_RID_YYCODE): New. (flag_no_gnu_keywords, flag_operator_names, rid_to_yy): Declare. (DEFARG_LENGTH, struct pending_inline, TIME_IDENTIFIER_TIME, TIME_IDENTIFIER_FILEINFO): Kill. Update prototypes. * lex.h: Expunge cp_rid. Rewrite RIDBIT macros to use just a single 32-bit word. * parse.y: Call do_pending_inlines unconditionally. reinit_parse_for_method is now snarf_method. fn.defpen is no longer necessary. Remove unnecessary <itype> annotation on SCOPE. Do not refer to end_of_file or struct pending_inline. * semantics.c (begin_inline_definitions): Call do_pending_inlines unconditionally. * lex.c: Remove all code now shared with C front end. Initialize cpplib properly if USE_CPPLIB. Put reserved words into the get_identifier table. Rewrite pragma handling to work with the registry. Move code to save tokens for later processing to spew.c. * spew.c: Rewrite everything in terms of token streams instead of text. Move routines here from lex.c / input.c as appropriate. GC-mark trees hanging off the pending inlines chain. testsuite: * g++.old-deja/g++.benjamin/13478.C: Put meaningful tags on ERROR markers. * g++.old-deja/g++.brendan/crash8.C: Move ERROR marker up one line. * gcc.dg/c99-array-nonobj-1.c: Don't expect func[] cases to fail. * gcc.dg/wtr-label-1.c: Don't use unconstrained .* in error regexps. * gcc.dg/wtr-suffix-1.c: Correct error regexps. * gcc.dg/cpp/unc1.c, gcc.dg/cpp/unc2.c, gcc.dg/cpp/unc3.c: Preprocess only. * gcc.dg/cpp/unc4.c: Adjust line number in dg-error line. * gcc.dg/noncompile/const-ll-1.c: Generalize error regexp. From-SVN: r36216
2000-09-07 02:37:14 +02:00
* g++.old-deja/g++.other/nested4.C: New test.
2000-09-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ns/scoped1.C: New test.
2000-08-30 Alexandre Oliva <aoliva@redhat.com>
* lib/g++.exp: Support testing already-installed GCC.
2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* wtr-label-1.c, wtr-suffix-1.c: New tests.
2000-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/return-type-2.c: New test.
2000-08-27 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/compile/20000825-1.c: New test.
2000-08-26 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/dwarf2-2.c: New test.
2000-08-26 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/tr-warn4.c: Remove unconstrained .* from
dg-warning regexps.
2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-ext-3.c, gcc.dg/format-ext-4.c,
gcc.dg/format-ext-5.c: New tests.
2000-08-25 Jakub Jelinek <jakub@redhat.com>
* testsuite/g++.old-deja/g++.other/crash22.C: New test.
2000-08-24 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/noncompile/930622-2.c: Adjust error message.
2000-08-25 00:17:54 +02:00
2000-08-24 Richard Henderson <rth@cygnus.com>
* gcc.dg/ia64-sync-1.c: New test.
* gcc.dg/ia64-sync-2.c: New test.
* gcc.dg/ia64-asm-1.c: New test.
2000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-scanf-2.c: Remove test for scanf "Z" length.
* gcc.dg/format-ext-2.c: New test.
2000-08-23 Jason Merrill <jason@redhat.com>
* lib/old-dejagnu.exp: Also ignore "In member function" and
"At global scope".
2000-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/noncompile/label-lineno-1.c: New test.
2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-array-nonobj-1.c: New test.
2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-printf-2.c, gcc.dg/format-xopen-1.c: Add some more
tests.
* gcc.dg/format-ext-1.c: New test.
2000-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cpp/tr-warn4.c, gcc.dg/cpp/tr-warn5.c,
gcc.dg/wtr-aggr-init-1.c, gcc.dg/wtr-escape-1.c,
gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-static-1.c,
gcc.dg/wtr-strcat-1.c, gcc.dg/wtr-switch-1.c,
gcc.dg/wtr-unary-plus-1.c, gcc.dg/wtr-union-init-1.c: New tests.
2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-strftime-2.c, gcc.dg/c99-strftime-1.c,
gcc.dg/c99-strftime-2.c: New tests.
2000-08-22 10:41:02 +02:00
2000-08-22 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000822-1.c: New test.
2000-08-21 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000819-1.x: Remove.
2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-3.c, gcc.dg/c90-scanf-2.c,
gcc.dg/c90-scanf-3.c, gcc.dg/c90-scanf-4.c,
gcc.dg/c90-strftime-1.c, gcc.dg/c99-printf-3.c,
gcc.dg/c99-scanf-1.c, gcc.dg/c99-scanf-2.c, gcc.dg/c99-scanf-3.c,
gcc.dg/format-xopen-1.c: New tests.
2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-scanf-1.c, gcc.dg/c94-scanf-1.c: New tests.
2000-08-21 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/loop2.C: New test.
* gcc.c-torture/compile/20000606-1.c: New test.
* gcc.c-torture/compile/20000728-1.c: New test.
* gcc.c-torture/execute/20000801-1.c: New test.
* gcc.c-torture/execute/20000801-2.c: New test.
* gcc.c-torture/execute/20000819-1.c: New test.
* gcc.c-torture/execute/20000819-1.x: XFAIL.
* gcc.dg/20000629-1.c: New test.
* gcc.dg/20000724-1.c: New test.
* gcc.dg/20000807-1.c: New test.
2000-08-20 Dennis Chernoivanov <cdi@sparc.spb.su>
* gcc.dg/cpp/pragma-1.c: New test.
* gcc.dg/cpp/pragma-2.c: New test.
2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/lexstrng.c: Don't include string.h.
* gcc.dg/cpp/paste2.c: Don't include string.h. Prototype strcmp.
2000-08-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcc.c-torture/compile/20000818-1.c: New test.
2000-08-18 Manfred Hollstein <manfredh@redhat.com>
* gcc.c-torture/execute/20000818-1.c: New test.
2000-08-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-va-1.c: New test.
2000-08-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/typedef8.C: New test.
2000-08-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.benjamin/13478.C: Mark candidate.
* g++.old-deja/g++.mike/net36.C: Mark candidate.
* g++.old-deja/g++.robertl/eb131.C: Mark candidate.
* g++.old-deja/g++.oliva/overload1.C: Remove XFAIL.
* g++.old-deja/g++.other/ptrmem7.C: New test.
* g++.old-deja/g++.pt/ptrmem10.C: New test.
2000-08-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/typename27.C: New test.
2000-08-17 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash44.C: Remove XFAIL. Add ERROR.
* g++.old-deja/g++.pt/friend38.C: Remove XFAIL. Add extra test.
* g++.old-deja/g++.pt/friend45.C: New test.
* g++.old-deja/g++.other/friend8.C: New test.
2000-08-16 08:23:40 +02:00
2000-08-15 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000815-1.c: New test.
2000-08-15 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-array-lval-2.c, gcc.dg/c90-const-expr-2.c,
gcc.dg/c99-array-lval-2.c, gcc.dg/c99-const-expr-2.c,
gcc.dg/c99-func-3.c, gcc.dg/c99-func-4.c: New tests.
2000-08-14 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/refinit2.C: New test.
2000-08-13 Geoff Keating <geoffk@cygnus.com>
* lib/c-torture.exp (c-torture): Make
compiler_conditional_xfail_data global.
* lib/f-torture.exp (f-torture): Add in torture_eval_before_compile,
compiler_conditional_xfail_data machinery.
(f-torture-execute): Likewise.
* g77.c-torture/compile/20000629-1.x: The test only fails on x86,
and only when unrolling loops.
* gcc.dg/c99-array-lval-1.c: The test on line 14 now passes.
2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/explicit81.C: New test.
2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/typename26.C: New test.
2000-08-10 Geoff Keating <geoffk@cygnus.com>
* gcc.dg/920413-1.c: Allow for 'traditional C rejects 'U' suffix'
warning.
2000-08-10 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/array3.C: New test.
2000-08-09 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-scope-1.c,
gcc.dg/c99-array-lval-1.c, gcc.dg/c99-const-expr-1.c,
gcc.dg/c99-func-1.c, gcc.dg/c99-func-2.c, gcc.dg/c99-scope-1.c:
New tests.
2000-08-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/ptrflags.C: Adjust rtti member names.
* g++.old-deja/g++.abi/vmihint.C: Likewise.
2000-08-09 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/20000808-1.c: New test.
2000-08-09 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-const-expr-1.c: New test.
2000-08-08 Richard Henderson <rth@cygnus.com>
* gcc.dg/noncompile/920923-1.c: Declare calloc.
2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/noncompile/const-ll-1.c: New test.
2000-08-07 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.
2000-08-06 Ovidiu Predescu <ovidiu@cup.hp.com>
* lib/objc.exp (objc_target_compile): Set the ld_library_path so
that running programs linked against the shared version of libobjc
run correctly.
2000-08-06 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-printf-1.c: New test.
2000-08-06 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c-torture/execute/20000801-4.x: Only xfail on x86.
2000-08-05 Zack Weinberg <zack@wolery.cumb.org>
Integrated preprocessor. top level: * Makefile.in: Remove all references to c-parse.gperf, c-gperf.h, and c-parse.h. Remove -d from yacc command line generating c-parse.c. Update dependencies. * c-parse.gperf, c-gperf.h: Delete. * c-common.c: Don't define parse_options, cpp_token, yy_cur, yy_lim, or yy_get_token. Don't define get_directive_line if USE_CPPLIB. * c-common.h: Add multiple include guard. Define RID values for every keyword in C, C++, and Objective C. Put all the modifiers first. (struct c_fileinfo, get_fileinfo, dump_time_statistics): New. * c-decl.c (c_decode_option): Handle -lang-objc here. (print_lang_identifier): Handle C_IS_RESERVED_WORD case. (grokdeclarator): Adjust for new RID scheme. (extract_interface_info): New stub. * c-lang.c: Don't declare yy_cur or parse_options. (lang_init_options): Call cpp_init. Don't call cpp_options_init. (lang_init): Don't call check_newline if USE_CPPLIB. * c-lex.c: Don't include c-parse.h. Do include timevar.h. Elide lots of unnecessary code if USE_CPPLIB. Delete code rendered unnecessary by new architecture. Move routines not shared with C++ to c-parse.in. Maintain a local idea of the line number. Handle C++ as well as C. [USE_CPPLIB]: Declare and register callbacks for #ident and for entering/leaving files. (init_c_lex, c_lex): Are now the entry points to this file. (check_newline): Break out directive handling to process_directive. (read_ucs, is_extended_char, utf8_extend_token): Moved here from C++ front end. (readescape, parse_float): Overhaul. (lex_number, lex_string, lex_charconst): Break out of c_lex (n'ee yylex). (get_fileinfo, update_header_times, dump_one_header, dump_time_statistics): New and/or moved here from C++. Support per-file data needed by C++ and per-header timing statistics (C++ only, at the moment). * c-lex.h: Update prototypes. Add multiple include guard. * c-tree.h (struct lang_identifier): Add rid_code field. (C_IS_RESERVED_WORD, C_RID_CODE): New. * c-parse.in: Include c-pragma.h. Remove unnecesary calls to reinit_parse_for_function and/or position_after_white_space. (save_filename, save_lineno): Look ahead before saving. (label -> identifier ':'): Save file and line before shifting ':'. (reservedwords): No need to call get_identifier. (init_parse, finish_parse, yyerror, yylex, yyprint, make_pointer_declarator): Are now here for C/ObjC. (rid_to_yy): Conversion table from RID constants to Yacc codes. * c-pragma.c: Rewrite parsing logic to fit with cpplib's #pragma registry. Provide dummy implementation of that interface if !USE_CPPLIB. * c-pragma.h: Update to match. * flags.h: Add multiple include guard. (flag_detailed_statistics): Moved here from C++. * toplev.c: Define flag_detailed_statistics. * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case #if USE_CPPLIB. * timevar.def (TV_CPP, TV_LEX): New. * timevar.h: Add multiple include guard. * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case #if USE_CPPLIB. * objc/objc-act.c: Don't mention yy_cur or parse_options. Initialize cpplib properly. Force lineno to 0 after first call to check_newline. Don't handle -lang-objc here. Move forget_protocol_qualifiers and remember_protocol_qualifiers here. cp: * Make-lang.in, Makefile.in: Remove all references to input.c, gxx.gperf, and hash.h. Add ../c-lex.o to C_OBJS. * gxx.gperf, hash.h, input.c: Delete. * lang-specs.h: Pass -lang-c++ to cc1plus so cpplib is initialized properly. * class.c (fixup_pending_inline): Take a tree, not a struct pending_inline *. All callers changed. (init_class_processing): Set RID_PUBLIC, RID_PRIVATE, RID_PROTECTED entries in ridpointers[] array here. * decl.c (duplicate_decls): Do not refer to struct pending_inline. (record_builtin_type, init_decl_processing): Use RID_MAX not CP_RID_MAX. (grokdeclarator): Use C_IS_RESERVED_WORD. * decl2.c (lang_decode_option): Ignore -lang-c++ for sake of cpplib. (grok_x_components): Do not inspect pending_inlines chain. * cp-tree.h (struct lang_identifier): Add rid_code entry. (C_IS_RESERVED_WORD, C_RID_CODE, C_RID_YYCODE): New. (flag_no_gnu_keywords, flag_operator_names, rid_to_yy): Declare. (DEFARG_LENGTH, struct pending_inline, TIME_IDENTIFIER_TIME, TIME_IDENTIFIER_FILEINFO): Kill. Update prototypes. * lex.h: Expunge cp_rid. Rewrite RIDBIT macros to use just a single 32-bit word. * parse.y: Call do_pending_inlines unconditionally. reinit_parse_for_method is now snarf_method. fn.defpen is no longer necessary. Remove unnecessary <itype> annotation on SCOPE. Do not refer to end_of_file or struct pending_inline. * semantics.c (begin_inline_definitions): Call do_pending_inlines unconditionally. * lex.c: Remove all code now shared with C front end. Initialize cpplib properly if USE_CPPLIB. Put reserved words into the get_identifier table. Rewrite pragma handling to work with the registry. Move code to save tokens for later processing to spew.c. * spew.c: Rewrite everything in terms of token streams instead of text. Move routines here from lex.c / input.c as appropriate. GC-mark trees hanging off the pending inlines chain. testsuite: * g++.old-deja/g++.benjamin/13478.C: Put meaningful tags on ERROR markers. * g++.old-deja/g++.brendan/crash8.C: Move ERROR marker up one line. * gcc.dg/c99-array-nonobj-1.c: Don't expect func[] cases to fail. * gcc.dg/wtr-label-1.c: Don't use unconstrained .* in error regexps. * gcc.dg/wtr-suffix-1.c: Correct error regexps. * gcc.dg/cpp/unc1.c, gcc.dg/cpp/unc2.c, gcc.dg/cpp/unc3.c: Preprocess only. * gcc.dg/cpp/unc4.c: Adjust line number in dg-error line. * gcc.dg/noncompile/const-ll-1.c: Generalize error regexp. From-SVN: r36216
2000-09-07 02:37:14 +02:00
* gcc.c-torture/execute/20000731-1.x: Delete.
2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
and torture_without_loops as is done by c-torture.exp.
(search_for): Copy from c-torture.exp.
(gcc-dg-runtest): New function, drives a directory of tests
iterating over the TORTURE_OPTIONS.
(scan-assembler, scan-assembler-not): Move here from
individual directory drivers.
* gcc.dg/dg.exp: scan-assembler, scan-assembler-not now
defined by lib/gcc-dg.exp.
* gcc.dg/cpp/cpp.exp: Likewise.
* gcc.dg/noncompile/noncompile.exp: Likewise. Use
gcc-dg-runtest, so we cycle over optimization options.
* gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9.
* gcc.dg/compare2.c: No longer expected to fail.
2000-08-04 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.c-torture/execute/20000804-1.c: New test.
2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-1.c, gcc.dg/c94-printf-1.c: New tests.
2000-08-03 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/20000625-2.c: Don't expect a warning on line 4.
2000-08-03 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000803-1.c: New test.
2000-08-03 Joseph S. Myers <jsm28@cam.ac.uk>
2000-08-06 01:08:10 +02:00
* gcc.c-torture/execute/20000801-3.c,
gcc.c-torture/execute/20000801-4.c: New tests.
* gcc.c-torture/execute/20000801-3.x,
gcc.c-torture/execute/20000801-4.x: Xfail.
2000-08-02 Geoff Keating <geoffk@cygnus.com>
* lib/objc.exp (objc_target_compile): Look for libobjc.a in
libobjc/.libs to allow for libtool.
2000-08-02 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20000802-1.c: New test.
2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/macsyntx.c: Fix error regexp.
2000-07-31 Jeffrey A Law (law@cygnus.com)
* gcc-c-torture/execute/20000731-2.c: New test.
* gcc.c-torture/execute/20000731-1.c: New test.
* gcc.c-torture/execute/20000731-1.x: Expected to fail for i?86-*-*.
2000-07-31 Jakub Jelinek <jakub@redhat.com>
* testsuite/gcc.dg/cpp/paste7.c: New test.
* gcc.dg/cpp/20000725-1.c: New test.
2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/c90-digraph-1.c: Restore { dg-do run } marker.
* gcc.dg/noncompile/990416-1.c: Do not expect an implicit-
declaration warning for __builtin_dwarf_reg_size.
* gcc.dg/c99-impl-decl-1.c: No longer XFAIL.
2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/noncompile/voidparam-1.c: New test.
2000-07-30 Richard Henderson <rth@cygnus.com>
* gcc.dg/c90-digraph-1.c: Don't xfail.
* gcc.dg/compare2.c (case 10): Xfail.
* gcc.dg/noncompile/redecl-1.c: Fix expected error message.
2000-07-27 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-main-1.c: New test.
2000-07-25 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-impl-int-2.c, gcc.dg/c99-impl-int-2.c: New tests.
2000-07-26 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-tortuer/execute/20000726-1.c: New test.
2000-07-26 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/enum-2.c: New test.
2000-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cpp/tr-warn3.c: New test.
2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ext/implicit1.C: Remove.
* g++.old-deja/g++.jason/c2.C: Remove
* g++.old-deja/g++.mike/p700.C: Add prototype parameters.
* g++.old-deja/g++.pt/crash16.C: Likewise.
* g++.old-deja/g++.brendan/crash43.C: Remove -fstrict-prototype.
2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/for2.C: New test.
2000-07-25 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20000720-1.c: New test.
2000-07-25 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/20000630-2.x: Removed. Case fixed.
2000-07-24 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/20000722-1.x: New, testcase fails.
* gcc.c-torture/execute/20000722-1.c: New.
* gcc.c-torture/execute/20000516-1.c: Delete, replaced by 20000722-1.
2000-07-24 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/20000720-1.S: New test.
2000-07-21 Michael Meissner <meissner@redhat.com>
2000-07-22 04:48:11 +02:00
* gcc.c-torture/execute/ieee/hugeval.c: New test.
2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
* g++.old-deja/g++.brendan/crash16.C,
g++.old-deja/g++.brendan/parse3.C,
g++.old-deja/g++.brendan/redecl1.C,
g++.old-deja/g++.ns/template13.C,
g++.old-deja/g++.other/decl4.C,
g++.old-deja/g++.pt/spec14.C: Mark as crash test, expected to fail.
2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
* lib/old-dejagnu.exp: Check for both "Internal compiler error"
and "Internal error".
* gcc.dg/cpp/20000625-2.c, gcc.dg/cpp/macsyntx.c: Update error
regexps.
* gcc.dg/cpp/paste6.c: New test.
2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/tr-direct.c: New test.
* gcc.dg/cpp/directiv.c, gcc.dg/cpp/macsyntx.c,
gcc.dg/cpp/undef1.c: Tweak error regexps.
2000-07-18 Eric Christopher <echristo@redhat.com>
* gcc.c-torture/compile/20000718-1.c: New test.
2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
* cpplex.c (_cpp_push_token): If the token being pushed back
is the previous token in this context, just subtract one from
context->posn.
* cppmacro.c (save_expansion): Clear aux field when storing a
placemarker.
2000-07-18 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/noncompile/redecl-1.c: New test.
2000-07-18 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000717-5.c: New test.
* gcc.c-torture/execute/20000717-1.x: Removed.
2000-07-18 00:44:39 +02:00
2000-07-17 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000717-4.c: New test.
2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/syshdr.c: New test.
* gcc.dg/cpp/syshdr1.h, gcc.dg/cpp/syshdr2.h: New files.
2000-07-17 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/cmdlne-dM.c: New test.
* gcc.dg/cpp/cmdlne-dD.c: New test.
2000-07-17 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000717-3.c: New test.
* gcc.c-torture/compile/20000717-1.c: New test.
2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/20000717-2.c: New test.
2000-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/formatz-1.c: New test.
2000-08-06 01:08:10 +02:00
* gcc.dg/c90-digraph-1.c, gcc.dg/c94-digraph-1.c,
* gcc.dg/c99-digraph-1.c: New tests.
* gcc.dg/c90-hexfloat-1.c, gcc.dg/c90-hexfloat-2.c,
* gcc.dg/c99-hexfloat-1.c, gcc.dg/c99-hexfloat-2.c: New tests.
* gcc.dg/c90-enum-comma-1.c, gcc.dg/c90-idem-qual-1.c,
* gcc.dg/c90-impl-decl-1.c, gcc.dg/c90-impl-int-1.c,
2000-08-06 01:08:10 +02:00
* gcc.dg/c90-longlong-1.c, gcc.dg/c90-restrict-1.c,
* gcc.dg/c90-return-1.c, gcc.dg/c99-enum-comma-1.c,
* gcc.dg/c99-idem-qual-1.c, gcc.dg/c99-impl-decl-1.c,
* gcc.dg/c99-impl-int-1.c, gcc.dg/c99-longlong-1.c,
* gcc.dg/c99-restrict-1.c, gcc.dg/c99-return-1.c: New tests.
2000-07-17 Greg McGary <greg@mcgary.org>
* gcc.c-torture/execute/20000717-1.c: New test.
* gcc.c-torture/execute/20000717-1.x: Expected to fail.
2000-07-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000715-2.c: New test.
* gcc.dg/20000715-1.c: New test.
2000-07-15 Michael Meissner <meissner@redhat.com>
* gcc.c-torture/execute/20000715-1.c: New test.
2000-07-13 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000707-1.c: New test.
2000-07-13 Neil Booth <NeilB@earthling.net>
* testsuite/gcc.dg/cpp/digraph1.c,
testsuite/gcc.dg/cpp/digraph2.c,
testsuite/gcc.dg/cpp/digraphs.c: New tests.
2000-07-12 David Billinghurst <David Billinghurst@riotinto.com.au>
* g77.f-torture/compile/20000630-2.f: New test.
* g77.f-torture/compile/20000630-2.x
2000-07-11 David Billinghurst <David.Billinghurst@riotinto.com.au>
* g77.f-torture/execute/20000503-1.x: Delete. Test now passes.
2000-07-11 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/cmdlne-C.c: Fix typo.
2000-07-11 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/cmdlne-C.c: New.
2000-07-09 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/directiv.c: New tests.
* gcc.dg/cpp/undef1.c: Update.
2000-07-08 Angela Marie Thomas <angela@cygnus.com>
* lib/c-torture.exp: Make compiler_conditional_xfail_data global.
2000-07-09 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/macsyntx.c: Add test for #define defined.
2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/19951227-1.c, gcc.dg/cpp/assert2.c,
gcc.dg/cpp/if-1.c, gcc.dg/cpp/if-4.c: Tweak error regexps.
2000-07-08 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/macsyntx.c: New tests.
2000-07-07 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20000707-1.c: New test.
2000-07-07 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000706-1.c: New test.
* gcc.c-torture/execute/20000706-2.c: New test.
* gcc.c-torture/execute/20000706-3.c: New test.
* gcc.c-torture/execute/20000706-4.c: New test.
* gcc.c-torture/execute/20000706-5.c: New test.
2000-07-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/instantiate7.C: New test.
2000-07-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.mike/thunk2.C: Add return 0.
* g++.old-deja/g++.mike/thunk3.C: Likewise.
* g++.old-deja/g++.other/rtti3.C: Likewise.
* g++.old-deja/g++.other/rttid3.C: Likewise.
2000-06-30 David Billinghurst <David Billinghurst@riotinto.com.au>
* g77.f-torture/compile/20000630-1.x: Fix typo
2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/ident.c: Don't expect #ident strings in the
assembly output.
cpplex.c: Don't include sys/mman.h. toplevel: * cpplex.c: Don't include sys/mman.h. (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c. * cpplib.c: Include sys/mman.h and obstack.h. (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an obstack. (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack. (_cpp_unwind_if_stack): Now static, unwind_if_stack. Don't bother freeing if stack entries (they will be freed with their buffer). (do_endif): Free if stack entries from the buffer obstack. (push_conditional): Allocate if stack entries from the buffer obstack. (find_answer): Rename to _cpp_find_answer. (do_assert, do_unassert): Update. * cpphash.h: Update prototypes. (xobnew): New convenience macro. * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields. Update comments. (struct cpp_hashnode): Remove disabled field. * cppinit.c: Don't include hashtab.h or splay-tree.h. (report_missing_guard): Moved to cppfiles.c. (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros, cpp_init_includes. (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros, cpp_cleanup_includes. Don't destroy hashtab or all_include_files here. (cpp_finish): Use _cpp_report_missing_guards. * cppfiles.c (report_missing_guard): Moved from cppinit.c. (_cpp_init_include_table): Rename _cpp_init_includes. (_cpp_cleanup_includes, _cpp_report_missing_guards): New. * cppexp.c (parse_assertion): Update for new name of find_answer. * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps. * cpplib.c (do_ident): s/VSPACE/EOF/ testsuite: * gcc.dg/cpp/ident.c: New test. From-SVN: r34870
2000-07-05 07:33:57 +02:00
2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/ident.c: New test.
2000-07-05 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/lexident.c, gcc.dg/cpp/lexnum.c,
gcc.dg/cpp/lexstrng.c: New tests.
2000-07-04 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/macro1.c: Add more macro expansion tests.
* gcc.dg/cpp/strify2.c: Same.
top level: 2000-07-03 Zack Weinberg <zack@wolery.cumb.org> * fix-header.c (struct partial_proto): Remove unnecessary fields. (recognized_extern, recognized_function, read_scan_file): Update for new scheme. (check_protection): It's still a multiple include guard even if it doesn't always trigger. * scan-decls.c (skip_to_closing_brace, scan_decls): Update for new scheme. * scan.h: Declare struct cpp_token. Update prototypes. 2000-07-03 Neil Booth <neilb@earthling.net> Zack Weinberg <zack@wolery.cumb.org> Complete overhaul of the lexer and macro expander. * cpphash.c (object_defn, funct_defn, push_macro_expansion, arg, arglist, argdata, reflist, collect_objlike_expansion, collect_funlike_expansion, collect_params, warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat, unsafe_chars, macarg, compare_defs, special_symbol, scan_arguments, stringify, funlike_macroexpand, _cpp_quote_string, monthnames): Delete. (cpp_lookup, _cpp_free_definition, dump_funlike_macro, _cpp_create_definition, _cpp_dump_definition, dump_hash_helper): Adjust. (find_param, count_params, parse_define, var_args_str, check_macro_redefinition, save_expansion): New. * cpplex.c (skip_block_comment, skip_line_comment, parse_name, parse_string, output_line_command, trigraph_replace, lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens, cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist, cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer, _cpp_skip_rest_of_line): Modify. (maybe_macroexpand, skip_comment, copy_comment, skip_string, find_position, null_warning, bump_column, expand_name_space, pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace, _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token, _cpp_prescan): Delete. (dump_param_spelling, process_directive, lex_next, is_macro_disabled, stringify_arg, expand_context_stack, output_token, make_string_token, alloc_number_token, special_symbol, duplicate_token, maybe_paste_with_next, can_paste, prevent_macro_expansion, restore_macro_expansion, get_temp_token, release_temp_tokens, quote_string, token_names, token_spellings, _cpp_expand_name_space, _cpp_glue_header_name, _cpp_reserve_name_space, digraph_spellings, trigraph_ok, skip_whitespace, save_comment, placemarker_token, eof_token, cpp_context, macro_args, get_raw_token, parse_arg, parse_args, save_token, push_arg_context, push_macro_context, pop_context, do_pop_context, free_macro_args, _cpp_get_line, _cpp_run_directive): New. * cpplib.c (validate_else, parse_include, push_conditional, pass_thru_directive, read_line_number, parse_ifdef, detect_if_not_defined, _cpp_check_directive, do_define, do_undef, do_include, do_import, do_include_next, do_error, do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas, top_pragmas, do_pragma_gcc, do_pragma_implementation, do_pragma_poison, do_pragma_system_header, do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else, dl_elif, do_endif, _cpp_unwind_if_stack, do_assert, do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert, cpp_defined): Update for new scheme. (strtoul_for_line, get_define_node, dump_macro_name, _cpp_check_linemarker, _cpp_parse_assertion): New. (_cpp_handle_directive, do_pragma_default): Delete. * cpphash.h (struct predicate): Now struct answer. (enum spell_type, struct token_spelling, struct directive, directive_handler): New. Update prototypes. Remove unused macros. * cpplib.h: Update prototypes. Remove unused macros, structure definitions, and fields. * cpperror.c (print_containing_files, v_message): Adjust. * cppexp.c (parse_assertion, lex, parse_escape, _cpp_parse_expr): Adjust. * cppfiles.c (open_include_file, _cpp_execute_include, _cpp_compare_file_date, cpp_read_file, read_include_file): Adjust. * cppinit.c (dump_special_to_buffer): Delete. (append_include_chain, merge_include_chains, cpp_reader_init, cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read, cpp_finish, handle_option, print_help): Adjust. * cppmain.c (main): Adjust. testsuite: 2000-07-03 Zack Weinberg <zack@wolery.cumb.org> * testsuite/gcc.dg/cpp/19951025-1.c: Adjust regexps. * testsuite/gcc.dg/cpp/19990703-1.c: Likewise. * testsuite/gcc.dg/cpp/20000625-1.c: Likewise. * testsuite/gcc.dg/cpp/20000625-2.c: Likewise. * testsuite/gcc.dg/cpp/macro1.c, testsuite/gcc.dg/cpp/paste1.c, testsuite/gcc.dg/cpp/paste2.c, testsuite/gcc.dg/cpp/paste3.c, testsuite/gcc.dg/cpp/paste4.c, testsuite/gcc.dg/cpp/strify1.c, testsuite/gcc.dg/cpp/strify2.c: New tests. From-SVN: r34859
2000-07-04 03:58:21 +02:00
2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
* testsuite/gcc.dg/cpp/19951025-1.c: Adjust regexps.
* testsuite/gcc.dg/cpp/19990703-1.c: Likewise.
* testsuite/gcc.dg/cpp/20000625-1.c: Likewise.
* testsuite/gcc.dg/cpp/20000625-2.c: Likewise.
* testsuite/gcc.dg/cpp/macro1.c,
testsuite/gcc.dg/cpp/paste1.c, testsuite/gcc.dg/cpp/paste2.c,
testsuite/gcc.dg/cpp/paste3.c, testsuite/gcc.dg/cpp/paste4.c,
testsuite/gcc.dg/cpp/strify1.c,
testsuite/gcc.dg/cpp/strify2.c: New tests.
2000-07-03 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000703-1.c: New test.
2000-07-03 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt (lookup10.C): New test.
2000-07-03 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt (typename25.C): New test.
2000-07-02 Zack Weinberg <zack@wolery.cumb.org
* gcc.c-torture/compile/20000701-1.c: New test.
2000-06-30 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/compile/20000629-1.c: Add second, reversed, loop
to test case.
2000-06-30 Catherine Moore <clm@cygnus.com>
* gcc.c-torture/execute/align-1.c: New test.
2000-06-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/expr8.C: New test.
* g++.old-deja/g++.pt/expr6.C: Remove XFAIL.
2000-06-29 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/compile/20000629-1.c: New test.
Move the c-torture/noncompile tests to either gcc.dg/cpp or a new gcc.dg/noncompile directory... Move the c-torture/noncompile tests to either gcc.dg/cpp or a new gcc.dg/noncompile directory, depending on whether they're preprocessor tests or not. Annotate all the tests for the dg framework. * gcc.c-torture/noncompile/noncompile.exp: Delete. * gcc.dg/noncompile/noncompile.exp: New. * Moved files: Old name New name gcc.c-torture/noncompile/920507-1.c gcc.dg/noncompile/920507-1.c gcc.c-torture/noncompile/920616-2.c gcc.dg/noncompile/920616-2.c gcc.c-torture/noncompile/920721-2.c gcc.dg/noncompile/920721-2.c gcc.c-torture/noncompile/920824-1.c gcc.dg/noncompile/920824-1.c gcc.c-torture/noncompile/920923-1.c gcc.dg/noncompile/920923-1.c gcc.c-torture/noncompile/921102-1.c gcc.dg/noncompile/921102-1.c gcc.c-torture/noncompile/921116-1.c gcc.dg/noncompile/921116-1.c gcc.c-torture/noncompile/930301-1.c gcc.dg/noncompile/930301-1.c gcc.c-torture/noncompile/930622-1.c gcc.dg/noncompile/930622-1.c gcc.c-torture/noncompile/930622-2.c gcc.dg/noncompile/930622-2.c gcc.c-torture/noncompile/930714-1.c gcc.dg/noncompile/930714-1.c gcc.c-torture/noncompile/931203-1.c gcc.dg/noncompile/931203-1.c gcc.c-torture/noncompile/940112-1.c gcc.dg/noncompile/940112-1.c gcc.c-torture/noncompile/940227-1.c gcc.dg/noncompile/940227-1.c gcc.c-torture/noncompile/940510-1.c gcc.dg/noncompile/940510-1.c gcc.c-torture/noncompile/950825-1.c gcc.dg/noncompile/950825-1.c gcc.c-torture/noncompile/950921-1.c gcc.dg/noncompile/950921-1.c gcc.c-torture/noncompile/951123-1.c gcc.dg/noncompile/951123-1.c gcc.c-torture/noncompile/971104-1.c gcc.dg/noncompile/971104-1.c gcc.c-torture/noncompile/990416-1.c gcc.dg/noncompile/990416-1.c gcc.c-torture/noncompile/init-1.c gcc.dg/noncompile/init-1.c gcc.c-torture/noncompile/init-2.c gcc.dg/noncompile/init-2.c gcc.c-torture/noncompile/invalid_asm.c gcc.dg/noncompile/invalid_asm.c gcc.c-torture/noncompile/va-arg-1.c gcc.dg/noncompile/va-arg-1.c gcc.c-torture/noncompile/940712-1.c gcc.dg/cpp/19940712-1.c gcc.c-torture/noncompile/940712-1.h gcc.dg/cpp/19940712-1.h gcc.c-torture/noncompile/940712-1a.h gcc.dg/cpp/19940712-1a.h gcc.c-torture/noncompile/940712-1b.h gcc.dg/cpp/19940712-1b.h gcc.c-torture/noncompile/951025-1.c gcc.dg/cpp/19951025-1.c gcc.c-torture/noncompile/951227-1.c gcc.dg/cpp/19951227-1.c From-SVN: r34791
2000-06-29 21:55:26 +02:00
2000-06-29 Zack Weinberg <zack@wolery.cumb.org>
Move the c-torture/noncompile tests to either gcc.dg/cpp or a new
gcc.dg/noncompile directory, depending on whether they're
preprocessor tests or not. Annotate all the tests for the dg
framework.
* gcc.c-torture/noncompile/noncompile.exp: Delete.
* gcc.dg/noncompile/noncompile.exp: New.
* Moved files:
Old name New name
gcc.c-torture/noncompile/920507-1.c gcc.dg/noncompile/920507-1.c
gcc.c-torture/noncompile/920616-2.c gcc.dg/noncompile/920616-2.c
gcc.c-torture/noncompile/920721-2.c gcc.dg/noncompile/920721-2.c
gcc.c-torture/noncompile/920824-1.c gcc.dg/noncompile/920824-1.c
gcc.c-torture/noncompile/920923-1.c gcc.dg/noncompile/920923-1.c
gcc.c-torture/noncompile/921102-1.c gcc.dg/noncompile/921102-1.c
gcc.c-torture/noncompile/921116-1.c gcc.dg/noncompile/921116-1.c
gcc.c-torture/noncompile/930301-1.c gcc.dg/noncompile/930301-1.c
gcc.c-torture/noncompile/930622-1.c gcc.dg/noncompile/930622-1.c
gcc.c-torture/noncompile/930622-2.c gcc.dg/noncompile/930622-2.c
gcc.c-torture/noncompile/930714-1.c gcc.dg/noncompile/930714-1.c
gcc.c-torture/noncompile/931203-1.c gcc.dg/noncompile/931203-1.c
gcc.c-torture/noncompile/940112-1.c gcc.dg/noncompile/940112-1.c
gcc.c-torture/noncompile/940227-1.c gcc.dg/noncompile/940227-1.c
gcc.c-torture/noncompile/940510-1.c gcc.dg/noncompile/940510-1.c
gcc.c-torture/noncompile/950825-1.c gcc.dg/noncompile/950825-1.c
gcc.c-torture/noncompile/950921-1.c gcc.dg/noncompile/950921-1.c
gcc.c-torture/noncompile/951123-1.c gcc.dg/noncompile/951123-1.c
gcc.c-torture/noncompile/971104-1.c gcc.dg/noncompile/971104-1.c
gcc.c-torture/noncompile/990416-1.c gcc.dg/noncompile/990416-1.c
gcc.c-torture/noncompile/init-1.c gcc.dg/noncompile/init-1.c
gcc.c-torture/noncompile/init-2.c gcc.dg/noncompile/init-2.c
gcc.c-torture/noncompile/invalid_asm.c gcc.dg/noncompile/invalid_asm.c
gcc.c-torture/noncompile/va-arg-1.c gcc.dg/noncompile/va-arg-1.c
gcc.c-torture/noncompile/940712-1.c gcc.dg/cpp/19940712-1.c
gcc.c-torture/noncompile/940712-1.h gcc.dg/cpp/19940712-1.h
gcc.c-torture/noncompile/940712-1a.h gcc.dg/cpp/19940712-1a.h
gcc.c-torture/noncompile/940712-1b.h gcc.dg/cpp/19940712-1b.h
gcc.c-torture/noncompile/951025-1.c gcc.dg/cpp/19951025-1.c
gcc.c-torture/noncompile/951227-1.c gcc.dg/cpp/19951227-1.c
2000-06-29 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/20000628-1a.h: On each of the first three inclusions,
declare one variable. On the fourth, error.
* gcc.dg/cpp/20000628-1.c (main): Reference the three variables
declared by 20000628-1a.h.
2000-06-29 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/930529-1.x: New file.
* gcc.dg/920413-1.c: Adjust expected warning text.
* gcc.dg/980217-1.c: Declare abort.
* gcc.dg/cpp/20000628-1a.h: Use a declaration instead of an asm.
2000-06-29 Jeffrey A Law (law@cygnus.com)
* g77.f-torture/compile/20000629-1.f: New test.
* g77.f-torture/compile/20000629-1.x: Expected to fail.
Rearrange lots of files... Rearrange lots of files, removing entirely the gcc.c-torture/special, gcc.c-torture/code-quality, and gcc.failure directories. * Deleted files: gcc.c-torture/code_quality/code_quality.exp gcc.c-torture/special/special.exp gcc.failure/failure.exp gcc.failure/940409-1.x gcc.c-torture/compile/961203-1.x * New files: gcc.misc-tests/linkage.exp gcc.c-torture/execute/920730-1t.c gcc.c-torture/execute/920730-1t.x gcc.c-torture/compile/920520-1.x gcc.c-torture/compile/920521-1.x gcc.c-torture/compile/981006-1.x gcc.c-torture/execute/eeprof-1.x * Moved files (possibly with modifications to fit a new harness): Old name New name gcc.c-torture/code_quality/920608-1.c gcc.c-torture/compile/920608-1.c gcc.c-torture/special/920413-1.c gcc.dg/920413-1.c gcc.c-torture/special/920520-1.c gcc.c-torture/compile/920520-1.c gcc.c-torture/special/920521-1.c gcc.c-torture/compile/920521-1.c gcc.c-torture/special/920717-x.c gcc.misc-tests/linkage-x.c gcc.c-torture/special/920717-y.c gcc.misc-tests/linkage-y.c gcc.c-torture/special/920730-1.c gcc.c-torture/execute/920730-1.c gcc.c-torture/special/930510-1.c gcc.dg/cpp/19930510-1.c gcc.c-torture/special/951130-1.c gcc.dg/951130-1.c gcc.c-torture/special/960224-1.c gcc.dg/cpp/19960224-1.c gcc.c-torture/special/960224-2.c gcc.dg/cpp/19960224-2.c gcc.c-torture/special/981006-1.c gcc.c-torture/compile/981006-1.c gcc.c-torture/special/eeprof-1.c gcc.c-torture/execute/eeprof-1.c gcc.failure/940409-1.c gcc.dg/940409-1.c From-SVN: r34775
2000-06-29 05:10:01 +02:00
2000-06-28 Zack Weinberg <zack@wolery.cumb.org>
Rearrange lots of files, removing entirely the
gcc.c-torture/special, gcc.c-torture/code_quality, and gcc.failure
Rearrange lots of files... Rearrange lots of files, removing entirely the gcc.c-torture/special, gcc.c-torture/code-quality, and gcc.failure directories. * Deleted files: gcc.c-torture/code_quality/code_quality.exp gcc.c-torture/special/special.exp gcc.failure/failure.exp gcc.failure/940409-1.x gcc.c-torture/compile/961203-1.x * New files: gcc.misc-tests/linkage.exp gcc.c-torture/execute/920730-1t.c gcc.c-torture/execute/920730-1t.x gcc.c-torture/compile/920520-1.x gcc.c-torture/compile/920521-1.x gcc.c-torture/compile/981006-1.x gcc.c-torture/execute/eeprof-1.x * Moved files (possibly with modifications to fit a new harness): Old name New name gcc.c-torture/code_quality/920608-1.c gcc.c-torture/compile/920608-1.c gcc.c-torture/special/920413-1.c gcc.dg/920413-1.c gcc.c-torture/special/920520-1.c gcc.c-torture/compile/920520-1.c gcc.c-torture/special/920521-1.c gcc.c-torture/compile/920521-1.c gcc.c-torture/special/920717-x.c gcc.misc-tests/linkage-x.c gcc.c-torture/special/920717-y.c gcc.misc-tests/linkage-y.c gcc.c-torture/special/920730-1.c gcc.c-torture/execute/920730-1.c gcc.c-torture/special/930510-1.c gcc.dg/cpp/19930510-1.c gcc.c-torture/special/951130-1.c gcc.dg/951130-1.c gcc.c-torture/special/960224-1.c gcc.dg/cpp/19960224-1.c gcc.c-torture/special/960224-2.c gcc.dg/cpp/19960224-2.c gcc.c-torture/special/981006-1.c gcc.c-torture/compile/981006-1.c gcc.c-torture/special/eeprof-1.c gcc.c-torture/execute/eeprof-1.c gcc.failure/940409-1.c gcc.dg/940409-1.c From-SVN: r34775
2000-06-29 05:10:01 +02:00
directories.
* Deleted files:
gcc.c-torture/code_quality/code_quality.exp
gcc.c-torture/special/special.exp
gcc.failure/failure.exp
gcc.failure/940409-1.x
gcc.c-torture/compile/961203-1.x
* New files:
gcc.misc-tests/linkage.exp
gcc.c-torture/execute/920730-1t.c
gcc.c-torture/execute/920730-1t.x
gcc.c-torture/compile/920520-1.x
gcc.c-torture/compile/920521-1.x
gcc.c-torture/compile/981006-1.x
gcc.c-torture/execute/eeprof-1.x
* Moved files (possibly with modifications to fit a new harness):
Old name New name
gcc.c-torture/code_quality/920608-1.c gcc.c-torture/compile/920608-1.c
gcc.c-torture/special/920413-1.c gcc.dg/920413-1.c
gcc.c-torture/special/920520-1.c gcc.c-torture/compile/920520-1.c
gcc.c-torture/special/920521-1.c gcc.c-torture/compile/920521-1.c
gcc.c-torture/special/920717-x.c gcc.misc-tests/linkage-x.c
gcc.c-torture/special/920717-y.c gcc.misc-tests/linkage-y.c
gcc.c-torture/special/920730-1.c gcc.c-torture/execute/920730-1.c
gcc.c-torture/special/930510-1.c gcc.dg/cpp/19930510-1.c
gcc.c-torture/special/951130-1.c gcc.dg/951130-1.c
gcc.c-torture/special/960224-1.c gcc.dg/cpp/19960224-1.c
gcc.c-torture/special/960224-2.c gcc.dg/cpp/19960224-2.c
gcc.c-torture/special/981006-1.c gcc.c-torture/compile/981006-1.c
gcc.c-torture/special/eeprof-1.c gcc.c-torture/execute/eeprof-1.c
gcc.failure/940409-1.c gcc.dg/940409-1.c
2000-06-28 Zack Weinberg <zack@wolery.cumb.org>
* c-torture/compile/961203-1.x: Delete.
* gcc.misc-tests/acker1.c: Report failure. Use return from main,
not exit. Include stdio.h.
* gcc.misc-tests/dg-11.c: Remove anchors from regexp.
* gcc.misc-tests/dg-12.c: Likewise.
* gcc.misc-tests/dg-5.c: Likewise.
* gcc.misc-tests/dg-6.c: Likewise.
* gcc.misc-tests/dg-7.c: Prototype abort.
* gcc.misc-tests/dg-9.c: Adjust error-message regexps.
* gcc.misc-tests/dhry.h: Include stdlib.h and string.h.
* gcc.misc-tests/matrix1.c: Report failure. Use return from main,
not exit.
* gcc.misc-tests/sieve.c: Use return from main, not exit.
* gcc.misc-tests/sort2.c: Use return from main, not exit.
2000-06-28 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/20000628-1.c: New test.
* gcc.dg/cpp/20000628-1.h: New header for above test.
* gcc.dg/cpp/20000628-1a.h: Likewise.
cpp: New directory. * gcc.dg/cpp: New directory. * gcc.dg/cpp/cpp.exp: New driver. * gcc.dg/cpp/20000627-1.c: New test. * gcc.c-torture/special/special.exp: Remove entry for 921210-1.c. * gcc.c-torture/special/921210-1.c: Move to gcc.dg/cpp/19921210-1.c and rewrite as a compilation test. * gcc.dg: Move many files into the cpp subdirectory, possibly renaming or editing them as well. Old name New name 990119-1.c cpp/19990119-1.c 990228-1.c cpp/19990228-1.c 990407-1.c cpp/19990407-1.c 990409-1.c cpp/19990409-1.c 990413-1.c cpp/19990413-1.c 990703-1.c cpp/19990703-1.c 20000127-1.c cpp/20000127-1.c 20000129-1.c cpp/20000129-1.c 20000207-1.c cpp/20000207-1.c 20000207-2.c cpp/20000207-2.c 20000209-1.c cpp/20000209-1.c 20000209-2.c cpp/20000209-2.c 20000301-1.c cpp/20000301-1.c 20000419-1.c cpp/20000419-1.c 20000510-1.S cpp/20000510-1.S 20000519-1.c cpp/20000519-1.c 20000529-1.c cpp/20000529-1.c 20000625-1.c cpp/20000625-1.c 20000625-2.c cpp/20000625-2.c cpp-as1.c cpp/assert1.c cpp-as2.c cpp/assert2.c cxx-comments-1.c cpp/cxxcom1.c cxx-comments-2.c cpp/cxxcom2.c endif-label.c cpp/endif.c cpp-hash1.c cpp/hash1.c cpp-hash2.c cpp/hash2.c cpp-if1.c cpp/if-1.c cpp-if2.c cpp/if-2.c cpp-if3.c cpp/if-3.c cpp-if4.c cpp/if-4.c cpp-if5.c cpp/if-5.c cpp-cond.c cpp/if-cexp.c cpp-missingop.c cpp/if-mop.c cpp-missingparen.c cpp/if-mpar.c cpp-opprec.c cpp/if-oppr.c cpp-ifparen.c cpp/if-paren.c cpp-shortcircuit.c cpp/if-sc.c cpp-shift.c cpp/if-shift.c cpp-unary.c cpp/if-unary.c cpp-li1.c cpp/line1.c cpp-li2.c cpp/line2.c lineno.c cpp/line3.c lineno-2.c cpp/line4.c cpp-mi.c cpp/mi1.c cpp-mic.h cpp/mi1c.h cpp-micc.h cpp/mi1cc.h cpp-mind.h cpp/mi1nd.h cpp-mindp.h cpp/mi1ndp.h cpp-mix.h cpp/mi1x.h cpp-mi2.c cpp/mi2.c cpp-mi2a.h cpp/mi2a.h cpp-mi2b.h cpp/mi2b.h cpp-mi2c.h cpp/mi2c.h cpp-mi3.c cpp/mi3.c cpp-mi3.def cpp/mi3.def poison-1.c cpp/poison.c pr-impl.c cpp/prag-imp.c cpp-redef-2.c cpp/redef1.c cpp-redef.c cpp/redef2.c strpaste.c cpp/strp1.c strpaste-2.c cpp/strp2.c cpp-tradpaste.c cpp/tr-paste.c cpp-tradstringify.c cpp/tr-str.c cpp-tradwarn1.c cpp/tr-warn1.c cpp-tradwarn2.c cpp/tr-warn2.c trigraphs.c cpp/trigraphs.c cpp-unc1.c cpp/unc1.c cpp-unc2.c cpp/unc2.c cpp-unc3.c cpp/unc3.c cpp-unc.c cpp/unc4.c undef.c cpp/undef1.c undef-2.c cpp/undef2.c cpp-wi1.c cpp/widestr1.c From-SVN: r34747
2000-06-28 00:26:11 +02:00
2000-06-27 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp: New directory.
* gcc.dg/cpp/cpp.exp: New driver.
* gcc.dg/cpp/20000627-1.c: New test.
* gcc.c-torture/special/special.exp: Remove entry for 921210-1.c.
* gcc.c-torture/special/921210-1.c: Move to gcc.dg/cpp/19921210-1.c
and rewrite as a compilation test.
* gcc.dg: Move many files into the cpp subdirectory, possibly
renaming or editing them as well.
Old name New name
990119-1.c cpp/19990119-1.c
990228-1.c cpp/19990228-1.c
990407-1.c cpp/19990407-1.c
990409-1.c cpp/19990409-1.c
990413-1.c cpp/19990413-1.c
990703-1.c cpp/19990703-1.c
20000127-1.c cpp/20000127-1.c
20000129-1.c cpp/20000129-1.c
20000207-1.c cpp/20000207-1.c
20000207-2.c cpp/20000207-2.c
20000209-1.c cpp/20000209-1.c
20000209-2.c cpp/20000209-2.c
20000301-1.c cpp/20000301-1.c
20000419-1.c cpp/20000419-1.c
20000510-1.S cpp/20000510-1.S
20000519-1.c cpp/20000519-1.c
20000529-1.c cpp/20000529-1.c
20000625-1.c cpp/20000625-1.c
20000625-2.c cpp/20000625-2.c
cpp-as1.c cpp/assert1.c
cpp-as2.c cpp/assert2.c
cxx-comments-1.c cpp/cxxcom1.c
cxx-comments-2.c cpp/cxxcom2.c
endif-label.c cpp/endif.c
cpp-hash1.c cpp/hash1.c
cpp-hash2.c cpp/hash2.c
cpp-if1.c cpp/if-1.c
cpp-if2.c cpp/if-2.c
cpp-if3.c cpp/if-3.c
cpp-if4.c cpp/if-4.c
cpp-if5.c cpp/if-5.c
cpp-cond.c cpp/if-cexp.c
cpp-missingop.c cpp/if-mop.c
cpp-missingparen.c cpp/if-mpar.c
cpp-opprec.c cpp/if-oppr.c
cpp-ifparen.c cpp/if-paren.c
cpp-shortcircuit.c cpp/if-sc.c
cpp-shift.c cpp/if-shift.c
cpp-unary.c cpp/if-unary.c
cpp-li1.c cpp/line1.c
cpp-li2.c cpp/line2.c
lineno.c cpp/line3.c
lineno-2.c cpp/line4.c
cpp-mi.c cpp/mi1.c
cpp-mic.h cpp/mi1c.h
cpp-micc.h cpp/mi1cc.h
cpp-mind.h cpp/mi1nd.h
cpp-mindp.h cpp/mi1ndp.h
cpp-mix.h cpp/mi1x.h
cpp-mi2.c cpp/mi2.c
cpp-mi2a.h cpp/mi2a.h
cpp-mi2b.h cpp/mi2b.h
cpp-mi2c.h cpp/mi2c.h
cpp-mi3.c cpp/mi3.c
cpp-mi3.def cpp/mi3.def
poison-1.c cpp/poison.c
pr-impl.c cpp/prag-imp.c
cpp-redef-2.c cpp/redef1.c
cpp-redef.c cpp/redef2.c
strpaste.c cpp/strp1.c
strpaste-2.c cpp/strp2.c
cpp-tradpaste.c cpp/tr-paste.c
cpp-tradstringify.c cpp/tr-str.c
cpp-tradwarn1.c cpp/tr-warn1.c
cpp-tradwarn2.c cpp/tr-warn2.c
trigraphs.c cpp/trigraphs.c
cpp-unc1.c cpp/unc1.c
cpp-unc2.c cpp/unc2.c
cpp-unc3.c cpp/unc3.c
cpp-unc.c cpp/unc4.c
undef.c cpp/undef1.c
undef-2.c cpp/undef2.c
cpp-wi1.c cpp/widestr1.c
2000-06-27 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++_include_flags): Tweak.
2000-06-27 H.J. Lu <hjl@gnu.org>
Loren J. Rittle <ljrittle@acm.org>
* lib/g++.exp (g++_include_flags): Override libgloss.exp
version with one that knows about the new gcc tree structure.
(g++_link_flags): Same.
2000-06-26 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/20000419-1.c, gcc.dg/cpp-mi.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Use "target *-*-*", not "target native", in
case we are cross-compiling.
* g++.old-deja/Makefile.in, g++.old-deja/configure.in,
g++.old-deja/g++.niklas/Makefile.in,
g++.old-deja/g++.niklas/configure.in,
g++.old-deja/g++.other/Makefile.in,
g++.old-deja/g++.other/configure.in,
gcc.c-torture/code_quality/Makefile.in,
gcc.c-torture/code_quality/configure.in,
gcc.c-torture/compat/Makefile.in, gcc.c-torture/compat/configure.in,
gcc.c-torture/compile/Makefile.in, gcc.c-torture/compile/configure.in,
gcc.c-torture/execute/Makefile.in, gcc.c-torture/execute/configure.in,
gcc.c-torture/execute/ieee/Makefile.in,
gcc.c-torture/execute/ieee/configure.in,
gcc.c-torture/noncompile/Makefile.in,
gcc.c-torture/noncompile/configure.in,
gcc.c-torture/special/Makefile.in, gcc.c-torture/special/configure.in,
gcc.c-torture/unsorted/Makefile.in, gcc.c-torture/unsorted/configure.in,
gcc.misc-tests/Makefile.in, gcc.misc-tests/configure.in: Delete.
2000-06-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/ambig3.C: New test.
2000-06-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/syntax1.C: New test.
* g++.old-deja/g++.pt/syntax2.C: New test.
* g++.old-deja/g++.other/syntax3.C: New test.
* g++.old-deja/g++.other/syntax4.C: New test.
2000-06-25 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/20000623-1.c: Prototype exit and abort.
2000-06-25 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/20000625-1.c, gcc.dg/20000625-2.c, gcc.dg/cpp-mi3.c:
New tests.
* gcc.dg/cpp-mi3.def: New file.
* gcc.dg/cpp-as1.c: Also test that macro expansion does not occur
inside assertions.
* gcc.dg/cpp-as2.c: Make error regexps match either old or new
lexer's error messages.
* gcc.dg/cpp-mi.c: Use -H and examine the output, don't try to
divine anything from the linemarkers.
* gcc.dg/cpp-micc.h: Fix typo (declare int b, not int a);
* gcc.dg/poison-1.c: Preprocess only; apply -fno-show-column.
2000-06-23 Geoffrey Keating <geoffk@cygnus.com>
* gcc.dg/20000623-1.c: New test.
2000-06-22 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000622-1.c: New test.
2000-06-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/init15.C: New test.
2000-06-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/vaarg2.C: New test.
* g++.old-deja/g++.pt/vaarg3.C: New test.
2000-06-20 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/dyncast6.C: New test.
2000-06-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/loop-6.c: New test.
2000-06-14 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20000614-1.c: New test.
* gcc.dg/20000614-2.c: New test.
2000-06-14 Hans-Peter Nilsson <hp@axis.com>
* g++.old-deja/g++.other/inline12.C: New test.
2000-06-13 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/eh1.C: New test.
2000-06-12 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/type.C: New test.
2000-06-05 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/initstring.C: New test.
2000-06-13 01:52:58 +02:00
2000-06-12 Jason Merrill <jason@redhat.com>
* g++.old-deja/old-deja.exp: Add -Wno-long-long.
2000-06-09 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000609-1.c: New test.
2000-06-09 Clinton Popetz <cpopetz@cygnus.com>
* gcc.dg/20000609-1.c: New test.
2000-06-08 Zack Weinberg <zack@wolery.cumb.org>
* gcc.c-torture/noncompile/noncompile.exp: Remove poison-1 block.
* gcc.c-torture/noncompile/poison-1.c: Move...
* gcc.dg/poison-1.c: ...here, and adapt to dg framework.
* gcc.dg/cpp-li1.c: Add a token after the #line.
2000-06-05 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000605-2.c: New test.
* gcc.c-torture/execute/20000605-3.c: New test.
2000-06-06 David Billinghurst <David Billinghurst@riotinto.com.au>
* g77.f-torture/execute/20000503-1.x: New file.
2000-06-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/badalloc1.C: New test.
2000-06-06 02:19:52 +02:00
2000-06-05 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000605-1.c: New test.
2000-06-05 Jakub Jelinek <jakub@redhat.com>
Nathan Sidwell <nathan@codesourcery.com>
* gcc.c-torture/compile/20000605-1.c: New test.
2000-06-03 David Billinghurst <David Billinghurst@riotinto.com.au>
* g77.f-torture/compile/20000601-1.f: New test.
2000-06-03 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000603-1.c: New.
2000-06-02 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/noreturn-1.c (foo7, foo8): Revert previous change.
* gcc.dg/noreturn-2.c (noreturn): Likewise.
2000-06-01 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/compare2.c (case 12): XFAIL.
* gcc.dg/noreturn-1.c (foo7, foo8): XFAIL.
* gcc.dg/noreturn-2.c (noreturn): XFAIL.
* gcc.dg/cpp-tradwarn2.c: Update egrep pattern.
cpplib.h (cpp_reader): Remove if_stack. * cpplib.h (cpp_reader): Remove if_stack. Change potential_control_macro to a cpp_hashnode *. Add skipping flag. * cpphash.h (struct ihash): Change control_macro to a cpp_hashnode * and shorten name to cmacro. Add NEVER_REINCLUDE constant. * cppfiles.c (redundant_include_p): Drop cpp_reader argument. Examine the cmacro node directly, no need to call cpp_defined. (_cpp_execute_include, read_include_file): Set cmacro to NEVER_REINCLUDE, not U"". * cpplex.c (cpp_push_buffer): Don't set new->if_stack. (cpp_get_token): If pfile->skipping is true, discard text and keep scanning until we hit a directive; don't expand macros. * cpplib.c (struct if_stack): Remove if_succeeded, add was_skipping. Change control_macro to a cpp_hashnode * and shorten name to cmacro. Remove typedef IF_STACK. (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *. (conditional_skip, skip_if_group, consider_directive_while_skipping): Delete. (push_conditional): New. (_cpp_handle_directive): Don't process directives other than conditionals if we are skipping. (do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif): Update to new scheme. (validate_else): Skip rest of line here, unconditionally. (_cpp_unwind_if_stack): The stack is per-buffer. Force pfile->skipping off. (all): Remove `scare quotes' from error messages. * gcc.dg/cpp-mi.c: Add another case, cpp-mix.h, where the guard macro is already defined when the header is first included. * gcc.dg/cpp-mix.h: New file. * gcc.dg/endif-label.c: Update patterns to match compiler. * g++.brendan/complex1.C: Declare abort. * g++.law/refs4.C: Remove XFAIL. * g++.oliva/expr2.C: Declare abort and exit. From-SVN: r34253
2000-05-29 18:19:32 +02:00
2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp-mi.c: Add another case, cpp-mix.h, where the
guard macro is already defined when the header is first
included.
* gcc.dg/cpp-mix.h: New file.
* gcc.dg/endif-label.c: Update patterns to match compiler.
* g++.brendan/complex1.C: Declare abort.
* g++.law/refs4.C: Remove XFAIL.
* g++.oliva/expr2.C: Declare abort and exit.
2000-05-28 Alexandre Oliva <aoliva@cygnus.com>
* gcc.c-torture/execute/20000528-1.c: New test.
* g++.old-deja/g++.law/refs4.C: Mark as XFAIL.
* g++.old-deja/g++.law/temps4.C: Likewise.
* g++.old-deja/g++.brendan/code-gen4.C: Include stdio.h and
stdlib.h. Call abort() on failure.
* g++.old-deja/g++.law/refs4.C: Likewise.
* g++.old-deja/g++.law/temps4.C: Likewise.
* g++.old-deja/g++.brendan/complex1.C: Don't assume argc is 1.
* gcc.c-torture/execute/20000112-1.c: Include string.h.
2000-05-27 Zack Weinberg <zack@wolery.cumb.org>
Relative to g++.dg/special:
* conpr-1.C, conpr-2.C, conpr-3.C: Include stdlib.h.
Relative to g++.old-deja:
* g++.brendan/complex1.C, g++.jason/optimize2.C,
g++.mike/p9732b.C, g++.other/addrof1.C, g++.other/dyncast5.C,
g++.other/init5.C, g++.other/init7.C, g++.other/union2.C,
g++.pt/vbase1.C, g++.robertl/eb14.C, g++.robertl/eh990323-1.C,
g++.robertl/eh990323-2.C, g++.robertl/eh990323-3.C,
g++.robertl/eh990323-4.C, g++.robertl/eh990323-5.C,
g++.robertl/ice990323-2.C: Prototype exit and/or abort.
* g++.brendan/nest21.C, g++.eh/rethrow3.C, g++.jason/init3.C,
g++.law/arm15.C, g++.law/cvt2.C, g++.law/visibility17.C,
g++.mike/eh23.C, g++.mike/eh25.C, g++.mike/eh34.C,
g++.mike/eh48.C, g++.mike/eh55.C, g++.mike/p2736.C,
g++.oliva/new1.C, g++.other/align.C, g++.robertl/eb39.C,
g++.robertl/eb54.C, g++.robertl/eb63.C: Include stdlib.h
and/or string.h.
* g++.other/goto1.C: Update expectations for error messages.
2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
* gcc.c-torture/compile/20000523-1.c: New test.
2000-05-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/ptrflags.C: Use __pbase_type_info.
2000-05-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/catch11.C: New test.
* g++.old-deja/g++.eh/catch12.C: New test.
2000-05-24 20:25:18 +02:00
2000-05-24 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/20000523-1.c: New test.
2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
* c-torture/execute/bcp-1.c: Replace abort in arg of
__builtin_constant_p with a generic external function.
* gcc.dg/20000108-1.c, gcc.dg/980211-1.c, gcc.dg/980414-1.c,
gcc.dg/990119-1.c, gcc.dg/990409.c, gcc.dg/990424-1.c,
gcc.dg/991230-1.c, gcc.dg/clobbers.c, gcc.dg/lineno.c,
gcc.dg/noreturn-1.c, gcc.dg/trigraphs.c, gcc.dg/uninit-4.c:
Prototype abort and/or exit.
* gcc.dg/990407-1.c, gcc.dg/strpaste.c,
gcc.dg/special/alias-1.c, gcc.dg/special/gcsec-1.c,
gcc.dg/special/weak-1.c, gcc.dg/special/weak-2.c,
gcc.dg/special/wkali-1.c, gcc.dg/special/wkali-2.c: Include stdlib.h.
2000-05-22 Alexandre Oliva <aoliva@cygnus.com>
* gcc.dg/dwarf2-1.c: New test.
2000-05-20 Richard Henderson <rth@cygnus.com>
* lib/f-torture.exp (TORTURE_OPTIONS): Add "-O3 -g" and "-O3 -fssa".
2000-05-20 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/20000519-1.c (main): Fixed return value of
testcase.
2000-05-19 David Edelsohn <edelsohn@gnu.org>
* gcc.c-torture/execute/20000519-2.c: New test.
2000-05-19 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/20000519-1.c: Testcase from Ulrich Drepper
which fails with SSA.
* lib/c-torture.exp: Also test with -O3 -fssa.
2000-05-18 Michael Meissner <meissner@redhat.com>
* gcc.c-torture/compile/920501-1.c: Remove CYGNUS LOCAL markers.
* gcc.c-torture/execute/920415-1.c: Ditto.
* gcc.c-torture/execute/920501-1.c: Ditto.
* gcc.c-torture/execute/conversion.c: Ditto.
* gcc.c-torture/execute/cvt-1.c: Ditto.
2000-05-18 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000518-1.c: New test.
2000-05-18 David Billinghurst <David.Billinghurst@riotinto.com.au>
* g77.f-torture/compile/200005018.f: New test.
2000-05-17 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000517-1.c: New test.
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20000516-1.c: New test.
2000-05-15 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.other/eh.C: New test.
2000-05-12 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/990208-1.c (main): Don't pass
constants through to doit's conditional.
2000-05-11 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000511-1.c: New test.
* g77.f-torture/compile/20000511-1.f: New test.
* g77.f-torture/compile/20000511-2.f: New test.
2000-05-11 19:07:50 +02:00
2000-05-11 Michael Meissner <meissner@redhat.com>
* gcc.c-torture/execute/20000511-1.c: New test.
2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/dg.exp: Scan .S files as well as .c files.
* gcc.dg/20000510-1.S: New.
2000-05-08 16:55:42 +02:00
2000-05-08 Catherine Moore <clm@cygnus.com>
* gcc.dg/unused-3.c: New.
2000-05-06 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.brendan/code-gen2.C: Cast to size_t, not int.
* g++.old-deja/g++.mike/warn1.C: Likewise.
* g++.old-deja/g++.pt/local1.C: Likewise.
* g++.old-deja/g++.pt/local7.C: Likewise.
* g++.old-deja/g++.pt/spec16.C: Likewise.
2000-05-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/ptrflags.C: Correct and extend.
2000-05-05 David Billinghurst <David Billinghurst@riotinto.com.au>
* g77.f-torture/execute/20000503-1.f: New test.
2000-05-04 Andreas Jaeger <aj@suse.de>
* gcc.dg/noreturn-2.c: New test.
2000-05-04 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp-opprec.c: New tests for operator precedence in the
preprocessor.
2000-05-04 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000503-1.c: Fix typo.
2000-05-04 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/compile/20000504-1.c: New test. Derived from
OpenSSL by Jason R Thorpe.
2000-05-03 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/execute/20000503-1.c: New test for extract_muldiv bug.
2000-05-03 Robert Lipe <robertlipe@usa.net>
* gcc.dg/20000503-1.c: New test.
2000-05-02 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20000502-1.c: New test.
* g++.old-deja/g++.other/align.C: New test.
* gcc.dg/cpp-tradstringify.c: New test.
Thu Apr 27 15:58:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/20000427-1.c: New test for loop hoisting code
and hard registers.
2000-04-26 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/loop-5.c: New test.
2000-04-25 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/va-arg-20.c: New test.
2000-04-23 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000422-1.c: New test.
2000-04-20 Greg McGary <gkm@gnu.org>
* gcc.c-torture/compile/20000420-2.c: New test for stack misalignment
when optimizing, but without sibling-call optimizations (-O1).
2000-04-20 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000420-1.c: New test.
2000-04-20 Nathan Sidwell <nathan@codesourcery.com>
* g++.abi/ptrflags.C: New test.
* g++.eh/catchptr1.C: Test incomplete pointer chains.
2000-04-19 Catherine Moore <clm@cygnus.com>
* gcc.c-torture/execute/921017-1.c: Check for NO_TRAMPOLINES.
2000-04-19 Greg McGary <gkm@gnu.org>
* gcc.c-torture/execute/20000419-1.c: New test for arg clobbering with
sibling-call optimizations.
2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/20000419-1.c: New test.
2000-04-12 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20000412-6.c: New test.
2000-04-12 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000412-5.c: New test.
* g77.f-torture/compile/20000412-1.f: New test.
* gcc.c-torture/execute/20000412-4.c: New test.
* gcc.c-torture/compile/20000412-2.c: New test.
* gcc.c-torture/execute/20000412-3.c: New test.
* gcc.c-torture/compile/20000412-1.c: New test.
* gcc.c-torture/execute/20000412-2.c: New test.
2000-04-12 Jakub Jelinek <jakub@redhat.com>
* objc/execute/bf-20.m: New test.
2000-04-10 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000412-1.c: Reduce some more.
* gcc.c-torture/execute/20000412-1.c: New test.
2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/catchptr1.C: New test.
2000-04-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/cxa_vec.C: New test.
2000-04-08 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp-nullchar.c: Remove test as
embedded nulls cause problems.
2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/compare2.c: New test.
2000-04-08 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp-nullchar.c: New test.
2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp-mi2.c: New test.
* gcc.dg/cpp-mi2[abc].h: New files.
2000-04-07 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vmihint.C: Adjust __vmi_class_type_info
member name.
2000-04-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/vmihint.C: New test.
2000-04-06 Neil Booth <NeilB@earthling.net>
* cpp-ifparen.c, cpp-missingop.c, cpp-missingparen.c,
cpp-shift.c, cpp-shortcircuit.c, cpp-unary.c: Add FSF
copyright.
2000-04-05 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/960327-1.c (f): Add a letter to s[] to
avoid stack-frame overwrite.
2000-04-05 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20000405-2.c: New test.
* gcc.c-torture/compile/20000405-3.c: New test.
2000-04-05 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.c-torture/compile/20000405-1.c: New test.
2000-04-04 Geoff Keating <geoffk@cygnus.com>
* gcc.dg/cast-qual-1.c: Revert last change.
2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/cast-qual-1.c: Check casts through a pointer typedef.
2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp-redef-2.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Add -fno-show-column to compiler options.
2000-04-03 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000403-2.c: New test.
* gcc.c-torture/compile/20000403-1.c: New test.
2000-04-03 Hans-Peter Nilsson <hp@axis.com>
* gcc.c-torture/execute/20000403-1.c: New test.
2000-04-03 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/20000402-1.c: New test.
2000-04-03 Donald Lindsay <dlindsay@cygnus.com>
* gcc.c-torture/execute/va-arg-15.c: New test.
* gcc.c-torture/execute/va-arg-16.c: New test.
* gcc.c-torture/execute/va-arg-17.c: New test.
* gcc.c-torture/execute/va-arg-18.c: New test.
* gcc.c-torture/execute/va-arg-19.c: New test.
2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
* gcc.c-torture/compile/981211-1.c: Move to...
* gcc.dg/cpp-as1.c: ...here.
* gcc.dg/cpp-as2.c: New file.
* gcc.dg/cpp-tradwarn1.c: Change warning regexps to match the
compiler.
2000-04-02 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp-cond.c New tests.
* gcc.dg/cpp-ifparen.c New tests. Amend existing tests to make
accidental success less likely.
* gcc.dg/cpp-missingop.c New tests.
* gcc.dg/cpp-missingparen.c New tests.
* gcc.dg/cpp-shift.c New tests.
* gcc.dg/cpp-shortcircuit.c New tests.
* gcc.dg/cpp-unary.c New tests.
2000-03-29 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000329-1.c: New test.
2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/compile/20000326-1.c: New test.
* gcc.c-torture/compile/20000326-2.c: New test.
2000-03-24 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/va-arg-14.c: New test for va_start where
the first parameter is a function argument.
2000-03-23 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ext/array4.C: New test.
2000-03-22 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/ieee/20000320-1.c: New test for denormals.
2000-03-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/noreturn-1.c: Check for another bogus noreturn case.
2000-03-19 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/compile/20000314-2.c: Use __SIZE_TYPE__, not size_t.
2000-03-19 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/compile/20000319-1.c: New test.
2000-03-14 Jeffrey A Law (law@cygnus.com)
2000-03-14 17:06:24 +01:00
* gcc.c-torture/execute/20000314-3.c: New test.
* gcc.c-torture/execute/20000314-2.c: New test.
* gcc.c-torture/execute/20000314-1.c: New test.
* gcc.c-torture/compile/20000314-2.c: New test.
* gcc.c-torture/compile/20000314-1.c: New test.
2000-03-14 17:06:24 +01:00
2000-03-13 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.warn/inline.C: New test.
2000-03-10 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/execute/divconst-2.c: Rewrite to check for
standards-compliant result rather than specific constants.
Put test-values in array.
2000-03-08 Jason Merrill <jason@casey.cygnus.com>
* lib/g++.exp (g++_init): Don't put { } around -fmessage-length=0.
(g++_target_compile): Put test-specific options last.
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/vbase4.C: New test.
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.bugs/900215_01.C: Adjust.
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.brendan/misc12.C: Removed.
* g++.old-deja/g++.pt/memtemp77.C: Constify.
* g++.old-deja/g++.ext/pretty4.C: New test.
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/string2.C: New test.
2000-03-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.warn/impint2.C: New test.
2000-03-05 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.c-torture/execute/20000224-1.c (main): Expected return-value
is 1, not zero.
2000-03-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.warn/impint.C: New test.
* g++.old-deja/g++.martin/sts_vectini.C: Add -w option.
* g++.old-deja/g++.pt/explicit10.C: Specify -w option.
* g++.old-deja/g++.pt/explicit12.C: Likewise.
* g++.old-deja/g++.pt/explicit13.C: Likewise.
* g++.old-deja/g++.pt/explicit17.C: Likewise.
* g++.old-deja/g++.pt/explicit18.C: Likewise.
* g++.old-deja/g++.pt/explicit19.C: Likewise.
* g++.old-deja/g++.pt/explicit23.C: Likewise.
* g++.old-deja/g++.pt/explicit31.C: Likewise.
* g++.old-deja/g++.pt/explicit35.C: Likewise.
* g++.old-deja/g++.pt/explicit6.C: Likewise.
* g++.old-deja/g++.pt/memclass7.C: Likewise.
2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp-redef.c: New test.
2000-02-29 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/unify7.C: New test.
2000-02-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* g++.old-deja/g++.ext/attrib5.C: XFAIL on Alpha since no link alias.
* g++.old-deja/g++.pt/static3.C: Generalize system name for Alpha.
2000-02-25 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/compile/20000224-1.c: New test.
2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.c-torture/compile/cpp-2.c: New test.
* gcc.c-torture/compile/cpp-1.c: New test.
2000-02-25 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000225-1.c: New test.
2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/cpp-li2.c: New test.
* gcc.dg/cpp-wi1.c: New test.
* gcc.dg/cpp-li1.c: New test.
2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/sizeof5.C: New test.
2000-02-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/va-arg-13.c: New test.
2000-02-23 Donald Lindsay <dlindsay@cygnus.com>
* gcc.c-torture/execute/va-arg-12.c: New test.
2000-02-23 Nathan Sidwell <nathan@codesourcery.com>
* gcc.c-torture/execute/20000223-1.c: New test.
2000-02-23 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/memtemp79.C: Fixed. Remove XFAIL.
2000-02-22 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.abi/ptrmem.C: New test.
2000-02-20 09:28:28 +01:00
2000-02-19 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/compile/init-3.c: New.
2000-02-17 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++_init): Add -fmessage-length=0 to
ALWAYS_CXXFLAGS.
2000-02-11 Robert Lipe <robertl@sco.com>
* gcc.c-torture/compile/20000211-3.c: New test.
2000-02-11 Martin Buchholz <martin@xemacs.org>
* gcc.c-torture/compile/20000211-2.c: New test.
2000-02-11 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000211-1.c: New test.
2000-02-09 Jonathan Larmour <jlarmour@redhat.co.uk>
* gcc.dg/special/ecos.exp: Use -static when testing --gc-sections
on native targets
2000-02-08 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/cast5.C: New test.
2000-02-05 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
* gcc.c-torture/execute/20000205-1.c: New.
2000-02-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.jason/cast3.C: Return void.
* g++.old-deja/g++.pt/dynarray.C: Don't be pedantic.
2000-02-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/unused-2.c: Use -Wreturn-type instead of -Wall.
* gcc.dg/loop-1.c: New test.
2000-01-27 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20000127-1.c: New test.
* gcc.c-torture/execute/991228-1.c: New test.
2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/unused-2.c: New test.
* gcc.dg/conv-1.c: New test.
2000-01-24 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++init): Use g++, not xgcc, to invoke the C++
compiler.
(tool_option_proc): Fix typo.
2000-01-24 Geoff Keating <geoffk@cygnus.com>
* gcc.dg/special/ecos.exp (gcsec-1.c): Check the version
of the ld on the host, not on the build machine.
Also, don't crash if '--help' is not a supported option.
rtl.def: Add unordered fp comparisions. * rtl.def: Add unordered fp comparisions. * tree.def: Likewise. * tree.h: Add ISO C 9x unordered fp comparision builtins. * builtins.c (expand_tree_builtin): New function. * c-typeck.c (build_function_call): Use it. (build_binary_op): Support unordered compares. * c-common.c (c_common_nodes_and_builtins): Add unordered compares. * combine.c (known_cond): Handle reverse_condition returning UNKNOWN. (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed. * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing. (record_jump_equiv): Handle reverse_condition returning UNKNOWN. * jump.c (reverse_condition): Don't abort for UNLE etc, but return UNKNOWN. (swap_condition): Handle unordered compares. (thread_jumps): Check can_reverse before reversing. * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be reversed for FP. * optabs.c (can_compare_p): New argument CODE. Verify branch or setcc is present before acking for cmp_optab. Update all callers. (prepare_float_lib_cmp, init_optabs): Handle UNORDERED. * expmed.c (do_cmp_and_jump): Update for can_compare_p. * expr.c (expand_expr): Likewise. Support unordered compares. (do_jump, do_store_flag): Likewise. * expr.h (enum libfunc_index): Add unordered compares. * Makefile.in (FPBIT_FUNCS): Add _unord_sf. (DPBIT_FUNCS): Add _unord_df. * config/fp-bit.c (_unord_f2): New. * fp-test.c (main): Try unordered compare builtins. * alpha-protos.h (alpha_fp_comparison_operator): Declare. * alpha.c (alpha_comparison_operator): Check mode properly. (alpha_swapped_comparison_operator): Likewise. (signed_comparison_operator): Likewise. (alpha_fp_comparison_operator): New. (alpha_emit_conditional_branch): Handle unordered compares. * alpha.h (PREDICATE_CODES): Update. * alpha.md (fp compares): Use alpha_fp_comparison_operator. (bunordered, bordered): New. * cp/call.c (build_over_call): Use expand_tree_builtin. * cp/typeck.c (build_function_call_real): Likewise. (build_binary_op_nodefault): Handle unordered compares. * gcc.c-torture/execute/ieee/fp-cmp-4.c: New. From-SVN: r31591
2000-01-24 21:10:04 +01:00
2000-01-24 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/ieee/fp-cmp-4.c: New.
2000-01-20 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000120-2.c: New test.
* gcc.c-torture/execute/20000120-1.c: New test.
2000-01-13 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000113-1.c: New test.
2000-01-12 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000112-1.c: New test.
2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/20000111-1.c: New test.
2000-01-10 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990628-1.c: Tweak to work on targets
with 16 bit integers.
2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/20000108-1.c: New test.
2000-01-05 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.ns/koenig8.C: New test.
2000-01-05 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/cast4.C: New test.
2000-01-05 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000105-2.c: New test.
* gcc.c-torture/compile/20000105-1.c: New test.
array1.C: Modify explicit external libc references to printf & atoi to conform to ANSI... * g++.old-deja/g++.brendan/array1.C: Modify explicit external libc references to printf & atoi to conform to ANSI standard. * g++.old-deja/g++.brendan/code-gen1.C: Likewise. * g++.old-deja/g++.brendan/code-gen2.C: Likewise. * g++.old-deja/g++.brendan/code-gen3.C: Likewise. * g++.old-deja/g++.brendan/code-gen4.C: Likewise. * g++.old-deja/g++.brendan/code-gen6.C: Likewise. * g++.old-deja/g++.brendan/complex1.C: Likewise. * g++.old-deja/g++.brendan/copy1.C: Likewise. * g++.old-deja/g++.brendan/copy2.C: Likewise. * g++.old-deja/g++.brendan/copy3.C: Likewise. * g++.old-deja/g++.brendan/copy4.C: Likewise. * g++.old-deja/g++.brendan/copy5.C: Likewise. * g++.old-deja/g++.brendan/copy6.C: Likewise. * g++.old-deja/g++.brendan/copy7.C: Likewise. * g++.old-deja/g++.brendan/copy8.C: Likewise. * g++.old-deja/g++.brendan/crash11.C: Likewise. * g++.old-deja/g++.brendan/crash14.C: Likewise. * g++.old-deja/g++.brendan/ctors1.C: Likewise. * g++.old-deja/g++.brendan/ctors2.C: Likewise. * g++.old-deja/g++.brendan/delete2.C: Likewise. * g++.old-deja/g++.brendan/dtors1.C: Likewise. * g++.old-deja/g++.brendan/dtors2.C: Likewise. * g++.old-deja/g++.brendan/dtors3.C: Likewise. * g++.old-deja/g++.brendan/eh1.C: Likewise. * g++.old-deja/g++.brendan/groff1.C: Likewise. * g++.old-deja/g++.brendan/init3.C: Likewise. * g++.old-deja/g++.brendan/misc12.C: Likewise. * g++.old-deja/g++.brendan/misc7.C: Likewise. * g++.old-deja/g++.brendan/new2.C: Likewise. * g++.old-deja/g++.brendan/operators4.C: Likewise. * g++.old-deja/g++.brendan/operators5.C: Likewise. * g++.old-deja/g++.brendan/overload2.C: Likewise. * g++.old-deja/g++.brendan/overload7.C: Likewise. * g++.old-deja/g++.brendan/redecl2.C: Likewise. * g++.old-deja/g++.brendan/reference1.C: Likewise. * g++.old-deja/g++.brendan/sizeof5.C: Likewise. * g++.old-deja/g++.brendan/template24.C: Likewise. * g++.old-deja/g++.brendan/template3.C: Likewise. * g++.old-deja/g++.brendan/vtables1.C: Likewise. * g++.old-deja/g++.jason/inline3.C: Likewise. * g++.old-deja/g++.jason/opeq.C: Likewise. * g++.old-deja/g++.law/arg5.C: Likewise. * g++.old-deja/g++.law/arm7.C: Likewise. * g++.old-deja/g++.law/ctors11.C: Likewise. * g++.old-deja/g++.law/cvt8.C: Likewise. * g++.old-deja/g++.law/init9.C: Likewise. * g++.old-deja/g++.law/refs4.C: Likewise. * g++.old-deja/g++.law/template2.C: Likewise. * g++.old-deja/g++.law/visibility24.C: Likewise. * g++.old-deja/g++.law/vtable3.C: Likewise. * g++.old-deja/g++.mike/asm2.C: Likewise. * g++.old-deja/g++.mike/eh1.C: Likewise. * g++.old-deja/g++.mike/misc1.C: Likewise. * g++.old-deja/g++.mike/misc13.C: Likewise. * g++.old-deja/g++.mike/misc14.C: Likewise. * g++.old-deja/g++.mike/ns12.C: Likewise. * g++.old-deja/g++.mike/p1248.C: Likewise. * g++.old-deja/g++.mike/p3708.C: Likewise. * g++.old-deja/g++.mike/p3708a.C: Likewise. * g++.old-deja/g++.mike/p3708b.C: Likewise. * g++.old-deja/g++.mike/p646.C: Likewise. * g++.old-deja/g++.mike/p700.C: Likewise. * g++.old-deja/g++.mike/p783.C: Likewise. * g++.old-deja/g++.mike/p783a.C: Likewise. * g++.old-deja/g++.mike/p783b.C: Likewise. * g++.old-deja/g++.mike/p786.C: Likewise. * g++.old-deja/g++.mike/p789.C: Likewise. * g++.old-deja/g++.mike/p789a.C: Likewise. * g++.old-deja/g++.mike/p807a.C: Likewise. * g++.old-deja/g++.other/delete3.C: Likewise. * g++.old-deja/g++.other/dyncast1.C: Likewise. * g++.old-deja/g++.other/dyncast2.C: Likewise. * g++.old-deja/g++.other/dyncast3.C: Likewise. * g++.old-deja/g++.other/empty1.C: Likewise. * g++.old-deja/g++.other/temporary1.C: Likewise. * g++.old-deja/g++.pt/memtemp14.C: Likewise. * g++.old-deja/g++.pt/t16.C: Likewise. * g++.old-deja/g++.pt/tiemann2.C: Likewise. From-SVN: r31204
2000-01-04 16:52:23 +01:00
2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.old-deja/g++.brendan/array1.C: Modify explicit external libc
references to printf & atoi to conform to ANSI standard.
* g++.old-deja/g++.brendan/code-gen1.C: Likewise.
* g++.old-deja/g++.brendan/code-gen2.C: Likewise.
* g++.old-deja/g++.brendan/code-gen3.C: Likewise.
* g++.old-deja/g++.brendan/code-gen4.C: Likewise.
* g++.old-deja/g++.brendan/code-gen6.C: Likewise.
* g++.old-deja/g++.brendan/complex1.C: Likewise.
* g++.old-deja/g++.brendan/copy1.C: Likewise.
* g++.old-deja/g++.brendan/copy2.C: Likewise.
* g++.old-deja/g++.brendan/copy3.C: Likewise.
* g++.old-deja/g++.brendan/copy4.C: Likewise.
* g++.old-deja/g++.brendan/copy5.C: Likewise.
* g++.old-deja/g++.brendan/copy6.C: Likewise.
* g++.old-deja/g++.brendan/copy7.C: Likewise.
* g++.old-deja/g++.brendan/copy8.C: Likewise.
* g++.old-deja/g++.brendan/crash11.C: Likewise.
* g++.old-deja/g++.brendan/crash14.C: Likewise.
* g++.old-deja/g++.brendan/ctors1.C: Likewise.
* g++.old-deja/g++.brendan/ctors2.C: Likewise.
* g++.old-deja/g++.brendan/delete2.C: Likewise.
* g++.old-deja/g++.brendan/dtors1.C: Likewise.
* g++.old-deja/g++.brendan/dtors2.C: Likewise.
* g++.old-deja/g++.brendan/dtors3.C: Likewise.
* g++.old-deja/g++.brendan/eh1.C: Likewise.
* g++.old-deja/g++.brendan/groff1.C: Likewise.
* g++.old-deja/g++.brendan/init3.C: Likewise.
* g++.old-deja/g++.brendan/misc12.C: Likewise.
* g++.old-deja/g++.brendan/misc7.C: Likewise.
* g++.old-deja/g++.brendan/new2.C: Likewise.
* g++.old-deja/g++.brendan/operators4.C: Likewise.
* g++.old-deja/g++.brendan/operators5.C: Likewise.
* g++.old-deja/g++.brendan/overload2.C: Likewise.
* g++.old-deja/g++.brendan/overload7.C: Likewise.
* g++.old-deja/g++.brendan/redecl2.C: Likewise.
* g++.old-deja/g++.brendan/reference1.C: Likewise.
* g++.old-deja/g++.brendan/sizeof5.C: Likewise.
* g++.old-deja/g++.brendan/template24.C: Likewise.
* g++.old-deja/g++.brendan/template3.C: Likewise.
* g++.old-deja/g++.brendan/vtables1.C: Likewise.
* g++.old-deja/g++.jason/inline3.C: Likewise.
* g++.old-deja/g++.jason/opeq.C: Likewise.
* g++.old-deja/g++.law/arg5.C: Likewise.
* g++.old-deja/g++.law/arm7.C: Likewise.
* g++.old-deja/g++.law/ctors11.C: Likewise.
* g++.old-deja/g++.law/cvt8.C: Likewise.
* g++.old-deja/g++.law/init9.C: Likewise.
* g++.old-deja/g++.law/refs4.C: Likewise.
* g++.old-deja/g++.law/template2.C: Likewise.
* g++.old-deja/g++.law/visibility24.C: Likewise.
* g++.old-deja/g++.law/vtable3.C: Likewise.
* g++.old-deja/g++.mike/asm2.C: Likewise.
* g++.old-deja/g++.mike/eh1.C: Likewise.
* g++.old-deja/g++.mike/misc1.C: Likewise.
* g++.old-deja/g++.mike/misc13.C: Likewise.
* g++.old-deja/g++.mike/misc14.C: Likewise.
* g++.old-deja/g++.mike/ns12.C: Likewise.
* g++.old-deja/g++.mike/p1248.C: Likewise.
* g++.old-deja/g++.mike/p3708.C: Likewise.
* g++.old-deja/g++.mike/p3708a.C: Likewise.
* g++.old-deja/g++.mike/p3708b.C: Likewise.
* g++.old-deja/g++.mike/p646.C: Likewise.
* g++.old-deja/g++.mike/p700.C: Likewise.
* g++.old-deja/g++.mike/p783.C: Likewise.
* g++.old-deja/g++.mike/p783a.C: Likewise.
* g++.old-deja/g++.mike/p783b.C: Likewise.
* g++.old-deja/g++.mike/p786.C: Likewise.
* g++.old-deja/g++.mike/p789.C: Likewise.
* g++.old-deja/g++.mike/p789a.C: Likewise.
* g++.old-deja/g++.mike/p807a.C: Likewise.
* g++.old-deja/g++.other/delete3.C: Likewise.
* g++.old-deja/g++.other/dyncast1.C: Likewise.
* g++.old-deja/g++.other/dyncast2.C: Likewise.
* g++.old-deja/g++.other/dyncast3.C: Likewise.
* g++.old-deja/g++.other/empty1.C: Likewise.
* g++.old-deja/g++.other/temporary1.C: Likewise.
* g++.old-deja/g++.pt/memtemp14.C: Likewise.
* g++.old-deja/g++.pt/t16.C: Likewise.
* g++.old-deja/g++.pt/tiemann2.C: Likewise.
1999-12-30 13:40:53 +01:00
1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.dg/991230-1.c: New test.
1999-12-29 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/991229-3.c: New test.
* gcc.c-torture/compile/991229-2.c: New test.
* gcc.c-torture/compile/991229-1.c: New test.
1999-12-29 Greg McGary <gkm@eng.ascend.com>
* gcc.c-torture/compile/labels-2.c: New test.
1999-12-27 Martin von L<>wis <loewis@informatik.hu-berlin.de>
* gcc.c-torture/execute/991227-1.c: New test.
1999-12-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* g++.old-deja/g++.pt/instantiate6.C: Remove excess errors XFAIL.
1999-12-21 Martin von L<>wis <loewis@informatik.hu-berlin.de>
* gcc.c-torture/execute/991221-1.c: New test.
1999-12-20 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/cast3.C: New test.
1999-12-16 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/execute/991216-4.c: New test.
1999-12-16 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/991216-1.c: New test.
* gcc.c-torture/execute/991216-2.c: New test.
* gcc.c-torture/execute/991216-3.c: New test.
1999-12-16 11:20:44 +01:00
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.dg/991214-1.c: Use "__asm__", not "asm".
Actually make the test fail by using "-O2" for compilation.
1999-12-15 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.warn/cast-align1.C: New test.
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/compile/991214-1.c: New test.
* gcc.c-torture/compile/991214-2.c: New test.
1999-12-14 11:01:23 +01:00
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.dg/991214-1.c: New test.
1999-12-13 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/991213-3.c: New test.
* gcc.c-torture/compile/991213-2.c: New test.
* gcc.c-torture/compile/991213-1.c: New test.
1999-12-10 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.dg/991209-1.c: New test.
1999-12-08 Nathan Sidwell <nathan@acm.org>
* gcc.c-torture/compile/991208-1.c: New test.
1999-12-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/ultrasp2.c: New test.
1999-12-05 Alex Samuel <samuel@codesourcery.com>
* g++.old-deja/g++.abi/align.C (main): Fix typo.
1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/compile/991202-1.c: New test.
* gcc.c-torture/execute/991202-1.c: New test.
* gcc.c-torture/execute/991202-2.c: New test.
* gcc.c-torture/execute/991202-3.c: New test.
1999-12-02 Alex Samuel <samuel@codesourcery.com>
* g++.old-deja/g++.abi/align.C: New test.
* g++.old-deja/g++.abi/aggregates.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.
1999-12-01 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/991201-1.c: New.
1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.dg/991129-1.c: New test.
1999-11-27 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/compile/991127-1.c: New test.
1999-11-22 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/warn4.C: New test.
1999-11-22 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.eh/cleanup2.C: New test.
* g++.old-deja/g++.ext/pretty2.C: New test.
* g++.old-deja/g++.ext/pretty3.C: New test.
* g++.old-deja/g++.other/debug6.C: New test.
1999-10-20 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/noncompile/noncompile.exp: For 940510-1.c, change
compiler_output to look for one error message instead of two.
1999-11-19 Geoffrey Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/991118-1.c: Also test case
where the word boundary does not split a byte evenly.
1999-11-19 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.ext/restrict1.C: New test.
1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* gcc.c-torture/execute/991118-1.c: New test.
1999-11-16 Geoffrey Keating <geoffk@cygnus.com>
* g77.f-torture/execute/u77-test.f (wd): Allow for longer
working directory pathnames.
1999-10-13 Brendan Kehoe <brendan@cygnus.com>
* gcc.c-torture/execute/memcheck/memcheck.exp: Make sure a remote
host is equipped with driver.h and driver.o so it can actually
compile and run the tests.
1999-10-08 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/compile/991008-1.c: New test.
1999-11-08 Nick Clifton <nickc@cygnus.com>
* lib/gcc-dg.exp: Include target-supports.exp
1999-11-05 Nick Clifton <nickc@cygnus.com>
* lib/target-supports.exp: New file: Provide procs to test for
features supported by the target.
(check_weak_available): Moved here from ecos.exp.
(check_alias_available): New proc: Determine of the target
toolchain supports the alias attribute.
* gcc.dg/special/ecos.exp: Move check_weak_available to
target-supports.exp.
(alias-1.c): Only perform the test if the target supports
aliases.
(wkali-1.c): Only perform the test if the target supports
aliases.
* gcc.dg/990506-0.c: Expect error messages from cross
targets as well as native targets.
1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/ultrasp1.c: Removed xfail.
* gcc.dg/struct-ret-2.c: Likewise.
* gcc.dg/array-1.c: Likewise.
1999-11-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/struct-ret-2.c: New test.
* gcc.dg/array-1.c: New test.
1999-10-30 Stephen L Moshier <moshier@mediaone.net>
* gcc.c-torture/execute/991030-1.c: New test.
1999-10-26 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/compile/991026-2.c: New test.
1999-10-26 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/991026-1.c: New test.
1999-10-23 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/991023-1.c: New test.
1999-10-19 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/991019-1.c: New test.
1999-10-16 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/991016-1.c: New test.
1999-10-14 Stephane Carrez <stcarrez@worldnet.fr>
* gcc.c-torture/execute/991014-1.c: New test.
1999-10-13 J"orn Rennecke <amylaar@cygnus.co.uk>
* g++.old-deja/g++.other/union2.C: New test.
1999-10-13 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/vaarg2.C: New test.
* g++.old-deja/g++.other/vaarg3.C: New test.
1999-10-12 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/noncompile/19990905-1.f: Moved from being
in compile/.
1999-10-04 Ulrich Drepper <drepper@cygnus.com>
* gcc.c-torture/execute/va-arg-11.c: New test.
1999-10-01 Mark P. Mitchell <mark@codesourcery.com>
* lib/file-format.exp (gcc_target_object_format): Don't
crash if objdump is unavailable.
1999-09-29 Donn Terry <donn@interix.com>
* gcc.misc-tests/mg.exp: delete extraneous redirection.
1999-09-28 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/compile/990928-1.c: New test.
1999-09-28 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/decl6.C: New test.
1999-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/va-arg-10.c: New test.
1999-09-27 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.pt/memtemp77.C: Adjust expected
__PRETTY_FUNCTION__.
1999-09-23 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/990923-1.c: New test.
1999-09-21 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/special/special.exp: Add FR30 to list of targets
for which -fpic is inappropriate.
1999-09-21 Mark Mitchell <mark@codesourcery.com>
* g++.dg/ecos.exp: Don't supply -finit-priority to cc1plus.
1999-09-21 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/dyncast1.C: New test.
* g++.old-deja/g++.other/dyncast2.C: New test.
* g++.old-deja/g++.other/dyncast3.C: New test.
* g++.old-deja/g++.other/dyncast4.C: New test.
* g++.old-deja/g++.other/dyncast5.C: New test.
* g++.old-deja/g++.eh/catch3.C: New test.
* g++.old-deja/g++.eh/catch3p.C: New test.
* g++.old-deja/g++.eh/catch4.C: New test.
* g++.old-deja/g++.eh/catch4p.C: New test.
* g++.old-deja/g++.eh/catch5.C: New test.
* g++.old-deja/g++.eh/catch5p.C: New test.
* g++.old-deja/g++.eh/catch6.C: New test.
* g++.old-deja/g++.eh/catch6p.C: New test.
* g++.old-deja/g++.eh/catch7.C: New test.
* g++.old-deja/g++.eh/catch7p.C: New test.
* g++.old-deja/g++.eh/catch8.C: New test.
* g++.old-deja/g++.eh/catch8p.C: New test.
* g++.old-deja/g++.eh/catch9.C: New test.
* g++.old-deja/g++.eh/catch9p.C: New test.
1999-09-13 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/sizeof3.C: Remove XFAILS.
* g++.old-deja/g++.other/sizeof4.C: Remove XFAILS.
1999-09-13 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990913-1.c: New test.
1999-09-10 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.jason/rfg4.C: Revert erroneous change, add -w.
* g++.old-deja/g++.jason/rfg5.C: Likewise.
1999-09-09 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.other/delete6.C: Use size_t with operator new.
1999-09-09 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/lookup11.C: New test.
* g++.old-deja/g++.bugs/900428_01.C: Rework now we understand
what is permitted and what we want.
* g++.old-deja/g++.jason/rfg4.C: Rework to remove ill-formed
overload use.
* g++.old-deja/g++.jason/rfg5.C: Likewise
1999-09-08 Geoffrey Keating <geoffk@cygnus.com>
* gcc.c-torture/noncompile/noncompile.exp: Add poison-1.c.
* gcc.c-torture/noncompile/poison-1.c: New file.
1999-09-08 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/sizeof3.C: New test.
* g++.old-deja/g++.other/sizeof4.C: New test.
* g++.old-deja/g++.other/ambig2.C: Mark XFAILs.
* g++.old-deja/g++.other/lookup16.C: Mark XFAIL.
1999-09-07 Richard Henderson <rth@cygnus.com>
* gcc.dg/va-arg-1.c: New.
1999-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/va-arg-9.c: New test.
1999-09-05 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/980519-2.f: New test.
* g77.f-torture/compile/19990905-0.f: New test.
* g77.f-torture/compile/19990905-1.f: New test.
* g77.f-torture/compile/19990905-2.f: New test.
* g77.f-torture/noncompile/19990826-4.f: Clarify who wrote what.
1999-09-03 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/execute/990827-1.c: Fix typo.
1999-09-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/deref1.C: New test.
1999-09-02 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/ambig2.C: New test.
* g++.old-deja/g++.other/cond5.C: New test.
* g++.old-deja/g++.other/lookup16.C: New test.
1999-09-02 Marc Espie <espie@cvs.openbsd.org>
* gcc.dg/980414-1.c: Fix assembler syntax to work with old
assemblers too.
1999-08-31 Jeffrey A Law (law@cygnus.com)
* lib/c-torture.exp: Avoid the "compare executables" optimization
when testing native.
1999-08-29 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990829-1.c: New test.
* gcc.c-torture/compile/990829-1.c: New test.
1999-08-27 Paul Burchard <burchard@pobox.com>
* g++.old-deja/g++.pt/derived3.C: Renamed from lss-001.C.
* g++.old-deja/g++.pt/ttp56.C: Renamed from lss-002.C.
* g++.old-deja/g++.pt/decl4.C: Renamed from lss-003.C.
* g++.old-deja/g++.pt/memtemp85.C: Renamed from lss-004.C.
* g++.old-deja/g++.pt/memtemp86.C: Renamed from lss-005.C.
* g++.old-deja/g++.pt/memtemp87.C: Renamed from lss-006.C.
* g++.old-deja/g++.pt/static10.C: Renamed from lss-007.C.
* g++.old-deja/g++.pt/memtemp88.C: Renamed from lss-008.C.
* g++.old-deja/g++.pt/memtemp89.C: Renamed from lss-009.C.
* g++.old-deja/g++.pt/memtemp90.C: Renamed from lss-010.C.
* g++.old-deja/g++.pt/memtemp91.C: Renamed from lss-011.C.
1999-08-27 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990827-1.c: New test.
1999-08-26 17:24:57 +02:00
1999-08-26 Craig Burley <craig@jcb-sc.com>
1999-08-27 00:16:57 +02:00
* g77.f-torture/noncompile/19990826-4.f: New test.
1999-08-26 19:31:13 +02:00
* g77.f-torture/compile/19990826-3.f: New test.
1999-08-26 19:25:27 +02:00
* g77.f-torture/execute/19990826-2.f: New test.
1999-08-26 19:13:42 +02:00
* g77.f-torture/compile/19990826-1.f: New test.
1999-08-26 18:54:30 +02:00
* gcc.c-torture/execute/990826-0.c: New test.
* g77.c-torture/execute/19990826-0.f: New test.
1999-08-26 17:24:57 +02:00
* g77.f-torture/noncompile/970626-2.f: New test.
1999-08-25 Paul Burchard <burchard@pobox.com>
* g++.old-deja/g++.pt/lss-001.C, lss-002.C, lss-003.C, lss-004.C,
lss-005.C, lss-006.C, lss-007.C, lss-008.C, lss-009.C, lss-010.C,
lss-011.C: New tests.
1999-08-25 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/decl5.C: New test.
1999-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* noncompile/noncompile.exp: Load_lib c-torture.exp.
(postbase_with_opts): New proc to loop over TORTURE_OPTIONS and
call `postbase' for each one. All callers of `postbase' changed
to call this instead.
1999-08-11 Richard Earnshaw (rearnsha@arm.com)
* gcc.c-torture/execute/990811-1.c: New test.
1999-08-09 Nick Clifton <nickc@cygnus.com>
* gcc.misc-tests/m-un-2.c: Expect the warnings for all builds, not
just native ones.
* gcc.dg/990413-1.c: Expect the parse error for all builds, not
just native ones.
1999-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/local3.C: Removed XFAIL.
1999-08-04 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/970312-1.c: Delete duplicate test.
1999-08-04 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.
1999-08-04 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990804-1.c: New test.
1999-08-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.brendan/crash63.C: Expect a POD warning
* g++.old-deja/g++.brendan/crash64.C: Likewise
* g++.old-deja/g++.brendan/overload8.C: Likewise
1999-08-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/struct1.C: New test.
1999-08-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/enum2.C: New test.
1999-08-02 Richard Henderson <rth@cygnus.com>
Adapted from tests from Franz Sirl:
* gcc.c-torture/execute/va-arg-7.c: New test.
* gcc.c-torture/execute/va-arg-8.c: New test.
1999-08-01 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990801-2.c: New test.
* gcc.c-torture/compile/990801-1.c: New test.
1999-07-27 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/ieee/fp-cmp-2.c: New file, clone from
fp-cmp-1.c, converting double to float.
* gcc.c-torture/execute/ieee/fp-cmp-3.c: New file, clone from
fp-cmp-1.c, converting double to long double.
* gcc.c-torture/noncompile/920507-1.c (x): Rename asm register
from fr1 to unknown_register, since fr1 is a legitimate register
on some machines.
1999-07-25 Jeffrey A Law (law@cygnus.com)
* README: More listname related changes.
1999-07-08 19:10:58 +02:00
1999-07-08 Catherine Moore <clm@cygnus.com>
* gcc.c-torture/execute/920501-5.c: Fix typo. Change | to ||.
1999-07-05 Manfred Hollstein <mhollstein@cygnus.com>
* gcc.dg/990703-1.c (y): Terminate definition syntactically correctly.
1999-07-05 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/null1.C: Define l<long> for 64bit hosts.
1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.dg/990703-1.c: New test.
1999-06-29 Nick Clifton <nickc@cygnus.com>
* lib/file-format.exp: New file: Move definition of proc
gcc_target_object_format to here from
gcc.dg/special/ecos.exp.
* lib/c-torture.exp: Include lib file-format.exp.
* lib/gcc-dg.exp: Include lib file-format.exp.
* gcc.dg/special/ecos.exp: Remove definition of proc
gcc_target_object_format.
1999-06-28 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990628-1.c: New test.
1999-06-25 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990625-2.c: New test.
* gcc.c-torture/compile/990625-1.c: New test.
1999-06-23 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/compile/dll.c: New test case. Check that dll
attributes compile.
* gcc.c-torture/compile/dll.x: Only support the dll.c test on
ports that use the COFF/PE file format.
1999-06-17 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990617-1.c: New test.
1999-06-17 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/decl4.C: New test.
1999-06-14 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/bitfld3.C: New test.
1999-06-08 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.eh/catch1.C: New test.
1999-06-07 Jeffrey A Law (law@cygnus.com)
* g++.old-deja/g++.mike/p6610a.C: Expect failure on freebsd-elf.
* gcc.c-torture/execute/ieee/rbug.x: Expect failure on freebsd.
* gcc.c-torture/execute/ieee/mzero.x: New file. Likewise.
1999-06-05 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19990502-0.f: Replace with new,
shorter, test that still fails after recent changes.
1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* gcc.c-torture/execute/990604-1.c: New test.
1999-05-31 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990531-1.c: New test.
1999-05-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/compile/990527-1.c: New test.
1999-05-27 Joern Rennecke <amylaar@cygnus.com>
* gcc.c-torture/execute/990527-1.c: New test.
1999-05-25 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/bf-sign-2.c: Explicitly declare signed
bitfields as signed.
1999-05-25 18:25:57 +02:00
1999-05-25 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19990525-0.f: New test.
1999-05-25 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990525-2.c: New test.
* gcc.c-torture/execute/990525-1.c: New test.
1999-05-24 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/anon3.C: New test.
* g++.old-deja/g++.other/anon4.C: New test.
* g++.old-deja/g++.ext/anon1.C: Inhibit -pedantic option.
* g++.old-deja/g++.g++.robertl/eb131.C/: Remove unrequired ERROR tag,
after downgrade to warning (cp/ChangeLog: 1999-05-20 Jason
Merrill).
1999-05-24 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990524-1.c: New test.
* gcc.dg/990524-1.c: New test.
1999-05-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/compile/990523-1.c: New test.
1999-05-19 Raja R Harinath <harinath@cs.umn.edu>
* gcc.c-torture/compile/990519-1.c: New test.
1999-05-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* gcc.c-torture/compile/990517-1.c: New test.
* gcc.c-torture/execute/990326-1.c: Force bitfields to be aligned.
(e4, f4): New tests.
(main): Call them.
1999-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/noreturn-1.c: New test.
1999-05-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* gcc.c-torture/execute/990513-1.c: New test.
1999-05-10 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.other/null1.C (g): Add overload for long.
1999-05-10 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/erfc.f: Use small single-precision
values, to avoid problems on Alphas when not -mieee.
1999-05-08 Craig Burley <craig@jcb-sc.com>
* gcc.dg/990506-0.c: New test.
1999-05-08 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.benjamin/p12475.C: Use LONG_MAX to find
the constant to test. Don't XFAIL 64-bit targets.
* g++.old-deja/g++.jason/thunk3.C: Don't XFAIL Alpha.
* g++.old-deja/g++.law/profile1.C: Likewise.
* g++.old-deja/g++.other/delete4.C: Define size_t; use it in all
operator new instances.
* g++.old-deja/g++.other/delete5.C: Likewise.
1999-05-03 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f (main): Declare ABORT as
intrinsic.
1999-05-03 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f: Reverse order of two
arguments to CTIME_subr, DTIME_subr, ETIME_subr, and TTYNAM_subr.
1999-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/compare1.c: New test.
1999-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/cast-qual-1.c, gcc.dg/return-type-1.c, gcc.dg/unused-1.c:
New tests.
1999-05-02 16:01:13 +02:00
1999-05-02 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19990502-1.f: New test.
1999-05-02 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19990502-0.f: New test.
1999-05-02 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f (main): Declare FTELL as
intrinsic.
1999-05-02 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f (main): List libU77
intrinsics not currently tested.
Add tests for TIME8, CTIME_subr, IARGC, TTYNAM_subr,
GETENV, FDATE_subr, DTIME_subr, ETIME_subr, DATE, ITIME,
FTELL_subr, MCLOCK, MCLOCK8, and CPU_TIME.
Trim blanks off the ends of some printed strings.
1999-05-02 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f (main): Just warn about
FSTAT gid disagreement, as it's expected on some systems.
1999-05-01 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f: Generalize sum-checking to
use a new function, which allows for some slop.
Clean up some commentary.
(issum): The new function.
(sgladd): Deleted subroutine.
1999-05-01 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f: Modify to be more like
libf2c/libU77 version, bringing patches to that version here.
Add suitable commentary.
1999-04-25 Richard Henderson <rth@cygnus.com>
* gcc.dg/990424-1.c: New test.
1999-04-24 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f (main): Bug involving
LSTAT has been fixed, so turn back on full checking.
1999-04-20 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19990419-0.f: New test.
* g77.f-torture/execute/19990419-1.f: New test.
1999-04-17 Richard Henderson <rth@cygnus.com>
* gcc.dg/uninit-9.c (func): Use __builtin_alloca instead of alloca
to avoid the need for a prototype to supress a warning.
1999-04-07 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/execute/920501-7.c (main): Delete __I960__ ifndef.
1999-04-04 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990404-1.c: New test.
1999-04-03 10:35 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.dg/cpp-if1.c: Adjust regexps to accommodate cccp.
* gcc.dg/cpp-if3.c: Don't use -pedantic.
* gcc.misc-tests/m-un-2.c: Adjust regexps for new format of
missing initializer warnings.
1999-03-28 Jeffrey A Law (law@cygnus.com)
* lib/objc-torture.exp: Replace "77" with "Obj-C" in pattern
matching strings.
1999-03-26 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990326-1.c: New test from Charles Hannum.
1999-03-26 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/19990325-0.f: New test.
* g77.f-torture/execute/19990325-1.f: New test.
1999-03-24 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990324-1.c: New test.
1999-03-22 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/execute/bf-sign-2.c (main): Replace struct sizeof
test with 4.
1999-03-17 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/ieee/980619-1.x: New. Expected fail on x86.
1999-03-13 16:33:56 +01:00
1999-03-13 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/19990313-2.f: New test.
* g77.f-torture/execute/19990313-3.f: New test.
1999-03-13 15:45:03 +01:00
1999-03-13 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/19990313-0.f: New test.
* g77.f-torture/execute/19990313-1.f: New test.
1999-03-12 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/execute/970312-1.c, execute/980605-1.c (f): Change
printf to sprintf.
* gcc.c-torture/execute/bf-sign-2.c (struct X): Add u15 field.
(main): Add check for u15. Conditionalize u31 check depending on
whether ints are <32 bits or >=32 bits.
1999-03-08 07:34:47 +01:00
1999-03-08 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/19981119-0.f: Improve testiness.
1999-03-08 07:30:51 +01:00
1999-03-08 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19990305-0.f: New test.
* g77.f-torture/execute/19981119-0.f: New test.
1999-03-08 01:14:12 +01:00
1999-03-08 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/970625-2.f: call ABORT if final
result is not correct, instead of just printing it.
Add this checking via newly introduced obfuscation, to
trip up buggy front ends.
1999-03-07 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/960317-1.f: Moved from being
in execute/. (Somehow I didn't notice "SUBROUTINE...".)
1999-03-06 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/960317-1.f: New (old) test.
* g77.f-torture/execute/970625-2.f: Ditto.
1999-03-01 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/noncompile/noncompile.exp (951025-1.c): Accept an error
message on line 1 or line 2; cccp and cpplib do this differently.
1999-03-01 Jeffrey A Law (law@cygnus.com)
* g++.old-deja/g++.law/weak1.C: New test.
1999-02-28 17:59 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/execute/990119-1.c: Renamed to...
* gcc.dg/990119-1.c: this, so it will only be tested once
(it's a preprocessor test, it doesn't need to be run at
multiple optimization levels).
1999-02-27 13:34 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* lib/g++.exp: Don't add incdir=$base_dir/../include to
ALWAYS_CXXFLAGS.
1999-02-24 Craig Burley <craig@jcb-sc.com>
1999-04-24 11:19:48 +02:00
* g77.f-torture/noncompile/19981216-0.f: Renamed from...
* g77.f-torture/compile/19981216-0.f: ...as it is expected
to not be compilable by current g77.
1999-02-24 Nick Clifton <nickc@cygnus.com>
* lib/c-torture.exp: Add -O3 to TORTURE_OPTIONS list.
1999-02-22 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990222-1.c: New test.
1999-02-19 10:15:46 +01:00
1999-02-19 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19990218-0.f: New test.
* g77.f-torture/noncompile/19990218-1.f: New test.
1999-02-18 04:21:45 +01:00
1999-02-18 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/compile/19981216-0.f: New test.
1999-02-14 Jeffrey A Law (law@cygnus.com)
* gcc.dg/990214-1.c: New test.
1999-02-13 Jeffrey A Law (law@cygnus.com)
* gcc.dg/990213-2.c: New test.
* gcc.dg/990213-1.c: New test.
1999-02-12 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/990106-2.c: Update to work on targets with 16bit
ints.
1999-02-11 13:03:56 +01:00
1999-02-11 Nick Clifton <nickc@cygnus.com>
* lib/gcc.exp (proc gcc_target_compile): Add support for timeout
specified by target.
1999-02-11 13:03:56 +01:00
* lib/chill.exp: Fix typo: doesn'timeout -> doesn't
1999-02-11 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990211-1.c: New test from Nathan SIdwell.
1999-02-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
* gcc.dg/special/ecos.exp: New test driver for new tests with
special requirements.
* gcc.dg/special/alias-1.c: New test.
* gcc.dg/special/gcsec-1.c: New test.
* gcc.dg/special/weak-1.c: New test.
* gcc.dg/special/weak-1a.c: Accompanying file to weak-1.c.
* gcc.dg/special/weak-2.c: New test.
* gcc.dg/special/weak-2a.c: Accompanying file to weak-2.c.
* gcc.dg/special/weak-2b.c: Accompanying file to weak-2.c.
* gcc.dg/special/wkali-1.c: New test.
* gcc.dg/special/wkali-2.c: New test.
* gcc.dg/special/wkali-2a.c: Accompanying file to wkali-2.c.
* gcc.dg/special/wkali-2b.c: Accompanying file to wkali-2.c.
1999-02-10 Felix Lee <flee@cygnus.com>
* lib/c-torture.exp (c-torture-compile): Pull out code for
analyzing gcc error messages.
(c-torture-execute): Likewise. Fix some (harmless) false
positives.
* lib/gcc.exp (gcc_check_compile): New function.
1999-02-08 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/990208-1.c: New test.
1999-02-07 16:40:17 +01:00
1999-02-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
* g++.dg/special/ecos.exp: New driver for new tests with special
requirements
1999-02-07 16:40:17 +01:00
* g++.dg/special/conpr-1.C: New test
* g++.dg/special/conpr-2.C: New test
* g++.dg/special/conpr-2a.C: New test
* g++.dg/special/conpr-3.C: New test
* g++.dg/special/conpr-3a.C: New test
* g++.dg/special/conpr-3b.C: New test
1999-02-07 16:40:17 +01:00
* lib/g++-dg.exp: New driver file, based on lib/gcc-dg.exp to
allow g++ to use the dg driver
* README: Add comment about g++.dg directory
1999-02-06 Jeffrey A Law (law@cygnus.com)
* README: Update email addresses.
1999-02-03 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/memcheck/blkarg.c (foo): Use 10 leading
arguments in order to force structure S onto the stack even on
the alpha.
(test): Pass 10 leading arguments to function foo as well as the
structure S.
* gcc.c-torture/execute/memcheck/blkarg.x: New file: Expected
failure for all targets.
* gcc.c-torture/execute/memcheck/driver.c (main): Use exit or
abort to terminate program execution.
1999-01-30 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/990130-1.c: New test.
1999-01-30 Jeffrey A Law (law@cygnus.com)
* gcc.dg/990130-1.c: New test.
1999-01-28 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/990128-1.c: New test.
1999-01-27 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/990127-{1,2}.c: New tests.
1999-01-27 Felix Lee <flee@cygnus.com>
* lib/c-torture.exp (c-torture-compile): pull out code for
analyzing gcc error messages.
(c-torture-execute): ditto, and fix some (harmless) false
positives.
* lib/gcc.exp (gcc_check_compile): new function.
1999-01-17 Jeffrey A Law (law@cygnus.com)
* gcc.dg/990117-1.c: New test.
* gcc.c-torture/compile/990117-1.c: New test from Horst von Brand.
* gcc.c-torture/execute/990117-1.c: New test from HJ Lu.
1999-01-15 Jeffrey A Law (law@cygnus.com)
* g77.f-torture/compile/990115-1.f: New test.
1999-01-07 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990107-1.c: New test
1999-01-06 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990106-2.c: New test.
* gcc.c-torture/execute/990106-1.c: New test.
1998-12-30 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/compile/981223-1.c: New test.
1998-12-29 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.
(opt3): Rename from opt4 and disable.
1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/ptrmem5.C: New test.
1998-12-15 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/conv5.C: New test.
1998-12-14 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/920501-4.c (main): Fix typo: replace | with ||.
1998-12-11 Jeffrey A Law (law@cygnus.com)
* g++.old-deja/g++.benjamin/p12475.C: Expect failure on mips64 targets.
1998-12-11 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/compile/981211-1.c: New test.
1998-12-09 Alexandre Oliva <oliva@dcc.unicamp.br>
* gcc.dg/ultrasp1.c: Empty dg-options, avoid `long long' warnings.
* g++.old-deja/g++.pt/instantiate6.C: Linker error, not crash.
1998-12-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.special/930510-1.c: Make C9X safe.
* gcc.misc-tests/gcov-1.c Similarly.
* gcc.misc-tests/gcov-2.c Similarly.
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* gcc.dg/ultrasp1.c: New test.
1998-12-06 Richard Henderson <rth@cygnus.com>
1998-12-06 01:46:00 +01:00
* gcc.c-torture/execute/981206.c: New test.
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.ns/template7.C: New test.
* g++.old-deja/g++.other/expr1.C: New test.
* g++.old-deja/g++.eh/tmpl3.C: New test.
* g++.old-deja/g++.eh/tmpl2.C: New test.
1998-12-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/using5.C: Usified using[567].C here.
* g++.old-deja/g++.other/using6.C: Removed.
* g++.old-deja/g++.other/using7.C: Mark Mitchel removed it.
* g++.old-deja/g++.pt/spec20.C: Re-insert non-bogus ERROR marks.
1998-12-03 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/overload8.C: New test.
* g++.old-deja/g++.pt/overload7.C: New test.
* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus.
* lib/old-dejagnu.exp (old-dejagnu): Ignore collect recompiling
and relinking messages.
* lib/g++.exp (g++_target_compile): Remove .rpo file when
compiling with -frepo.
1998-12-01 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/lookup6.C: New test.
1998-11-30 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/981130-1.c: New test.
* gcc.c-torture/execute/981130-1.x: New test failure expectations.
1998-11-27 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/explicit76.C: New test.
* g++.old-deja/g++.pt/friend38.C: New test.
* g++.old-deja/g++.ns/crash2.C: New test.
* g++.old-deja/g++.pt/defarg8.C: New test.
* g++.old-deja/g++.pt/instantiate6.C: New test.
* g++.old-deja/g++.pt/static6.C: New test.
* g++.old-deja/g++.pt/decl2.C: New test.
1998-11-26 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/lookup5.C: New test. Not sure the
problem is actually related with name lookup, but so what? :-)
* g++.old-deja/g++.pt/friend37.C: New test.
1998-11-25 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): Avoid testing [f]statb
element, which fails on some systems.
* g77.f-torture/execute/labug1.f: New test.
1998-11-21 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980526-1.c: Do nothing if NO_LABEL_VALUES
is defined.
1998-11-18 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/981117-1.f: New test.
1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.eh/throw2.C: New test. CV-qualifiers are not
properly discarded.
1998-10-11 Ken Raeburn <raeburn@cygnus.com>
* gcc.c-torture/execute/memcheck: New directory of tests for
-fcheck-memory-usage.
1998-11-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* README: New file, general information about the testsuite and
new description of the various C++ test subdirectories.
* README.g++: Eliminate obsolete information, update and move most
relevant stuff to README.
1998-11-07 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/compile/981107-1.c: New test.
1998-11-02 Doug Evans <devans@canuck.cygnus.com>
* execute/memcpy-bi.c: New testcase.
1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/sizeof3.C: A similar testcase not involving
base classes.
* g++.old-deja/g++.pt/sizeof2.C: Incorrect specialization of base
template is selected.
* g++.old-deja/g++.ext/arrnew2.C: If new T[n](i) is accepted for
classes, it should be accepted for all types.
* g++.old-deja/g++.eh/sjlj1.C: Test checked sjlj-exception.
* g++.old-deja/g++.pt/spec24.C: Ensure that template
specializations start with template headers.
1998-10-29 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/dcast2.C: Cannot dynamic downcast &x.
* g++.old-deja/g++.other/init9.C: Test cross initialization of
non-POD types.
1998-10-27 Alexandre Oliva <oliva@dcc.unicamp.br>
* lib/old-dejagnu.exp (old-dejagnu): Document `Additional sources'.
1998-10-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* compile/981022-1.c, compile/981022-1.x: New test and driver.
1998-10-19 Jeffrey A Law (law@cygnus.com)
* 981019-1.c: New test.
1998-10-14 Robert Lipe <robertl@dgii.com>
* lib/objc-torture.exp (objc-torture-execute): Add -I so we can
find objc headers.
1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* compile/981001-4.c: Remove use of GCC extension that triggers a
compiler bug.
1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
* lib/old-dejagnu.exp (old-dejagnu): Support `Additional sources:'.
1998-10-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/explicit74.C: New test. Explicit
instantiation of template produces incorrect code for delete
expression.
* g++.old-deja/g++.pt/instantiate5.C: New test. `global
constructors' name is not unique.
* g++.old-deja/g++.pt/instantiate5.cc: Ditto.
* g++.old-deja/g++.pt/instantiate5-main.cc: Ditto.
* g++.old-deja/g++.other/init8.C: New test. Uninitialized
automatic array of const is ill-formed.
* g++.old-deja/g++.pt/ttp53.C: New test. Incorrect substitution
of template parameter?
* g++.old-deja/g++.other/conv3.C: New test. Conversion discards
const.
* g++.old-deja/g++.other/pmf2.C: New test. Invalid
pointer-to-member expression.
* g++.old-deja/g++.other/friend5.C: New test. Bogus friend
declaration causes ICE.
1998-10-11 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.ns/main1.C: New test. main() should only be
reserved in the global namespace.
* g++.old-deja/g++.pt/instantiate4.C: New test: -frepo does not
generate needed virtual table.
* lib/old-dejagnu.exp (old-dejagnu): Support `Build then link:'.
1998-10-10 Dariush Eslimi <eslimi@loran.com>
* g++.old-deja/g++.ext/typeof1.C: New test; typeof based on
template-dependent type
1998-10-10 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.brendan/parse3.C: XFAILs, not ERRORs.
* g++.old-deja/g++.brendan/parse5.C: XFAILs, not ERRORs.
* g++.old-deja/g++.brendan/parse6.C: XFAILs, not ERRORs.
* g++.old-deja/g++.other/using5.C: New test; using decl from base
class should be usable as argument of member function.
* g++.old-deja/g++.other/using6.C: New test; using decl from base
class should be usable as return type of member function.
* g++.old-deja/g++.other/using7.C: New test; using decl from base
class should be usable as type of data member.
* g++.old-deja/g++.ns/extern1.C: Fix XFAIL mark.
1998-10-09 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/special/920521-1.c: Fix bogus test.
1998-10-08 Nick Clifton <nickc@cygnus.com>
* gcc.dg/dll-?.c Add thumb to target list.
Fix assembler scan patterns to match current assembler output.
1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/expr6.C: New test. operator?: breaks
matching of template brackets.
* g++.old-deja/g++.other/using4.C: New test. Test using
declarations of methods from base classes.
* g++.old-deja/g++.ns/extern1.C: New test. Extern declarations
within functions should introduce names into the innermost
enclosing namespace.
* g++.old-deja/g++.other/init7.C: New test. Retry initialization
of static locals if first initialization throws.
1998-10-07 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/compile/981007-1.c: New test for irix6 -O0 core dump.
1998-10-06 Ken Raeburn <raeburn@cygnus.com>
* gcc.c-torture/special/981006-1.c: New test. Make sure gcc doesn't
lose track of the possible targets of tablejump insns.
* special/special.exp: Run it.
1998-10-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/friend35.C: New test. A template function
must be declared before its specializations can be named in friend
declarations.
1998-10-05 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f: Add regression test for RAND.
* g77.f-torture/execute/io1.f: New test.
1998-10-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/overload5.C: New test; initialize variable
with pointer to template function, for which no argument deduction
is possible.
* g++.old-deja/g++.pt/overload4.C: New test; passing pointer to
specialization of template function as argument to template
function.
* g++.old-deja/g++.other/access2.C: New test; Inner class
shouldn't have privileged access to Outer's names.
1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/friend34.C: New test; name injection of
friend template declared within template class conflicts with
nested class of the same name.
* g++.old-deja/g++.other/badopt1.C: New test; post-increment
is ignored.
* g++.old-deja/g++.other/decl1.C: New test; incorrect parsing of
object with direct initializer as function declaration.
* g++.old-deja/g++.other/decl2.C: New test; duplicate
initializers.
* g++.old-deja/g++.other/null2.C: New test; conditional operator
involving const pointer and NULL produces incorrect result.
* g++.old-deja/g++.other/typename1.C: New test; template-dependent
type name without `typename' should be rejected with -pedantic.
1998-10-02 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.other/addrof1.C: New test.
1998-10-01 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/compile/981001-1.c: New test.
* gcc.c-torture/execute/981001-1.c: New test.
1998-10-01 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/981001-2.c: New test.
* gcc.c-torture/compile/981001-3.c: New test.
* gcc.c-torture/compile/981001-4.c: New test.
1998-10-01 Robert Lipe <robertl@dgii.com>
* lib/objc.exp (objc_target_compile): Add -L during compiles for
multilibbed hosts. Idea grafted from g77.exp.
1998-09-30 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): Excise `hostnm' to
avoid losing on systems which need -lsocket.
1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/bitfld1.C: Expected failure.
* g++.old-deja/g++.other/nested2.C: Ditto.
* g++.old-deja/g++.robertl/eb132.C: No longer an expected
failure.
1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/bitfld1.C: Built-in operator!= should be
preferred over template operator!= for enum bitfields.
1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/nested2.C: Different virtual base classes
that happen to have the same base name, but in different scopes,
are incorrectly rejected.
1998-09-16 Richard Henderson <rth@cygnus.com>
* g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based
on the native word size instead of an integer literal.
1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/static2.C: Invocation of static data
member of type pointer-to-function denoted as non-static member.
* g++.old-deja/g++.other/typedef5.C: Add some more tests involving
checks involving function types and aliases.
1998-09-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/typedef5.C: Check whether typedefs can be
redefined to the same non-trivial type.
* g++.old-deja/g++.pt/explicit73.C: Test for proper
namespace-qualification of template specializations declared in
other namespaces.
* g++.old-deja/g++.other/friend4.C: Check whether it is possible
to declare a subset of the specializations of a template function
as friends of specializations of a template class.
* g++.old-deja/g++.pt/explicit71.C: Make sure specializations of
member templates that do not fully specialize the enclosing
template class are rejected.
1998-09-11 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f: Fix bad consistency checks.
1998-09-08 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): New file, somewhat
altered from libf2c/libU77 version.
1998-09-06 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/io0.f: Test formatted direct i/o too.
1998-09-04 Reid M. Pinchback <reidmp@MIT.EDU>, Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/explicit72.C: Ensure that char and
(un)signed char are different types for template specialization
purposes.
1998-09-03 Ovidiu Predescu <ovidiu@aracnet.com>
* lib/{objc.exp,objc-torture.exp}: New files for objc testing harness.
* objc: ObjC testsuite.
1998-08-31 Catherine Moore <clm@cygnus.com>
* gcc.c-torture/execute/941014-1.x: New file.
1998-08-31 Nick Clifton <nickc@cygnus.com>
* lib/c-torture.exp: Add support for
torture_eval_before_compile and torture_eval_before_execute
variables.
1998-08-30 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980626-1.c: Delete this test. We've declared the warning
this test triggers valid.
1998-08-27 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980827-1.c: New test.
1997-08-26 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.c-torture/execute/loop-4b.c: New test.
1998-08-26 Nick Clifton <nickc@cygnus.com>
* lib/c-torture.exp: Add support for
torture_eval_before_compile and torture_eval_before_execute
variables.
1998-08-25 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980825-1.c: New test.
1998-08-24 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/bcp-1.c (main): Fix optimize test loop to
count number tests in opt_t0 not good_t0.
1998-08-24 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/930326-1.x: Fix typo.
1998-08-23 Mark Mitchell <mark@markmitchell.com>
* lib/old-dejagnu.exp: Make it possible to XFAIL a test that
causes an ICE.
1998-08-21 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/unsorted/memtst.c: Reduce size of array when
STACK_SIZE is defined.
* gcc.c-torture/unsorted/stuct.c: Similarly.
* gcc.c-torture/compile/980821-1.c: New test.
1998-08-21 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980526-2.c: Disable for targets with 16bit ints.
1998-08-19 Mark Mitchell <mark@markmitchell.com>
* lib/old-dejagnu.exp (old-dejagnu): Remove sig6/sig11 handling
code.
1998-08-09 Mark Mitchell <mark@markmitchell.com>
* lib/old-dejagnu.exp: Revise handling of `Internal compiler
error'.
1998-08-18 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/*.x: Some updates for the h8300 targets.
1998-08-16 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980816-1.c: New test.
* gcc.dg/980816-1.c: New test.
1998-08-13 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/ieee/ieee.exp: Pass -ffloat-store to
compiler for ieee tests.
1998-08-01 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/980729-0.f: New test.
1998-07-30 Ken Raeburn <raeburn@cygnus.com>
* gcc.c-torture/special/eeprof-1.c: New test, for
-finstrument-functions.
* gcc.c-torture/special/special.exp: Run it.
1998-07-29 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980729-1.c: New test.
1998-07-27 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/ieee/930529-1.c (main): Check to see if
__thumb__ is defined, and test for ARM style doubles if so.
1998-07-26 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/noncompile/980615-0.f: New test.
1998-07-26 H.J. Lu (hjl@gnu.org)
* gcc.dg/980312-1.c: Do link instead of compile.
* gcc.dg/980313-1.c: Likewise.
1998-07-26 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980726-1.c: New test.
1998-07-25 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/io0.f: New test.
1998-07-24 Nick Clifton <nickc@cygnus.com>
* gcc.c-torture/execute/comp-goto-1.c (main): Make main() return
an int.
1998-06-18 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/980618-{1,2}.c: New tests that showed up
m32r bugs.
1998-07-17 Nick Clifton <nickc@cygnus.com>
* gcc.dg/980626-1.c: Expect failures for all toolchains until
c-decl.c:grokdeclarator can handle mode attributes.
1998-07-16 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980716-1.c: New test.
1998-07-13 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/920715-1.x: No longer expected to fail on
the mn10200.
* gcc.c-torture/execute/strct-varg-1.x: New file. Expect failure on
the mn10200.
* gcc.c-torture/execute/va-arg-3.x: Similarly.
* gcc.c-torture/compile/930326-1.x: Similarly.
1998-07-13 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/auto0.f, g77.f-torture/execute/auto1.f:
New test from Craig.
1998-07-12 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/noncompile/980616-0.f: New test.
* g77.f-torture/execute/970816-3.f: New test from Craig.
1998-07-10 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
* g++.other/singleton.C: Return error value instead of taking
SIGSEGV.
1998-07-10 Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
* g++.other/singleton.C: New test. Warning is under dispute.
Runtime crash is not.
1998-07-09 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
* g++.ns/{alias2.C, alias5.C, koenig4.C, lookup3.C ns13.C,
ns14.C, ns15.C, template3.C, undef1.C, using4.C, using5.C,
using6.C, using7.C}: New namespace tests.
1998-07-09 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/partspec1.C: Test matching of partial
specialization with typedef'ed names used as array indexes.
1998-07-09 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980709-1.c: New test.
* gcc.dg/980709-1.c: New test.
1998-07-07 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/bcp-1.c: New test.
1998-07-07 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980707-1.c: New test.
1998-07-06 Kamil Iskra <iskra@student.uci.agh.edu.pl>
* gcc.c-torture/compile/980706-1.c: New test.
1998-07-01 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/980701-0.f,
g77.f-torture/execute/980701-1.f: New test from Craig.
1998-07-01 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980701-1.c: New test.
* gcc.c-torture/execute/980701-1.c: New test.
1998-06-30 Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-ka
rlsruhe.de>
* g++.old-deja/g++.robertl/eb132.C: New test.
* g++.old-deja/g++.robertl/eb133.C: Likewise.
1998-06-29 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/980628-7.f,
g77.f-torture/execute/980628-8.f,
g77.f-torture/execute/980628-9.f,
g77.f-torture/execute/980628-10.f: New tests from Craig.
* g77.f-torture/execute/980628-3.f: Remove mail headers.
1998-06-28 Jeffrey A Law (law@cygnus.com)
* g77.f-torture/execute/980628-4.f: New test from Craig.
* g77.f-torture/execute/980628-5.f: Likewise.
* g77.f-torture/execute/980628-2.f: Likewise.
* g77.f-torture/execute/980628-0.f: Likewise.
* g77.f-torture/execute/980628-1.f: Likewise.
* g77.f-torture/execute/980628-3.f: Likewise.
* g77.f-torture/execute/980628-6.f: Likewise.
1998-06-28 Jeffrey A Law (law@cygnus.com)
* lib/g77.exp (default_g77_version): Tweak to make it work in a build
directory when nothing has been installed yet.
1998-06-27 Carlo Wood <carlo@runaway.xs4all.nl>
* gcc.c-torture/special/special.exp: Handle newer versions of
dejagnu.
1998-06-26 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980626-1.c: New test.
1998-06-19 Bruno Haible <haible@ilog.fr>
* gcc.misc-tests/m-un-2.c: New test.
* g++.old-deja/g++.other/warn01.c: Likewise.
1998-06-19 Robert Lipe <robertl@dgii.com>
* gcc.dg/980414-1.c: Move comments outside of ASM to improve
compatibility with assmblers with a different comment character.
Eliminate use of GAS-specific extensions.
1998-06-19 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/ieee/980619-1.c: New test.
1998-06-19 Robert Lipe <robertl@dgii.com>
*lib/g77.exp: Replace search for libf2c.a with search for newly
renamed libg2c.a
1998-06-17 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980617-1.c: New test.
1998-06-12 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980612-1.c: New test.
1998-06-08 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980523-1.c: Only test on ppc-linux.
* gcc.dg/980526-1.c, gcc.dg/switch-1.c: Likewise.
* gcc.c-torture/execute/980608-1.c: New test.
1997-06-05 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.c-torture/execute/980605-1.c: New test.
1998-06-04 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980604-1.c: New test.
1998-06-02 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980602-1.c: New test.
1998-06-02 23:54:22 +02:00
* gcc.c-torture/execute/980602-2.c: Likewise.
1998-06-02 Dave Love <d.love@dl.ac.uk>
* 970125-0.f: Fix per JCB. Add commentary.
1998-05-31 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/ieee/mzero2.c: New test to better test
IEEE -0 support.
1998-05-29 Peter Leven <leven@lpr.e-technik.tu-muenchen.de>
* gcc.c-torture/execute/ieee/fp-cmp-1.c: Set up signal handler
earlier.
1998-05-28 Catherine Moore <clm@cygnus.com>
* gcc.c-torture/execute/980526-3.c: New test.
1998-05-27 Manfred Hollstein <manfred@s-direktnet.de>
* g++.old-deja/g++.jason/thunk2.C: Setup this test to be expected to
fail on m68k-motorola-sysv and m88k-motorola-sysv3.
* g++.old-deja/g++.jason/thunk3.C: Add m68k-motorola-sysv and
m88k-motorola-sysv3 to XFAIL.
1998-05-26 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/980526-1.c: New test.
* gcc.c-torture/execute/980526-2.c: New test.
1998-05-26 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980523-1.c: Change "ppc" to "powerpc".
* gcc.c-torture/execute/980526-1.c: New test.
1998-05-26 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/alpha2.f: Add runtime test.
1998-05-24 Jason Merrill <jason@yorick.cygnus.com>
* g++.old-deja/old-deja.exp: Strip leading directories.
* lib/old-dejagnu.exp: All tests fail if we got an internal compiler
error for the line. Don't run multiple tests for the same line.
1998-05-23 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980523-1.c: New test.
1998-05-23 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/970915-0.f: New test.
1998-05-23 Jason Merrill <jason@yorick.cygnus.com>
* lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.
1998-05-21 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980520-1.c: New test.
1998-05-20 Manfred Hollstein <manfred@s-direktnet.de>
* gcc.dg/980502-1.c: Fix return type.
1998-05-20 Jeffrey A Law (law@cygnus.com)
* gcc.dg/{980502-1.c, clobbers.c}: New tests.
* gcc.c-torture/compile/{980504-1.c, 980506-1.c}: Likewise.
* gcc.c-torture/compile/{980506-2.c, 980611-1.c}: Likewise.
* gcc.c-torture/execute/{980505-1.c, 980505-2.c, 980506-1.c}: Likewise.
* gcc.c-torture/execute/{980506-2.c, 980506-3.c}: Likewise.
1998-05-20 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/980520-1.f: New test.
1998-05-15 Dave Love <d.love@dl.ac.uk>
* lib/mike-g77.exp: New file.
* g77.f-torture/noncompile/noncompile.exp,
g77.f-torture/noncompile/check0.f: New files.
1998-05-14 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/short.f, g77.f-torture/execute/le.f,
g77.f-torture/execute/exp.f, g77.f-torture/execute/erfc.f,
g77.f-torture/execute/dnrm2.f, g77.f-torture/execute/dcomplex.f,
g77.f-torture/execute/cpp.F, g77.f-torture/execute/complex_1.f,
g77.f-torture/execute/claus.f, g77.f-torture/execute/cabs.f: Call
abort where appropriate.
1998-05-05 Michael Meissner <meissner@cygnus.com>
* lib/c-torture.exp (TORTURE_OPTIONS): Add -Os to options.
* lib/f-torture.exp (TORTURE_OPTIONS): Ditto.
1998-04-29 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/980419-1.f: Removed since doesn't compile.
1998-04-27 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/980427-0.f: New test.
1998-04-24 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/980424-0.f: New test.
1998-04-19 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/compile/980419-2.f (main): New test.
* g77.f-torture/compile/970125-0.f: New test.
* g77.f-torture/compile/980419-1.f: New test.
1998-04-08 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/execute/980407-1.c: Delete test. Is duplicate
of loop-4.c.
1998-04-07 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/execute/980407-1.c: New test from Joern Rennecke.
1998-04-03 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/compile/980329-1.c: New test.
1998-03-18 Jim Wilson <wilson@cygnus.com>
* gcc.dg/980313-1.c: New test for fp conditional move on PPro.
* gcc.dg/980312-1.c: Fix typo in -march command.
1998-03-16 H.J. Lu (hjl@gnu.org)
* gcc.dg/980312-1.c: New test for fp conditional move on PPro.
1998-03-11 Robert Lipe <robertl@dgii.com>
* g77.f-torture/execute/980310-5.f: Deleted. Craig Burley and
Dave Love agree the Fortran source is bogus.
1998-03-11 Robert Lipe <robertl@dgii.com>
* g77.f-torture/compile/980310-1.f, g77.f-torture/compile/980310-2.f
g77.f-torture/compile/980310-3.f, g77.f-torture/compile/980310-4.f
g77.f-torture/compile/980310-6.f, g77.f-torture/compile/980310-7.f
g77.f-torture/compile/980310-8.f: New tests from egcs-bugs archives.
* g77.f-torture/execute/980310-5.f: New test from egcs-bugs archives.
1998-03-10 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/friend1.C: New test.
1998-02-18 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/dnrm2.f (dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.
1998-02-23 Robert Lipe <robertl@dgii.com>
From Bruno Haible <haible@ilog.fr>:
* gcc.c-torture/execute/980223.c: New test.
1998-02-13 Jeffrey A Law (law@cygnus.com)
* gcc.dg/ifelse-1.c: New test.
1998-02-09 H.J. Lu (hjl@gnu.org)
* lib/g77.exp (g77_target_compile): Fix multilibs for libf2c.
* lib/old-dejagnu.exp (old-dejagnu): Added the
"execution test - XFAIL *-*-*" handling in the spirit of
"excess errors test -". Changed the "execution test fails"
handling to be like "excess errors test fails".
* Update various tests accordingly.
1998-02-06 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/execute/980205.c: New test.
1998-01-18 Jeffrey A Law (law@cygnus.com)
* lib/c-torture.exp: Look for .x files instead of .cexp files.
* lib/f-torture.exp: Similarly.
* gcc.c-torture: Rename all .cexp files to .x files.
1997-12-08 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.c-torture/noncompile/noncompile.exp (921102-1.c): Fixed comment.
(940510-1.c): Removed duplicate.
(971104-1.c): New test.
1997-11-25 Kate Hedstrom (kate@ahab.rutgers.edu)
* lib/f-torture.exp: Improve error and loop detection.
1997-11-19 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/950221-1.c (filler): If STACK_SIZE is defined,
use that to size the filler array.
1997-09-26 Bob Manson <manson@charmed.cygnus.com>
* lib/c-torture.exp(c-torture-execute): Fix typo.
* lib/old-dejagnu.exp(old-dejagnu): Use a name derived from the
testcase as the executable name. Keep the executable around if
the test fails.
1997-09-19 Bob Manson <manson@charmed.cygnus.com>
* lib/c-torture.exp (TORTURE_OPTIONS): Removed unnecessary
changes. Only test one -g option, and move it to the end of the
list of options to test.
1997-09-19 Michael Meissner <meissner@cygnus.com>
* lib/c-torture.exp (TORTURE_OPTIONS): Check for the environment
variable GCC_TORTURE_OPTIONS to supply default switches separated
by colons. If no environment variable, run tests with -O0 -g, -O1
-g, and -O2 -g as well.
1997-09-17 Bob Manson <manson@charmed.cygnus.com>
* lib/plumhall.exp: Don't set PHSRC in this file. Add a few
explanatory comments. Fix indentation.
1997-09-15 Jeffrey A Law (law@cygnus.com)
* lib/g++.exp (g++_init): Look for xgcc in $basedir too.
1997-09-11 Jeffrey A Law (law@cygnus.com)
* g++.old-deja/g++.brendan/scope4.C: No longer expected to fail.
* g++.old-deja/g++.mike/p7325.C: Likewise.
* g++.old-deja/g++.mike/eh51.C: No longer expected to fail on the PA.
1997-09-11 Alexandre Oliva (oliva@dcc.unicamp.br)
* g++.old-deja/g++.brendan/crash20.C: Rework to avoid libg++.
* g++.old-deja/g++.brendan/crash30.C: Likewise.
* g++.old-deja/g++.brendan/crash39.C: Likewise.
* g++.old-deja/g++.law/operators4.C: Likewise.
1997-09-11 Joe Buck (jbuck@synopsys.com)
* g++.old-deja/g++.mike/p658.C: eliminate <bool.h> use.
* g++.old-deja/g++.mike/p784.C: Ditto.
* g++.old-deja/g++.mike/p785.C: Ditto.
1997-09-05 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/cbrt.c: Tweak to work on more targets.
1997-09-03 Bob Manson <manson@charmed.cygnus.com>
* gcc.c-torture/execute/ieee/ieee.exp: Check for ieee_multilib_flags
target feature; pass this to c-torture-execute as needed.
1997-09-03 Bob Manson <manson@charmed.cygnus.com>
* lib/c-torture.exp(c-torture-execute): If the previous and the
current executables being tested are identical, we don't need to
run the executable again. Try to make the executable names
unique. Add an optional argument for passing additional compiler
flags.
1997-09-02 Doug Evans <dje@canuck.cygnus.com>
* lib/gcc-dg.exp (gcc-dg-test): Fix typos setting compile_type.
1997-08-29 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/921007-1.c: Make strcmp static.
1997-07-31 Jeffrey A Law (law@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/920501-9.c: Fix to work on targets with
32bit or larger longs.
* gcc.c-torture/execute/961017-2.c: Fix to work on targets which
have either a 32bit long or 32bit int.
1997-07-29 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.c-torture/execute/conversion.c (test_float_to_integer):
Make double precision tests dependent on sizeof (double).
1997-07-09 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.prms/5403.c: Allow CRLFs to occur at the start of the output
too.
1997-06-17 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.c-torture/compile/961203-1.cexp: New script.
1997-06-16 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp(g++_init): Use g++_include_flags instead of making
up the includes ourselves.
1997-06-11 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/plumhall.exp: Remove random include, and add a few
verbose messages for debugging.
1997-06-06 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp: Use g++_link_flags from libgloss.exp, instead
of trying to do it ourselves.
1997-06-04 J"orn Rennecke <amylaar@cygnus.co.uk>
* gcc.c-torture/execute/ieee/ieee.exp: Set -mieee for SH.
1997-06-04 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.prms/5403.c: Made regexp a bit less strict.
1997-06-03 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/mike-gcc.exp: Don't use global exec_output anymore. Output
is returned from remote_load instead.
* lib/plumhall.exp: Ditto.
* lib/mike-g++.exp: Ditto.
* lib/old-dejagnu.exp: Ditto.
* lib/c-torture.exp: Ditto.
1997-05-30 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp: Use build_wrapper procedure.
* lib/gcc.exp: Ditto.
1997-05-20 Jeffrey A Law (law@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/*.c: Include stdlib.h instead of using
an old-style decl for malloc. Fixes tests to work when
sizeof (int) != sizeof (size_t).
1997-05-15 Mike Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/va-arg-3.c: If NO_VARARGS is defined, nop test.
* gcc.c-torture/execute/strct-varg-1.c: If NO_VARARGS is defined,
use stdargs.h interface.
1997-05-15 Mike Meissner <meissner@cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (gcc_target_compile): If gcc,no_varargs, define
NO_VARARGS when compiling.
1997-05-01 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/plumhall.exp(ph_includes): New procedure.
(ph_make): Use it.
(ph_compiler): Ditto.
* lib/g++.exp: Rename test-glue.c to testglue.c.
* lib/gcc.exp: Ditto.
1997-04-10 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp(g++init): Don't try to be smart, always run g++_init
to completion when it's called.
1997-08-19 09:34:40 +02:00
1997-03-21 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/920501-7.c (main,x): If NO_LABELS_VALUES
is defined, don't do test.
1997-03-20 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/plumhall.exp (ph_make): Comment out errorCode=NONE test
for object files.
(ph_summary): Mark skipped testcases as untested, not unresolved.
* lib/plumhall.exp (ph_make): If unresolved because of bad
errorCode, record errorCode in log file.
(*): Replace send_log/verbose with verbose -log.
1997-03-19 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/ieee/rbug.c (main): Don't do long long to
double conversion if double isn't at least 8 bytes.
* gcc.c-torture/execute/cvt-1.c: Make all functions use long, not
int to work with targets where int is 16 bits.
* gcc.c-torture/execute/920715-1.c (main): If double isn't at least
8 bytes, just exit, since 4 byte doubles don't have enough bits of
precision for the test to complete.
1997-03-14 Michael Meissner <meissner@cygnus.com>
* gcc.c-torture/execute/920715-1.cexp (d10v-*-*): Expect to fail
if d10v is not compiled with the -mdouble64 flag.
* gcc.c-torture/execute/ieee/rbug.cexp (d10v-*-*): Ditto.
* gcc.c-torture/execute/cvt-1.cexp (d10v-*-*): Expect to fail if
d10v is not compiled with the -mint32 flag.
1997-03-13 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/plumhall.exp: Use incr_count.
1997-03-12 Jeffrey A Law (law@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture: Update to c-torture-1.45.
1997-02-23 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc.exp(gcc_init): Add args parameter (which will contain
the name of the expect testcase file).
1997-08-19 09:34:40 +02:00
* lib/g++.exp(g++_init): Ditto.
1997-02-20 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp(g++_exit): $gluefile lives on the build, not
the host.
* lib/gcc.exp(gcc_exit): New procedure.
1997-02-19 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* g++.old-deja/g++.rfg/*: Added "Build don't link" and ERROR
specs where appropriate.
* g++.old-deja/g++.arm/*: Added additional ERROR checks
because of new "candidates are" messages, and removed a few
* Converted all non-old-style g++ testcases to old-style, and
moved into g++.old-deja.
1997-02-14 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp(old-dejagnu): Add various "skip if"
options.
* lib/gcc.exp(gcc_init): Don't set gluefile unless the compile
succeeded.
* lib/g++.exp(g++_init): Don't unset gluefile unless it exists.
1997-02-13 Michael Meissner <meissner@cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (gcc_target_compile): Add support for defining
NO_TRAMPOLINES and NO_LABEL_VALUES if the baseboard file indicates
the machine doesn't have those features.
1997-02-11 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* g++.law/operators4.exp: Don't use LIBS.
1997-02-08 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* g++.law/virtual1.exp: Don't use CXX_FLAGS.
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp: Don't set the compiler to be tested here.
* lib/g++.exp: Set it here instead. Also, allow use of the
--tool_exec and --tool_opt options. Change CXX to
GXX_UNDER_TEST.
1997-08-19 09:34:40 +02:00
* g++.old-deja/old-deja.exp: Change CXX to GXX_UNDER_TEST.
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Allow use of --tool_exec and --tool_opt.
1997-02-07 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp: Use prune_warnings instead of
prune_system_crud.
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp: Ditto.
* lib/gcc.exp: Ditto.
* lib/g++.exp: Ditto.
* lib/g++.exp: Include both libstdc++ and libstdc++/stl.
1997-02-07 Jeffrey A Law (law@cygnus.com)
1997-08-19 09:34:40 +02:00
* 941014-2.c: Include stdlib.h
* 960327-1.c: Include stdio.h
* dbra.c, index-1.c: Don't assume ints are 32bits.
1997-08-19 09:34:40 +02:00
1997-02-04 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Add gcc,stack_size target feature.
* lib/g++.exp(g++_target_compile): Add the include and link
1997-08-19 09:34:40 +02:00
paths here, not in two other places. And, it's $options, not
options.
* lib/mike-g++.exp(postbase): Remove the code that determines
the correct include and link paths.
* g++.old-deja/old-deja.exp: Ditto.
1997-02-03 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp(g++_init): target_compile no longer returns the
filename of the result.
1997-02-02 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.misc-tests/gcov.exp: Add -nocomplain to the
call to glob.
* gcc.c-torture/special/special.exp: Change call to
gcc_target_compile to include the object file.
1997-08-19 09:34:40 +02:00
1997-02-02 Ian Lance Taylor <ian@cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/special/special.exp: Correct misspelling in last
change.
1997-02-01 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/plumhall.exp(ph_summary): Log the entire output of the
executable. Return -1 if there were any failures, 0 otherwise.
1997-08-19 09:34:40 +02:00
(ph_execute): Return -1 if there were any failures, 0 otherwise.
(ph_make): Clean up objects and executables that were built
if the tests succeeded.
1997-01-30 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* g++.old-deja/old-deja.exp: Add -L and -I flags so we include
libraries and includes in the build tree as appropriate.
1997-01-29 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp: Instead of looking for the global variable
NO_LONG_LONG, check to see if that's a feature of the target.
1997-01-29 Bob Manson <manson@charmed.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/default.exp: Minimize. Delete the remainer of the files in
config; this functionality is now in devo/dejagnu/config.
g++.*/*: Pass any additional flags used to compile to postbase;
delete CXXFLAGS.
gcc.c-torture/*: Remove calls to gcc_init and gcc_finish; this
is now done by runtest.exp. Use gcc_target_compile instead of
compile.
lib/c-torture.exp: Use gcc_target_compile instead of compile.
Remove references to CFLAGS. Use remote_file instead of
calling rm -f.
(c-torture): Take a list of arguments to use to compile this
testcase.
lib/g++.exp: Simplify. Use target_compile instead of compile.
lib/gcc-dg.exp: Ditto.
lib/gcc.exp: Ditto.
lib/mike-{gcc,g++}.exp: Ditto.
lib/old-dejagnu.exp: Ditto.
lib/plumhall.exp: Ditto.
1997-01-08 Jim Wilson <wilson@cygnus.com>
* lib/plumhall.exp (ph_make): Use CFLAGS and ANSICFLAGS when linking.
(ph_linker): Likewise.
1996-11-13 Joern Rennecke <amylaar@cygnus.com>
* gcc.c-torture/execute/{loop-2e.c,loop-2f.c}: Only use
MAP_ANON / MAP_ANONYMOUS if defined;
else try to map from /dev/zero .
1996-11-12 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/{loop-2e.c,loop-2f.c}: If MAP_ANON
isn't defined, then define it to MAP_ANONYMOUS.
1996-11-12 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture: Update to c-torture-1.42 release.
1996-11-11 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture: Update to c-torture-1.41 release.
1996-10-27 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/enum-1.c: New test. Will be in next
c-torture release.
1996-08-15 Brendan Kehoe <brendan@lisa.cygnus.com>
* lib/gcc.exp (gcc_init): Always append the target_info to CFLAGS
and LDFLAGS. Fix second case to append the target_info ldflags
onto LDFLAGS, not CFLAGS.
* lib/g++.exp (g++_init): Add target_info stuff.
* lib/old-dejagnu.exp (old-dejagnu-init): Likewise. Add inclusion
of libgloss and newlib flags for !native.
* config/proelf.exp: Load remote.exp and do `push_target hppro'.
(GDB): Fix relative path to go up another dir for finding gdb.
1996-08-08 Rob Savoye <rob@chinadoll.cygnus.com>
* lib/gcc.exp(gcc_init): Set CFLAGS and LDFLAGS to their new
versions in the target_info array, if they don't exist.
1996-08-02 Brendan Kehoe <brendan@lisa.cygnus.com>
* config/vx.exp (${tool}_load): Fix syntax of `$shell_id < 0'.
1996-07-08 Jim Wilson <wilson@cygnus.com>
* lib/g++.exp: Change all uses of $base_dir/ to $base_dir/../.
* lib/gcc.exp, lib/old-dejagnu.exp: Likewise.
1996-07-01 Bob Manson <manson@charmed.cygnus.com>
* lib/old-dejagnu.exp: Don't remove the output file before we've
actually tested it. Don't append pwd to the path of the executable
we're testing.
1996-06-30 Doug Evans <dje@canuck.cygnus.com>
* lib/g++.exp (default_g++_start): Don't pass LDFLAGS, LIBS if -c.
1996-06-26 Bob Manson <manson@charmed.cygnus.com>
* lib/old-dejagnu.exp (old-dejagnu): Add $tmpdir to specify a
temporary directory for compiler files, and set it to a default
value of /tmp. Set $output as the name of the output file from
compiling the testcase. Add a -o option to $cflags_var so the
compiler writes the final output file as $output. Set $executable
to $output.
* lib/mike-g++.exp (postbase): Add $tmpdir to specify a temporary
directory for compiler files, and set it to /tmp if it doesn't
already have a value. Set $output_file to the name of the output
file from compiling the testcase. Add a -o option to CXXFLAGS so
the compiler writes the final output file as $output. Use $output
as the executable to be tested.
1996-06-24 Brendan Kehoe <brendan@lisa.cygnus.com>
* lib/g++.exp: Also add -Wl,-rpath,... for linux.
1996-06-08 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/pending-1.c: New test. Still
pending in Tege's queue.
1996-04-24 Jim Wilson <wilson@chestnut.cygnus.com>
* lib/plumhall.exp (ph_summary): Add arguments name and exec_status.
Add variables local_failcnt and local_unresolvedcnt. Call gcc_fail
if there were failures. Call unresolved if there were unresolved
testcases. Call gcc_fail if program did not run to completion.
(ph_make): Pass additional argument name to ph_execute.
(ph_execute): Add new argument. Pass additional arguments to
ph_summary. Call gcc_fail is there is no execution output.
1996-04-24 Jeffrey A Law (law@cygnus.com)
* lib/plumhall.exp (proc_summary): Output relavent summary
lines into the log so specific failures in plumhall can be
investigated.
1996-04-10 Jeffrey A Law (law@cygnus.com)
* lib/c-torture.exp: Provide a default value for $NO_LONG_LONG.
(c-torture-execute): Don't try to execute tests which use
"long long" types if $NO_LONG_LONG is nonzero.
1996-04-08 Doug Evans <dje@canuck.cygnus.com>
* gcc.c-torture/execute/ieee/ieee.exp: Run c-torture-execute,
not c-torture.
* gcc.ieee: Move from here.
* gcc.c-torture/execute/ieee: To here.
1996-03-26 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture: Update to c-torture-1.41 release.
1996-03-22 Jeffrey A Law (law@cygnus.com)
* lib/c-torture.exp (c-torture-execute): Remove "$executable",
not "$output".
1996-03-07 Doug Evans <dje@charmed.cygnus.com>
* lib/gcc.exp (default_gcc_start): Don't pass $LDFLAGS $LIBS if
-c present.
1996-03-02 Jeffrey A Law (law@cygnus.com)
* config/proelf.exp: Handle connecting to a simulator.
1996-01-31 Jeffrey A Law (law@cygnus.com)
* config/proelf.exp: New file. Enough framework that we can
run c-torture tests on the proelf targets (or any other target
that gdb can connect to for that matter).
1996-01-29 Doug Evans <dje@canuck.cygnus.com>
* gcc.c-torture/special/special.exp: Delete libs arg to dg-runtest.
* gcc.ph/testing/limits/limits.exp: Likewise. Don't pass $CFLAGS.
* lib/plumhall.exp (ph_execute): Always call ph_summary if
exec_output exists.
1996-01-28 Doug Evans <dje@charmed.cygnus.com>
* config/sim.exp (SIM_TIME_LIMIT): New user settable variable.
(${tool}_load): Use 240 seconds if SIM_TIME_LIMIT not set.
* config/*.exp: Update FSF address. Change result of ${tool}_load
to pass/fail/unresolved/unsupported/untested. Caller must now
call unresolved/unsupported/untested.
* lib/*.exp: Update FSF address. Update to handle new results of
${tool}_load.
* lib/chill.exp (verbose): Delete.
1996-01-27 Doug Evans <dje@charmed.cygnus.com>
* lib/gcc.exp (default_gcc_start): Change order of args to
$LDFLAGS $CFLAGS $LIBS.
* lib/gcc-dg.exp (gcc-dg-test): Arguments have changed, update.
Save/set/restore CFLAGS. Pass single arg to gcc_start.
* gcc.dg/dg.exp: Delete libs arg in call to dg-runtest.
(CC,CFLAGS,LIBS): Delete references. Don't pass $CFLAGS to dg-runtest.
* gcc.misc-tests/dg-test.exp: Likewise.
* gcc.misc-tests/msgs.exp: Likewise.
* gcc.prms/prms.exp: Likewise.
* gcc.misc-tests/gcov.exp: Delete libs arg in call to dg-runtest.
(CFLAGS,LIBS): Delete references. Don't pass $CFLAGS to dg-runtest.
* lib/dg.exp: Deleted, moved to dejagnu/lib.
1996-01-24 Brendan Kehoe <brendan@lisa.cygnus.com>
* g++.old-deja/old-deja.exp: Add passing of $mathlib to old-dejagnu.
* g++.old-deja/old-deja.exp: Move setting of runshlib from here...
* lib/old-dejagnu.exp (old-dejagnu-init): ...to here.
* lib/g++.exp (g++_init): Take out use of -rpath for the sun4, not
necessary.
1996-01-20 Brendan Kehoe <brendan@cygnus.com>
* g++.old-deja/old-deja.exp: Move setting of runshlib out of the
global for loop; add use of $mathlib.
* lib/old-dejagnu.exp (old-dejagnu-init): Put the runshlib
settings here; set mathlib for anything but VxWorks.
1996-01-22 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture: Update to c-torture-1.40 release.
1996-01-03 Jeffrey A Law (law@cygnus.com)
* gcc.ph/testing/limits/limits.exp: Load ${tool}-dg.exp, not
dg.exp.
1995-12-03 Jeffrey A. Law <law@sethra.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-execute): Declare "output" as
global.
1995-11-17 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp (LIBS): Define if not already.
* lib/gcc-dg.exp (gcc-dg-test): Set executable file as a.out.
(gcc-dg-prune): Call prune_gcc_output.
* lib/gcc.exp (prune_gcc_output): New proc.
* gcc.c-torture/special (921210-1.c): Call prune_system_crud and
prune_gcc_output.
1995-11-16 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-compile): Fix calls to `unsupported'.
(c-torture-execute): Likewise. Rename `name' to `testcase'.
1995-11-15 Jeffrey A Law (law@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture: Update to c-torture-1.39 release.
1995-11-04 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-execute): Don't return if one option
fails, try others as well.
1995-11-02 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-execute): This proc's result is `void'.
If compilation fails, mark execute tests as `untested'.
If test is marked as unsupported, don't mark compilation and
execute tests as failed.
1995-10-25 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp (g++_init): Don't link in libg++, and look to
libstdc++ for whether or not we want to be doing shared
libraries. Delete link_curses since we don't need it anymore.
* lib/mike-g++.exp (postbase): Don't link in libg++.
* g++.old-deja/old-deja.exp: Likewise.
1995-10-23 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp (CXX): Default to run `c++' instead of `g++'.
1995-10-17 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp (g++_init): Also check for libg++.sl for the hppa.
For that, add `-Wl,-a,shared_archive'.
* g++.old-deja/old-deja.exp: Likewise.
1995-10-17 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-execute): Ensure CFLAGS restored.
1995-10-16 Brendan Kehoe <brendan@cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp (postbase): Pay attention to the status of
g++_load.
1995-10-16 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* g++.old-deja/old-deja.exp: Add $LIBS at the end of the args.
1997-08-19 09:34:40 +02:00
1995-10-16 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (default_gcc_start): No longer need to log program
being executed or its output, execute_anywhere does that now.
* lib/g++.exp (default_g++_version): Call execute_anywhere.
(default_g++_start): Likewise. Delete calls to verbose/send_log.
1995-10-12 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* g++.old-deja/old-deja.exp: Updated the shared libg++ tests to be
the same as those in lib/g++.exp.
1995-10-10 Jeff Law (law@hurl.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture: Update to c-torture-1.38 release.
* gcc.ieee: Related changes.
1995-10-06 Rob Savoye <rob@darkstar.cygnus.com>
1997-08-19 09:34:40 +02:00
* mike-gcc.exp, mike-g++.exp: Use "execute_anywhere" rather than
"exec". Minor reformatting changes.
* config/rom68k.exp (${tool}_load): Make it work in a canadian
cross. This means all "exec" calls now work on a remote host as
well.
* lib/c-torture.exp (c-torture-compile): Make work for a canadian
cross. Filter out the extra "\r\n" stuff that expect puts in.
(c-torture-execute): Filter out the bogus warnings like
c-torture-compile does. Add support for canadian cross.
* lib/gcc.exp (default_gcc_version, default_gcc_start)
Use execute_anywhere rather than calling exec directly. Now it
works for canadian cross testing.
1995-10-05 Brendan Kehoe <brendan@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp: Add -nocomplain flag to glob. Use catch to put the
results into a variable, and check that rather than using file exists.
1995-10-04 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp: Use glob to see libg++.so.2.7.0, since sun4 doesn't
create a libg++.so. For sunos4.1.*, also add -ltermcap.
1995-09-26 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* g++.old-deja/old-deja.exp: Create and pass runshlib and
lib_curses if there's a shared libg++ in the build tree.
1995-09-22 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/mike-{gcc,g++}.exp (postbase): Restore CFLAGS, CXX_FLAGS, LIBS
if not supported target.
1995-09-22 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp (g++_init): Move empty setting of runshlib and
link_curses up to always happen, not just for native builds.
1995-09-21 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* gcc.c-torture: Update to c-torture-1.36 release.
* gcc.failure: Related changes.
1995-09-20 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/plumhall.exp (PHSRC, PHDST): Allow config files to override.
1995-09-19 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/g++.exp (g++_init): Put the shared and math lib stuff in here.
* lib/mike-g++.exp (postbase): Not in here. Still reference
runshlib, link_curses, and mathlib for link and run.
* lib/mike-g++.exp (postbase): If we've built a libg++.so, then
pass the runtime shared library options for Solaris, OSF/1, and
Irix5, and link with -lcurses to avoid unresolved references.
1995-09-13 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (gcc_init): Return if gcc_initialized is 1, so we
only run once.
1995-09-13 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-compile): Don't alter CFLAGS.
1995-09-11 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* gcc.c-torture: Update to c-torture-1.35 release. Note we
do not have a framework for the "compat" tests yet.
1995-09-09 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp (postbase): New local variable `mathlib',
set to null if we're testing vxworks5.1. Use that instead of
`-lm' in the setting of LIBS for link and run.
1995-09-08 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/rom68k.exp (${tool}_load): Major changes to make it
work. Verified that it does in fact return the stuff in
exec_output properly. Catch any Emul or any TRAP other than 0.
1995-09-07 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp (prebase): Call g++_init at the end to set
LDFLAGS properly for targets that need stuff from libgloss.
* lib/g++.exp (g++_init): Return if gpp_initialized is 1, so we
only run once.
(gpp_initialized): New variable.
1995-09-06 Rob Savoye <rob@darkstar.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/rom68k.exp: Load libgloss.exp.
* lib/gcc.exp (gcc_init): get proper flags for newlib and libgloss
so we can produce a fully linked binary.
* lib/g++.exp (g++_init): get proper flags for newlib and libgloss
so we can produce a fully linked binary.
1995-09-03 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/plumhall.exp (ph_section): Watch for expected failures.
Add missing `else'.
* lib/c-torture.exp (c-torture-execute): Look for .cexp files to
run the testcase.
(c-torture): Likewise.
1995-08-28 Doug Evans <dje@cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.dg/dg.exp (scan-assembler, scan-assembler-not): New procs.
* lib/mike-g++.exp (mike_cleanup): New proc.
(prebase): New globals compiler_result, not_compiler_result,
target_regexp.
(postbase): Likewise. Call mike_cleanup. Pass "--" to regexp to
allow leading "-" in pattern. Watch for unsupported tests.
If $compiler_result is set, pattern match assembler code,
and ditto for $not_compiler_result.
* lib/mike-gcc.exp: Likewise.
* lib/plumhall.exp (ph_execute): Only call ph_summary if
execution "succeeded".
1995-08-14 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/win32.exp: New file.
* lib/c-torture.exp (c-torture-execute): Handle $exe_ext.
1995-08-04 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc-dg.exp (gcc-dg-prune): Mark testcases that fill ram as
unsupported.
* lib/mike-{gcc,g++}.exp (postbase): Likewise.
* lib/{c-torture.exp,old-dejagnu.exp}: Likewise.
* lib/{gcc,g++}.exp (${tool}_check_untested_p): New proc.
* lib/mike-g++.exp (postbase): Delete alpha-*-* checking of
"... without exceptions was ...". That is now handled by
prune_system_crud.
* lib/old-dejagnu.exp (old-dejagnu): Likewise.
1995-08-01 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.misc-tests/{acker1.c,dhry.c,dhry.h,matrix1.c,optbench.c,
sieve.c,sort2.c}: New files.
* gcc.misc-tests/{acker1.exp,dhry.exp,matrix1.exp,optbench.exp,
sieve.exp,sort2.exp}: Drivers for them.
* lib/mike-gcc.exp (program_output): New user settable variable.
(postbase): Call prune_system_crud. Also prune extraneous compiler
messages.
* lib/mike-g++.exp (program_output): New user settable variable.
* gcc.misc-tests/mg.exp (compiler_output): Handle multiple lines.
* config/sh.exp: Deleted (use sim.exp instead).
1995-07-28 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/vx.exp: Declare CHECKTASK as global.
* config/vxworks29k.exp: Reduce to only set CHECKTASK, and load vx.exp.
* lib/mike-g++.exp: Load [pwd]/a.out, not `./a.out'.
* lib/old-dejagnu.exp: Load [pwd]/$executable.
1995-07-26 Brendan Kehoe <brendan@lisa.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/vxworks29k.exp: New file, for the a29k-vxworks5.1
target. Like vx.exp, only includes `vx29k.exp' instead of
`vxworks.exp'.
1995-07-23 Ian Lance Taylor <ian@cygnus.com>
1997-08-19 09:34:40 +02:00
* config/sim.exp: Increase time limit from 120 seconds to 240.
1995-07-06 Jeffrey A. Law <law@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/950628-1.c: New test.
1995-06-10 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* gcc.c-torture: Update with changes/additions from
c-torture-1.34.
1995-06-05 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.prms/prms.exp: Pass LDFLAGS to dg-test.
1995-06-04 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* gcc.c-torture/compile/funcptr-1.c: Test case for 7107.
1995-06-01 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* gcc.c-torture/compile/950512-1.c: New test.
* gcc.c-torture/execute/strct-pack-4.c, strct-pack-5.c}: Likewise.
* gcc.dg/struct-ret-1.c: Likewise.
1995-05-31 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/{920410-1.c,921113-1.c,921208-2.c,
930106-1.c,memcpy-1.c}: Use STACK_SIZE if defined.
1997-08-19 09:34:40 +02:00
1995-05-30 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/special/920411-1.c: Deleted.
* gcc.c-torture/special/special.exp: Delete 920411-1.c.
1995-05-22 Doug Evans <dje@chestnut.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/sim.exp (${tool}_load): Hack in call to bash to get a
cpu limit.
1995-05-12 Torbjorn Granlund <tege@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/{950511-1.c,950512-1.c}: New tests.
1995-05-04 Torbjorn Granlund <tege@adder.cygnus.com>
1997-08-19 09:34:40 +02:00
From kenner;
* gcc.c-torture/execute/va-arg-2.c (f[0-9], f1[0-5]): Verify format
is the proper length.
* va-arg-3.c: Likewise.
1995-04-30 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/dg.exp: Moved to dejagnu/lib. Copy kept here (for awhile).
* lib/gcc-dg.exp: New file, gcc interface to dg.exp.
* lib/gcc.exp (default_gcc_start): Delete old cruft. Delete result.
* lib/g++.exp (default_g++_start): Delete old cruft.
1995-04-25 Torbjorn Granlund <tege@cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/memcpy-1.c: Decrease stack requirements from
(2 * (1 << 18)) to (2 * (1 << 17)).
* gcc.c-torture/execute/arith-rand.c: Avoid -0x80000000/-1.
1995-04-20 J.T. Conklin <jtc@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/rom68k.exp: Renamed from config/idp.exp
1995-04-18 Torbjorn Granlund <tege@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* c-torture/compile/921109-2.c
1995-04-18 Mike Stump <mrs@cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp: We expect Execution test failure if we expected
excess errors.
1995-04-15 Doug Evans <dje@chestnut.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (default_gcc_start): Handle leading "-" in compiler
output.
* lib/g++.exp (default_g++_start): Likewise.
1995-03-29 Torbjorn Granlund <tege@adder.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/compile/950329-1.c: New test.
1995-03-28 J.T. Conklin <jtc@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/bug.exp (${tool}_load): Updated to use new remote_open
1997-08-19 09:34:40 +02:00
and remote_close procs.
* config/idp.exp: New file.
1995-03-22 Torbjorn Granlund <tege@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/950322-1.c: New test.
1995-03-21 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/vx.exp (${tool}_load): Clean up testing of return code from
vxworks_ld and vxworks_spawn.
1995-03-21 Doug Evans <dje@deneb.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-execute): Pass same text to pass/fail.
1995-03-13 Mike Stump <mrs@cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/old-deja.exp: Add `excess errors test - ' error, now one
can mark excess errors on a machine by machine basis. Note, the
default is to not expect any excess errors, even when excess
errors test - is given, so you will want to put an XFAIL ... on
these lines. For example, // excess errors test - XFAIL hppa*-*-*
mips-*-* alpha-*-* m68k-*-* is how to expect excess errors on
those 4 machines, but no others.
1995-03-10 J.T. Conklin <jtc@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/execute.exp (c-torture-execute): from here.
* lib/c-torture.exp: to here.
1995-03-10 Torbjorn Granlund <tege@adder.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/950221-1.c: New test.
* gcc.c-torture/execute/struct-ret-1.c: New test.
* gcc.c-torture/compile/950221-1.c: New test.
* gcc.c-torture/execute/941101-1.c (f): Fix typo, == was !=.
1995-03-03 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/arith-1.c (main): Return 0.
* gcc.c-torture/execute/arith-rand.c (main): Return 0.
1995-03-01 Gerald Baumgartner (gb@lorenzo.cs.purdue.edu)
1997-08-19 09:34:40 +02:00
* g++.gb: New directory of tests, derived from my signature and
class scoping tests.
* g++.gb/{sig01.C, sig02.C, sig03.C, sig04.C}: New tests.
* g++.gb/{sig05.C, sig06.C, sig07.C, sig08.C}: Likewise.
* g++.gb/{sig09.C, sig10.C, sig11.C, sig12.C}: Likewise.
* g++.gb/{sig13.C, sig14.C, sig15.C, sig16.C}: Likewise.
* g++.gb/{sig17.C, sig18.C, sig19.C, sig20.C}: Likewise.
* g++.gb/{sig21.C, sig22.C, sig23.C, sig24.C}: Likewise.
* g++.gb/sig25.C: Likewise.
* g++.gb/{sig01.exp, sig02.exp, sig03.exp, sig04.exp}: Run them.
* g++.gb/{sig05.exp, sig06.exp, sig07.exp, sig08.exp}: Likewise.
* g++.gb/{sig09.exp, sig10.exp, sig11.exp, sig12.exp}: Likewise.
* g++.gb/{sig13.exp, sig14.exp, sig15.exp, sig16.exp}: Likewise.
* g++.gb/{sig17.exp, sig18.exp, sig19.exp, sig20.exp}: Likewise.
* g++.gb/{sig21.exp, sig22.exp, sig23.exp, sig24.exp}: Likewise.
* g++.gb/sig25.exp: Likewise.
* g++.gb/{scope01.C, scope02.C, scope03.C, scope04.C}: New tests.
* g++.gb/{scope05.C, scope06.C, scope07.C, scope08.C}: Likewise.
* g++.gb/{scope09.C, scope10.C, scope11.C, scope12.C}: Likewise.
* g++.gb/scope13.C: Likewise, this test still fails.
* g++.gb/{scope01.exp, scope02.exp, scope03.exp, scope04.exp}: Run 'em.
* g++.gb/{scope05.exp, scope06.exp, scope07.exp, scope08.exp}: Ditto.
* g++.gb/{scope09.exp, scope10.exp, scope11.exp, scope12.exp}: Ditto.
* g++.gb/scope13.exp: Ditto.
* g++.gb/README: New file, explains what these tests are about.
1995-02-28 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/dg.exp (dg-do): Support `preprocess'.
(dg-test): Likewise.
1995-02-13 J.T. Conklin <jtc@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/udi.exp: change "continue -expect" to "exp_continue".
1995-02-11 Torbjorn Granlund (tege@tiny.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/{921025-1.c, 930525-1.c}:
Delete redundant tests.
* gcc.c-torture/execute/{941014-1.c, 941014-2.c}: New tests.
* gcc.c-torture/execute/{941015-1.c, 941021-1.c}: New tests.
* gcc.c-torture/execute/{941025-1.c, 941031-1.c}: New tests.
* gcc.c-torture/execute/{941101-1.c, 941110-1.c}: New tests.
* gcc.c-torture/execute/{941202-1.c, arith-1.c}: New tests.
* gcc.c-torture/execute/{arith-rand.c, complex-3.c}: New tests.
* gcc.c-torture/execute/{inst-check.c, loop-1.c}: New tests.
* gcc.c-torture/execute/{memcpy-1.c, va-arg-2.c}: New tests.
* gcc.c-torture/execute/920302-1.c: Use void * instead of long for
storing label pointers.
* gcc.c-torture/execute/921019-1.c: Likewise.
* gcc.c-torture/execute/920501-8.c: Add prototype for sprintf.
* gcc.c-torture/execute/930513-1.c: Provide full declaration for
parameter fp.
* gcc.c-torture/execute/va-arg-1.c (main): Add L suffix to all
constants.
* gcc.c-torture/compile/{920501-14.c, 931127-1.c}:
Delete obsolete tests.
* gcc.c-torture/compile/{940409-1.c, 940718-1.c}: New tests.
* gcc.c-torture/compile/{941014-1.c, 941014-2.c}: New tests.
* gcc.c-torture/compile/{941014-3.c, 941014-4.c}: New tests.
* gcc.c-torture/compile/{941019-1.c, 941111-1.c}: New tests.
* gcc.c-torture/compile/{941113-1.c, 950122-1.c}: New tests.
* gcc.c-torture/compile/950124-1.c: New test.
* gcc.c-torture/compile/920902-1.c: Delete 2:nd parameter.
1995-02-08 Jason Merrill <jason@phydeaux.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp: Add -lm to LIBS.
1995-02-07 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture): Allow relative pathname in $srcdir.
1995-01-30 Jason Merrill <jason@phydeaux.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp: Add -lstdc++ to LIBS.
1995-01-12 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.misc-tests/dg-test.exp: Only run if $DG_TEST=yes.
1995-01-02 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* g++.law/{arg9.C, arg10.C, arg11.C, arm15.C, arm16.C}: New tests.
* g++.law/{bad-error3.C, bad-error4.C, bad-error5.C}: Likewise.
* g++.law/{bad-error6.C, bad-error7.C}: Likewise.
* g++.law/{bit-fields3.C, casts2.C, casts3.C}: Likewise.
* g++.law/{enum8.C, enum9.C, friend5.C}: Likewise.
* g++.law/{nest2.C, nest3.C, nest4.C, nest5.C}: Likewise.
* g++.law/{nest6.C, next7.C, operators30.C}: Likewise.
* g++.law/{operators31.C, operators32.C,
1997-08-19 09:34:40 +02:00
* g++.law/{operators33.C, operators34.C}: Likewise.
* g++.law/{pic1.C, refs2.C}: Likewise.
* g++.law/{refs3.C, refs4.C, static-mem3.C}: Likewise.
* g++.law/{static-mem4.C, static-mem5.C, typeck4.C}: Likewise.
* g++.law/{vbase1.C, visibility27.C, visibility28.C}: Likewise.
* g++.law/{vtable2.exp, vtable3.exp}: Likewise.
* g++.law/{arg9.exp, arg10.exp, arg11.exp, arm15.exp}: Run them.
* g++.law/{arm16.exp, bad-error3.exp, bad-error4.exp: Likewise.
* g++.law/{bad-error5.exp, bad-error6.exp}: Likewise.
* g++.law/{bad-error7.exp, bit-fields3.exp}: Likewise.
* g++.law/{casts2.exp, casts3.exp, enum8.exp}: Likewise.
* g++.law/{enum9.exp, friend5.exp}: Likewise.
* g++.law/{nest3.exp, nest4.exp}: Likewise.
* g++.law/{nest5.exp, nest6.exp, nest7.exp}: Likewise.
* g++.law/{operators30.exp, operators31.exp}: Likewise.
* g++.law/{operators32.exp, operators33.exp}: Likewise.
1997-08-19 09:34:40 +02:00
* g++.law/{operators34.exp}: Likewise.
* g++.law/{pic1.exp, refs2.exp, refs3.exp refs4.exp}: Likewise.
* g++.law/{static-mem3.exp, static-mem4.exp}: Likewise.
* g++.law/{static-mem5.exp, typeck4.exp, vbase1.exp}: Likewise.
* g++.law/{visibility27.exp, visibility28.exp}: Likewise.
* g++.law/{vtable2.exp, vtable3.exp}: Likewise.
* g++.law/{union4.exp, visibility17.exp}: Fix expected output.
No longer expected to fail.
* g++.law/missed-error3.C: Tweak for recent bool changes.
1994-12-04 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/emb-unix: Deleted.
* config/unix.exp (${tool}_load): Use new proc rsh_exec to perform
remote execution. Do final link on remote host if REMOTE_LINK is set.
1994-12-01 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/dg.exp (dg-test): Fix typo in last patch.
1994-11-30 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/dg.exp (dg-test): Fix pattern that searches for expected output
(handles multiple occurrences).
1994-11-24 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/*/*.exp: Pass full pathname to c-torture.
* gcc.c-torture/execute/execute.exp (c-torture-execute): Remove
$srcdir from pathname in pass/fail messages (but ensure $subdir *is*
printed).
* lib/c-torture.exp (c-torture-compile): Likewise.
(c-torture): Prepend full path if missing.
* lib/gcc.exp (gcc_pass): Pass entire pathname of testcase.
(gcc_fail): Likewise.
* lib/dg.exp (dg-test): Don't delete $subdir from pathname in messages.
1994-11-23 J.T. Conklin <jtc@rtl.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/netware.exp: Only attach to NetWare i386 systems.
1994-11-16 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/dg.exp (dg-test): Don't print $subdir (or above) in pass/fail
messages. Add test name to "output pattern match" pass/fail message.
1994-11-12 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.dg: New testsuite.
* gcc.dg/dg.exp: New file.
* gcc.misc-tests/{misc.exp,inst-check.c,test-ior.c,test-consts.c,
test-switch.c}: Deleted.
* gcc.misc-tests/msgs.exp: New testcase driver.
1994-11-09 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.c-torture/execute/execute.exp (c-torture_execute): New proc.
Watch for illegal return values from ${tool}_load.
* config/unix.exp (${tool}_load): Fix pass/fail detection for
cross targets. Coerce return value >0 to 1.
1994-11-08 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/unix.exp (${tool}_load): Call program rsh, not proc.
* config/emb-unix.exp: New file.
* config/sim.exp: Error if variable $SIM not defined.
(${tool}_load): Mark test as "untested" if simulator missing.
* config/unix.exp: Load remote.exp to get rcp_download.
* lib/c-torture.exp: Use different option lists for testcases with
and without loops.
* gcc.c-torture/execute/execute.exp: Likewise.
1994-11-02 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* config/*.exp: Clarify return code from ${tool}_load.
Call `unresolved' or `untested' instead of `warning' or `perror'
(sometimes you still want to call both though).
Add comment that `shell_id' is local to each file.
* config/udi.exp (timeout): Set to 30.
Don't print warning if connection fails, $connectmode has already
printed an error.
(${tool}_load): Move verbose messages to level 2.
Rework pattern for "Process started" message.
Pass `shell_id' to ${connectmode}_download.
Retry twice upon timeout. Make resetting of target more robust.
(${tool}_exit): Remove /tmp/soc_name. if connected ok (bug in mondfe).
Pass `shell_id' to exit_$connectmode.
Only call exit_$connectmode if connected.
* config/unix.exp (${tool}_load): Check return codes better.
* config/vrtx.exp (${tool}_load): Likewise.
* config/vx.exp (${tool}_load): Likewise.
Delete unneeded global's.
* lib/dg.exp (dg-test): Update to reflect clarified return codes
from ${tool}_load.
(dg-stat): Delete.
(dg-init): Delete recording of pass/fail counts.
* lib/old-dejagnu.exp (old-dejagnu): Likewise.
(old-dejagnu-init): Likewise.
(old-dejagnu-stat): Delete contents, empty proc now.
* lib/c-torture.exp (TORTURE_OPTIONS): New global.
(c-torture): Delete references to lcnt, lpass, lfail.
Get option list from TORTURE_OPTIONS.
Delete -funroll[-all]-loops if no loops.
* lib/g++.exp (g++_init): Delete references to lcnt, lpass, lfail.
(g++_stat): Delete contents (empty proc now).
* lib/gcc.exp (gcc_init): Delete references to pass/fail counts.
(gcc_finish): Likewise.
(gcc_stat): Deleted.
* lib/mike-gcc.exp (postbase): Delete references to lcnt, lpass, lfail.
* gcc.*/*.exp: Delete calls to gcc_stat, dg-stat.
* gcc.c-torture/execute/execute.exp: Likewise.
Split tests into two parts: compile, execute.
Get option list from TORTURE_OPTIONS. Delete -funroll[-all]-loops if
no loops. Update to reflect clarified return codes from ${tool}_load.
1994-10-21 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp (process-option): Append ".*" to pattern
to grep for.
(old-dejagnu): Likewise (where necessary).
1994-10-14 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* gcc.misc-tests/gcov.exp: New file, for gcov testing.
* lib/dg.exp (dg-process-target): Fix processing of selector.
Add comment regarding use of `error'.
* lib/gcc.exp (prune_system_crud): Define if missing.
* lib/g++.exp (prune_system_crud): Likewise.
* lib/{c-torture.exp,dg.exp,mike-g++.exp,old-dejagnu.exp}:
Call prune_system_crud.
* lib/dg.exp (dg-runtest): New proc.
Use perror instead of send_user for tcl errors in testcase.
Don't return any value, it's never used.
Don't clobber previous definition of `unknown'.
Print tcl errors in `dg-final'.
1994-10-12 Doug Evans <dje@canuck.cygnus.com>
1997-08-19 09:34:40 +02:00
* lib/dg.exp (dg-process-target): Improve syntax error messages.
(dg-test): Don't print errorInfo, it contains stack backtrace.
1994-09-26 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/g++.exp (runtest_file_p): Define if missing.
1994-09-24 Doug Evans (dje@cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp: Comment out loading of g++.exp.
* lib/g++.exp: Update copyright. Test for existence of $CXX at start.
(default_g++_version): Always print something.
(default_g++_start): Comment out call to `which'.
(g++_start, g++_load): Deleted (must be defined in config file).
* lib/gcc.exp: Test for existence of $CC at start.
Delete check for tmpdir (done in gcc_init).
(default_gcc_version): Always print something.
(default_gcc_start): Comment out call to `which'.
* config/*.exp: Major cleanup - make cross targets work at least a
little better for g++ (by not being "--tool gcc" specific).
Rename gcc_xxx to ${tool}_xxx.
* g++.old-deja/old-deja.exp: utils.exp is loaded by runtest.exp.
* lib/old-dejagnu.exp: ${tool}.exp is loaded by config file.
1994-09-22 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture-compile): Rework compiler
message processing.
* gcc.c-torture/compile/initbug1.{c,exp}: Deleted, not part of
c-torture.
1994-09-21 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.wendy/wendy.dis: Renamed from wendy.exp to disable the testsuite.
* lib/dg.exp (dg-process-target): Support { target native }.
1994-09-20 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/dg.exp (dg-test): Clean up some comments. Delete code that
looked for "... program xxx got fatal signal".
Correct regsub munging of `comp_output'.
Ignore compiler messages "path prefix not used" and "linker input
file unused".
1994-09-14 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (runtest_file_p): Define if missing.
* gcc.prms/template.c: Example to work from.
1994-09-13 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (gcc_finish): Delete code to update `testcnt'.
* lib/dg.exp (dg-test): Call unsupported testcases as such.
* gcc.prms/{3324.c,3565.c}: Moved from compile/940713-[12].c.
* gcc.prms/1883.c: Moved from compile/940714-1.c.
* gcc.prms/{5012.c,4453.c,4723.c,2541.c}: Moved from
execute/{940712-1.c,940712-2.c,940713-1.c,940714-1,c}.
* lib/dg.exp (user option docs): Clean up docs on target/xfail option.
(dg-process-target): No longer a varargs proc.
Return S/N for target, P/F for xfail. All callers changed.
(user option procs): More argument checking.
(dg-do): `dg-do-what' now contains 3 elements {what flag P/F}.
(dg-output): `dg-output-text' now contains 2 elements {P/F text}.
(dg-test): Skip test if not running on selected target in `dg-do'.
Update handling of `dg-do-what', `dg-output-text'.
Separate execution pass/fail from output pattern match pass/fail.
Delete BUILD/XBUILD support (duplicate of LOSE/XLOSE).
1994-09-12 Jim Wilson (wilson@sphagnum.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture/special/special.exp: Don't expect failure for mips
target for 920510-1.c.
1994-09-12 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (gcc_init): Move initialized message to verbose level 3.
Clean up comment regarding use of passcnt, etc.
(gcc_stat): Don't update `testcnt' here.
(gcc_finish): Do it here.
Might as well reset `but_id' here too.
* gcc.c-torture/code_quality/code_quality.exp: Call `runtest_file_p'
to determine if the file should be tested.
* gcc.c-torture/compile/compile.exp: Likewise.
* gcc.c-torture/execute/execute.exp: Likewise.
* gcc.c-torture/unsorted/unsorted.exp: Likewise.
* gcc.misc-tests/dg-test.exp: Likewise.
* gcc.prms/prms.exp: Likewise.
* gcc.wendy/wendy.exp: Likewise.
* g++.old-deja.exp: Likewise.
Move "Testing file" message to verbose level 1.
1994-09-09 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.wendy/t.c: Add DEJAGNU_CFLAGS:"-DNOPAUSE".
1994-09-08 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Ensure CFLAGS, LIBS, and LDFLAGS are set.
(default_gcc_start): Accept optional second list element
of compiler flags. Print compiler output at verbosity level 2.
Remove setting of CFLAGS, LIBS, LDFLAGS from here.
(gcc_init): Delete globals lcnt, lpass, lfail, lxpass, lxfail.
Save current values of framework globals passcnt, failcnt, xpasscnt,
and xfailcnt in gcc_passcnt, gcc_failcnt, gcc_xpasscnt, and
gcc_xfailcnt. Set global `tmpdir' to /tmp if it doesn't exist.
(gcc_stat): Use framework globals passcnt, failcnt, xpasscnt, and
xfailcnt to compute stats. Update framework global `testcnt' from
pass/fail counts.
(gcc_finish): New proc. Clean up test environment.
(gcc_cpass, gcc_cfail): Rename to gcc_pass/gcc_fail.
(gcc_epass, gcc_efail): Delete.
* lib/dg.exp (dg-error, dg-warning, dg-bogus): Accept optional 5th
argument of line number.
(dg-init): If the tool has an init routine, call it.
(dg-test): Remove args `cflags_var' and `libs_var'.
Pass all compiler options to ${tool}_start.
Handle missing line number.
(dg-finish): New function.
* gcc.c-torture/code_quality/code_quality.exp: Add support for testing
particular files. Call gcc_finish at end. Move "skipping test"
message to verbosity level 3.
* gcc.c-torture/compile/compile.exp: Likewise.
* gcc.c-torture/unsorted/unsorted.exp: Likewise.
* gcc.c-torture/execute/execute.exp: Likewise.
Delete setting of prms_id, bug_id, lcnt, lfail, lpass.
Print testcase being tried at verbosity level 1.
* gcc.c-torture/special/special.exp: Unset xfail.
Delete setting of prms_id, bug_id, lcnt, lfail, lpass.
* gcc.c-torture/compile/initbug1.exp: Call gcc_finish.
* gcc.c-torture/noncompile/noncompile.exp: Likewise.
* gcc.failure/failure.exp: Likewise.
* gcc.ieee/ieee.exp: Likewise.
* gcc.misc-tests/dg-test.exp: Delete LDFLAGS.
Update call to dg-test. Call dg-finish at end.
* gcc.misc-tests/mg.exp: Call gcc_finish at end. Unset orig_flags.
Delete setting of prms_id, bug_id, lcnt, lfail, lpass.
* gcc.misc-tests/misc.exp: Call gcc_finish at end.
* gcc.prms/prms.exp: Delete loading of utils.exp (redundant).
Delete LDFLAGS. Update call to dg-test. Call dg-finish at end.
* gcc.wendy/wendy.exp: Add copyright.
Delete setting of tmpdir (done by gcc_init).
Call gcc_pass/gcc_fail instead of gcc_[ce]pass/fail.
Pass compiler flags to gcc_start. Call gcc_finish at end.
* lib/c-torture.exp: Call gcc_pass/gcc_fail instead of
gcc_[ce]pass/fail.
1994-09-07 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/g++.exp (g++_start): Rename arg to `prog' to avoid varargs
confusion.
(g++_load): Likewise.
* config/*.exp (gcc_load): Some were varargs fns and some were not.
Rename argument to `prog' to remove the confusion.
Varargs fns behave differently too!
(g++_load): Likewise.
* lib/dg.exp (dg-stat): Correct calculation of npass, nfail.
* config/unix.exp (gcc_load): Rename `args' to `prog' because that's
what it is. Delete (always) printing of status value for !native.
Simplify verbose code, and include status and exec_output.
(g++_load): Use gcc_load.
1994-09-04 Jim Wilson (wilson@sphagnum.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.c-torture/noncompile/920928-1.c: Delete obsolete file.
* gcc.c-torture/noncompile/noncompile.exp: Delete support for
920928-1.c, 921017-1.c, 940712-1.c, 940714-1.c, 940714-2.c,
940714-3.c as these testcases don't exist anymore. Make
va-arg-1.c expected to pass.
1994-08-19 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.misc-tests/misc.exp: Only run specific testcases.
* gcc.misc-tests/dg-test.exp: New file. Tests dg.exp.
* gcc.misc-tests/dg-[1-9].c: New files.
* lib/dg.exp: New testsuite driver.
* gcc.prms/prms.exp: Use it.
* README.gcc: New file.
* lib/gcc.exp (gcc_init): Delete srcdir, no longer referenced.
Document and reset `lxpass' and `lxfail'.
Simplify "initialized" message.
(gcc_stat): Clean up comments a little.
1994-08-16 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.prms/prms.exp: New driver for gcc.prms testsuite directory.
1994-08-15 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp (process-option): New proc.
(old-dejagnu-init, old-dejagnu-stat): Likewise.
(old-dejagnu): Simplify.
* g++.old-deja/old-deja.exp: Update to new version of old-dejagnu.
1994-08-14 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp (c-torture): Only call setup_xfail if $xfail
exists and is not an empty string.
* gcc.c-torture/special/special.exp (920520-1.c, 930510-1): Set
$xfail rather than calling setup_xfail. Clear $xfail when test is
finished.
(920717-x.c): Add $srcdir/$subdir as "gcc_start" does not do it
automatically.
* gcc.c-torture/noncompile/noncompile.exp (940712-1 test): No
longer expected to fail.
* gcc.c-torture/execute/strct-pack-3.c: Add missing argument to
1997-08-19 09:34:40 +02:00
"f" function call.
* gcc.misc-tests/mg.exp: Call gcc_stat when finished.
* gcc.c-torture/execute/{920202-1.c, 931208-1.c, 931228-1.c,
940115-1.c, 940122-1.c, bf-pack-1.c, bf64-1.c, comp-goto-1.c,
complex-2.c, packed-1.c, strct-pack-2.c strct-pack-3.c,
struct-ini-2.c, struct-ini-3.c, va-arg-1.c}: Import from
c-torture-1.29.
* gcc.c-torture/execute/{nest-stdar-1.c, struct-ini-1.c,
strct-pack-1.c, strct-varg-1.c}: Renamed to match c-torture-1.29.
* gcc.c-torture/execute/920612-2.c: Update to c-torture-1.29.
* gcc.c-torture/noncompile/{931203-1.c, 940112-1.c, 940227-1.c,
940510-1.c, init-1.c, init-2.c}: Import from c-torture-1.29
* gcc.c-torture/compile/{920928-6.c, 931203-1.c, 940611-1.c,
940712-1.c, calls.c, combine-hang.c, goto-1.c, init-2.c,
labels-1.c, packed-1.c, zero-strct-1.c}: Import from c-torture-1.29.
1994-07-12 Jim Kingdon (kingdon@lioth.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.execute/{940712-1.c, 940712-2.c, 940713-1.c, 940714-1.c},
gcc.noncompile/{940712-1.h, 940712-1a.h, 940712-1b.h, 940712-1.c,
940714-1.c, 940714-2.c, 940714-3.c},
gcc.compile/{940713-1.c, 940713-2.c, 940714-1.c},
gcc.misc-tests/{mg.c,mg.exp}:
New tests.
* gcc.noncompile/noncompile.exp: Change accordingly.
1994-07-07 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/sim.exp, lib/c-torture.exp, lib/gcc.exp:
Undo previous clobberage.
1994-07-04 Jeff Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* gcc.compile/{931102-1.c, 931102-2.c, 931031-1.c}:
* gcc.special/{930510-1.c, special.exp}:
* gcc.execute/{931031-1.c, 931110-1.c, 931110-2.c, 931102-1.c,
931102-2.c, struct-pack-1.c, divmod-1.c, complex-1.c,
struct-varargs-1.c}: New tests from c-torture-1.26.
1994-06-28 J.T. Conklin (jtc@phishhead.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.wendy/wendy.exp: add --'s so that -1 isn't parsed as an
argument to switch.
1994-05-21 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
* Revert the previous changes. Please see Rob's directory
(/lisa/test/rob/progressive/gcc/testsuite) for testing
fixes.
1994-05-19 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/sim.exp, config/udi.exp, config/unix.exp, config/vx.exp,
g++.brendan/alignof.exp, g++.brendan/arm3.exp, g++.brendan/code-gen5.exp,
g++.brendan/crash29.exp, g++.brendan/crash5.exp, g++.brendan/cvt3.exp,
g++.brendan/delete1.exp, g++.brendan/nest12.exp, g++.brendan/nest13.exp,
g++.brendan/overload3.exp, g++.brendan/redecl1.exp, g++.brendan/visibility2.exp,
g++.jason/cond.exp, g++.jason/hmc1.exp, g++.jason/report.exp,
g++.law/access1.exp, g++.law/access2.exp, g++.law/arg6.exp,
g++.law/arg7.exp, g++.law/arg8.exp, g++.law/arm1.exp,
g++.law/arm10.exp, g++.law/arm4.exp, g++.law/arm5.exp,
g++.law/ctors15.exp, g++.law/ctors19.exp, g++.law/cvt1.exp,
g++.law/cvt12.exp, g++.law/cvt13.exp, g++.law/cvt18.exp,
g++.law/cvt22.exp, g++.law/cvt3.exp, g++.law/cvt5.exp,
g++.law/cvt6.exp, g++.law/cvt8.exp, g++.law/dtors3.exp,
g++.law/except1.exp, g++.law/except3.exp, g++.law/except4.exp,
g++.law/except5.exp, g++.law/except6.exp, g++.law/init5.exp,
g++.law/init8.exp, g++.law/inline4.exp, g++.law/memoized1.exp,
g++.law/missing1.exp, g++.law/operators14.exp, g++.law/operators18.exp,
g++.law/operators9.exp, g++.law/scope2.exp, g++.law/temps2.exp,
g++.law/temps3.exp, g++.law/temps5.exp, g++.law/typeck2.exp,
g++.mike/misc4.exp, g++.mike/misc6.exp, g++.niklas/t118.exp,
g++.niklas/t128.exp, g++.niklas/t138.exp, g++.niklas/t139.exp,
g++.niklas/t140.exp, g++.niklas/t141.exp, gcc.code_quality/code_quality.exp,
gcc.compile/compile.exp, gcc.dje/dje.exp, gcc.execute/execute.exp,
gcc.failure/failure.exp, gcc.ieee/ieee.exp, gcc.noncompile/noncompile.exp,
gcc.special/special.exp, gcc.unsorted/unsorted.exp, lib/c-torture.exp,
lib/chill.exp, lib/g++.exp, lib/gcc.exp, lib/mike-g++.exp, lib/mike-gcc.exp,
lib/old-dejagnu.exp: Checkin Rob's 94Q1 testing changes.
1997-08-19 09:34:40 +02:00
1994-05-17 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/udi.exp, gcc.execute/execute.exp, gcc.wendy/wendy.exp,
lib/g++.exp, lib/old-dejagnu.exp: Replace error proc calls
1997-08-19 09:34:40 +02:00
with perror calls.
1994-05-02 Jason Merrill (jason@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/unix.exp (g++_load): Fix syntax.
1994-04-14 Jim Wilson (wilson@sphagnum.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.compile/initbug1.exp (CFLAGS): Add space at beginning.
* gcc.noncompile/921017-1.c: Deleted obsolete test.
* gcc.noncompile/noncompile.exp: Remove code for deleted test.
Don't expect va-arg-1.c to fail. Correct expected output for
920928-1.c.
* gcc.wendy/d.c, msgs.c, prolog.c, subs.c, z.c: Deleted.
* gcc.wendy/hbm4.c: Correct typo.
* gcc.wendy/tad1.c, tad2.c: Correct expected output.
1994-03-28 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp (gcc_[ce]{pass,fail}): Remove output/executable argument.
* gcc.wendy/wendy.exp (wendy_try): Remove `output' argument of
gcc_[ce]{pass,fail}. Explicitly remove executable if test passes.
* lib/c-torture.exp (c-torture-compile): Ditto.
Reduce volume of output (remove all the -I's and such).
* lib/c-torture.exp (c-torture-compile): New argument OPTION.
Call gcc_cpass, gcc_cfail.
(c-torture): Pass testing option to c-torture-compile.
1994-03-21 Doug Evans (dje@cygnus.com)
1997-08-19 09:34:40 +02:00
Bring patches over from progressive.
* config/default.exp: Exit remote shell cleanly.
(g++_exit, g++_start): Add default versions.
* config/sim.exp (gcc_load): Use perror, not error.
1994-03-20 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Don't set CFLAGS if CC not set. It clobbers the value
set in site.exp.
1994-03-14 Doug Evans (dje@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.wendy/wendy.exp (wendy_first_line): New proc to fetch
DEJAGNU_OUTPUT and DEJAGNU_CFLAGS.
(wendy_try): New proc to run testcase.
(main loop): Call 'em.
* gcc.wendy/*.c: Clean up pass to correct expected output.
* lib/gcc.exp: Minor cleanup work.
(gcc_cpass, gcc_cfail, gcc_epass, gcc_efail): New procs.
1994-03-09 Doug Evans (dje@canuck.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/sim.exp (gcc_load): Document return codes better.
Don't pass -v to simulator.
1994-02-24 Jeffrey A. Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* gcc.special/920717-x.c: Fix typo.
* gcc.special/special.exp (920717-x.c): Use $srcdir/$subdir to
get at sources.
1997-08-19 09:34:40 +02:00
* lib/mike-gcc.exp: Fix typo.
1994-02-15 Rob Savoye (rob@darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Minor cleanup work. Find the proper gcc or g++
binary to use, transform the name.
* config/*.exp: rename everything. Nuke any g++ specific files,
it's now a special case of gcc that requires no special support.
Add a default.exp for unsupported targets.
1994-02-11 Rob Savoye (rob@poseidon.cygnus.com)
1997-08-19 09:34:40 +02:00
* g++.jason/report.exp, g++.old-deja/old-deja.exp,
lib/old-dejagnu.exp: Fix a few patterns to work with the new
version of Tcl.
1994-02-09 Rob Savoye (rob@darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp: Made "file prefix*never used a pass, rather
than a warning.
1994-02-06 Jeffrey A. Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* lib/mike-gcc.exp: Add in recent changes from mike-g++.exp.
1994-01-03 Jim Wilson (wilson@sphagnum.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.execute/execute.exp: Combine opt_list and foption_list into
option_list. Compile every file with only 4/6 option choices
(same as C torture) instead of with 12/18 different option
choices.
* lib/c-torture.exp: Likewise.
* lib/gcc.exp: Set LIBS, CFLAGS, and LDFLAGS to empty strings if
not already set.
1993-12-30 Mike Stump (mrs@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/old-deja.exp: Add `excess errors test fails' error, now one
can put an XFAIL *-*-* on excess errors.
1993-12-19 Jeffrey A. Law (law@snake.cs.utah.edu
1997-08-19 09:34:40 +02:00
* g++.law: Add more tests derived from g++-bugs snapshots.
* g++.law/init11.{c,exp}: Delete test. Brendan sez it's
1997-08-19 09:34:40 +02:00
equivalent to g++.law/init9.
* lib/mike-gcc.exp (postbase): Delete the .o file after we've
compiled it, and the a.out file after we've run it.
1993-12-17 Brendan Kehoe (brendan@lisa.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp (postbase): Delete the .o file after we've
compiled it, and the a.out file after we've run it.
1993-12-17 Jeffrey A. Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* g++.law/*.exp: Avoid losing arguments added via "append" commands.
1993-12-15 Rob Savoye (rob@darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp, lib/g++.exp: Use catch rather than exec to get the
version number.
1997-08-19 09:34:40 +02:00
1993-12-12 Jeffrey A. Law (law@snake.cs.utah.edu)
1997-08-19 09:34:40 +02:00
* g++.law: New directory of g++ tests derived from the g++-bugs
snapshots.
1993-12-09 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.compile: initbug1.c initbug1.exp testcase added
1993-12-06 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.dje/sizetype-1.exp, dje.exp: minor clean ups
* gcc.execute/execute.exp: minor cleanups. added gcc_stat calls. added
fixes submitted by Jeff Law (law@cs.utah.edu)
* gcc.noncompile/noncompile.exp, lib/mike-gcc.exp: new files from
Jeff Law (law@cs.utah.edu)
1993-11-30 Mike Stump (mrs@cygnus.com)
1997-08-19 09:34:40 +02:00
* config/unix-g++.exp: Follow the gcc way of doing things.
* g++.old-deja/old-deja.exp: Minor updates.
* lib/g++.exp: New file, follow the gcc way of doing things.
* lib/old-dejagnu.exp: Minor updates.
* lib/mike-g++.exp: Always unset errorInfo.
1993-11-06 Mike Stump (mrs@cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Fix some errors with the below change, CC and
CFLAGS should be global when setting, not local.
1993-11-03 Rob Savoye (rob@darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Transform tool name.
1993-10-27 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.*/*.exp: Fixd some de-stablizing changes. Sorry.
1993-10-27 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: change gcc_done to gcc_stat
1993-10-27 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* Upgraded gcc testsuite to c-torture version 1.25
1993-10-24 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: added reporting code. Changed verbose compile message.
* lib/c-torture: added hooks for new reporting code.
1993-10-21 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* config/sh-gcc.exp: check if sh-sim exists in the path
1993-10-18 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.code_quality/code_quality.exp: Initial changes for new logic.
* gcc.compile/compile.exp: Initial changes for new logic.
* gcc.dje/dje.exp, sizetype-1.exp: Initial changes for new logic.
* gcc.failure/failure.exp: Initial changes for new logic.
* gcc.ieee/ieee.exp: Initial changes for new logic.
* gcc.misc-tests/misc.exp: Initial changes for new logic.
* gcc.noncompile/non_compile.exp: Initial changes for new logic.
* gcc.unsorted/unsorted.exp: Initial changes for new logic.
* lib/c-torture.exp: Initial changes for new logic.
* lib/gcc.exp: Initial changes for new logic.
1993-10-15 Mike Stump (mrs@cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp, lib/old-dejagnu.exp: Make the message not
depend upon failure or success. Fully qualify names in failure
and success messages. Always remove a.out before starting
compile, just in case. Pay more attention to error text output by
the compiler. Handle testcases with no known past errors just
like all others, so that things are uniform. Other miscellaneous
improvements.
1993-10-13 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.cpp: new directory for cpp tests
1993-10-04 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/chill.exp: Code reformatted, removed unused code.
* config/unix-chill.exp: Code reformatted, removed unused code.
* chill.execute/execute.exp: Code reformatted, removed unused code.
* chill.execute/oe/orient.exp: Code reformatted, removed unused code.
1993-10-04 Ian Lance Taylor (ian@cygnus.com)
1997-08-19 09:34:40 +02:00
* config/mips-gcc.exp, config/mips-g++.exp: New files. Execution
routines not written.
1993-09-27 Rob Savoye (rob@darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/bug-gcc.exp: Use new procs from bug.exp.
1993-09-21 Rob Savoye (rob@darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/vx-gcc.exp: Use new vxworks_ld proc, so files get loaded
via ftp, rather than depending on NFS.
* config/vx-gcc.exp: Use new vxworks_spawn proc to execute test
case.
1993-09-09 Rob Savoye (rob@darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* config/bug-gcc.exp: Use new download proc.
1993-09-14 Jeffrey Wheat (cassidy at deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* chill.execute/execute.exp: cleanups, handles errors better
* chill.compile/compile.exp: rewrite, based on execute.exp
* chill.noncompile/noncompile.exp: rewrite, based on execute.exp
* lib/chill.exp: major changes to diff proc and compile and link
procs. added chill_fail and chill_pass wrappers to pass and
fail. added more comments, and handle error codes better.
1997-08-19 09:34:40 +02:00
Added a hack to capture stderr from exec, so noncompile tests
can work.
1993-09-11 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* chill.execute/execute.exp: rewrite of testsuite driver
* lib/chill.exp: rewrite of testsuite driver
* config/unix-chill.exp: rewrite of testsuite driver
1993-08-25 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
In chill.execute:
* iexpr.ch: Standardize uppercase.
* tuples.dat: Standardize uppercase.
* vary.ch: standardize. Correct varying string assignments.
* vary.dat: Add new output lines.
1993-08-24 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
In chill.execute:
* chprintf.ch: Standardize use of uppercase.
* tuples.ch: Standardize and turn arr2 into a DCL,
rather than a SYN.
* pinits.ch: Standardize.
1993-08-23 Per Bothner (bothner@kalessin.cygnus.com)
1997-08-19 09:34:40 +02:00
* rts.c: Get malloc() from <stdlib.h>, not <malloc.h>.
* Makefil: Renamed to Makefile.in.
* configure.in: New.
1993-08-23 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
In chill.execute:
* .cvsignore: Add result/output files.
* Makefile: Fix up variables at start. Use MFLAGS
everywhere. Correct bool_loc, built_ins entries.
Add entry for vary1.ch.
* bitarray.ch: Standardize upper-case usage.
* bitexpr.ch: Standardize, add output of b1.
* params.ch: Use arrayt in along PROC parameters, to
avoid novelty problems.
* sets.ch: Tiny cleanup.
* vary1.ch: Re-indent.
1993-08-17 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
* Add PR-related files to Makefiles, .cvsignore files, etc.
1997-08-19 09:34:40 +02:00
1993-08-02 Jeff Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.unsorted: flow.c and loop.c - renamed to avoid conflicts
with compiler objects. New names are test-flow.c and test-loop.c
1993-07-27 Jeff Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* Upgraded c-torture tests from 1.19 to 1.20
* new files:
* gcc.compile: 930609-1.c 930611-1.c 930618-1.c 930621-1.c
* gcc.compile: 930623-1.c 930623-2.c
1997-08-19 09:34:40 +02:00
* gcc.noncompile: 930622-1.c 930622-2.c
* gcc.failure: 920411-1.c 920627-2.c
* gcc.ieee: 920518-1.c 920810-1.c 930529-1.c
1993-07-20 Jeff Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* chill.compile/compile.exp chill.execute/execute.exp lib/chill.exp
More changes to get testsuite working properly. Needs more work.
Added some support for POSIX IEEE Std 1003.3-1991 error messages.
1993-07-19 Jeff Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* chill.compile/compile.exp chill.execute/execute.exp lib/chill.exp
More changes to get testsuite working properly. Needs more work.
1993-07-13 Jeff Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* chill.compile/compile.exp: Added for Dejagnu support
* chill.execute/execute.exp: Added for Dejagnu support
* lib/chill.exp config/unix-chill.exp : Added for Dejagnu support
1993-06-19 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
This should complete moving the CHILL test files.
* chill.noncompile(.cvsignore printf.grt
in-printf.grt chprintf.grt chprintf.ch):
Added test-support files.
1997-08-19 09:34:40 +02:00
(Makefile): Modified further.
* chill.compile (emptymod.ch gdbme.ch neg_range.ch
signal.ch): Added test files.
* chill.execute (.cvsignore printf.grt printr.c
in-printf.grt rts.c chprintf.grt rts.h): Added
1997-08-19 09:34:40 +02:00
test-support files.
(Makefile): More corrections.
1997-08-19 09:34:40 +02:00
1993-06-18 Bill Cox (bill@rtl.cygnus.com)
1997-08-19 09:34:40 +02:00
* chill.compile, chill.execute, chill.nocompile: Add CHILL
test cases, ready for DejaGnu.
1993-06-17 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* Upgraded c-torture tests from 1.18 to 1.19
* gcc.compile: added test(s):
930607-1.c
* gcc.execute: added test(s):
930603-1.c 930603-2.c 930603-3.c 930608-1.c conversion.c inst-check.c
* added new subdirectory for misc tests: gcc.misc-tests
* gcc.misc-test(s): added tests:
inst-check.c test-consts.c test-ior.c test-switch.c
1993-06-09 Brendan Kehoe (brendan@lisa.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/mike-g++.exp: Load `./a.out', not `a.out'.
1993-06-07 Ian Lance Taylor (ian@cygnus.com)
1997-08-19 09:34:40 +02:00
* g++.old-deja/old-deja.exp: Don't delete all the .o files.
1993-06-03 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* Upgraded c-torture tests from 1.17 to 1.18
1993-06-02 Jeffrey Wheat (cassidy@cygnus.com)
1997-08-19 09:34:40 +02:00
* Upgraded c-torture tests from 1.12 to 1.17
1993-04-30 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp:
Fixed handling of XFAIL target triplets to correctly
recognize wildcard characters. Removed code that
appended a unique id tag to the end of the file name
printed out by the result of the testcases within a
given test file.
1993-04-29 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp:
Reworked expected failure handling to trigger off of XFAIL
keyword in keyphrase embeded in testcase source code. The
XFAIL keyword must be at the end of the keyphrase line. It
may optionally be followed by one or more target triplets.
It has just occured that the handling of wildcards in the
target triplet may not be correct.
1993-04-23 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* g++.old-deja/tests:
Moved all subdirectories up one level into g++.old-deja .
* lib/old-dejagnu.exp:
Fixed problem with CXXFLAGS not being properly reset, and being
corrupted with extraneous "-c" compiler option. This was
causing binaries to not be generated for test that needed them.
Modified strings passed to "pass" and "fail" so that individual
tests from the same test file would be distinguished by an
identifier appended to the test file name in the summary logs;
this corrected a problem with erroneous diff logs. Added code
to search testcases for expected fail and unexpected pass keywords.
1993-04-20 Rob Savoye (rob at darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp: Ignore "file path prefix*unused" message.
1993-04-15 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* g++.old-deja/tests/g++.sun/g++.frag/1045608.C:
Removed extraneous text from end of "Special g++ Options"
keyphrase.
* lib/old-dejagnu.exp: Added pattern matching to look for new
keywords, embedded in testcases comments, which will trigger
calls to xpass and xfail.
1993-04-14 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp: Cleaned up pattern matching for keyphrase
comments embedded in the testcases, especially the one looking for
special compiler options, as well as the pattern matching for the
compiler output again.
1993-04-12 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp: Do a proper check of the return value for
execute tests. Fixed several problems with the pattern matching
of the compiler output which gave erroneous test results.
Changed several of the test result messages to be more descriptive.
* config/unix-g++.exp: Proc g++_load now actually works and
executes the tests passed to it and returns a usable return
value.
1997-08-19 09:34:40 +02:00
1993-04-11 Rob Savoye (rob at darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/gcc.exp: Exits gracefully if $CC is bogus.
1997-08-19 09:34:40 +02:00
1993-04-09 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/old-dejagnu.exp , g++.old-deja/old-deja.exp:
Modified both files to properly execute the old style
dejagnu tests. The previous versions of these files were
experimental and did not function anything near correctly.
1993-04-05 Rob Savoye (rob@cygnus.com)
1997-08-19 09:34:40 +02:00
* Removed all Makefile.in and configure.in files. No configuration
needed now.
1993-04-02 Mike Werner (mtw@deneb.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib: relocated old-dejagnu.exp from devo/dejagnu/lib
1993-03-28 Ken Raeburn (raeburn@kr-pc.cygnus.com)
1997-08-19 09:34:40 +02:00
* gcc.compile/configure.in, gcc.unsorted/configure.in,
gcc.special/configure.in, gcc.noncompile/configure.in,
gcc.execute/configure.in, gcc.code_quality/configure.in,
g++.other/configure.in, g++.old-deja/configure.in,
g++.niklas/configure.in, g++.mike/configure.in: Remove extra quote
in srcname setting.
1993-03-25 Rob Savoye (rob at darkstar.cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/udi.exp: Fixed mondfe and mondfe_download.
* config/udi-gcc.exp: Fixed misc bugs, works with expect 4.x.
* config/abug-gcc.exp: Fixed misc bugs, works with expect 4.x.
1993-03-25 Ian Lance Taylor (ian@cygnus.com)
1997-08-19 09:34:40 +02:00
* config/udi-gdb.exp: Check $shell_id after connecting to target.
(gdb_exit): Don't remove *_soc files.
1993-03-22 Ian Lance Taylor (ian@cygnus.com)
1997-08-19 09:34:40 +02:00
* lib/c-torture.exp: Don't look for main; instead always use -w
-c. This is how the c-torture tests work. Remove the object
file if the compilation succeeds.
* gcc.execute/execute.exp: Remove executable if test passes.
* gcc.noncompile/noncompile.exp: Every test is an expected
failure.
* gcc.special/special.exp: Added tests from c-torture 1.11,
corrected use of existing test.
* gcc.execute/920302-1.c, gcc.execute/920501-8.c,
gcc.execute/920625-1.c: Updated to c-torture 1.11.
* gcc.compile/921103-1.c, gcc.compile/921109-1.c,
gcc.compile/921109-2.c, gcc.compile/921109-3.c,
gcc.compile/921111-1.c, gcc.compile/921116-2.c,
gcc.compile/921118-1.c, gcc.compile/921126-1.c,
gcc.compile/921202-1.c, gcc.compile/921202-2.c,
gcc.compile/921203-1.c, gcc.compile/921203-2.c,
gcc.compile/921206-1.c, gcc.execute/921029-1.c,
gcc.execute/921104-1.c, gcc.execute/921110-1.c,
gcc.execute/921112-1.c, gcc.execute/921113-1.c,
gcc.execute/921117-1.c, gcc.execute/921123-1.c,
gcc.execute/921123-2.c, gcc.execute/921124-1.c,
gcc.execute/921202-1.c, gcc.execute/921202-2.c,
gcc.execute/921204-1.c, gcc.execute/921207-1.c,
gcc.execute/921208-1.c, gcc.execute/921208-2.c,
gcc.execute/921215-1.c, gcc.execute/921218-1.c,
gcc.execute/921218-2.c, gcc.noncompile/921102-1.c,
gcc.noncompile/921116-1.c, gcc.unsorted/x.c: Added from
c-torture 1.11.
* gcc.noncompile/921021-1.c, gcc.unsorted/x11bug.c: Removed to
correspond to c-torture 1.11.
* New file.