gcc/gcc/testsuite/ChangeLog

18593 lines
527 KiB
Plaintext
Raw Normal View History

2004-08-03 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/mips-args-[23].c: Declare abort() and exit().
* gcc.dg/torture/mips-hilo-[12].c: Likewise.
2004-08-03 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/compat/struct-layout-1.exp: Fix error message typo.
2004-08-03 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/redecl-5.c: New test.
* gcc.dg/format/attr-6.c: Expect warning for implicit declaration
of scanf.
2004-08-03 Roger Sayle <roger@eyesopen.com>
PR middle-end/16790
* gcc.c-torture/execute/pr16790-1.c: New test case.
2004-08-03 Mark Mitchell <mark@codesourcery.com>
* g++.dg/ext/visibility/assign1.C: New test.
* g++.dg/ext/visibility/new1.C: Likewise.
* gcc.dg/symbian1.c: New test.
* gcc.dg/symbian2.c: Likewise.
2004-08-03 H.J. Lu <hongjiu.lu@intel.com>
PR target/16570
* gcc.dg/i386-sse-9.c: New test.
2004-08-03 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.
20001023-1.c, [...]: Declare built-in functions used. * gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c, gcc.dg/20010202-1.c, gcc.dg/20011008-2.c, gcc.dg/20011214-1.c, gcc.dg/20020201-1.c, gcc.dg/20020312-2.c, gcc.dg/20020426-2.c, gcc.dg/20030331-2.c, gcc.dg/20030612-1.c, gcc.dg/20030926-1.c, gcc.dg/20031216-1.c, gcc.dg/20031218-3.c, gcc.dg/20040305-2.c, gcc.dg/980226-1.c, gcc.dg/Wreturn-type2.c, gcc.dg/Wunreachable-6.c, gcc.dg/Wunreachable-7.c, gcc.dg/align-1.c, gcc.dg/builtin-prefetch-1.c, gcc.dg/builtins-17.c, gcc.dg/builtins-19.c, gcc.dg/builtins-2.c, gcc.dg/builtins-20.c, gcc.dg/builtins-21.c, gcc.dg/builtins-7.c, gcc.dg/builtins-8.c, gcc.dg/cpp/19930510-1.c, gcc.dg/cpp/charconst-3.c, gcc.dg/cpp/charconst-4.c, gcc.dg/cpp/mi6.c, gcc.dg/cpp/tr-paste.c, gcc.dg/cpp/trad/mi6.c, gcc.dg/cpp/trad/paste.c, gcc.dg/cpp/trad/strify.c, gcc.dg/fastmath-1.c, gcc.dg/fshort-wchar.c, gcc.dg/i386-387-7.c, gcc.dg/i386-387-8.c, gcc.dg/i386-asm-1.c, gcc.dg/i386-cadd.c, gcc.dg/i386-fpcvt-3.c, gcc.dg/i386-loop-3.c, gcc.dg/i386-memset-1.c, gcc.dg/loop-2.c, gcc.dg/nest.c, gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c, gcc.dg/noncompile/scope.c, gcc.dg/pack-test-4.c, gcc.dg/pack-test-5.c, gcc.dg/pch/inline-4.c, gcc.dg/postincr-1.c, gcc.dg/pr10392-1.c, gcc.dg/pragma-align.c, gcc.dg/profile-generate-1.c, gcc.dg/sibcall-1.c, gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c, gcc.dg/sibcall-5.c, gcc.dg/sibcall-6.c, gcc.dg/switch-warn-1.c, gcc.dg/switch-warn-2.c, gcc.dg/torture/builtin-attr-1.c, gcc.dg/torture/builtin-math-1.c, gcc.dg/torture/builtin-noret-2.c, gcc.dg/trampoline-1.c, gcc.dg/tree-ssa/20030703-1.c, gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c, gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c, gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030729-1.c, gcc.dg/tree-ssa/20030730-1.c, gcc.dg/tree-ssa/20030730-2.c, gcc.dg/tree-ssa/20030731-1.c, gcc.dg/tree-ssa/20030807-11.c, gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-5.c, gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030808-1.c, gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c, gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c, gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c, gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c, gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-3.c, gcc.dg/tree-ssa/20030922-1.c, gcc.dg/tree-ssa/20031113-1.c, gcc.dg/tree-ssa/20040121-1.c, gcc.dg/tree-ssa/20040319-1.c, gcc.dg/tree-ssa/20040324-1.c, gcc.dg/tree-ssa/20040326-1.c, gcc.dg/tree-ssa/20040326-2.c, gcc.dg/tree-ssa/20040517-1.c, gcc.dg/tree-ssa/ssa-ccp-10.c, gcc.dg/tree-ssa/ssa-pre-1.c, gcc.dg/tree-ssa/tailcall-1.c, gcc.dg/tree-ssa/tailrecursion-5.c, gcc.dg/ultrasp3.c, gcc.dg/winline-7.c, gcc.misc-tests/bprob-1.c, gcc.misc-tests/bprob-2.c, gcc.misc-tests/gcov-3.c, gcc.misc-tests/gcov-4.c, gcc.misc-tests/gcov-4b.c, gcc.misc-tests/gcov-6.c, gcc.misc-tests/gcov-7.c, gcc.misc-tests/i386-pf-3dnow-1.c, gcc.misc-tests/i386-pf-athlon-1.c, gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c, objc.dg/nested-func-1.m, objc.dg/special/unclaimed-category-1.m: Declare built-in functions used. * gcc.dg/torture/builtin-attr-1.c (nexttoward): Use FPTEST2ARG2. From-SVN: r85465
2004-08-03 10:22:26 +02:00
2004-08-03 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
gcc.dg/20010202-1.c, gcc.dg/20011008-2.c, gcc.dg/20011214-1.c,
gcc.dg/20020201-1.c, gcc.dg/20020312-2.c, gcc.dg/20020426-2.c,
gcc.dg/20030331-2.c, gcc.dg/20030612-1.c, gcc.dg/20030926-1.c,
gcc.dg/20031216-1.c, gcc.dg/20031218-3.c, gcc.dg/20040305-2.c,
gcc.dg/980226-1.c, gcc.dg/Wreturn-type2.c,
gcc.dg/Wunreachable-6.c, gcc.dg/Wunreachable-7.c,
gcc.dg/align-1.c, gcc.dg/builtin-prefetch-1.c,
gcc.dg/builtins-17.c, gcc.dg/builtins-19.c, gcc.dg/builtins-2.c,
gcc.dg/builtins-20.c, gcc.dg/builtins-21.c, gcc.dg/builtins-7.c,
gcc.dg/builtins-8.c, gcc.dg/cpp/19930510-1.c,
gcc.dg/cpp/charconst-3.c, gcc.dg/cpp/charconst-4.c,
gcc.dg/cpp/mi6.c, gcc.dg/cpp/tr-paste.c, gcc.dg/cpp/trad/mi6.c,
gcc.dg/cpp/trad/paste.c, gcc.dg/cpp/trad/strify.c,
gcc.dg/fastmath-1.c, gcc.dg/fshort-wchar.c, gcc.dg/i386-387-7.c,
gcc.dg/i386-387-8.c, gcc.dg/i386-asm-1.c, gcc.dg/i386-cadd.c,
gcc.dg/i386-fpcvt-3.c, gcc.dg/i386-loop-3.c,
gcc.dg/i386-memset-1.c, gcc.dg/loop-2.c, gcc.dg/nest.c,
gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c,
gcc.dg/noncompile/scope.c, gcc.dg/pack-test-4.c,
gcc.dg/pack-test-5.c, gcc.dg/pch/inline-4.c, gcc.dg/postincr-1.c,
gcc.dg/pr10392-1.c, gcc.dg/pragma-align.c,
gcc.dg/profile-generate-1.c, gcc.dg/sibcall-1.c,
gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c,
gcc.dg/sibcall-5.c, gcc.dg/sibcall-6.c, gcc.dg/switch-warn-1.c,
gcc.dg/switch-warn-2.c, gcc.dg/torture/builtin-attr-1.c,
gcc.dg/torture/builtin-math-1.c, gcc.dg/torture/builtin-noret-2.c,
gcc.dg/trampoline-1.c, gcc.dg/tree-ssa/20030703-1.c,
gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c,
gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c,
gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030729-1.c,
gcc.dg/tree-ssa/20030730-1.c, gcc.dg/tree-ssa/20030730-2.c,
gcc.dg/tree-ssa/20030731-1.c, gcc.dg/tree-ssa/20030807-11.c,
gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-5.c,
gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030808-1.c,
gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c,
gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c,
gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c,
gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c,
gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-3.c,
gcc.dg/tree-ssa/20030922-1.c, gcc.dg/tree-ssa/20031113-1.c,
gcc.dg/tree-ssa/20040121-1.c, gcc.dg/tree-ssa/20040319-1.c,
gcc.dg/tree-ssa/20040324-1.c, gcc.dg/tree-ssa/20040326-1.c,
gcc.dg/tree-ssa/20040326-2.c, gcc.dg/tree-ssa/20040517-1.c,
gcc.dg/tree-ssa/ssa-ccp-10.c, gcc.dg/tree-ssa/ssa-pre-1.c,
gcc.dg/tree-ssa/tailcall-1.c, gcc.dg/tree-ssa/tailrecursion-5.c,
gcc.dg/ultrasp3.c, gcc.dg/winline-7.c, gcc.misc-tests/bprob-1.c,
gcc.misc-tests/bprob-2.c, gcc.misc-tests/gcov-3.c,
gcc.misc-tests/gcov-4.c, gcc.misc-tests/gcov-4b.c,
gcc.misc-tests/gcov-6.c, gcc.misc-tests/gcov-7.c,
gcc.misc-tests/i386-pf-3dnow-1.c,
gcc.misc-tests/i386-pf-athlon-1.c,
gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c,
objc.dg/nested-func-1.m, objc.dg/special/unclaimed-category-1.m:
Declare built-in functions used.
* gcc.dg/torture/builtin-attr-1.c (nexttoward): Use FPTEST2ARG2.
2004-08-02 Mark Mitchell <mark@codesourcery.com>
PR c++/16707
* g++.dg/lookup/using12.C: New test.
* g++.dg/init/null1.C: Fix PR number.
* g++.dg/parse/namespace10.C: Likewise.
2004-08-01 Mark Mitchell <mark@codesourcery.com>
PR c++/16224
* g++.dg/template/spec17.C: New test.
* g++.old-deja/g++.ns/template13.C: Remove XFAIL.
* g++.old-deja/g++.pt/lookup10.C: Add dg-error marker.
2004-08-02 David Billinghurst
PR fortran/16292
* gfortran.dg/g77/cabs.f: xfail on mips-sgi-irix6*
2004-08-01 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/ia64-got-1.c: New test case.
2004-08-01 Mark Mitchell <mark@codesourcery.com>
PR c++/16489
* g++.dg/init/null1.C: New test.
* g++.dg/tc1/dr76.C: Adjust error marker.
PR c++/16529
* g++.dg/parse/namespace10.C: New test.
PR c++/16810
* g++.dg/inherit/ptrmem2.C: New test.
2004-08-02 Ben Elliston <bje@au.ibm.com>
PR target/16155
* gcc.dg/pr16155.c: New test.
2004-07-31 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/redecl-2.c: New test.
2004-07-30 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-longdouble.c: New file.
2004-07-30 Richard Henderson <rth@redhat.com>
* gfortran.fortran-torture/execute/intrinsic_rrspacing.f90: Fix
write to constant argument.
* gfortran.fortran-torture/execute/intrinsic_scale.f90: Likewise.
2004-07-30 Richard Henderson <rth@redhat.com>
* gfortran.fortran-torture/execute/intrinsic_nearest.f90: Disable
tests of nearest around zero.
2004-07-30 Andrew Pinski <apinski@apple.com>
* gcc.c-torture/compile/20040730-1.c: New test.
2004-07-30 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/vmx/vmx.exp: Explain why we skip tests for
powerpc-eabispe.
2004-07-30 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/vmx/vmx.exp: Disable tests for eabispe.
2004-07-30 Richard Sandiford <rsandifo@redhat.com>
* lib/g++.exp (g++_link_flags): Check whether LD_LIBRARY_PATH already
contains $ld_library_path.
* lib/gfortran.exp (gfortran_link_flags): Likewise.
2004-07-29 Richard Henderson <rth@redhat.com>
* g++.dg/template/sizeof8.C: Don't assume 32bit pointers.
* g++.dg/ext/stmtexpr2.C (alt1): Rename from expected.
(alt2, which): New.
(Check): Accept either alternative.
c-common.h (lang_post_pch_load): New variable. * c-common.h (lang_post_pch_load): New variable. * c-pch.c (lang_post_pch_load): Define it. (c_common_read_pch): Use it. * cgraphunit.c (record_call_1): Give the front end a chance to record additional needed entities when a variable is marked as needed. * tlink.c (recompile_files): Robustify. (scan_linker_output): If a symbol is assigned to a file, but after recompilation is not present there, issue an error message. * cp-tree.h (IDENTIFIER_REPO_CHOSEN): Define. (lang_decl_flags): Narrow the width of "languages". Add repo_available_p. (DECL_NEEDED_P): Remove. (FOR_EACH_CLONE): New macro. (DECL_REPO_AVAILABLE_P): Likewise. (DECL_TINFO_P): Likewise. (set_linkage_according_to_type): Declare. (import_export_vtable): Remove. (import_export_tinfo): Likewise. (mark_needed): New function. (decl_needed_p): Likewise. (note_vauge_linkage_fn): Likewise. (init_repo): Change prototype. (repo_template_used): Remove. (repo_template_instantiated): Likewise. (repo_emit_p): New function. (repo_export_class_p): Likewise. (no_linkage_check): Change prototype. * class.c (set_linkage_according_to_type): New function. (build_vtable): Use it. Do not call import_export_vtable. Set DECL_IGNORED_P if appropriate. * decl.c (duplicate_decls): Preserve DECL_REPO_AVAILABLE_P. (make_rtL_for_nonlocal_decls): Check for template instantiations explicitly. (grokfndecl): Adjust call to no_linkage_check. (set_linkage_for_static_data_member): New function. (grokvardecl): Use it. Adjust call to no_linkage_check. (grokdeclarator): Use set_linkage_for_static_data_member. * decl2.c (note_vague_linkage_fn): New function. (note_vague_linkage_var): Likewise. (finish_static_data_member_decl): Use it. (import_export_vtable): Remove. (import_export_class): Use repo_export_class_p. (var_finalized_p): Simplify. (maybe_emit_vtables): Simplify. (mark_needed): New function. (decl_needed_p): Likewise. (import_export_decl): Add documentation and consistency checks. Use repo_emit_p. Handle virtual tables and RTTI information here. (import_export_tinfo): Remove. (write_out_vars): Call import_export_decl. (cxx_callgraph_analyze_expr): Ensure that all vtables are emitted whenever one is. (finish_file): Use decl_needed_p. Do not call import_export_decl for undefined static data members. Do not warn about undefined inlines when using a repository. (mark_used): Use note_vague_linkage_fn. Always defer template instantiations. * lex.c (cxx_init): Adjust call to init_repo. Always set flag_unit_at_a-time. * method.c (synthesize_method): Remove unncessary import_export_decl call. (implicitly_declare_fn): Use set_linkage_according_to_type. * optimize.c (maybe_clone_body): Use FOR_EACH_CLONE. * pt.c (instantiate_class_template): Don't redundantly add classes to keyed_classes. Don't call repo_template_used. (tsubst_decl): Set DECL_INTERFACE_KNOWN for instantiations of templates with internal linkage. (check_instantiated_args): Adjust call to no_linkage_check. (instantiate_template): Use FOR_EACH_CLONE. (mark_definable): New function. (mark_decl_instantiated): Use it. (do_decl_instantiation): Adjust tests for explicit instantiation after "extern template". (instantiate_class_member): Do not use repo_template_instantiated. (do_type_instantiation): Simplify. (instantiate_decl): Use mark_definable. Check repo_emit_p. Simplify. * repo.c (repo_get_id): Remove. (original_repo): Remove. (IDENTIFIER_REPO_USED): Remove. (IDENTIFIER_REPO_CHOSEN): Remove. Remove all #if 0'd code. (repo_template_used): Remove. (repo_template_instantiated): Remove. (temporary_obstack_initialized_p): New variable. (init_repo): Register with lang_post_pch_load. Avoid creating identifiers unnecessarily. Don't use original_repo. Close the file here. (reopen_repo_file_for_write): Not here. (finish_repo): Always write out a new repository file. (repo_emit_p): New function. (repo_export_class_p): Likewise. * rtti.c (get_tinfo_decl): Use set_linkage_according_to_type. (involves_incomplete_p): New function. (tinfo_base_init): Use it. (ptr_initializer): Remove non_public_ptr parameter. (ptm_initializer): Likewise. (get_pseudo_ti_init): Likewise. (unemitted_tinfo_decl_p): Remove. (emit_tinfo_decl): Use import_export_decl. * semantics.c (expand_body): Move updates of static_ctors and static_dtors to ... (expand_or_defer_fn): ... here. * tree.c (no_linkage_check): Add relaxed_p parameter. * g++.dg/abi/inline1.C: New test. * g++.dg/abi/local1-a.cc: Likewise. * g++.dg/abi/local1.C: Likewise. * g++.dg/abi/mangle11.C: Tweak location of warnings. * g++.dg/abi/mangle12.C: Likewise. * g++.dg/abi/mangle17.C: Likewise. * g++.dg/abi/mangle20-2.C: Likewise. * g++.dg/opt/interface1.C: Likewise. * g++.dg/opt/interface1.h: Likewise. * g++.dg/opt/interface1-a.cc: New test. * g++.dg/parse/repo1.C: New test. * g++.dg/template/repo1.C: Likewise. * g++.dg/warn/Winline-1.C: Likewise. * lib/gcc-dg.exp (gcc-dg-test-1): Fix -frepo handling. From-SVN: r85309
2004-07-29 19:59:31 +02:00
2004-07-29 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/inline1.C: New test.
* g++.dg/abi/local1-a.cc: Likewise.
* g++.dg/abi/local1.C: Likewise.
* g++.dg/abi/mangle11.C: Tweak location of warnings.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/abi/mangle20-2.C: Likewise.
* g++.dg/opt/interface1.C: Likewise.
* g++.dg/opt/interface1.h: Likewise.
* g++.dg/opt/interface1-a.cc: New test.
* g++.dg/parse/repo1.C: New test.
* g++.dg/template/repo1.C: Likewise.
* g++.dg/warn/Winline-1.C: Likewise.
* lib/gcc-dg.exp (gcc-dg-test-1): Fix -frepo handling.
2004-07-29 Diego Novillo <dnovillo@redhat.com>
* gcc.dg/tree-ssa/20040729-1.c: New test.
2004-07-27 Matt Austern <austern@apple.com>
* gcc.dg/darwin-bool-1.c: New test.
* gcc.dg/darwin-bool-2.c: New test.
2004-07-28 Richard Henderson <rth@redhat.com>
* gfortran.fortran-torture/execute/intrinsic_spacing.f90: Pass
arguments in the correct type. Don't write to constant arguments.
2004-07-28 Diego Novillo <dnovillo@redhat.com>
PR tree-optimization/16688
PR tree-optimization/16689
* g++.dg/tree-ssa/pr16688.C: New test.
2004-07-28 Diego Novillo <dnovillo@redhat.com>
* gcc.dg/tree-ssa/20031022-1.c: Adjust number of expected
loads. Not only in the comment, this time.
Introduce sh4a support. gcc/ChangeLog: Introduce sh4a support. * config.gcc: Handle sh4a multilibs and cpu selection. * config/sh/sh.h: Likewise. Handle sh4a command line flags. * config/sh/t-mlib-sh4a: New. * config/sh/t-mlib-sh4al: New. * config/sh/t-mlib-sh4a-nofpu: New. * config/sh/t-mlib-sh4a-single: New. * config/sh/t-mlib-sh4a-single-only: New. 2004-02-20 DJ Delorie <dj@redhat.com> * config/sh/sh.md ("movua"): Change constraint from "m" to "Sua". * config/sh/sh.h (EXTRA_CONSTRAINT_S): Add "Sua" support. 2003-08-22 Eric Christopher <echristo@redhat.com> * config/sh/sh4a.md: Update for chip errata. 2003-08-07 Eric Christopher <echristo@redhat.com> * config/sh/sh4a.md: New file. sh4a processor description. 2003-07-08 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (TARGET_SWITCHES): Added 4al. Adjust description of -m4a-nofpu. (SH_ASM_SPEC): Pass -dsp for -m4al, not -m4a-nofpu. * config/sh/t-sh (MULTILIB_MATCHES): Map -m4al to -m4a-nofpu. * doc/invoke.texi (SH Options): Document -m4al. 2003-07-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (expand_block_move): Remove commented-out code checked in by mistake. (sh_cannot_change_mode_class): Enable SUBREGs to be used to select single elements from SFmode vectors. * config/sh/sh.md (fsca): Use VEC_CONCAT to initialize the output register. (sinsf2, cossf2, sindf2, cosdf2): Don't emit CLOBBER. 2003-07-01 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Remove variable declarations. * config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): New functions. (sh_fsca_sf2int_rtx, sh_fsca_df2int_rtx, sh_fsca_int2sf_rtx): New static variables. * config/sh/sh-protos.h (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Declare. * config/sh/sh.md: Adjust. * doc/invoke.texi (SH Options): Document new options. * config/sh/lib1funcs.asm (ic_invalidate): Remove SH4a forward compatibility from SH4 code. 2003-06-27 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (expand_block_move): Don't emit POST_INC too early. (memory_movsrc_operand): Renamed to... (unaligned_load_operand): ... this. Simplified. * config/sh/sh.h (PREDICATE_CODES): Adjust. * config/sh/sh.md (movua, extv, extzv): Likewise. Change movua's input operand to SImode, and adjust the others. Introduce post-increment by peephole. * config/sh/sh.c (expand_block_move): Give the target address the same mode as the temp reg. * config/sh/sh.c (expand_block_move): Use a temp reg for unaligned copying. 2003-06-26 Alexandre Oliva <aoliva@redhat.com> Introduce support for SH4a. * config/sh/lib1funcs.asm (ic_invalidate): Use icbi if __SH4A__. Emit 4 4kb blocks and touch all of them otherwise. * config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): New. (sh_init_builtins): Initialize them. (print_operand): Support `d'. (expand_block_move): Use movua if src is misaligned. (memory_movsrc_operand): New. * config/sh/sh.h (TARGET_CPU_CPP_BUILTINS): Define __SH4A__ and one of the SH4 macros. (SH4A_BIT, TARGET_SH4A_ARCH, TARGET_SH4A_FP, SELECT_SH4A_NOFPU, SELECT_SH4A_SINGLE_ONLY, SELECT_SH4A, SELECT_SH4A_SINGLE): New. (TARGET_NONE): Add SH4A_BIT. (TARGET_SWITCHES): Add 4a-single-only, 4a-single, 4a-nofpu and 4a. (SH_ASM_SPEC): Pass -dsp if -m4a-nofpu. (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Declare. (OVERRIDE_OPTIONS): Set cpu to CPU_SH4A when appropriate. (enum processor_type): Added PROCESSOR_SH4A. (PREDICATE_CODES): Add memory_movsrc_operand. * config/sh/sh.md: Removed unused variables. (attr cpu): Add sh4a. (attr type): Add movua, fsrra and fsca. (prefetch): New, for SH4. (ic_invalidate_line, ic_invalidate_line_sh4a): Use icbi. (toggle_sz): Set type to fp. (toggle_pr, rsqrtsf2, fsca, sinsf2, cossf2, sindf2, cosdf2): New. (movua, extv, extzv): New. * config/sh/t-sh: Add multilibs for 4a, 4a-nofpu, 4a-single and 4a-single-only. gcc/testsuite/ChangeLog: 2003-07-06 Alexandre Oliva <aoliva@redhat.com> * gcc.dg/sh4a-memmovua.c: Tweak regular expression. 2003-07-01 Alexandre Oliva <aoliva@redhat.com> * gcc.dg/sh4a-bitmovua.c: New. * gcc.dg/sh4a-cos.c: New. * gcc.dg/sh4a-cosf.c: New. * gcc.dg/sh4a-fprun.c: New. * gcc.dg/sh4a-fsrra.c: New. * gcc.dg/sh4a-memmovua.c: New. * gcc.dg/sh4a-sin.c: New. * gcc.dg/sh4a-sincos.c: New. * gcc.dg/sh4a-sincosf.c: New. * gcc.dg/sh4a-sinf.c: New. libstdc++-v3/ChangeLog: 2003-10-01 Eric Christopher <echristo@redhat.com> * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm' constraint. 2003-07-09 Alexandre Oliva <aoliva@redhat.com> * config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a. From-SVN: r85257
2004-07-28 11:13:58 +02:00
2004-07-28 Alexandre Oliva <aoliva@redhat.com>
2003-07-06 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/sh4a-memmovua.c: Tweak regular expression.
2003-07-01 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/sh4a-bitmovua.c: New.
* gcc.dg/sh4a-cos.c: New.
* gcc.dg/sh4a-cosf.c: New.
* gcc.dg/sh4a-fprun.c: New.
* gcc.dg/sh4a-fsrra.c: New.
* gcc.dg/sh4a-memmovua.c: New.
* gcc.dg/sh4a-sin.c: New.
* gcc.dg/sh4a-sincos.c: New.
* gcc.dg/sh4a-sincosf.c: New.
* gcc.dg/sh4a-sinf.c: New.
2004-07-28 Diego Novillo <dnovillo@redhat.com>
* gcc.dg/tree-ssa/20030714-2.c: Adjust number of expected
conditionals.
* gcc.dg/tree-ssa/20031022-1.c: Adjust number of expected
loads.
* gcc.dg/tree-ssa/ssa-dom-cse-1.c: Expect optimization in
DOM1.
2004-07-27 Andrew Pinski <apinski@apple.com>
* g++.dg/rtti/tinfo1.C: Correct the xfail.
2004-07-27 Nitin Yewale <nitiny@kpitcummins.com>
* gcc.dg/pragma-isr.c: New test.
2004-07-27 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/14429
* g++.dg/template/ttp11.C: New test.
2004-07-27 Diego Novillo <dnovillo@redhat.com>
* gcc.c-torture/compile/20040727-1.c: New test.
2004-07-26 Eric Christopher <echristo@redhat.com>
* gcc.c-torture/compile/20040726-2.c: New test.
2004-07-26 Andrew Pinski <apinski@apple.com>
* g++.dg/rtti/tinfo1.C: Xfail.
2004-07-26 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20040726-1.c: New test.
2004-07-26 Niall Douglas <s_fsfeurope2@nedprod.com>
Brian Ryner <bryner@brianryner.com>
PR c++/9283
PR c++/15000
re PR c++/9283 (__attribute__((visibility ("hidden"))) not supported for class/struct) PR c++/9283 PR c++/15000 * c-common.c (c_common_attribute_table): Allow handle_visibility_attribute to be called for types. (handle_visibility_attribute) When given a type, set the visibility bits on the TYPE_NAME. When given a decl, don't set no_add_attrs so that we can check later whether the attribute was present. Added warning if attribute applied to non class type. * c-decl.c (diagnose_mismatched_decls): Updated rules for merging decls and checking that they are consistent. * common.opt: Added -fvisibility. * c.opt, c-opts.c: Added -fvisibility-inlines-hidden. * c-pragma.h, c-pragma.c: Added handle_pragma_visibility(). * flags.h, tree.h: Added assorted support defines for overall patch * opts.c: Added parsing support for -fvisibility. * tree.c (build_decl): Set visibility for all decls to be whatever is in force at that time. * varasm.c (default_binds_local_p_1): Reworked logic determining when to make a symbol locally bound. * doc/invoke.texi: Added documentation for -fvisibility and -fvisibility-inlines-hidden. PR c++/15000 PR c++/9283 * class.c (check_field_decls): Apply hidden visibility if -fvisibility-inlines-hidden and inlined unless otherwise specified (build_vtable): Set vtable visibility to class visibility. (check_field_decls): Default static member visibility to class visibility. (check_methods): Default method visibility to class visibility. * cp-tree.h: Added CLASSTYPE_VISIBILITY and CLASSTYPE_VISIBILITY_SPECIFIED macro. * decl.c (duplicate_decls): New logic for merging definition decls with declaration decls. Added ignore & warning when non default applied to global operator new or delete. * method.c, optimize.c, rtti.c: Added setting of VISIBILITY_SPECIFIED wherever VISIBILITY was changed * rtti.c (get_tinfo_decl): Set typeinfo visibility to class visibility. (tinfo_base_init): Set typeinfo name visibility to class visibility. PR c++/9283 PR c++/15000 * gcc.dg/visibility-9.c, gcc.dg/visibility-a.c: New tests. * g++.dg/ext/visibility/: New directory. * g++.dg/ext/visibility-1.C, g++.dg/ext/visibility-2.C g++.dg/ext/visibility-3.C, g++.dg/ext/visibility-4.C, g++.dg/ext/visibility-5.C, g++.dg/ext/visibility-6.C, g++.dg/ext/visibility-7.C: Move to g++.dg/ext/visibility/. * g++.dg/ext/visibility/fvisibility.C, g++.dg/ext/visibility/fvisibility-inlines-hidden.C, g++.dg/ext/visibility/fvisibility-override1.C g++.dg/ext/visibility/fvisibility-override2.C g++.dg/ext/visibility/memfuncts.C g++.dg/ext/visibility/noPLT.C g++.dg/ext/visibility/pragma.C g++.dg/ext/visibility/pragma-override1.C g++.dg/ext/visibility/pragma-override2.C g++.dg/ext/visibility/staticmemfuncts.C g++.dg/ext/visibility/virtual.C: New tests. Co-Authored-By: Brian Ryner <bryner@brianryner.com> From-SVN: r85167
2004-07-26 00:52:22 +02:00
* gcc.dg/visibility-9.c, gcc.dg/visibility-a.c: New tests.
* g++.dg/ext/visibility/: New directory.
* g++.dg/ext/visibility-1.C, g++.dg/ext/visibility-2.C
g++.dg/ext/visibility-3.C, g++.dg/ext/visibility-4.C,
g++.dg/ext/visibility-5.C, g++.dg/ext/visibility-6.C,
g++.dg/ext/visibility-7.C: Move to g++.dg/ext/visibility/.
* g++.dg/ext/visibility/fvisibility.C,
g++.dg/ext/visibility/fvisibility-inlines-hidden.C,
g++.dg/ext/visibility/fvisibility-override1.C
g++.dg/ext/visibility/fvisibility-override2.C
g++.dg/ext/visibility/memfuncts.C
g++.dg/ext/visibility/noPLT.C
g++.dg/ext/visibility/pragma.C
g++.dg/ext/visibility/pragma-override1.C
g++.dg/ext/visibility/pragma-override2.C
g++.dg/ext/visibility/staticmemfuncts.C
re PR c++/9283 (__attribute__((visibility ("hidden"))) not supported for class/struct) PR c++/9283 PR c++/15000 * c-common.c (c_common_attribute_table): Allow handle_visibility_attribute to be called for types. (handle_visibility_attribute) When given a type, set the visibility bits on the TYPE_NAME. When given a decl, don't set no_add_attrs so that we can check later whether the attribute was present. Added warning if attribute applied to non class type. * c-decl.c (diagnose_mismatched_decls): Updated rules for merging decls and checking that they are consistent. * common.opt: Added -fvisibility. * c.opt, c-opts.c: Added -fvisibility-inlines-hidden. * c-pragma.h, c-pragma.c: Added handle_pragma_visibility(). * flags.h, tree.h: Added assorted support defines for overall patch * opts.c: Added parsing support for -fvisibility. * tree.c (build_decl): Set visibility for all decls to be whatever is in force at that time. * varasm.c (default_binds_local_p_1): Reworked logic determining when to make a symbol locally bound. * doc/invoke.texi: Added documentation for -fvisibility and -fvisibility-inlines-hidden. PR c++/15000 PR c++/9283 * class.c (check_field_decls): Apply hidden visibility if -fvisibility-inlines-hidden and inlined unless otherwise specified (build_vtable): Set vtable visibility to class visibility. (check_field_decls): Default static member visibility to class visibility. (check_methods): Default method visibility to class visibility. * cp-tree.h: Added CLASSTYPE_VISIBILITY and CLASSTYPE_VISIBILITY_SPECIFIED macro. * decl.c (duplicate_decls): New logic for merging definition decls with declaration decls. Added ignore & warning when non default applied to global operator new or delete. * method.c, optimize.c, rtti.c: Added setting of VISIBILITY_SPECIFIED wherever VISIBILITY was changed * rtti.c (get_tinfo_decl): Set typeinfo visibility to class visibility. (tinfo_base_init): Set typeinfo name visibility to class visibility. PR c++/9283 PR c++/15000 * gcc.dg/visibility-9.c, gcc.dg/visibility-a.c: New tests. * g++.dg/ext/visibility/: New directory. * g++.dg/ext/visibility-1.C, g++.dg/ext/visibility-2.C g++.dg/ext/visibility-3.C, g++.dg/ext/visibility-4.C, g++.dg/ext/visibility-5.C, g++.dg/ext/visibility-6.C, g++.dg/ext/visibility-7.C: Move to g++.dg/ext/visibility/. * g++.dg/ext/visibility/fvisibility.C, g++.dg/ext/visibility/fvisibility-inlines-hidden.C, g++.dg/ext/visibility/fvisibility-override1.C g++.dg/ext/visibility/fvisibility-override2.C g++.dg/ext/visibility/memfuncts.C g++.dg/ext/visibility/noPLT.C g++.dg/ext/visibility/pragma.C g++.dg/ext/visibility/pragma-override1.C g++.dg/ext/visibility/pragma-override2.C g++.dg/ext/visibility/staticmemfuncts.C g++.dg/ext/visibility/virtual.C: New tests. Co-Authored-By: Brian Ryner <bryner@brianryner.com> From-SVN: r85167
2004-07-26 00:52:22 +02:00
g++.dg/ext/visibility/virtual.C: New tests.
2004-07-25 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/15360
* gcc.dg/pr15360-1.c: New test.
2004-07-25 Daniel Jacobowitz <dan@debian.org>
* gcc.dg/pragma-align-2.c: New test.
* gcc.dg/pragma-init-fini.c: New test.
* gcc.dg/pragma-align.c: Change from compile to run. Run on Solaris
targets.
2004-07-25 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/init-string-2.c: New test.
2004-07-24 Zack Weinberg <zack@codesourcery.com>
PR 16684
* gcc.dg/Wredundant-decls-1.c: New test case.
2004-07-24 Jakub Jelinek <jakub@redhat.com>
* README.compat: Add RUN_ALL_COMPAT_TESTS documentation.
* lib/compat.exp: Replace ^$tmpdir/? in testcase names with tmpdir-.
* gcc.dg/compat/struct-layout-1.exp: New testsuite driver.
* gcc.dg/compat/struct-layout-1_generate.c: New testcase generator.
* gcc.dg/compat/generate-random.c: New file.
* gcc.dg/compat/generate-random.h: Likewise.
* gcc.dg/compat/generate-random_r.c: Likewise.
* gcc.dg/compat/struct-layout-1.h: Likewise.
* gcc.dg/compat/struct-layout-1_x1.h: Likewise.
* gcc.dg/compat/struct-layout-1_x2.h: Likewise.
* gcc.dg/compat/struct-layout-1_y1.h: Likewise.
* gcc.dg/compat/struct-layout-1_y2.h: Likewise.
* gcc.dg/compat/struct-layout-1_main.c: New test.
* gcc.dg/compat/struct-layout-1_x.c: New file.
* gcc.dg/compat/struct-layout-1_y.c: New file.
* gcc.dg/compat/struct-layout-1_test.h: New file.
2004-07-23 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/comp-return-1.c: New test
2004-07-23 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/vmx/8-02a.c: Fix typo.
* gcc.dg/vmx/varargs-4.c: Remove a Darwin-specific check.
* gcc.dg/darwin-abi-3.c: New test.
* gcc.dg/vmx/debug-1.c: Use int, not long, in union with vector.
* gcc.dg/vmx/varargs-1.c: Use int, not long, in union with vector.
* gcc.dg/vmx/ops.c: Remove checks using pointers to long.
* gcc.dg/vmx/ops-long-1.c: New test.
* gcc.dg/vmx/ops-long-2.c: New test.
2004-07-23 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/lookup/conv-[1234].C: New.
2004-07-22 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parse/attr2.C: Simplify.
2004-07-22 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/7284
* gcc.c-torture/execute/pr7284-1.c: New test.
2004-07-22 Brian Booth <bbooth@redhat.com>
* gcc.dg/tree-ssa/20040721-1.c: New test.
2004-07-22 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/crash20.c: New.
2004-07-22 David Billinghurst (David.Billinghurst@riotinto.com)
* gfortran.dg/g77/970625-2.f Copy from g77.f-torture/execute.
Add dg-run directive. Declare variables as required.
* gfortran.dg/g77/README: Update
2004-07-22 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/cris-peep2-xsrand.c, gcc.dg/cris-peep2-andu1.c,
gcc.dg/cris-peep2-andu2.c: New tests.
2004-07-22 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/15052
* gcc.dg/noreturn-5.c: Test qualifiers on function type instead of
on return type.
* gcc.dg/qual-return-1.c: Use -Wreturn-type. Update expected
messages.
* gcc.dg/qual-return-2.c: Update expected messages.
* gcc.dg/qual-return-3.c, gcc.dg/qual-return-4.c: New tests.
2004-07-22 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c99-init-3.c, gcc.dg/gnu99-init-2.c: New tests.
* gcc.dg/noncompile/921102-1.c: Update expected error message.
2004-07-22 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/11250
* gcc.dg/init-string-1.c: New test.
2004-07-21 Jakub Jelinek <jakub@redhat.com>
PR middle-end/15345
PR c/16450
* gcc.dg/torture/nested-fn-1.c: New test.
2004-07-20 H.J. Lu <hongjiu.lu@intel.com>
PR target/16559
* gcc.dg/ia64-fptr-1.c: New file.
2004-07-21 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14497
* g++.dg/template/spec16.C: New test.
* g++.old-deja/g++.robertl/eb118.C: Remove.
2004-07-21 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/509
* g++.dg/template/spec15.C: New test.
Copy cases from g77.f-torture/execute and add dg-run directive. 2004-07-21 David Billinghurst (David.Billinghurst@riotinto.com) Copy cases from g77.f-torture/execute and add dg-run directive. Other changes as noted. * gfortran.dg/g77/13037.f * gfortran.dg/g77/1832.f * gfortran.dg/g77/19981119-0.f * gfortran.dg/g77/19990313-0.f * gfortran.dg/g77/19990313-1.f * gfortran.dg/g77/19990313-2.f * gfortran.dg/g77/19990313-3.f * gfortran.dg/g77/19990419-1.f * gfortran.dg/g77/19990826-0.f * gfortran.dg/g77/19990826-2.f * gfortran.dg/g77/20000503-1.f * gfortran.dg/g77/20001111.f * gfortran.dg/g77/20010116.f * gfortran.dg/g77/20010426-1.f: Renamed from 20010426-1.f * gfortran.dg/g77/20010430.f * gfortran.dg/g77/6177.f * gfortran.dg/g77/947.f * gfortran.dg/g77/970816-3.f * gfortran.dg/g77/971102-1.f * gfortran.dg/g77/980520-1.f * gfortran.dg/g77/980628-0.f * gfortran.dg/g77/980628-1.f * gfortran.dg/g77/980628-10.f * gfortran.dg/g77/980628-2.f * gfortran.dg/g77/980628-3.f * gfortran.dg/g77/980628-7.f * gfortran.dg/g77/980628-8.f * gfortran.dg/g77/980628-9.f * gfortran.dg/g77/980701-0.f * gfortran.dg/g77/980701-1.f * gfortran.dg/g77/cabs.f * gfortran.dg/g77/claus.f * gfortran.dg/g77/complex_1.f * gfortran.dg/g77/cpp3.F: Renamed from cpp3.F * gfortran.dg/g77/dcomplex.f * gfortran.dg/g77/dnrm2.f: Add dg-warnings as required. * gfortran.dg/g77/f90-intrinsic-mathematical.f * gfortran.dg/g77/f90-intrinsic-numeric.f * gfortran.dg/g77/int8421.f * gfortran.dg/g77/labug1.f * gfortran.dg/g77/large_vec.f * gfortran.dg/g77/le.f * gfortran.dg/g77/short.f * gfortran.dg/g77/README: Update From-SVN: r84980
2004-07-21 02:00:24 +02:00
2004-07-21 David Billinghurst (David.Billinghurst@riotinto.com)
Copy cases from g77.f-torture/execute and add dg-run
directive. Other changes as noted.
Copy cases from g77.f-torture/execute and add dg-run directive. 2004-07-21 David Billinghurst (David.Billinghurst@riotinto.com) Copy cases from g77.f-torture/execute and add dg-run directive. Other changes as noted. * gfortran.dg/g77/13037.f * gfortran.dg/g77/1832.f * gfortran.dg/g77/19981119-0.f * gfortran.dg/g77/19990313-0.f * gfortran.dg/g77/19990313-1.f * gfortran.dg/g77/19990313-2.f * gfortran.dg/g77/19990313-3.f * gfortran.dg/g77/19990419-1.f * gfortran.dg/g77/19990826-0.f * gfortran.dg/g77/19990826-2.f * gfortran.dg/g77/20000503-1.f * gfortran.dg/g77/20001111.f * gfortran.dg/g77/20010116.f * gfortran.dg/g77/20010426-1.f: Renamed from 20010426-1.f * gfortran.dg/g77/20010430.f * gfortran.dg/g77/6177.f * gfortran.dg/g77/947.f * gfortran.dg/g77/970816-3.f * gfortran.dg/g77/971102-1.f * gfortran.dg/g77/980520-1.f * gfortran.dg/g77/980628-0.f * gfortran.dg/g77/980628-1.f * gfortran.dg/g77/980628-10.f * gfortran.dg/g77/980628-2.f * gfortran.dg/g77/980628-3.f * gfortran.dg/g77/980628-7.f * gfortran.dg/g77/980628-8.f * gfortran.dg/g77/980628-9.f * gfortran.dg/g77/980701-0.f * gfortran.dg/g77/980701-1.f * gfortran.dg/g77/cabs.f * gfortran.dg/g77/claus.f * gfortran.dg/g77/complex_1.f * gfortran.dg/g77/cpp3.F: Renamed from cpp3.F * gfortran.dg/g77/dcomplex.f * gfortran.dg/g77/dnrm2.f: Add dg-warnings as required. * gfortran.dg/g77/f90-intrinsic-mathematical.f * gfortran.dg/g77/f90-intrinsic-numeric.f * gfortran.dg/g77/int8421.f * gfortran.dg/g77/labug1.f * gfortran.dg/g77/large_vec.f * gfortran.dg/g77/le.f * gfortran.dg/g77/short.f * gfortran.dg/g77/README: Update From-SVN: r84980
2004-07-21 02:00:24 +02:00
* gfortran.dg/g77/13037.f
* gfortran.dg/g77/1832.f
* gfortran.dg/g77/19981119-0.f
* gfortran.dg/g77/19990313-0.f
* gfortran.dg/g77/19990313-1.f
* gfortran.dg/g77/19990313-2.f
* gfortran.dg/g77/19990313-3.f
* gfortran.dg/g77/19990419-1.f
* gfortran.dg/g77/19990826-0.f
* gfortran.dg/g77/19990826-2.f
* gfortran.dg/g77/20000503-1.f
* gfortran.dg/g77/20001111.f
* gfortran.dg/g77/20010116.f
* gfortran.dg/g77/20010426-1.f: Renamed from 20010426-1.f
* gfortran.dg/g77/20010430.f
* gfortran.dg/g77/6177.f
* gfortran.dg/g77/947.f
* gfortran.dg/g77/970816-3.f
* gfortran.dg/g77/971102-1.f
* gfortran.dg/g77/980520-1.f
* gfortran.dg/g77/980628-0.f
* gfortran.dg/g77/980628-1.f
* gfortran.dg/g77/980628-10.f
* gfortran.dg/g77/980628-2.f
* gfortran.dg/g77/980628-3.f
* gfortran.dg/g77/980628-7.f
* gfortran.dg/g77/980628-8.f
* gfortran.dg/g77/980628-9.f
* gfortran.dg/g77/980701-0.f
* gfortran.dg/g77/980701-1.f
* gfortran.dg/g77/cabs.f
* gfortran.dg/g77/claus.f
* gfortran.dg/g77/complex_1.f
* gfortran.dg/g77/cpp3.F: Renamed from cpp3.F
* gfortran.dg/g77/dcomplex.f
* gfortran.dg/g77/dnrm2.f: Add dg-warnings as required.
* gfortran.dg/g77/f90-intrinsic-mathematical.f
* gfortran.dg/g77/f90-intrinsic-numeric.f
* gfortran.dg/g77/int8421.f
* gfortran.dg/g77/labug1.f
* gfortran.dg/g77/large_vec.f
* gfortran.dg/g77/le.f
* gfortran.dg/g77/short.f
* gfortran.dg/g77/README: Update
2004-07-20 Mark Mitchell <mark@codesourcery.com>
PR c++/16637
* g++.dg/parse/lookup4.C: New test.
2004-07-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/16175
* g++.dg/template/ttp10.C: New test.
2004-07-20 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/pr12625-1.c: New test.
2004-07-20 Steven Bosscher <stevenb@suse.de>
* testsuite/gcc.dg/switch-warn-1.c: New test.
* testsuite/gcc.dg/switch-warn-2.c: New test.
* gcc.c-torture/compile/pr14730.c: Update.
2004-07-19 Kelley Cook <kcook@gcc.gnu.org>
* g++.dg/lookup/java1.C, g++.dg/lookup/java2.C, g++.dg/other/crash-2.C,
g++.dg/parse/casting-operator2.C, g++.dg/parse/dtor3.C,
g++.dg/parse/typename6.C, g++.dg/template/dependent-expr4.C,
g++.dg/template/nontype3.C: Remove trailing CR from tests.
2004-07-18 Mark Mitchell <mark@codesourcery.com>
PR c++/16623
* g++.dg/template/assign1.C: New test.
2004-07-19 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/12170
* g++.dg/template/ttp9.C: New test.
2004-07-19 Daniel Jacobowitz <dan@debian.org>
* gcc.dg/format/cmn-err-1.c: New test.
c-tree.h (struct c_expr): Define. * c-tree.h (struct c_expr): Define. (C_SET_EXP_ORIGINAL_CODE): Remove. (parser_build_binary_op, build_compound_expr): Update prototypes. * c-parse.in (%union): Add exprtype. (FUNC_NAME): Mark as ttype. (expr, expr_no_commas, cast_expr, unary_expr, primary): Change to exprtype. (expr): Update. Define directly in terms of expr_no_commas instead of using nonnull_exprlist. (nonnull_exprlist, unary_expr, cast_expr, expr_no_commas, primary, offsetof_member_designator, typespec_nonreserved_nonattr, init, initval, designator, component_declarator, component_notype_declarator, enumerator, array_declarator, condition, exexpr, switch_statement, stmt_nocomp, stmt, nonnull_asm_operands, ivar_declarator, receiver): Update. Don't set C_EXP_ORIGINAL_CODE. Use TREE_NO_WARNING for assignments where appropriate. * c-common.h (C_EXP_ORIGINAL_CODE): Remove. * c-common.c (c_common_truthvalue_conversion): Don't check C_EXP_ORIGINAL_CODE. * c-typeck.c (parser_build_binary_op): Use c_expr structures. Don't use C_EXP_ORIGINAL_CODE. (default_conversion, default_function_array_conversion): Don't use C_EXP_ORIGINAL_CODE. Preserve TREE_NO_WARNING. (internal_build_compound_expr): Merge into build_compound_expr. (build_compound_expr): Take two operands instead of a TREE_LIST. * objc/objc-act.c (get_super_receiver): Update calls to build_compound_expr. cp: * typeck.c (build_modify_expr, build_x_modify_expr): Set TREE_NO_WARNING on assignments with an operator other than '='. testsuite: * g++.dg/warn/Wparentheses-1.C, g++.dg/warn/Wparentheses-2.C, gcc.dg/Wparentheses-10.c: New tests. * gcc.dg/Wparentheses-5.c: Remove XFAILs. From-SVN: r84911
2004-07-19 10:38:52 +02:00
2004-07-19 Joseph S. Myers <jsm@polyomino.org.uk>
* g++.dg/warn/Wparentheses-1.C, g++.dg/warn/Wparentheses-2.C,
gcc.dg/Wparentheses-10.c: New tests.
* gcc.dg/Wparentheses-5.c: Remove XFAILs.
2004-07-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/16465
* gfortran.dg/g77//ffixed-line-length-0.f,
gfortran.dg/g77/ffixed-line-length-132.f,
gfortran.dg/g77/ffixed-line-length-72.f,
gfortran.dg/g77/ffixed-line-length-none.f: Copy from g77.dg.
gfortran.dg/g77/README: Update.
2004-07-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13092
* g++.dg/template/non-dependent7.C: New test.
* g++.dg/template/non-dependent8.C: Likewise.
* g++.dg/template/non-dependent9.C: Likewise.
* g++.dg/template/non-dependent10.C: Likewise.
2004-07-17 Mark Mitchell <mark@codesourcery.com>
PR c++/16337
* g++.dg/parse/attr2.C: New test.
2004-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.dg: Removed.
* g77.f-torture: Ditto.
2004-07-17 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/Wparentheses-2.c, gcc.dg/Wparentheses-3.c,
gcc.dg/Wparentheses-4.c, Wparentheses-5.c, Wparentheses-6.c,
Wparentheses-7.c, Wparentheses-8.c, Wparentheses-9.c: New tests.
2004-07-16 Richard Henderson <rth@redhat.com>
* gcc.c-torture/compile/20020210-1.c: Remove XFAIL.
2004-07-16 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* lib/fortran-torture.exp (fortran-torture): Don't test compile
tests with full list of options.
* lib/gfortran-dg.exp (gfortran-dg-runtest): Only test with all
of TORTURE_OPTIONS if test contains 'dg-do run'.
PR fortran/16404
* gfortran.dg/do_iterator.f90: New test.
2004-07-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR rtl-optimization/16536
* gcc.c-torture/execute/restrict-1.c: New test.
2004-07-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15324
* gfortran.dg/pr15324.f90: New test.
PR fortran/15129
* gfortran.dg/pr15129.f90: New test.
PR fortran/15140
* gfortran.dg/pr15140.f90: New test.
PR fortran/13792
* gfortran.fortran-torture/execute/bounds.f90: Add check for
compile-time simplification.
2004-07-14 Mike Stump <mrs@apple.com>
* gcc.dg/20020426-2.c: Improve type safety wrt unsignedness.
2004-07-14 James E Wilson <wilson@specifixinc.com>
PR target/16325
* gcc.dg/profile-generate-1.c: New.
2004-07-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20040709-1.c: New test.
* gcc.c-torture/execute/20040709-2.c: New test.
2004-07-14 Mike Stump <mrs@apple.com>
* gcc.dg/wint_t-1.c: Expect to pass on darwin 10.3.x and later.
2004-07-14 Mike Stump <mrs@apple.com>
* gcc.dg/wchar_t-1.c: Expect to pass on darwin 10.3.x and later.
2004-07-13 Mark Mitchell <mark@codesourcery.com>
PR c++/16518
* g++.dg/parse/mutable1.C: New test.
2004-07-13 Diego Novillo <dnovillo@redhat.com>
PR tree-optimization/16443
* gcc.dg/tree-ssa/20040713-1.c: New test.
2004-07-15 Ulrich Weigand <uweigand@de.ibm.com>
* g++.dg/lookup/new2.C: Use first operand of type __SIZE_TYPE__
for operator new.
2004-07-21 13:21:13 +02:00
2004-07-13 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/g77/README: New file
* gfortran.dg/g77/19981216-0.f: Copy from
g77.f-torture/noncompile. Add "dg-do compile" and
dg-error as required.
* gfortran.dg/g77/19990218-1.f: Likewise
* gfortran.dg/g77/19990905-1.f: Likewise
* gfortran.dg/g77/9263.f: Likewise
* gfortran.dg/g77/980615-0.f: Likewise
* gfortran.dg/g77/980616-0.f: Likewise
* gfortran.dg/g77/check0.f: Likewise
* gfortran.dg/g77/select_no_compile.f: Likewise
2004-07-21 13:21:13 +02:00
2004-07-13 David Billinghurst <David.Billinghurst@riotinto.com>
Copy files from g77.f-torture/compile.
Add "{ dg-do compile}". Other changes as noted
* gfortran.dg/g77/19990905-0.f: XFAIL PR 16511
* gfortran.dg/g77/20010519-1.f: Add dg-warning as required
* gfortran.dg/g77/20030115-1.f: Add dg-warning as required
* gfortran.dg/g77/20030326-1.f: XFAIL PR 16511
* gfortran.dg/g77/970125-0.f: Add dg-excess-errors.
* gfortran.dg/g77/980519-2.f: Declare hd_S,hd_Z,hd_T
* gfortran.dg/g77/990115-1.f: Declare RANK as INTEGER
* gfortran.dg/g77/alpha1.f: Separate declaration and DATA
statement to conform to standard. Append alpha1.x for reference.
* gfortran.dg/g77/xformat.f: Add dg-warning
2004-07-21 13:21:13 +02:00
2004-07-13 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/g77/cpp.F: Copy from g77.f-torture/compile.
Add {dg-do compile} directive.
* gfortran.dg/g77/cpp2.F: Likewise
2004-07-12 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/5402
* g++.dg/lookup/name-clash1.C: New test.
PR c++/9777
* g++.dg/lookup/name-clash2.C: New test.
PR c++/12102
* g++.dg/lookup/name-clash3.C: New test.
2004-07-12 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/lookup/new2.C: New test.
* g++.old-deja/g++.ns/new1.C: Remove (ill-formed).
2004-07-21 13:21:13 +02:00
2004-07-12 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/g77/12002.f: Copy from g77.f-torture/compile.
004-07-12 David Billinghurst (David.Billinghurst@riotinto.com) * gfortran.dg/g77/12002.f: Copy from g77.f-torture/compile. Add {dg-do compile} directive. * gfortran.dg/g77/13060.f: Likewise * gfortran.dg/g77/19990218-0.f: Likewise * gfortran.dg/g77/19990305-0.f: Likewise * gfortran.dg/g77/19990419-0.f: Likewise * gfortran.dg/g77/19990502-0.f: Likewise * gfortran.dg/g77/19990502-1.f: Likewise * gfortran.dg/g77/19990525-0.f: Likewise * gfortran.dg/g77/19990826-1.f: Likewise * gfortran.dg/g77/19990826-3.f: Likewise * gfortran.dg/g77/19990905-2.f: Likewise * gfortran.dg/g77/20000412-1.f: Likewise * gfortran.dg/g77/20000511-1.f: Likewise * gfortran.dg/g77/20000511-2.f: Likewise * gfortran.dg/g77/20000518.f: Likewise * gfortran.dg/g77/20000601-1.f: Likewise * gfortran.dg/g77/20000601-2.f: Likewise * gfortran.dg/g77/20000629-1.f: Likewise * gfortran.dg/g77/20000630-2.f: Likewise * gfortran.dg/g77/20010115.f: Likewise * gfortran.dg/g77/20010321-1.f: Likewise * gfortran.dg/g77/20010426.f: Likewise * gfortran.dg/g77/20020307-1.f: Likewise * gfortran.dg/g77/8485.f: Likewise * gfortran.dg/g77/960317-1.f: Likewise * gfortran.dg/g77/970915-0.f: Likewise * gfortran.dg/g77/980310-1.f: Likewise * gfortran.dg/g77/980310-2.f: Likewise * gfortran.dg/g77/980310-3.f: Likewise * gfortran.dg/g77/980310-4.f: Likewise * gfortran.dg/g77/980310-6.f: Likewise * gfortran.dg/g77/980310-7.f: Likewise * gfortran.dg/g77/980310-8.f: Likewise * gfortran.dg/g77/980419-2.f: Likewise * gfortran.dg/g77/980424-0.f: Likewise * gfortran.dg/g77/980427-0.f: Likewise * gfortran.dg/g77/980729-0.f: Likewise * gfortran.dg/g77/981117-1.f: Likewise * gfortran.dg/g77/toon_1.f: Likewise From-SVN: r84553
2004-07-12 14:49:11 +02:00
Add {dg-do compile} directive.
* gfortran.dg/g77/13060.f: Likewise
* gfortran.dg/g77/19990218-0.f: Likewise
* gfortran.dg/g77/19990305-0.f: Likewise
* gfortran.dg/g77/19990419-0.f: Likewise
* gfortran.dg/g77/19990502-0.f: Likewise
* gfortran.dg/g77/19990502-1.f: Likewise
* gfortran.dg/g77/19990525-0.f: Likewise
* gfortran.dg/g77/19990826-1.f: Likewise
* gfortran.dg/g77/19990826-3.f: Likewise
* gfortran.dg/g77/19990905-2.f: Likewise
* gfortran.dg/g77/20000412-1.f: Likewise
* gfortran.dg/g77/20000511-1.f: Likewise
* gfortran.dg/g77/20000511-2.f: Likewise
* gfortran.dg/g77/20000518.f: Likewise
* gfortran.dg/g77/20000601-1.f: Likewise
* gfortran.dg/g77/20000601-2.f: Likewise
* gfortran.dg/g77/20000629-1.f: Likewise
* gfortran.dg/g77/20000630-2.f: Likewise
* gfortran.dg/g77/20010115.f: Likewise
* gfortran.dg/g77/20010321-1.f: Likewise
* gfortran.dg/g77/20010426.f: Likewise
* gfortran.dg/g77/20020307-1.f: Likewise
* gfortran.dg/g77/8485.f: Likewise
* gfortran.dg/g77/960317-1.f: Likewise
* gfortran.dg/g77/970915-0.f: Likewise
* gfortran.dg/g77/980310-1.f: Likewise
* gfortran.dg/g77/980310-2.f: Likewise
* gfortran.dg/g77/980310-3.f: Likewise
* gfortran.dg/g77/980310-4.f: Likewise
* gfortran.dg/g77/980310-6.f: Likewise
* gfortran.dg/g77/980310-7.f: Likewise
* gfortran.dg/g77/980310-8.f: Likewise
* gfortran.dg/g77/980419-2.f: Likewise
* gfortran.dg/g77/980424-0.f: Likewise
* gfortran.dg/g77/980427-0.f: Likewise
* gfortran.dg/g77/980729-0.f: Likewise
* gfortran.dg/g77/981117-1.f: Likewise
* gfortran.dg/g77/toon_1.f: Likewise
2004-07-12 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/2204
* g++.dg/other/abstract2.C: New test.
2004-07-12 Paul Brook <paul@codesourcery.com>
* gfortran.dg/pointer_init_1.f90: New test.
2004-07-11 Paul Brook <paul@codesourcery.com>
PR fortran/15986
* gfortran.dg/contained_1.f90: New test.
2004-07-11 Mark Mitchell <mark@codesourcery.com>
* g++.dg/parse/defarg8.C: New test.
2004-07-11 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/16433
* gfortran.dg/pr16433.f: New test.
PR fortran/17574
* gfortran.dg/pr15754.f90: New test.
2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
PR tree-optimization/16437
* gcc.c-torture/execute/bitfld-4.c: New test.
2004-07-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/execute/common_2.f90: Add check for
access to common var from module.
2004-07-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/16336
* gfortran.fortran-torture/execute/common_2.f90: New test.
2004-07-10 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/der_init_5.f90: Enable more tests.
2004-07-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15969
* gfortran.fortran-torture/execute/der_init_5.f90: New test.
2004-07-21 13:21:13 +02:00
2004-07-10 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/g77/ffixed-form-1.f: Copy from g77.dg
* gfortran.dg/g77/ffixed-form-2.f: Likewise
* gfortran.dg/g77/ffree-form-1.f: Likewise
* gfortran.dg/g77/ffree-form-2.f: Likewise
* gfortran.dg/g77/ffree-form-3.f: Likewise
* gfortran.dg/g77/fno-underscoring.f: Likewise
* gfortran.dg/g77/funderscoring.f: Likewise
* gfortran.dg/g77/pr9258.f: Likewise. Add dg-warning lines.
2004-07-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/execute/module_init_1.f90: Fix test.
2004-07-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
Paul Brook <paul@codesourcery.com>
PR fortran/13415
* gfortran.dg/common_pointer_1.f90: New test.
2004-07-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/lookup/new1.C: Fix dg-excess-error syntax.
2004-07-09 James E Wilson <wilson@specifixinc.com>
PR target/16364
* gcc.c-torture/compile/20040709-1.c: New.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14077
* gfortran.fortran-torture/execute/module_init_1.f90: New test.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13201
* gfortran.dg/shape_1.f90: New test.
2004-07-09 Zack Weinberg <zack@codesourcery.com>
Andrew Pinski <apinski@apple.com>
* gcc.dg/noncompile/init-4.c: Remove bogus dg-error marker.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/compile/name_clash2.f90: Remove outdated
comment.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
Paul Brook <paul@codesourcery.com>
* gfortran.dg/dg.exp: Use revised wilcard for suffixes, also allow
'.f95' and '.F95'.
2004-07-09 Diego Novillo <dnovillo@redhat.com>
* gcc.dg/tree-ssa/20031015-1.c: Adjust expected dump file name.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.dg/dg.exp: Don't use wildcard for suffixes, also check
testcases with capital suffix.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15481
2004-07-21 13:21:13 +02:00
PR fortran/13372
PR fortran/13575
PR fortran/15978
* gfortran.fortran-torture/compile/implicit_2.f90: New test.
* gfortran.dg/implicit_1.f90: New test.
2004-07-21 13:21:13 +02:00
2004-07-09 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/gfortran-dg.exp (gfortran-dg-test): Adapt regular
expression to match gfortran warning/error messages
* gfortran.dg/g77/12632.f: Copy from g77.dg and fix
dg-error text.
2004-07-21 13:21:13 +02:00
2004-07-09 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/fortran-torture.exp: Rename proc search_for to
search_for_re.
2004-07-09 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/simd-5.x: New file.
XFAIL on SPARC 64-bit at -O0.
2004-07-09 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/8211
PR c++/16165
* g++.dg/warn/effc3.C: New test.
2004-07-21 13:21:13 +02:00
2004-07-09 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/g77/f77-edit-i-in.f: Copy from g77.dg and
change X to 1X in format.
* gfortran.dg/g77/20010216-1.f: Copy from g77.dg and
add data statements to conform to standard.
2004-07-21 13:21:13 +02:00
2004-07-09 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/g77/f77-edit-s-out.f: Copy from g77.dg. XFAIL
* gfortran.dg/g77/f77-edit-t-in.f: Likewise
* gfortran.dg/g77/f77-edit-x-out.f: Likewise
2004-07-21 13:21:13 +02:00
2004-07-09 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/g77/7388.f: Copy from g77.dg
* gfortran.dg/g77/f77-edit-i-out.f: Likewise
* gfortran.dg/g77/f77-edit-apostrophe-out.f: Likewise
* gfortran.dg/g77/f77-edit-slash-out.f: Likewise
* gfortran.dg/g77/f77-edit-colon-out.f: Likewise
* gfortran.dg/g77/f77-edit-t-out.f: Likewise
* gfortran.dg/g77/f77-edit-h-out.f: Likewise
* gfortran.dg/g77/strlen0.f: Likewise
2004-07-21 13:21:13 +02:00
2004-07-09 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/gfortran-dg.exp: New file (adapted from lib/g77-dg.exp)
* gfortran.dg/dg.exp: New file (adapted from g77.dg/dg.exp)
2004-07-08 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/920428-2.x: Delete.
* gcc.c-torture/execute/920501-7.x: Likewise.
2004-07-08 Jakub Jelinek <jakub@redhat.com>
* gcc.mist-tests/i386-prefetch.exp (PREFETCH_SSE): Change all
-march=i386 into -march=i686. Add -march=i686 -mtune=x and
-march=x for pentium3, pentium3m, pentium-m, pentium4m,
prescott and c3-2.
(PREFETCH_3DNOW): Add -march=c3.
2004-07-08 Diego Novillo <dnovillo@redhat.com>
PR c/16437
* gcc.c-torture/execute/991118-1.x: XFAIL for x86_64.
* gcc.c-torture/execute/bf64-1.x: Likewise.
2004-07-08 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20040708-1.c: New test.
2004-07-08 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/16169
* g++.dg/warn/effc2.C: New test.
2004-07-08 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.c-torture/execute/bitfld-1.x: Remove.
* gcc.c-torture/execute/bitfld-3.c: New test.
* gcc.dg/bitfld-2.c: Remove XFAILs.
2004-07-07 H.J. Lu <hongjiu.lu@intel.com>
PR c++/16276
* g++.dg/rtti/tinfo1.C: New file.
2004-07-07 Eric Christopher <echristo@redhat.com>
* gcc.c-torture/compile/20020210-1.c: xfail with optimization.
2004-07-07 Andrew Pinski <apinski@apple.com>
* gcc.c-torture/execute/931004-12.x: Xfail on powerpc-*-darwin*.
2004-07-07 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/call1.C: XFAIL.
builtins.c: Rename movstr*, except for movstrict*, to movmem* and clrstr* to clrmem*. gcc/ChangeLog: * builtins.c: Rename movstr*, except for movstrict*, to movmem* and clrstr* to clrmem*. * expr.c: Likewise. * expr.h: Likewise. * genopinit.c: Likewise. * integrate.c: Likewise. * local-alloc.c: Likewise. * optabs.c: Likewise. * optabs.h: Likewise. * config/alpha/alpha.h: Likewise. * config/alpha/alpha.md: Likewise. * config/arm/arm-protos.h: Likewise. * config/arm/arm.c: Likewise. * config/arm/arm.md: Likewise. * config/avr/avr.md: Likewise. * config/c4x/c4x.c: Likewise. * config/c4x/c4x.md: Likewise. * config/frv/frv.md: Likewise. * config/i386/i386-protos.h: Likewise. * config/i386/i386.c: Likewise. * config/i386/i386.h: Likewise. * config/i386/i386.md: Likewise. * config/i860/i860.c: Likewise. * config/i860/i860.md: Likewise. * config/ip2k/ip2k.md: Likewise. * config/ip2k/libgcc.S: Likewise. * config/ip2k/t-ip2k: Likewise. * config/m32r/m32r.c: Likewise. * config/m32r/m32r.md: Likewise. * config/mcore/mcore.md: Likewise. * config/mips/mips.c: Likewise. * config/mips/mips.md: Likewise. * config/ns32k/ns32k.c: Likewise. * config/ns32k/ns32k.h: Likewise. * config/ns32k/ns32k.md: Likewise. * config/pa/pa.c: Likewise. * config/pa/pa.md: Likewise. * config/pdp11/pdp11.h: Likewise. * config/pdp11/pdp11.md: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.md: Likewise. * config/s390/s390-protos.h: Likewise. * config/s390/s390.c: Likewise. * config/s390/s390.md: Likewise. * config/sh/lib1funcs.asm: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.md: Likewise. * config/sh/t-sh: Likewise. * config/sparc/sparc.h: Likewise. * config/vax/vax.md: Likewise. * config/xtensa/xtensa.c: Likewise. * config/xtensa/xtensa.md: Likewise. * doc/invoke.texi: Likewise. * doc/md.texi: Likewise. * doc/rtl.texi: Likewise. gcc/testsuite/ChangeLog: * gcc.c-torture/execute/builtins/mempcpy-2.c: Rename movstr*, except for movstrict*, to movmem* and clrstr* to clrmem*. From-SVN: r84222
2004-07-07 21:25:01 +02:00
2004-07-07 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/builtins/mempcpy-2.c: Rename movstr*,
except for movstrict*, to movmem* and clrstr* to clrmem*.
2004-07-07 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20040707-1.c: New test.
2004-07-06 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20040706-1.c: New test.
2004-07-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/3671
* g++.dg/template/spec14.C: New test.
2004-07-05 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20040629-1.c (FIELDS1, FIELDS2): Define to
nothing if not yet defined. Use it in b, c and d type definitions.
* gcc.c-torture/execute/20040705-1.c: New test.
* gcc.c-torture/execute/20040705-2.c: New test.
2004-07-05 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/2518
* g++.dg/lookup/new1.C: New test.
2004-07-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/11406
* g++.dg/template/sizeof8.C: New test.
2004-07-05 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20040705-1.c: New test.
2004-07-04 Bud Davis <bdavis9659@comcast.net>
* gfortran.fortran-torture/execute/seq_io.f90: New test.
2004-07-04 Neil Booth <neil@duron.akihabara.co.uk>
* gcc.dg/cpp/if-mop.c: Two new testcases.
* gcc.dg/cpp/trad/comment-3.c: New.
2004-07-04 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/compile/implicit_1.f90: New test.
2004-07-03 Scott Brumbaugh <scottb.lists@verizon.net>
PR c++/3761
* g++.dg/lookup/crash4.C: New test.
* gcc.c-torture/execute/builtin-abs-1.c * gcc.c-torture/execute/builtin-abs-2.c * gcc.c-torture/execute/builtin-complex-1.c * gcc.c-torture/execute/builtins/string-1-lib.c * gcc.c-torture/execute/builtins/string-1.c * gcc.c-torture/execute/builtins/string-2-lib.c * gcc.c-torture/execute/builtins/string-2.c * gcc.c-torture/execute/builtins/string-3-lib.c * gcc.c-torture/execute/builtins/string-3.c * gcc.c-torture/execute/builtins/string-4-lib.c * gcc.c-torture/execute/builtins/string-4.c * gcc.c-torture/execute/builtins/string-5-lib.c * gcc.c-torture/execute/builtins/string-5.c * gcc.c-torture/execute/builtins/string-6-lib.c * gcc.c-torture/execute/builtins/string-6.c * gcc.c-torture/execute/builtins/string-7-lib.c * gcc.c-torture/execute/builtins/string-7.c * gcc.c-torture/execute/builtins/string-8-lib.c * gcc.c-torture/execute/builtins/string-8.c * gcc.c-torture/execute/builtins/string-9-lib.c * gcc.c-torture/execute/builtins/string-9.c * gcc.c-torture/execute/builtins/string-asm-1-lib.c * gcc.c-torture/execute/builtins/string-asm-1.c * gcc.c-torture/execute/builtins/string-asm-2-lib.c * gcc.c-torture/execute/builtins/string-asm-2.c * gcc.c-torture/execute/stdio-opt-1.c * gcc.c-torture/execute/stdio-opt-2.c * gcc.c-torture/execute/stdio-opt-3.c * gcc.c-torture/execute/string-opt-1.c * gcc.c-torture/execute/string-opt-10.c * gcc.c-torture/execute/string-opt-11.c * gcc.c-torture/execute/string-opt-12.c * gcc.c-torture/execute/string-opt-13.c * gcc.c-torture/execute/string-opt-14.c * gcc.c-torture/execute/string-opt-15.c * gcc.c-torture/execute/string-opt-16.c * gcc.c-torture/execute/string-opt-2.c * gcc.c-torture/execute/string-opt-6.c * gcc.c-torture/execute/string-opt-7.c * gcc.c-torture/execute/string-opt-8.c: Replace with ... * gcc.c-torture/execute/builtins/abs-2.c * gcc.c-torture/execute/builtins/abs-3.c * gcc.c-torture/execute/builtins/complex-1.c * gcc.c-torture/execute/builtins/fprintf.c * gcc.c-torture/execute/builtins/fputs.c * gcc.c-torture/execute/builtins/memcmp.c * gcc.c-torture/execute/builtins/memmove.c * gcc.c-torture/execute/builtins/memops-asm.c * gcc.c-torture/execute/builtins/mempcpy-2.c * gcc.c-torture/execute/builtins/mempcpy.c * gcc.c-torture/execute/builtins/memset.c * gcc.c-torture/execute/builtins/printf.c * gcc.c-torture/execute/builtins/sprintf.c * gcc.c-torture/execute/builtins/strcat.c * gcc.c-torture/execute/builtins/strchr.c * gcc.c-torture/execute/builtins/strcmp.c * gcc.c-torture/execute/builtins/strcpy.c * gcc.c-torture/execute/builtins/strcspn.c * gcc.c-torture/execute/builtins/strlen-2.c * gcc.c-torture/execute/builtins/strlen.c * gcc.c-torture/execute/builtins/strncat.c * gcc.c-torture/execute/builtins/strncmp-2.c * gcc.c-torture/execute/builtins/strncmp.c * gcc.c-torture/execute/builtins/strncpy.c * gcc.c-torture/execute/builtins/strpbrk.c * gcc.c-torture/execute/builtins/strpcpy-2.c * gcc.c-torture/execute/builtins/strpcpy.c * gcc.c-torture/execute/builtins/strrchr.c * gcc.c-torture/execute/builtins/strspn.c * gcc.c-torture/execute/builtins/strstr-asm.c * gcc.c-torture/execute/builtins/strstr.c: ... these new files. * gcc.c-torture/execute/builtins/abs-2-lib.c * gcc.c-torture/execute/builtins/abs-3-lib.c * gcc.c-torture/execute/builtins/complex-1-lib.c * gcc.c-torture/execute/builtins/fprintf-lib.c * gcc.c-torture/execute/builtins/fputs-lib.c * gcc.c-torture/execute/builtins/memcmp-lib.c * gcc.c-torture/execute/builtins/memmove-lib.c * gcc.c-torture/execute/builtins/memops-asm-lib.c * gcc.c-torture/execute/builtins/mempcpy-2-lib.c * gcc.c-torture/execute/builtins/mempcpy-lib.c * gcc.c-torture/execute/builtins/memset-lib.c * gcc.c-torture/execute/builtins/printf-lib.c * gcc.c-torture/execute/builtins/sprintf-lib.c * gcc.c-torture/execute/builtins/strcat-lib.c * gcc.c-torture/execute/builtins/strchr-lib.c * gcc.c-torture/execute/builtins/strcmp-lib.c * gcc.c-torture/execute/builtins/strcpy-lib.c * gcc.c-torture/execute/builtins/strcspn-lib.c * gcc.c-torture/execute/builtins/strlen-2-lib.c * gcc.c-torture/execute/builtins/strlen-lib.c * gcc.c-torture/execute/builtins/strncat-lib.c * gcc.c-torture/execute/builtins/strncmp-2-lib.c * gcc.c-torture/execute/builtins/strncmp-lib.c * gcc.c-torture/execute/builtins/strncpy-lib.c * gcc.c-torture/execute/builtins/strpbrk-lib.c * gcc.c-torture/execute/builtins/strpcpy-2-lib.c * gcc.c-torture/execute/builtins/strpcpy-lib.c * gcc.c-torture/execute/builtins/strrchr-lib.c * gcc.c-torture/execute/builtins/strspn-lib.c * gcc.c-torture/execute/builtins/strstr-asm-lib.c * gcc.c-torture/execute/builtins/strstr-lib.c * gcc.c-torture/execute/builtins/lib/abs.c * gcc.c-torture/execute/builtins/lib/fprintf.c * gcc.c-torture/execute/builtins/lib/memset.c * gcc.c-torture/execute/builtins/lib/printf.c * gcc.c-torture/execute/builtins/lib/sprintf.c * gcc.c-torture/execute/builtins/lib/strcpy.c * gcc.c-torture/execute/builtins/lib/strcspn.c * gcc.c-torture/execute/builtins/lib/strncat.c * gcc.c-torture/execute/builtins/lib/strncmp.c * gcc.c-torture/execute/builtins/lib/strncpy.c * gcc.c-torture/execute/builtins/lib/strpbrk.c * gcc.c-torture/execute/builtins/lib/strspn.c * gcc.c-torture/execute/builtins/lib/strstr.c: New files containing support routines. * gcc.c-torture/execute/builtins/abs-1.c: Remove unnecessary declaration. * gcc.c-torture/execute/builtins/lib/main.c: Define link_error when not optimizing. From-SVN: r84044
2004-07-03 04:16:50 +02:00
2004-07-02 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/builtin-abs-1.c
* gcc.c-torture/execute/builtin-abs-2.c
* gcc.c-torture/execute/builtin-complex-1.c
* gcc.c-torture/execute/builtins/string-1-lib.c
* gcc.c-torture/execute/builtins/string-1.c
* gcc.c-torture/execute/builtins/string-2-lib.c
* gcc.c-torture/execute/builtins/string-2.c
* gcc.c-torture/execute/builtins/string-3-lib.c
* gcc.c-torture/execute/builtins/string-3.c
* gcc.c-torture/execute/builtins/string-4-lib.c
* gcc.c-torture/execute/builtins/string-4.c
* gcc.c-torture/execute/builtins/string-5-lib.c
* gcc.c-torture/execute/builtins/string-5.c
* gcc.c-torture/execute/builtins/string-6-lib.c
* gcc.c-torture/execute/builtins/string-6.c
* gcc.c-torture/execute/builtins/string-7-lib.c
* gcc.c-torture/execute/builtins/string-7.c
* gcc.c-torture/execute/builtins/string-8-lib.c
* gcc.c-torture/execute/builtins/string-8.c
* gcc.c-torture/execute/builtins/string-9-lib.c
* gcc.c-torture/execute/builtins/string-9.c
* gcc.c-torture/execute/builtins/string-asm-1-lib.c
* gcc.c-torture/execute/builtins/string-asm-1.c
* gcc.c-torture/execute/builtins/string-asm-2-lib.c
* gcc.c-torture/execute/builtins/string-asm-2.c
* gcc.c-torture/execute/stdio-opt-1.c
* gcc.c-torture/execute/stdio-opt-2.c
* gcc.c-torture/execute/stdio-opt-3.c
* gcc.c-torture/execute/string-opt-1.c
* gcc.c-torture/execute/string-opt-10.c
* gcc.c-torture/execute/string-opt-11.c
* gcc.c-torture/execute/string-opt-12.c
* gcc.c-torture/execute/string-opt-13.c
* gcc.c-torture/execute/string-opt-14.c
* gcc.c-torture/execute/string-opt-15.c
* gcc.c-torture/execute/string-opt-16.c
* gcc.c-torture/execute/string-opt-2.c
* gcc.c-torture/execute/string-opt-6.c
* gcc.c-torture/execute/string-opt-7.c
* gcc.c-torture/execute/string-opt-8.c:
Replace with ...
* gcc.c-torture/execute/builtins/abs-2.c
* gcc.c-torture/execute/builtins/abs-3.c
* gcc.c-torture/execute/builtins/complex-1.c
* gcc.c-torture/execute/builtins/fprintf.c
* gcc.c-torture/execute/builtins/fputs.c
* gcc.c-torture/execute/builtins/memcmp.c
* gcc.c-torture/execute/builtins/memmove.c
* gcc.c-torture/execute/builtins/memops-asm.c
* gcc.c-torture/execute/builtins/mempcpy-2.c
* gcc.c-torture/execute/builtins/mempcpy.c
* gcc.c-torture/execute/builtins/memset.c
* gcc.c-torture/execute/builtins/printf.c
* gcc.c-torture/execute/builtins/sprintf.c
* gcc.c-torture/execute/builtins/strcat.c
* gcc.c-torture/execute/builtins/strchr.c
* gcc.c-torture/execute/builtins/strcmp.c
* gcc.c-torture/execute/builtins/strcpy.c
* gcc.c-torture/execute/builtins/strcspn.c
* gcc.c-torture/execute/builtins/strlen-2.c
* gcc.c-torture/execute/builtins/strlen.c
* gcc.c-torture/execute/builtins/strncat.c
* gcc.c-torture/execute/builtins/strncmp-2.c
* gcc.c-torture/execute/builtins/strncmp.c
* gcc.c-torture/execute/builtins/strncpy.c
* gcc.c-torture/execute/builtins/strpbrk.c
* gcc.c-torture/execute/builtins/strpcpy-2.c
* gcc.c-torture/execute/builtins/strpcpy.c
* gcc.c-torture/execute/builtins/strrchr.c
* gcc.c-torture/execute/builtins/strspn.c
* gcc.c-torture/execute/builtins/strstr-asm.c
* gcc.c-torture/execute/builtins/strstr.c:
... these new files.
* gcc.c-torture/execute/builtins/abs-2-lib.c
* gcc.c-torture/execute/builtins/abs-3-lib.c
* gcc.c-torture/execute/builtins/complex-1-lib.c
* gcc.c-torture/execute/builtins/fprintf-lib.c
* gcc.c-torture/execute/builtins/fputs-lib.c
* gcc.c-torture/execute/builtins/memcmp-lib.c
* gcc.c-torture/execute/builtins/memmove-lib.c
* gcc.c-torture/execute/builtins/memops-asm-lib.c
* gcc.c-torture/execute/builtins/mempcpy-2-lib.c
* gcc.c-torture/execute/builtins/mempcpy-lib.c
* gcc.c-torture/execute/builtins/memset-lib.c
* gcc.c-torture/execute/builtins/printf-lib.c
* gcc.c-torture/execute/builtins/sprintf-lib.c
* gcc.c-torture/execute/builtins/strcat-lib.c
* gcc.c-torture/execute/builtins/strchr-lib.c
* gcc.c-torture/execute/builtins/strcmp-lib.c
* gcc.c-torture/execute/builtins/strcpy-lib.c
* gcc.c-torture/execute/builtins/strcspn-lib.c
* gcc.c-torture/execute/builtins/strlen-2-lib.c
* gcc.c-torture/execute/builtins/strlen-lib.c
* gcc.c-torture/execute/builtins/strncat-lib.c
* gcc.c-torture/execute/builtins/strncmp-2-lib.c
* gcc.c-torture/execute/builtins/strncmp-lib.c
* gcc.c-torture/execute/builtins/strncpy-lib.c
* gcc.c-torture/execute/builtins/strpbrk-lib.c
* gcc.c-torture/execute/builtins/strpcpy-2-lib.c
* gcc.c-torture/execute/builtins/strpcpy-lib.c
* gcc.c-torture/execute/builtins/strrchr-lib.c
* gcc.c-torture/execute/builtins/strspn-lib.c
* gcc.c-torture/execute/builtins/strstr-asm-lib.c
* gcc.c-torture/execute/builtins/strstr-lib.c
* gcc.c-torture/execute/builtins/lib/abs.c
* gcc.c-torture/execute/builtins/lib/fprintf.c
* gcc.c-torture/execute/builtins/lib/memset.c
* gcc.c-torture/execute/builtins/lib/printf.c
* gcc.c-torture/execute/builtins/lib/sprintf.c
* gcc.c-torture/execute/builtins/lib/strcpy.c
* gcc.c-torture/execute/builtins/lib/strcspn.c
* gcc.c-torture/execute/builtins/lib/strncat.c
* gcc.c-torture/execute/builtins/lib/strncmp.c
* gcc.c-torture/execute/builtins/lib/strncpy.c
* gcc.c-torture/execute/builtins/lib/strpbrk.c
* gcc.c-torture/execute/builtins/lib/strspn.c
* gcc.c-torture/execute/builtins/lib/strstr.c:
New files containing support routines.
* gcc.c-torture/execute/builtins/abs-1.c: Remove unnecessary
declaration.
* gcc.c-torture/execute/builtins/lib/main.c: Define link_error
when not optimizing.
2004-07-02 Mark Mitchell <mark@codesourcery.com>
PR c++/16240
* g++.dg/abi/mangle22.C: New test.
* g++.dg/abi/mangle23.C: Likewise.
2004-07-21 13:21:13 +02:00
2004-07-02 David Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/16290
* gfortran.fortran-torture/execute/intrinsic_set_exponent.f90
Allow for cases without denormalized floating point numbers.
2004-07-01 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/1027
* gcc.dg/Wswitch-enum.c, gcc.dg/Wswitch.c,
gcc.dg/format/branch-1.c, gcc.dg/format/diag-1.c,
gcc.dg/format/multattr-3.c, gcc.dg/format/xopen-1.c: Update
expected warning text.
* gcc.dg/format/diag-2.c: New test.
2004-07-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20040323-1.c: XFAIL on Solaris 2.
2004-07-01 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/builtins-43.c: New.
* gcc.dg/builtins-44.c: New.
* gcc.dg/builtins-45.c: New.
Index: gcc/ChangeLog 2004-06-28 Geoffrey Keating <geoffk@apple.com> Andreas Tobler <a.tobler@schweiz.ch> PR 15813 * dwarf2out.c (reg_save): Output DW_CFA_same_value when a register is saved in itself. (initial_return_save): If the return address is a register, it's already there, don't bother to mention it in the CFI. (struct queued_reg_save): Add field saved_reg. (struct reg_saved_in_data): New. (regs_saved_in_regs): New. (num_regs_saved_in_regs): New. (queue_reg_save): Add extra parameter to specify register saved in register. Remove duplicate entries from queue. Add comment for function. (flush_queued_reg_saves): Handle registers saved in registers. Update regs_saved_in_regs. Add comment for function. (clobbers_queued_reg_save): Add comment for function. Allow for regs_saved_in_regs. (reg_saved_in): New. (dwarf2out_frame_debug_expr): Handle saving registers in other registers. (dwarf2out_frame_debug): Reset regs_saved_in_regs. * unwind-dw2.c (execute_cfa_program): Correct handling of DW_CFA_same_value. Add FIXME comment about incorrect implementation of DW_CFA_restore_extended. * config/rs6000/rs6000.c (rs6000_emit_prologue): Let dwarf2out_frame_debug_expr see instructions that save registers in other registers or save those other registers in memory. * unwind-dw2.c (DWARF_FRAME_REGISTERS): Move to unwind-dw2.h. (_Unwind_FrameState): Likewise. * unwind-dw2.h: New. * Makefile.in (LIB2ADDEHDEP): Add unwind-dw2.h. * config/rs6000/darwin-fallback.c: New file. * config/rs6000/darwin.h (MD_FALLBACK_FRAME_STATE_FOR): Define. * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add darwin-fallback.o. Index: gcc/testsuite/ChangeLog 2004-06-26 Geoffrey Keating <geoffk@apple.com> Andreas Tobler <a.tobler@schweiz.ch> * gcc.dg/cleanup-10.c: Run on all Linux platforms and powerpc-darwin. Use SA_RESETHAND rather than SA_ONESHOT. Trap SIGBUS as well as SIGSEGV. * gcc.dg/cleanup-11.c: Likewise. * gcc.dg/cleanup-8.c: Likewise. * gcc.dg/cleanup-9.c: Likewise. * gcc.dg/cleanup-5.c: Run on all platforms. Index: libjava/ChangeLog 2004-06-26 Geoffrey Keating <geoffk@apple.com> Andreas Tobler <a.tobler@schweiz.ch> * configure.host (powerpc-*-darwin*): New case, define can_unwind_signal. * configure.in (*-*-darwin*): New case, point to darwin-signal.h. * configure: Regenerate. * include/darwin-signal.h: New. Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch> From-SVN: r83953
2004-07-01 06:09:07 +02:00
2004-06-26 Geoffrey Keating <geoffk@apple.com>
Andreas Tobler <a.tobler@schweiz.ch>
* gcc.dg/cleanup-10.c: Run on all Linux platforms and powerpc-darwin.
Use SA_RESETHAND rather than SA_ONESHOT. Trap SIGBUS as well
as SIGSEGV.
* gcc.dg/cleanup-11.c: Likewise.
* gcc.dg/cleanup-8.c: Likewise.
* gcc.dg/cleanup-9.c: Likewise.
* gcc.dg/cleanup-5.c: Run on all platforms.
2004-06-30 Joseph S. Myers <jsm@polyomino.org.uk>
* g++.dg/warn/nonnull1.C: New test.
2004-06-30 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/compat-common.h: Wrap up CINT in
an #ifndef SKIP_COMPLEX_INT/#endif pair.
Special-case the Sun compiler wrt to <complex.h>.
2004-06-30 Nitin Yewale <nitiny@kpitcummins.com>
* gcc.dg/Wunreachable-8.C: New test.
* gcc.dg/h8300-ice2.c : New test.
2004-06-30 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
PR fortran/16161
* gfortran.fortran-torture/compile/implicit.f90: Add test
for implicit character.
2004-07-21 13:21:13 +02:00
2004-06-30 David Billinghurst <David.Billinghurst@riotinto.com>
2004-07-21 13:21:13 +02:00
PR fortran/16289
* gfortran.fortran-torture/execute/intrinsic_nearest.f90
Use tiny() intrinsic to find smallest non-negative real
2004-06-30 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/compat/struct-by-value-22_main.c: New test.
* gcc.dg/compat/struct-by-value-22_x.c: New.
* gcc.dg/compat/struct-by-value-22_y.c: New.
* gcc.c-torture/execute/20040629-1.c: New test.
2004-06-29 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/compat/vector-defs.h: Use vector_size attribute
only for GCC 3.5+, for GCC up to 3.4 mode(V*) attribute instead.
PR target/16195
* gcc.dg/20040625-1.c: New test.
2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/execute/parameter_2.f90: New test.
2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15963
* gfortran.fortran-torture/execute/initialization_1.f90: New test.
2004-06-29 Richard Henderson <rth@redhat.com>
* gcc.dg/tree-ssa/20040430-1.c: Expect zero if's.
2004-06-29 Paul Brook <paul@codesourcery.com>
* g++.old-deja/g++.abi/arraynew.C: Handle ARM EABI cookies.
* g++.old-deja/g++.abi/cxa_vec.C: Allocate larger cookies for AEABI.
2004-06-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/16260
* g++.dg/parse/crash15.C: New.
2004-06-28 Andrew Pinski <apinski@apple.com>
* gcc.dg/pr14963.c: Remove the dg-warning as it is dected
by the error already.
* g++.dg/opt/ptrmem4.C: Change to compile only test.
2004-06-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
PR target/14041
* gcc.dg/h8300-bss-align-1.c : New.
2004-06-28 Nathan Sidwell <nathan@codesourcery.com>
* PR c++/16174
* g++.dg/template/ctor4.C: New.
2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16205
* g++.dg/warn/Wsequence-point-1.C: New test.
2004-06-27 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/specfics.f90: Use correct typing.
2004-06-27 Zack Weinberg <zack@codesourcery.com>
* g++.old-deja/g++.mike/p7325.C: Remove.
2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
PR c/14963
* gcc.dg/pr14963.c: New test.
2004-06-27 Mark Mitchell <mark@codesourcery.com>
PR c++/16193
* g++.dg/parse/redef1.C: New test.
2004-06-27 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.c-torture/compile/20021123-1.c: Remove duplicate of
20021110.c.
* gcc.c-torture/compile/20021123-4.c: Remove duplicate of
20021119-1.c.
* gcc.dg/vmx/5-05.c, gcc.dg/vmx/5-06.c, gcc.dg/vmx/5-07.c,
gcc.dg/vmx/5-08.c: Remove duplicates of 5-01.c, 5-02.c, 5-03.c,
5-04.c.
* gcc.dg/builtins-42.c: Remove duplicate of builtins-41.c.
* g++.dg/other/new1.C: Remove duplicate of g++.dg/init/new1.C.
* g++.dg/init/elide3.C: Remove duplicate of elide2.C.
* g++.old-deja/g++.law/enum8.C: Remove duplicate of
g++.brendan/enum14.C.
* g++.old-deja/g++.mike/ns8.C: Remove duplicate of ns6.C
* g++.old-deja/g++.ns/alias5.C: Remove duplicate of alias1.C.
* g++.old-deja/g++.other/virtual1.C: Remove duplicate of
g++.mike/virt1.C.
* g++.old-deja/g++.pt/memtemp27.C: Remove duplicate of
memtemp24.C.
2004-06-27 Roger Sayle <roger@eyesopen.com>
* gcc.dg/20040527-1.c: New test case.
2004-06-26 Bud Davis <bdavis9659@comcast.net>
PR gfortran/pr16196
* gfortran.fortran-torture/execute/open_replace.f90: New test case.
2004-06-25 Roger Sayle <roger@eyesopen.com>
PR middle-end/15825
* gcc.dg/pr15825-1.c: New test case.
2004-06-25 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20040625-1.c: New test.
2004-06-25 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/execute/der_init_3.f90: Fix syntax error.
2004-06-25 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-div-1.c: New test.
2004-06-24 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20040624-1.c: New test.
2004-06-24 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20040624-1.c: New test.
2004-06-24 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/tree-ssa/tree-ssa.exp: Remove. dg.exp already handles
this directory.
2004-06-23 Andrew Pinski <apinski@apple.com>
PR middle-end/15988
* g++.dg/opt/ptrmem4.C: New test.
* gcc.dg/c90-array-quals-2.c: New test.
2006-06-23 Nitin Yewale <NitinY@KPITCummins.com>
* gcc.dg/kpice1.c: New test.
2006-06-23 Andrew Pinski <apinski@apple.com>
* gcc.dg/c90-array-quals.c: New test.
2006-06-22 Richard Henderson <rth@redhat.com>
* gcc.dg/noreturn-1.c (foo5): Update function does return lineno.
2004-06-22 Loren James Rittle <ljrittle@acm.org>
* gcc.dg/builtins-config.h: Handle FreeBSD.
2006-06-22 Richard Henderson <rth@redhat.com>
* g++.dg/opt/devirt1.C: New.
2004-06-22 Kelley Cook <kcook@gcc.gnu.org>
* g++.dg/opt/pr15551.C: New testcase.
2004-06-22 H.J. Lu <hongjiu.lu@intel.com>
PR target/14800
* gcc.misc-tests/linkage.exp: Set native_cflags to "-m32" for
x86_64-*-linux* when compiling for 32bit.
2004-06-21 Andrew Pinski <apinski@apple.com>
* gcc.dg/pch/struct-1.c: New.
* gcc.dg/pch/struct-1.hs: New.
2004-06-21 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/save-temps-1.c: New file.
* gcc.dg/pch/save-temps-1.hs: New file.
2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
* gfortran.fortran-torture/execute/iolength_1.f90: New test.
* gfortran.fortran-torture/execute/iolength_3.f90: New test.
2004-06-21 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/execute/select_1.f90: Rename function
to fix type error.
* gfortran.fortran-torture/execute/intrinsic_associated.f90:
Remove trailing spaces.
2004-06-21 Richard Henderson <rth@redhat.com>
* gcc.dg/tree-ssa/20030714-1.c: Rename variables to avoid
merging && to BIT_FIELD_REF.
2004-06-21 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/opt/placeholder1.C: New test.
2004-06-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/struct-complex-1_x.c: Add dummy symbol.
* gcc.dg/compat/struct-complex-1_y.c: Likewise.
* gcc.dg/compat/union-m128-1_x.c: Likewise.
* gcc.dg/compat/union-m128-1_y.c: Likewise.
c-common.h (has_c_linkage): New interface. * c-common.h (has_c_linkage): New interface. * c-cppbuiltin.c: Include target.h. (c_cpp_builtins): Define __PRAGMA_REDEFINE_EXTNAME and __PRAGMA_EXTERN_PREFIX when appropriate. * c-pragma.c: Include target.h. Document clarified semantics of symbol-renaming #pragmas. (handle_pragma_redefine_extname, handle_pragma_extern_prefix) (maybe_apply_renaming_pragma): Rewrite according to clarified semantics. Always recognize, but do not necessarily execute. (init_pragma): Unconditionally register symbol-renaming pragmas. * system.h: Poison HANDLE_PRAGMA_REDEFINE_EXTNAME and HANDLE_PRAGMA_EXTERN_PREFIX. * target.h (struct gcc_target): Add handle_pragma_redefine_extname and handle_pragma_extern_prefix flags. * target-def.h: Add defaults for TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME and TARGET_HANDLE_PRAGMA_EXTERN_PREFIX. * Makefile.in (c-pragma.o, c-cppbuiltin.o): Update dependencies. * config/sol2.h: Define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME, not HANDLE_PRAGMA_REDEFINE_EXTNAME. (TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_REDEFINE_EXTNAME. (TRANSFER_FROM_TRAMPOLINE): Prototype mprotect. * config/alpha/osf.h: Define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX, not HANDLE_PRAGMA_EXTERN_PREFIX. (TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_EXTERN_PREFIX. * doc/extend.texi (Solaris Pragmas, Tru64 Pragmas): Combine into one section "Symbol-Renaming Pragmas"; clarify; document adjusted semantics. * builtins.c (expand_builtin): Do not issue error for a builtin with no special case code and no DECL_ASSEMBLER_NAME; just do the library call. * c-decl.c (builtin_function): Don't call make_decl_rtl. * c-objc-common.c (has_c_linkage): Stub implementation. * cgraphunit.c (cgraph_expand_function) (cgraph_remove_unreachable_nodes): Don't clear DECL_ARGUMENTS. cp: * cp-lang.c (has_c_linkage): Implement. * cp-tree.h (set_mangled_name_for_decl): Don't prototype. * decl.c (duplicate_decls): Use COPY_DECL_RTL. (builtin_function_1): Don't call make_decl_rtl. (build_cp_library_fn): Don't call set_mangled_name_for_decl. (grokvardecl): Don't call mangle_decl. * except.c (nothrow_libfn_p): Look at DECL_NAME, not DECL_ASSEMBLER_NAME. * method.c (set_mangled_name_for_decl): Delete. * name-lookup.c (pushdecl): When a local extern shadows a file-scope declaration of the same object, give both DECLs the same DECL_UID. * typeck.c (cxx_mark_addressable): Don't set TREE_ADDRESSABLE on DECL_ASSEMBLER_NAME. testsuite: * g++.dg/expr/enum1.C, g++.dg/opt/const3.C: Declare abort with extern "C". * g++.dg/other/pragma-re-1.C: Add comments. From-SVN: r83405
2004-06-20 10:34:54 +02:00
2004-06-20 Zack Weinberg <zack@codesourcery.com>
* g++.dg/expr/enum1.C, g++.dg/opt/const3.C: Declare abort with
extern "C".
* g++.dg/other/pragma-re-1.C: Add comments.
2004-06-19 Bud Davis <bdavis9659@comcast.net>
c-common.h (has_c_linkage): New interface. * c-common.h (has_c_linkage): New interface. * c-cppbuiltin.c: Include target.h. (c_cpp_builtins): Define __PRAGMA_REDEFINE_EXTNAME and __PRAGMA_EXTERN_PREFIX when appropriate. * c-pragma.c: Include target.h. Document clarified semantics of symbol-renaming #pragmas. (handle_pragma_redefine_extname, handle_pragma_extern_prefix) (maybe_apply_renaming_pragma): Rewrite according to clarified semantics. Always recognize, but do not necessarily execute. (init_pragma): Unconditionally register symbol-renaming pragmas. * system.h: Poison HANDLE_PRAGMA_REDEFINE_EXTNAME and HANDLE_PRAGMA_EXTERN_PREFIX. * target.h (struct gcc_target): Add handle_pragma_redefine_extname and handle_pragma_extern_prefix flags. * target-def.h: Add defaults for TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME and TARGET_HANDLE_PRAGMA_EXTERN_PREFIX. * Makefile.in (c-pragma.o, c-cppbuiltin.o): Update dependencies. * config/sol2.h: Define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME, not HANDLE_PRAGMA_REDEFINE_EXTNAME. (TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_REDEFINE_EXTNAME. (TRANSFER_FROM_TRAMPOLINE): Prototype mprotect. * config/alpha/osf.h: Define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX, not HANDLE_PRAGMA_EXTERN_PREFIX. (TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_EXTERN_PREFIX. * doc/extend.texi (Solaris Pragmas, Tru64 Pragmas): Combine into one section "Symbol-Renaming Pragmas"; clarify; document adjusted semantics. * builtins.c (expand_builtin): Do not issue error for a builtin with no special case code and no DECL_ASSEMBLER_NAME; just do the library call. * c-decl.c (builtin_function): Don't call make_decl_rtl. * c-objc-common.c (has_c_linkage): Stub implementation. * cgraphunit.c (cgraph_expand_function) (cgraph_remove_unreachable_nodes): Don't clear DECL_ARGUMENTS. cp: * cp-lang.c (has_c_linkage): Implement. * cp-tree.h (set_mangled_name_for_decl): Don't prototype. * decl.c (duplicate_decls): Use COPY_DECL_RTL. (builtin_function_1): Don't call make_decl_rtl. (build_cp_library_fn): Don't call set_mangled_name_for_decl. (grokvardecl): Don't call mangle_decl. * except.c (nothrow_libfn_p): Look at DECL_NAME, not DECL_ASSEMBLER_NAME. * method.c (set_mangled_name_for_decl): Delete. * name-lookup.c (pushdecl): When a local extern shadows a file-scope declaration of the same object, give both DECLs the same DECL_UID. * typeck.c (cxx_mark_addressable): Don't set TREE_ADDRESSABLE on DECL_ASSEMBLER_NAME. testsuite: * g++.dg/expr/enum1.C, g++.dg/opt/const3.C: Declare abort with extern "C". * g++.dg/other/pragma-re-1.C: Add comments. From-SVN: r83405
2004-06-20 10:34:54 +02:00
PR gfortran/16080
* gfortran.fortran-torture/execute/read_null_string.f90: New file.
2004-06-19 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/lookup/crash3.C: Use __SIZE_TYPE__
instead of setting the type of size_t by
hand.
2004-06-18 Roger Sayle <roger@eyesopen.com>
* gcc.dg/unordered-2.c: New test case.
* gcc.dg/unordered-3.c: New test case.
2004-07-21 13:21:13 +02:00
2004-06-19 David Billinghurst <David.Billinghurst@riotinto.com>
PR other/16043
* lib/g++.exp (g++_version): Tweak regexp for version
* lib/g77.exp (g77_version): Likewise
* lib/gfortran.exp (gfortran_version): Likewise
* lib/objc.exp (objc_version): Likewise
* lib/treelang.exp (treelang_version): Likewise
2004-06-19 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/compat/struct-align-2_x.c: Include <limits.h>.
Use INT_MAX instead of __INT_MAX__.
* gcc.dg/compat/struct-align-2_y.c: Likewise.
* gcc.dg/compat/compat-common.h (CINT, CDBL): Define.
* gcc.dg/compat/scalar-return-3_x.c: Use it.
* gcc.dg/compat/scalar-return-3_y.c: Use it.
* gcc.dg/compat/scalar-return-4_x.c: Use it.
* gcc.dg/compat/scalar-return-4_y.c: Use it.
* gcc.dg/compat/scalar-by-value-3_x.c: Use it.
* gcc.dg/compat/scalar-by-value-3_y.c: Use it.
* gcc.dg/compat/scalar-by-value-4_x.c: Use it.
* gcc.dg/compat/scalar-by-value-4_y.c: Use it.
* gcc.dg/range-test-1.c: New test.
* g++.dg/opt/range-test-1.C: New test.
c-common.c (flag_objc_sjlj_exceptions): New. * c-common.c (flag_objc_sjlj_exceptions): New. * c-common.h (flag_objc_sjlj_exceptions): Declare. * c-opts.c (c_common_handle_option): Set it. (c_common_post_options): Handle interation of different objective-c exception and runtime switches. * c-decl.c (c_eh_initialized_p): New. (finish_decl): Use it instead of local eh_initialized_p. * c-parse.in (nested_function, notype_nested_function): Record the result of compstmt. (compstmt_or_error): Likewise. (compstmt): Don't add_stmt the result. (stmt): Don't return anything. Rewrite objc try and sync rules. (objc_try_stmt, objc_catch_list): Remove. (objc_catch_block, objc_finally_block): Remove. (objc_catch_prefix, objc_catch_clause, objc_opt_catch_list): New. (objc_try_catch_clause, objc_finally_clause): New. (objc_try_catch_stmt): Rewrite. * c-tree.h (c_eh_initialized_p): Declare. * c-opt (fobjc-sjlj-exceptions): New. * except.c (output_function_exception_table): Don't call cgraph on non-decls. * objc/objc-act.c (UTAG_EXCDATA_VAR, UTAG_CAUGHTEXC_VAR, UTAG_RETHROWEXC_VAR, UTAG_EVALONCE_VAR, struct val_stack, catch_count_stack, exc_binding_stack, if_nesting_count, blk_nesting_count, objc_enter_block, objc_exit_block, objc_declare_variable, val_stack_push, val_stack_pop, objc_build_try_enter_fragment, objc_build_extract_expr, objc_build_try_exit_fragment, objc_build_extract_fragment, objc_build_try_prologue, objc_build_try_epilogue, objc_build_catch_stmt, objc_build_catch_epilogue, objc_build_finally_prologue, objc_build_finally_epilogue, objc_build_try_catch_finally_stmt, objc_build_synchronized_prologue, objc_build_synchronized_epilogue): Remove. (objc_create_temporary_var, struct objc_try_context, cur_try_context, objc_eh_runtime_type, objc_init_exceptions, objc_build_exc_ptr, next_sjlj_build_try_exit, next_sjlj_build_enter_and_setjmp, next_sjlj_build_exc_extract, next_sjlj_build_catch_list, next_sjlj_build_try_catch_finally, objc_begin_try_stmt, objc_begin_catch_clause, objc_finish_catch_clause, objc_build_finally_clause, objc_finish_try_stmt, objc_build_synchronized): New. (objc_is_object_id, objc_is_class_id): New. (objc_comptypes): Use them. (build_next_objc_exception_stuff): Break NeXT sjlj out from build_objc_exception_stuff. (synth_module_prologue): Update to match. (objc_build_throw_stmt): Use cur_try_context to decide if we're in a @catch. * objc/objc-act.h: Update prototypes. (OCTI_EXCEPTION_BLK_STACK, objc_exception_block_stack): Remove. testsuite/ * objc.dg/sync-1.m: New. * objc.dg/try-catch-1.m: Don't force next runtime. * objc.dg/try-catch-3.m, objc.dg/try-catch-4.m: Likewise. * objc.dg/try-catch-2.m: Likewise. Enable everywhere. Remove shadowed catch clause. * objc.dg/try-catch-5.m: New. From-SVN: r83332
2004-06-18 03:20:53 +02:00
2004-06-17 Richard Henderson <rth@redhat.com>
* objc.dg/sync-1.m: New.
* objc.dg/try-catch-1.m: Don't force next runtime.
* objc.dg/try-catch-3.m, objc.dg/try-catch-4.m: Likewise.
* objc.dg/try-catch-2.m: Likewise. Enable everywhere. Remove
shadowed catch clause.
* objc.dg/try-catch-5.m: New.
2004-06-17 Zack Weinberg <zack@codesourcery.com>
Bug 14610
* gcc.dg/ia64-float80-1.c, gcc.dg/ia64-float80-2.c: New testcases.
2004-06-15 Richard Henderson <rth@redhat.com>
* gcc.dg/20001116-1.c: Move expected warning line.
2004-06-15 Richard Henderson <rth@redhat.com>
* gcc.dg/i386-ssetype-1.c: Remove XFAIL.
* gcc.dg/i386-ssetype-3.c: Remove XFAIL.
2004-06-15 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20040615-1.c: New test.
* gcc.dg/tree-ssa/20030824-1.c: Update expected output to
be less sensitive to operand ordering.
* gcc.dg/tree-ssa/20030824-2.c: Likewise.
2004-06-16 Danny Smith <dannysmith@users.sourceforge.net>
* g++.dg/abi/bitfield3.C: Add comment..
c-common.c (lang_gimplify_stmt): Remove next_p argument. * c-common.c (lang_gimplify_stmt): Remove next_p argument. (if_elt, if_stack, if_stack_space, c_expand_start_cond, c_finish_then, c_expand_end_cond, c_expand_start_else, c_finish_else, c_begin_if_stmt, c_begin_while_stmt, c_finish_while_stmt_cond): Move to c-typeck.c. (finish_fname_decls, fname_decl): Use statement_lists. (c_expand_expr_stmt): Don't set last_expr_type. (c_type_hash): Fix indentation. (c_safe_from_p): Don't follow TREE_CHAIN. (c_tree_chain_matters_p): Remove. * c-common.def (SCOPE_STMT): Remove. (CLEANUP_STMT): Redefine to contain its own body. * c-common.h (struct stmt_tree_s): Remove x_last_stmt, x_last_expr_type, x_last_expr_filename, x_scope_stmt_stack. Add x_cur_stmt_list. (last_tree, last_expr_type, last_expr_filename, RECHAIN_STMTS): Remove. (cur_stmt_list): New. (STATEMENT_LIST_STMT_EXPR): New. (SCOPE_BEGIN_P, SCOPE_END_P, SCOPE_STMT_BLOCK, SCOPE_NULLIFIED_P, SCOPE_NO_CLEANUPS_P, SCOPE_PARTIAL_P, NEW_FOR_SCOPE_P): Remove. (CLEANUP_BODY): New. (CLEANUP_DECL): Move to operand 2. (c_common_stmt_codes): Remove SCOPE_STMT. (COMPOUND_STMT_NO_SCOPE, COMPOUND_STMT_BODY_BLOCK): Remove. * c-decl.c (c_scope_stmt_stack, current_scope_stmt_stack): Remove. (c_push_function_context, c_pop_function_context): Don't save it. (finish_decl): Set TREE_USED on the decl for a cleanup. Use push_cleanup. (store_parm_decls): Use statement lists. (finish_function): Remove compstmt rule workaround. Use statement lists. Call finish_fname_decls after finalizing the body. (c_begin_compound_stmt): Move to c-typeck.c. * c-dump.c (c_dump_tree): Remove SCOPE_STMT. * c-gimplify.c (gimplify_cleanup_stmt, gimplify_cleanup_stmts): New. (c_genericize): Invoke them. (c_gimplify_stmt): Don't look through TREE_CHAIN. Kill SCOPE_STMT. (c_build_bind_expr): Export. (gimplify_block, gimplify_cleanup): Remove. (gimplify_condition): Use gimplify_stmt. (gimplify_for_stmt): Remove FOR_INIT_STMT chaining hack. (gimplify_if_stmt): Remove recursion hack. (c_gimplify_expr): Remove STMT_EXPR handling. (stmt_expr_last_stmt, gimplify_stmt_expr): Remove. (is_last_stmt_of_scope): Remove. * c-lang.c (LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P): Remove. * c-mudflap.c (mflang_flush_calls): Use c_begin_compound_stmt, c_end_compound_stmt. * c-objc-common.c (build_cdtor): Likewise. * c-parse.in (primary): Use c_finish_stmt_expr. (push_scope, pop_scope): Remove. (c99_block_start, compstmt_start): Use c_begin_compound_stmt. (c99_block_end, compstmt): Use c_end_compound_stmt. (c99_block_lineno_labeled_stmt): Likewise. (compstmt_primary_start): Use c_begin_stmt_expr. (simple_if, select_or_iter_stmt): Update calls to stmt builders. (do_stmt_start): Fill in body directly. (lineno_stmt): Avoid setting lineno on constants. * c-pretty-print.c (pp_c_statement): Handle STATEMENT_LIST. Remove SCOPE_STMT. * c-semantics.c (begin_stmt_tree): Remove. (push_stmt_list, re_push_stmt_list, pop_stmt_list): New. (add_stmt): Use statement lists. (add_scope_stmt, finish_stmt_tree): Remove. (push_cleanup): New. * c-tree.h: Move some decls from c-common.h. * c-typeck.c (c_tree_expr_nonnegative_p): Simplify for statement lists. (do_case, c_finish_case): Likewise. (c_finish_then): Take body for then as argument. (c_finish_else): Similarly. (c_begin_for_stmt, c_finish_for_stmt_init, c_finish_for_stmt_cond, c_finish_for_stmt_incr, c_finish_for_stmt): New. (c_begin_stmt_expr, c_finish_stmt_expr): New. (c_begin_compound_stmt): Do scope management. (c_end_compound_stmt): New. * fold-const.c (tree_expr_nonnegative_p): Fix BIND_EXPR. * gimplify.c (voidify_wrapper_expr): Accept temporary argument. Look through exception handling constructs. (gimplify_bind_expr): Accept temporary argument. (gimplify_target_expr): Special case BIND_EXPR bodies. (gimplify_expr): Handle fallback == fb_none like a statement. * langhooks-def.h (LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P): Kill. * langhooks.c (lhd_tree_inlining_tree_chain_matters_p): Remove. * langhooks.h (tree_chain_matters_p): Remove. * stub-objc.c (objc_clear_super_receiver): New. * tree-gimple.h (voidify_wrapper_expr): Update decl. (append_to_statement_list, append_to_statement_list_force): Move to tree-iterator.h. * tree-inline.c (expand_call_inline): Update call. (clone_body): Use statement lists. (walk_tree): Don't check tree_chain_matters_p. (copy_tree_r): Likewise. * tree-iterator.c (alloc_stmt_list): Clear lang bits. (tsi_link_before, tsi_link_after): Set TREE_SIDE_EFFECTS properly. * tree-iterator.h (append_to_statement_list, append_to_statement_list_force): Moved from tree-gimple.h. * tree-pretty-print.c (dump_generic_node): Clean up TARGET_EXPR dump. * objc/objc-act.c (build_module_descriptor): Use c_begin_compound_stmt. (objc_enter_block): Likewise. (objc_exit_block): Use c_end_compound_stmt. (objc_build_try_enter_fragment): Add #error and comment for rewriting for OBJCPLUS. (objc_build_extract_fragment, objc_build_try_epilogue, objc_build_catch_stmt, objc_build_finally_prologue, objc_build_finally_epilogue): Update for C statement builders. * objc/objc-lang.c (LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P): Remove. cp/ * call.c (initialize_reference): Don't build CLEANUP_STMT here. * cp-gimplify.c (cp_gimplify_stmt): Remove next_p argument. (genericize_try_block): Use gimplify_stmt. (genericize_catch_block, genericize_eh_spec_block): Likewise. (cp_gimplify_init_expr): Remove STMT_EXPR special case. (gimplify_must_not_throw_expr): Update voidify_wrapper_expr call. * cp-lang.c (LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P): Remove. (cp_tree_chain_matters_p): Remove. * cp-tree.h (COMPOUND_STMT_TRY_BLOCK): New. (COMPOUND_STMT_BODY_BLOCK): New. (STATEMENT_LIST_NO_SCOPE, STATEMENT_LIST_TRY_BLOCK): New. (EXPR_STMT_STMT_EXPR_RESULT): New. (building_stmt_tree): Check cur_stmt_list. (tf_stmt_expr_cmpd, tf_stmt_expr_body): Remove. (BCS_NO_SCOPE, BCS_TRY_BLOCK, BCS_FN_BODY): New. * decl.c (poplevel): Use pop_stmt_list for minding cleanups. (cp_finish_decl): Use push_cleanup. (start_function, finish_function): Use statement lists. (finish_stmt): Do nothing. * except.c (begin_eh_spec_block): Use statement lists. (check_handlers_1, check_handlers): Likewise. * init.c (construct_virtual_base): Don't add extra compound stmts. (build_vec_init): Likewise. * name-lookup.c (maybe_push_cleanup_level): Use statement lists. * name-lookup.h (struct cp_binding_level): Add statement_list. * parser.c (cp_parser_statement): Take the STMT_EXPR node, not a bool. (cp_parser_labeled_statement, cp_parser_expression_statement, cp_parser_statement_seq_opt): Likewise. (cp_parser_compound_statement): Likewise. Take bool for try block. (cp_parser_selection_statement): Tidy if processing. (cp_parser_already_scoped_statement): Rewrite to do what it says. * pt.c (tsubst_copy): Move STMT_EXPR to tsubst_expr. (tsubst_expr): Rewrite STMT_EXPR processing. Handle STATEMENT_LIST. Mind COMPOUND_STMT_TRY_BLOCK, EXPR_STMT_STMT_EXPR_RESULT. * semantics.c (do_poplevel, do_pushlevel): Use statement lists. (finish_cond): New, rewritten from FINISH_COND. (simplify_loop_decl_cond): New. (finish_expr_stmt): Avoid nested EXPR_STMTs. (begin_if_stmt, finish_if_stmt_cond, finish_then_clause, begin_else_clause, finish_else_clause, finish_if_stmt, begin_while_stmt, finish_while_stmt_cond, finish_while_stmt, begin_do_stmt, finish_do_body, begin_for_stmt, finish_for_init_stmt, finish_for_cond, finish_for_stmt, begin_switch_stmt, finish_switch_cond, finish_switch_stmt, begin_try_block, finish_try_block, finish_cleanup_try_block, finish_function_try_block, finish_handler_sequence, finish_function_handler_sequence, begin_handler, finish_handler_parms, finish_handler, begin_stmt_expr, finish_stmt_expr_expr, finish_stmt_expr): Rewrite using statement lists. (begin_compound_stmt): Replace has_no_scope argument with flags. Update all callers. Use statement lists. (finish_compound_stmt): Likewise. (finish_decl_cleanup, finish_eh_cleanup): Use push_cleanup. (current_scope_stmt_stack): Remove. (simplify_aggr_init_expr): Don't muck with TREE_CHAIN. * typeck2.c (split_nonconstant_init_1, split_nonconstant_init): Rewrite with statement lists. testsuite/ * g++.dg/ext/stmtexpr1.C: XFAIL. * gcc.dg/20030612-1.c: XFAIL. From-SVN: r83221
2004-06-16 03:21:38 +02:00
2004-06-15 Richard Henderson <rth@redhat.com>
* g++.dg/ext/stmtexpr1.C: XFAIL.
* gcc.dg/20030612-1.c: XFAIL.
2004-06-15 Eric Christopher <echristo@redhat.com>
* g++.dg/charset/asm5.c: New.
* gcc.dg/charset/asm6.c: New.
2004-06-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15962
* gfortran.fortran-torture/execute/select_1.f90: New test.
2004-06-15 Paul Brook <paul@codesourcery.com>
* gcc.dg/arm-mmx-1.c: Use asm to clobber registers.
2004-06-14 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/15967
* g++.dg/lookup/crash3.C: New test.
2004-06-14 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/15947
* g++.dg/parse/dtor4.C: New test.
2004-06-14 Jeff Law <law@redhat.com>
* gcc.c-torture/compile/20040614-1.c: New test.
2004-06-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15211
* gfortran.fortran-torture/execute/intrinsic_len.f90: Also test
LEN of a character array.
2004-06-14 Mark Mitchell <mark@codesourcery.com>
PR c++/15096
* g++.dg/template/ptrmem10.C: New test.
PR c++/14930
* g++.dg/template/friend30.C: New test.
2004-06-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14928
* gfortran.fortran-torture/compile/mloc.f90: New test.
2004-06-13 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/random_2.f90: New test.
2004-06-13 Eric Christopher <echristo@redhat.com>
* gcc.dg/noncompile/redecl-1.c: Fix error message.
2004-06-12 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/contained_3.f90: New test.
2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14923
* gfortran.fortran-torture/execute/date_time_1.f90: New test.
2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14957
* gfortran.fortran-torture/execute/stack_varsize.f90: Correct
syntax errors in end statements of contained subroutines.
2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/12841
* gfortran.fortran-torture/execute/null_arg.f90: New test.
2004-06-12 Bud Davis <bdavis9659@comcast.net>
PR fortran/15665
* gfortran.fortran-torture/execute/getarg_1.f90: New test.
2004-06-12 Bud Davis <bdavis9659@comcast.net>
PR gfortran/12839
* gfortran.fortran-torture/execute/nan_inf_fmt.f90: New test.
2004-06-11 Mark Mitchell <mark@codesourcery.com>
PR c++/15862
* g++.dg/parse/enum1.C: New test.
2004-06-10 Jeff Law <law@redhat.com>
* gcc.c-torture/compile/20040610-1.c: New test.
2004-06-11 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.old-deja/g++.robertl/eb4.C: Adjust error markers.
* g++.old-deja/g++.other/decl3.C: Likewise.
tree-ssa.texi: Remove references to VDEF and add descriptions of V_MAY_DEF and V_MUST_DEF. * doc/tree-ssa.texi: Remove references to VDEF and add descriptions of V_MAY_DEF and V_MUST_DEF. * tree-dfa.c (dfa_stats_d): Add num_v_must_defs and rename num_vdefs to num_v_may_defs. (compute_immediate_uses_for_stmt): Rename occurences of vdef to v_may_def. (redirect_immediate_uses): Ditto. (dump_dfa_stats): Ditto. Also added code to dump num_v_must_defs. (collect_dfa_stats_r): Rename occurences of vdef to v_may_def. Also add code to sum up the number of v_must_defs. (vdefs_disappeared_p): Replace with... (v_may_defs_disappeared_p): This. (v_must_defs_disappeared_p): New function. (mark_new_vars_to_rename): Rename occurences of vdef to v_may_def. Also add code to mark new variables found in V_MUST_DEFs for renameing. * tree-flow.h (stmt_ann_d): Add v_must_def_ops and replace vdef_ops to v_may_def_ops. (get_vdef_ops): Replace with... (get_v_may_def_ops): This. * tree-flow-inline.h (get_vdef_ops): Replace with... (get_v_may_def_ops): This. (get_v_must_def_ops): New function. (get_vdef_result_ptr): Replace with... (get_v_may_def_result_ptr): This. (get_vdef_op_ptr): Ditto with... (get_v_may_def_op_ptr); This. (get_v_must_def_op_ptr): New function. * tree-into-ssa.c (mark_def_sites): Rename occurences of vdef to v_may_def. Also add code to mark statements with V_MUST_DEFs as definition sites. (rewrite_stmt): Rename occurences of vdef to v_may_def. Also add code to register new V_MUST_DEFs made by the statement. * tree-outof-ssa.c (VIRTUAL_PARTITION): Update comments. (check_replaceable): Rename occurences of vdef to v_may_def. Also add check for V_MUST_DEFs. (find_replaceable_in_bb): Ditto. * tree-pretty-print.c (dump_vops): Rename occurences of vdef to v_may_def. Also add code to dump V_MUST_DEFs. * tree-sra.c (mark_all_vdefs): Replace with... (mark_all_v_may_defs): This. (mark_all_v_must_defs): New function. (create_scalar_copies): Replace call to mark_all_vdefs with calls to mark_all_v_may_defs and mark_all_v_must_defs. (scalarize_structures): Rename occurences of vdef to v_may_def. Also add a check for V_MUST_DEFs. (scalarize_modify_expr): Rename occurences of vdef to v_may_def. * tree-ssa-alias.c (global_var): Update comment. (compute_may_aliases): Ditto. (compute_points_to_and_addr_escape): Rename occurences of vdef to v_may_def. Also add code to mark variables in V_MUST_DEF operands as being written to. (group_aliases): Update comment. (maybe_create_global_var): Ditto. * tree-ssa.c (verify_ssa): Rename occurences of vdef to v_may_def. Also add a check for V_MUST_DEFs on GIMPLE registers. (replace_immediate_uses): Rename occurences of vdef to v_may_def. * tree-ssa-ccp.c (visit_stmt): Rename occurences of vdef to v_may_def. Also add code to mark all V_MUST_DEF operands VARYING. (initialize): Ditto. (set_rhs): Rename occurences of vdef to v_may_def. Also add code to update SSA_NAMEs in V_MUST_DEFs. * tree-ssa-copy.c (cprop_into_stmt): Rename occurences of vdef to v_may_def. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Rename occurences of vdef to v_may_def. Also add code to mark statements with V_MUST_DEFs as necessary. (propagate_necessity): Rename occurences of vdef to v_may_def. * tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Rename occurences of vdef to v_may_def. Also add code to mark operands in V_MUST_DEFs for renaming. (eliminate_redundant_computations): Rename occurences of vdef to v_may_def. (record_equivalences_from_stmt): Rename occurences of vdef to v_may_def. Also add code to record VUSEs for V_MUST_DEFs. (optimize_stmt): Remove unnesessary variable vdefs. Update comment. (register_definitions_for_stmt): Rename occurences of vdef to v_may_def. Also add code to register definitions made with V_MUST_DEFs. * tree-ssa-dse.c (fix_stmt_vdefs): Replace with... (fix_stmt_v_may_defs): This. (fix_phi_uses): Rename occurences of vdef to v_may_def. (dse_optimize_stmt): Ditto. * tree-ssa-live.c (create_ssa_var_map): Rename occurences of vdef to v_may_def. Also add code to mark V_MUST_DEF operands as being used in virtual operators. * tree-ssa-loop.c (mark_defs_for_rewrite): Rename occurences of vdef to v_may_def. Also add code to mark V_MUST_DEF operands for renaming. * tree-ssa-operands.c (opf_kill_def): New flag for killing definitions. (build_vdefs): Renamed to... (build_v_may_defs): This. (build_v_must_defs): New variable. (voperands_d): Add v_must_def_ops and replace vdef_ops with v_may_def_ops. (append_vdef): Replace with... (append_v_may_def): This. (append_v_must_def): New function. (NUM_FREE): Increment for V_MUST_DEF (optype_freelist): Increment its size for V_MUST_DEF (allocate_vdef_optype): Replace with... (allocate_v_may_def_optype): This. (allocate_v_must_def_optype): New function. (free_vdefs): Replace with... (free_v_may_defs): This. (free_v_must_defs): New function. (remove_vdefs): Replace with... (remove_v_may_defs): This. (remove_v_must_defs): New function. (init_ssa_operands): Rename occurences of vdef to v_may_def. Also add code to initialize build_v_must_defs. (finalize_ssa_vdefs): Replace with... (finalize_ssa_v_may_defs): This. (finalize_ssa_vuses): Rename occurences of vdef to v_may_def. (finalize_ssa_v_must_defs): New function. (finalize_ssa_stmt_operands): Replace call to finalize_ssa_vdefs with calls to finalize_ssa_v_may_defs and finalize_ssa_v_must_defs. (verify_start_operands): Rename occurences of vdef to v_may_def. Also add check for build_v_must_defs. (get_stmt_operands): Rename occurences of vdef to v_may_def. Also add code to handle V_MUST_DEFs and to use opf_kill_def for killing definitions. (get_expr_operands): Update comment and use opf_kill_def for killing definitions. (add_stmt_operand): Replace code that appends VDEFs with code that appends V_MUST_DEFs when opf_kill_def is set and V_MAY_DEFs otherwise. (add_call_clobber_ops): Update comments. * tree-ssa-operands.h (vdef_optype_d): Replace with... (v_may_def_optype_d): This. (v_must_def_optype_d): New structure. (VDEF_OPS): Replace with... (V_MAY_DEF_OPS): This. (STMT_VDEF_OPS): Same with... (STMT_V_MAY_DEF_OPS): This. (NUM_VDEFS): And... (NUM_V_MAY_DEFS): This. (VDEF_RESULT_PTR): As well as... (V_MAY_DEF_RESULT_PTR): This. (VDEF_RESULT): Same goes for... (V_MAY_DEF_RESULT): This. (VDEF_OP_PTR): And... (V_MAY_DEF_OP_PTR): This. (VDEF_OP): And... (V_MAY_DEF_OP): This. (V_MUST_DEF_OPS): New macro. (STMT_V_MUST_DEF_OPS): Ditto. (NUM_V_MUST_DEFS): Ditto. (V_MUST_DEF_OP_PTR): Ditto. (V_MUST_DEF_OP): Ditto. (remove_vdefs): Replace signature with... (remove_v_may_defs): This. (remove_v_must_defs): New function signature. * tree-ssa-pre.c (subst_phis): Replace call to remove_vdefs with calls to remove_v_may_defs and remove_v_must_defs. (process_left_occs_and_kills): Rename occurences of vdef to v_may_def. Also add code that marks left occurences of operands in V_MUST_DEFs. * tree-tailcall.c (find_tail_calls): Rename occurences of vdef to v_may_def. Also add check for V_MUST_DEFs. (eliminate_tail_call):Rename occurences of vdef to v_may_def. testsuite: * gcc.dg/tree-ssa/20031015-1.c: Scan for V_MAY_DEF instead of VDEF. * gcc.dg/tree-ssa/20040517-1.c: Ditto. From-SVN: r82947
2004-06-10 23:41:08 +02:00
2004-06-10 Brian Booth <bbooth@redhat.com>
* gcc.dg/tree-ssa/20031015-1.c: Scan for
V_MAY_DEF instead of VDEF.
* gcc.dg/tree-ssa/20040517-1.c: Ditto.
2004-06-10 Mark Mitchell <mark@codesourcery.com>
PR c++/14211
* g++.dg/conversion/const1.C: New test.
PR c++/15076
* g++.dg/conversion/reinterpret1.C: New test.
PR c++/15877
* g++.dg/template/enum2.C: New test.
PR c++/15227
* g++.dg/template/error13.C: New test.
2004-06-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14957
* gfortran.fortran-torture/execute/intrinsic_scale.f90: Make all
arguments to test_* REAL and of the right size.
2004-06-10 Jakub Jelinek <jakub@redhat.com>
PR target/15569
PR rtl-optimization/15681
* gcc.dg/20040609-1.c: New test.
2004-06-10 Jakub Jelinek <jakub@redhat.com>
PR c++/14791
* g++.dg/opt/builtins1.C: New test.
2004-06-10 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/i386-bitfield1.c: Add mingw32 and cygwin to targets
that use default windows32 struct layout.
* gcc.dg/i386-bitfield2.c: Likewise.
2004-06-09 Danny Smith <dannysmith@users.sourceforge.net>
* g++.dg/abi/bitfield3.C: Add -mno-align-double compile option
for mingw32 and cygwin targets.
Index: gcc/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * Makefile.in (CPPLIB_H): Put files in order of inclusion. (CPP_ID_DATA_H): New. (gtype-desc.o): Update dependencies. (GTFILES): Use CPP_ID_DATA_H. Index: gcc/testsuite/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/macro-4.c: New. * gcc.dg/pch/macro-4.hs: New. Index: libcpp/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * traditional.c (push_replacement_text): Set macro->traditional. (save_replacement_text): Likewise. * pch.c (cpp_write_pch_state): Don't write list of defined macros. (struct save_macro_item): Delete. (struct save_macro_data): Use a character array not the previous structured format. (save_macros): Save macro as text not as internal structures. (cpp_prepare_state): Update for changes to save_macro_data. (cpp_read_state): Don't read macros defined in PCH. Restore -D macros as text. * macro.c (create_iso_definition): Honour alloc_subobject. Clear traditional flag. (_cpp_create_definition): Honour alloc_subobject. * lex.c (cpp_token_val_index): New. * internal.h: Include cpp-id-data.h. (uchar): Move definition to cpp-id-data.h. (U): Likewise. (cpp_macro): Likewise. * directives.c (struct answer): Move to cpp-id-data.h. (do_assert): Honour alloc_subobject. Index: libcpp/include/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * symtab.h (struct ht): Add field 'alloc_subobject'. * cpplib.h (struct cpp_string): Add GTY marker. (enum cpp_token_fld_kind): New. (struct cpp_token): Add GTY markers. (cpp_token_val_index): Prototype. (CPP_HASHNODE_VALUE_IDX): New. (struct cpp_hashnode): Don't skip fields of 'value' when marking. * cpp-id-data.h: New file. From-SVN: r82851
2004-06-09 22:10:13 +02:00
2004-06-09 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/macro-4.c: New.
* gcc.dg/pch/macro-4.hs: New.
2004-06-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13249
* gfortran.fortran-torture/compile/name_clash.f90: New test.
2004-06-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13372
* gfortran.fortran-torture/compile/named_args_2.f90: New test.
2004-06-09 Bud Davis <bdavis9659@comcast.net>
PR gfortran/14897
* gfortran.fortran-torture/execute/t_edit.f90: New test.
2004-06-09 Bud Davis <bdavis9659@comcast.net>
PR gfortran/15755
* gfortran.fortran-torture/execute/backspace.c : New test.
2004-06-09 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execure/intrinsic_associated.f90
(pointer_to_section): Rewrite to use smaller array.
2004-06-08 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/ext/altivec-1.c: XFAIL powerpc-ibm-aix*.
* gcc.dg/ext/altivec-10.c: Same.
* gcc.dg/ext/altivec-11.c: Same.
* gcc.dg/ext/altivec-12.c: Same.
* gcc.dg/ext/altivec-13.c: Same.
* gcc.dg/ext/altivec-14.c: Same.
* gcc.dg/ext/altivec-15.c: Same.
* gcc.dg/ext/altivec-16.c: Same.
* gcc.dg/ext/altivec-3.c: Same.
* gcc.dg/ext/altivec-4.c: Same.
* gcc.dg/ext/altivec-6.c: Same.
* gcc.dg/ext/altivec-7.c: Same.
* gcc.dg/ext/altivec-8.c: Same.
* gcc.dg/ext/altivec-varargs-1.c: Same.
* g++.dg/ext/altivec-1.C: Correct dg syntax.
* g++.dg/ext/altivec-10.C: Same.
* g++.dg/ext/altivec-2.C: Same.
* g++.dg/ext/altivec-3.C: Same.
* g++.dg/ext/altivec-4.C: Same.
* g++.dg/ext/altivec-5.C: Same.
* g++.dg/ext/altivec-6.C: Same.
* g++.dg/ext/altivec-7.C: Same.
* g++.dg/ext/altivec-8.C: Same.
* g++.dg/ext/altivec-9.C: Same.
2004-06-08 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/7841
* g++.old-deja/g++.pt/ctor2.C: Add error mark.
2004-06-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/union-1.c: New test.
2004-06-07 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-41.c: New test case.
* gcc.dg/builtins-42.c: New test case.
2004-06-07 David Edelsohn <edelsohn@gnu.org>
* g++.dg/ext/altivec-1.C: XFAIL powerpc-ibm-aix*.
* g++.dg/ext/altivec-10.C: Same.
* g++.dg/ext/altivec-2.C: Same.
* g++.dg/ext/altivec-3.C: Same.
* g++.dg/ext/altivec-4.C: Same.
* g++.dg/ext/altivec-5.C: Same.
* g++.dg/ext/altivec-6.C: Same.
* g++.dg/ext/altivec-7.C: Same.
* g++.dg/ext/altivec-8.C: Same.
* g++.dg/ext/altivec-9.C: Same.
* g++.old-deja/g++.abi/cxa_vec.C: Same.
* g++.old-deja/g++.brendan/new3.C: Same.
* gcc.c-torture/execute/eeprof-1.x: Same.
2004-06-07 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/14765
* gcc.dg/pr14765-1.c: New test.
2004-06-07 Roger Sayle <roger@eyesopen.com>
PR c/14649
* gcc.dg/pr14649-1.c: New test case.
2004-06-07 Richard Henderson <rth@redhat.com>
* gcc.dg/tree-ssa/20030728-1.c: Fixup return value to not match
if temporaries.
2004-06-07 David Edelsohn <edelsohn@gnu.org>
* g++.dg/eh/elide1.C: Remove XFAIL.
2004-06-07 Mark Mitchell <mark@codesourcery.com>
PR c++/15337
* g++.dg/expr/sizeof3.C: New test.
PR c++/14777
* g++.dg/template/access14.C: New test.
PR c++/15554
* g++.dg/template/enum1.C: New test.
PR c++/15057
* g++.dg/eh/throw1.C: New test.
2004-06-07 David Ayers <d.ayers@inode.at>
Ziemowit Laski <zlaski@apple.com>
* lib/objc.exp (objc_target_compile): Revert the '-framework
Foundation' flag fix, since bare Darwin does not ship
with the Foundation framework.
* objc/execute/next_mapping.h: Provide a local NSConstantString
@interface and @implementation.
(objc_constant_string_init): A constructor function, used to
initialize the NSConstantString meta-class object.
* objc/execute/string1.m: Include "next_mapping.h" instead of
<Foundation/NSString.h>.
* objc/execute/string2.m: Likewise.
* objc/execute/string3.m: Likewise.
* objc/execute/string4.m: Likewise.
2004-06-06 H.J. Lu <hongjiu.lu@intel.com>
* gcc.c-torture/execute/ieee/fp-cmp-4.c (FLOAT): New. Default
to double. Replace double with FLOAT.
* gcc.c-torture/execute/ieee/fp-cmp-8.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-4e.c: New file.
* gcc.c-torture/execute/ieee/fp-cmp-4f.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-4l.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-4q.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8e.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8f.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8l.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8q.c: Likewise.
2004-06-06 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/13519
* gcc.c-torture/enum-3.c, gcc.dg/pr13519-1.c: New tests.
2004-06-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/15503
* g++.dg/template/meminit2.C: New test.
2004-06-04 Paolo Bonzini <bonzini@gnu.org>
PR target/15822
* gcc.c-torture/execute/compare-fp-1.c,
gcc.c-torture/execute/compare-fp-2.c,
gcc.c-torture/execute/compare-fp-3.c,
gcc.c-torture/execute/compare-fp-4.c,
gcc.c-torture/execute/compare-fp-3.x,
gcc.c-torture/execute/compare-fp-4.x: Moved...
* gcc.c-torture/execute/ieee/compare-fp-1.c,
gcc.c-torture/execute/ieee/compare-fp-2.c,
gcc.c-torture/execute/ieee/compare-fp-3.c,
gcc.c-torture/execute/ieee/compare-fp-4.c,
gcc.c-torture/execute/ieee/compare-fp-3.x,
gcc.c-torture/execute/ieee/compare-fp-4.x: ...here.
2004-06-04 David Ayers <d.ayers@inode.at>
* objc/execute/protocol-isEqual-4.m: New testcase.
2004-06-04 Nicola Pero <n.pero@mi.flashnet.it>
* objc/execute/protocol-isEqual-1.m: New testcase.
* objc/execute/protocol-isEqual-2.m: New testcase.
* objc/execute/protocol-isEqual-3.m: New testcase.
2004-06-03 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/execute/optstring_1.f90: New testcase.
2004-06-02 Ziemowit Laski <zlaski@apple.com>
* lib/objc.exp (objc_target_compile): When running tests on
Darwin (Mac OS X), inform the linker about '-framework
'Foundation'.
2004-06-02 Eric Christopher <echristo@redhat.com>
* gcc.c-torture/compile/20040602-1.c: New.
2004-06-02 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/tree-ssa/ssa-sra-1.C: Fix comment.
* g++.dg/tree-ssa/ssa-sra-2.C: Likewise.
PR tree-optimization/14736
* g++.dg/tree-ssa/ssa-cast-1.C: New Test.
PR tree-optimization/14042
* g++.dg/tree-ssa/ssa-sra-1.C: New Test.
PR tree-optimization/14729
* g++.dg/tree-ssa/ssa-sra-2.C: New Test.
2004-06-02 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15557
* gfortran.fortran-torture/execute/data_3.f90: New testcase.
2004-06-01 Richard Hederson <rth@redhat.com>
* g++.dg/template/dependent-expr4.C: Use __builtin_offsetof.
2004-06-01 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14932
* g++.dg/parse/offsetof4.C: New test.
2004-06-01 Nicola Pero <nicola@brainstorm.co.uk>
PR objc/7993
* objc.dg/private-1.m, objc-dg/private-2.m: New testcases.
2004-05-31 Mark Mitchell <mark@codesourcery.com>
PR c++/15701
* g++.dg/template/friend29.C: New test.
2004-05-31 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/15749
* gcc.dg/pr15749-1.c, gcc.dg/pr15749-1.h: New test.
2004-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/sparc-trap-1.c: New test.
2004-05-31 Roger Sayle <roger@eyesopen.com>
PR middle-end/15069
* g++.dg/opt/fold3.C: New test case.
2004-05-30 Graham Stott <graham.stott@btinternet.com>
* lib/target-supports.exp (check_iconv_available): Fix fallout
from 2004-05-28 patch.
2004-05-30 Paul Brook <paul@codesourcery.com>
PR fortran/15620
* gfortran.fortran-torture/execute/st_function_1.f90: New test.
* gfortran.fortran-torture/execute/st_function_2.f90: New test.
2004-05-30 Steven G. Kargl <kargls@comcast.net>
* gfortran.fortran-torture/execute/random_1.f90: New test.
2004-05-28 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-10.C: New test.
2004-05-29 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/equiv_1.f90: New test.
2004-05-28 Ziemowit Laski <zlaski@apple.com>
* gcc.dg/altivec-16.c: New test.
2004-05-28 Janis Johnson <janis187@us.ibm.com>
* lib/target-supports.exp (check_vmx_hw_available): New.
* gcc.dg/vmx/vmx.exp: Use it to determine default action.
* lib/target-supports.exp (check_alias_available,
check_iconv_available, check_named_sections_available): Use
unique names for temporary files.
2004-05-28 Ziemowit Laski <zlaski@apple.com>
* gcc.dg/altivec-15.c: New test.
2004-05-28 Mark Mitchell <mark@codesourcery.com>
PR c++/15083
* g++.dg/warn/noeffect6.C: New test.
PR c++/15471
* g++.dg/expr/ptrmem4.C: New test.
PR c++/15640
* g++.dg/template/operator3.C: New test.
2004-05-28 Mark Mitchell <mark@codesourcery.com>
PR c++/14668
* g++.dg/lookup/redecl1.C: New test.
* g++.old-deja/g++.benjamin/tem04.C: Add error marker.
re PR rtl-optimization/15649 (ICE with __builtin_isgreater and -ffast-math) gcc/ChangeLog: 2004-05-27 Paolo Bonzini <bonzini@gnu.org> Roger Sayle <roger@eyesopen.com> PR rtl-optimization/15649 Add LTGT_EXPR and improve pretty-printing of unordered comparisons. * c-common.c (c_common_truthvalue_conversion): Handle LTGT_EXPR. * c-typeck.c (build_binary_op): Likewise. * dojump.c (do_jump): Likewise. * expr.c (expand_expr_real_1, do_store_flag): Likewise. * predict.c (tree_predict_by_opcode): Likewise. * real.c (real_compare): Likewise. * tree-cfg.c (verify_expr): Likewise. * tree-inline.c (estimate_num_insns_1): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. Handle ORDERED_EXPR, UNORDERED_EXPR. (op_symbol): Print unordered comparisons differently than ordered ones. * tree.def (LTGT_EXPR): New '<' tree code. * doc/c-tree.texi (Expressions): Document floating-point comparison nodes. Fold comparisons between floating point values. * fold-const.c (enum comparison_code): New, from #define'd constants. Define compcodes for unordered comparisons and for invalid transformations. (invert_tree_comparison): Add "honor_nans" parameter. (fold_truthop): Revamp to work on floating-point types too. (comparison_to_compcode): Support unordered comparisons. Use new enum comparison_code. (compcode_to_comparison): Likewise. (combine_compcodes): New function. (invert_truthvalue): Let invert_tree_comparison decide whether it is valid to fold the comparison. Fold ORDERED and UNORDERED even if flag_unsafe_math_optimizations is off, and the remaining even if flag_unsafe_math_optimizations is off but we are under -fno-trapping-math. (fold_relational_const): Integer modes do not honor NaNs. gcc/testsuite/ChangeLog: 2004-05-27 Paolo Bonzini <bonzini@gnu.org> * gcc.c-torture/compare-fp-1.c, gcc.c-torture/compare-fp-2.c, gcc.c-torture/compare-fp-3.c, gcc.c-torture/compare-fp-4.c, gcc.c-torture/compare-fp-3.x, gcc.c-torture/compare-fp-4.x, gcc.c-torture/pr15649-1.c: New. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r82365
2004-05-28 18:37:08 +02:00
2004-05-28 Paolo Bonzini <bonzini@gnu.org>
* gcc.c-torture/execute/compare-fp-1.c,
gcc.c-torture/execute/compare-fp-2.c,
gcc.c-torture/execute/compare-fp-3.c,
gcc.c-torture/execute/compare-fp-4.c,
gcc.c-torture/execute/compare-fp-3.x,
gcc.c-torture/execute/compare-fp-4.x,
gcc.dg/pr15649-1.c: New.
re PR rtl-optimization/15649 (ICE with __builtin_isgreater and -ffast-math) gcc/ChangeLog: 2004-05-27 Paolo Bonzini <bonzini@gnu.org> Roger Sayle <roger@eyesopen.com> PR rtl-optimization/15649 Add LTGT_EXPR and improve pretty-printing of unordered comparisons. * c-common.c (c_common_truthvalue_conversion): Handle LTGT_EXPR. * c-typeck.c (build_binary_op): Likewise. * dojump.c (do_jump): Likewise. * expr.c (expand_expr_real_1, do_store_flag): Likewise. * predict.c (tree_predict_by_opcode): Likewise. * real.c (real_compare): Likewise. * tree-cfg.c (verify_expr): Likewise. * tree-inline.c (estimate_num_insns_1): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. Handle ORDERED_EXPR, UNORDERED_EXPR. (op_symbol): Print unordered comparisons differently than ordered ones. * tree.def (LTGT_EXPR): New '<' tree code. * doc/c-tree.texi (Expressions): Document floating-point comparison nodes. Fold comparisons between floating point values. * fold-const.c (enum comparison_code): New, from #define'd constants. Define compcodes for unordered comparisons and for invalid transformations. (invert_tree_comparison): Add "honor_nans" parameter. (fold_truthop): Revamp to work on floating-point types too. (comparison_to_compcode): Support unordered comparisons. Use new enum comparison_code. (compcode_to_comparison): Likewise. (combine_compcodes): New function. (invert_truthvalue): Let invert_tree_comparison decide whether it is valid to fold the comparison. Fold ORDERED and UNORDERED even if flag_unsafe_math_optimizations is off, and the remaining even if flag_unsafe_math_optimizations is off but we are under -fno-trapping-math. (fold_relational_const): Integer modes do not honor NaNs. gcc/testsuite/ChangeLog: 2004-05-27 Paolo Bonzini <bonzini@gnu.org> * gcc.c-torture/compare-fp-1.c, gcc.c-torture/compare-fp-2.c, gcc.c-torture/compare-fp-3.c, gcc.c-torture/compare-fp-4.c, gcc.c-torture/compare-fp-3.x, gcc.c-torture/compare-fp-4.x, gcc.c-torture/pr15649-1.c: New. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r82365
2004-05-28 18:37:08 +02:00
2004-05-27 Adam Nemet <anemet@lnxw.com>
PR c++/12883
* g++.dg/init/array14.C: New test.
2004-05-25 Janis Johnson <janis187@us.ibm.com>
* lib/compat.exp (compat-get-options-main): New.
(compat-get-options): Remove unneeded code, warn for ignored
command.
(compat-execute): Check flag set by dg-require-* commands.
* lib/compat.exp (compat-execute): Break up long lines.
2004-05-24 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/altivec-7.c: Don't use 'vector long'.
* gcc.dg/altivec-14.c: New test.
* g++.dg/ext/altivec-7.C: Don't use 'vector long'.
* gcc.dg/altivec-6.c: Use -maltivec, don't limit to darwin.
* gcc.dg/altivec-12.c: Ditto.
* gcc.dg/altivec-3.c: Move call to altivec_check.
2004-05-23 Mark Mitchell <mark@codesourcery.com>
PR c++/15044
* g++.dg/template/error12.C: New test.
PR c++/15317
* g++.dg/ext/attrib15.C: New test.
PR c++/15329
* g++.dg/template/ptrmem9.C: New test.
2004-05-25 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/compile/inquiry_1.f90: New test.
2004-05-23 Mark Mitchell <mark@codesourcery.com>
PR c++/15165
* g++.dg/template/crash19.C: New test.
2004-05-23 Mark Mitchell <mark@codesourcery.com>
PR c++/15025
* g++.dg/template/redecl1.C: New test.
2004-05-23 Mark Mitchell <mark@codesourcery.com>
PR c++/14821
* g++.dg/other/ns1.C: New test.
PR c++/14883
* g++.dg/template/invalid1.C: New test.
2004-05-23 Paul Brook <paul@codesourcery.com>
Victor Leikehman <lei@haifasphere.co.il>
* gfortran.fortran-torture/execute/common_init_1.f90: New test.
* gfortran.fortran-torture/execute/equiv_init.f90: New test.
2004-05-22 Mark Mitchell <mark@codesourcery.com>
PR c++/15285
PR c++/15299
* g++.dg/template/non-dependent5.C: New test.
* g++.dg/template/non-dependent6.C: New test.
2004-05-22 Mark Mitchell <mark@codesourcery.com>
PR c++/15507
* g++.dg/inherit/union1.C: New test.
PR c++/15542
* g++.dg/template/addr1.C: New test.
PR c++/15427
* g++.dg/template/array5.C: New test.
PR c++/15287
* g++.dg/template/array6.C: New test.
2004-05-22 Wolfgang Bangerth <bangerth@dealii.org>
Roger Sayle <roger@eyesopen.com>
* g++.dg/lookup/forscope2.C: New test case.
2004-05-22 Ben Elliston <bje@au.ibm.com>
* gcc.dg/cpp/Wmissingdirs.c: New.
2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
PR target/15301
* gcc.dg/compat/union-m128-1.h: New file.
* gcc.dg/compat/union-m128-1_main.c: Likewise.
* gcc.dg/compat/union-m128-1_x.c: Likewise.
* gcc.dg/compat/union-m128-1_y.c: Likewise.
2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
PR target/15302
* gcc.dg/compat/struct-complex-1.h: New file.
* gcc.dg/compat/struct-complex-1_main.c: Likewise.
* gcc.dg/compat/struct-complex-1_x.c: Likewise.
* gcc.dg/compat/struct-complex-1_y.c: Likewise.
2004-05-20 Roger Sayle <roger@eyesopen.com>
PR middle-end/3074
* gcc.dg/pr3074-1.c: New test case.
* gcc.dg/sequence-pt-1.c: Remove an XFAIL.
2004-05-20 Falk Hueffner <falk@debian.org>
PR other/15526
* gcc.dg/ftrapv-1.c: New test case.
2004-05-18 Feng Wang <fengwang@nudt.edu.cn>
* gfortran.fortran-torture/execute/power.f90: Test constant integers.
2004-05-18 Andrew Pinski <pinskia@physics.uc.edu>
Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20040514-2.c: Update expected output.
* gcc.dg/tree-ssa/20040518-2.c: New test.
* gcc.dg/tree-ssa/20040518-1.c: New test.
2004-05-18 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/991216-3.c: Delete, duplicate of 991216-2.c.
2004-05-18 Paul Brook <paul@codesourcery.com>
PR fortran/13930
* gfortran.fortran-torture/execute/der_init_4.f90: New test.
2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/execute/cmplx.f90: Add test for bug in
constant folding.
2004-05-17 Steven Bosscher <stevenb@suse.de>
* gcc.dg/tree-ssa/20040517-1.c: New test.
2004-05-23 06:45:58 +02:00
2004-05-17 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* gcc.dg/loop-4.c: New test.
2004-05-15 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/tree-ssa/20040514-1.c: Add '}' that was forgotten.
2004-05-15 Bud Davis <bdavis9659@comcast.net>
PR fortran/15311
* gfortran.fortran-torture/execute/write_a_1.f90: New test.
2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13826
PR fortran/13940
* gfortran.fortran-torture/compile/data_1.f90: New test.
2004-05-15 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/const-elim-1.c: Remove XFAIL for s390*-*-*.
* gcc.dg/uninit-H.c: Define ASM for __s390__.
2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.c-torture/execute/20000603-1.c: Update WG14 URL.
2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/15444
* gcc.dg/format/xopen-1.c: Adjust expected message.
* gcc.dg/format/xopen-3.c: New test.
2004-05-14 Victor Leikehman <lei@haifasphere.co.il>
* gfortran.fortran-torture/execute/def_init_3.f90: New test.
2004-05-14 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20040514-2.c: New test.
2004-05-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/compile/noncontinuation_1.f90: Rename
this ...
* gfortran.fortran-torture/compile/noncontinuation_1.f: ... to
this.
2004-05-14 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/tree-ssa/20040514-1.c: New test.
2004-05-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.fortran-torture/compile/noncontinuation_1.f90: New
test.
2004-05-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14066
* gfortran.fortran-torture/compile/do_1.f90: New test.
2004-05-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15051
* gfortran.fortran-torture/compile/empty_interface_1.f90: New
test.
2004-05-14 Bud Davis <bdavis9659@comcast.net>
PR fortran/15149
* gfortran.fortran-torture/execute/random_init.f90: New test.
2004-05-13 Paul Brook <paul@codesourcery.com>
PR fortran/15314
* gfortran.fortran-torture/execute/der_init_s.f90: New test.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/uninit-H.c: Test for __PPC__ and __ppc__
for the powerpc case.
2004-05-13 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20040513-1.c: New test.
* gcc.dg/tree-ssa/20040513-2.c: New test.
2004-05-13 Paul Brook <paul@codesourcery.com>
* gcc.dg/tree-ssa/20030808-1.c: Force enum size.
* gcc.dg/tree-ssa/20030714-1.c: Ditto.
* gcc.dg/tree-ssa/20030708-1.c: Ditto.
2004-05-13 Andreas Schwab <schwab@suse.de>
PR other/10819
* lib/gfortran.exp (gfortran_version): Do not match NL/CR
characters.
2004-05-13 Bud Davis <bdavis9659@comcast.net>
PR fortran/15294
* gfortran.fortran-torture/execute/adjustr.f90: New file.
2004-05-13 Diego Novillo <dnovillo@redhat.com>
Merge from tree-ssa-20020619-branch. See
ChangeLog.tree-ssa for details.
2004-05-11 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-8.C: Use '-maltivec' instead of '-faltivec';
include <altivec.h> explicitly.
* gcc.dg/altivec-13.c: Likewise.
2004-05-11 Paul Brook <paul@codesourcery.com>
* gcc.c-torture/compile/20010518-1.c: Force enum size.
2004-05-10 Eric Christopher <echristo@redhat.com>
2004-05-11 17:40:08 +02:00
* gcc.dg/sibcall-3.c: Remove xfail for mips*-*-elf.
* gcc.dg/sibcall-4.c: Ditto.
2004-05-10 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-8.C: New test case.
* gcc.dg/altivec-13.c: New test case.
2004-05-08 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/divcmp-1.c: New test case.
* gcc.c-torture/execute/divcmp-2.c: New test case.
* gcc.c-torture/execute/divcmp-3.c: New test case.
2004-05-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/other/pragma-re-2.C: New test.
2004-05-07 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/i386-387-1.c: Add new test for __builtin_fmod.
* gcc.dg/i386-387-2.c: Likewise.
* gcc.dg/i386-387-5.c: Add new tests for __builtin_log1p and
__builtin_drem.
* gcc.dg/i386-387-6.c: Likewise.
2004-05-07 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-33.c: Also check log1p*.
2004-05-07 Hans-Peter Nilsson <hp@axis.com>
PR optimization/15296
* gcc.c-torture/execute/pr15296.c: New test.
2004-05-05 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-40.c: New test.
2004-05-05 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version.
2004-05-04 Paolo Bonzini <bonzini@gnu.org>
* g++.dg/ext/spe1.C: New testcase.
2004-05-04 Ziemowit Laski <zlaski@apple.com>
* objc.dg/image-info.m: Allow additional attributes
for __image_info section.
2004-05-04 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-hilo-2.c: New test.
2004-05-03 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14389
* g++.dg/template/member5.C: New test.
2004-05-03 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-34.c: Also check expm1*.
2004-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-integral-1.c: Reorg and add more cases.
* gcc.dg/torture/builtin-convert-3.c: New test.
2004-05-01 Ulrich Weigand <uweigand@de.ibm.com>
PR middle-end/15054
* g++.dg/opt/pr15054.C: New test.
2004-04-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-rounding-1.c: New test.
* gcc.dg/builtins-25.c: Delete.
* gcc.dg/builtins-29.c: Delete.
s390-protos.h (s390_emit_epilogue): Parameter added. 2004-04-29 Andreas Krebbel <krebbel1@de.ibm.com> ChangeLog: * config/s390/s390-protos.h (s390_emit_epilogue): Parameter added. (s390_emit_call): New function prototype added. (s390_tls_get_offset): Function removed. * config/s390/s390.c (s390_function_ok_for_sibcall, s390_call_saved_register_used_p): New functions. (TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added. (s390_tls_get_offset): Function merged into s390_emit_tls_call_insn. (s390_emit_tls_call_insn): New function. (legitimize_tls_address): Call s390_emit_tls_call_insn instead of emit_call_insn. (s390_emit_prologue): Use s390_emit_call instead of emit_call_insn. (s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls added. * config/s390/s390.h (SIBCALL_REGNUM): New macro representing the register number used to hold the target address for sibcalls. * config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"): New expanders. ("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br", "*sibcall_value_brc", "*sibcall_value_brcl"): New insns. ("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"): Expanders removed. ("call", "call_value"): Call s390_emit_call to emit the call patterns. ("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls", "*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P. ("epilogue"): Changed the call to s390_emit_epilogue to use the new parameter. testsuite/ChangeLog: * gcc.dg/sibcall-3.c: Delete s390 from expected fail list. * gcc.dg/sibcall-4.c: Likewise. * gcc.dg/sibcall-6.c: Enable s390 as test platform. From-SVN: r81347
2004-04-30 18:40:22 +02:00
2004-04-29 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/sibcall-3.c: Delete s390 from expected fail list.
* gcc.dg/sibcall-4.c: Likewise.
* gcc.dg/sibcall-6.c: Enable s390 as test platform.
2004-04-30 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20040331-1.c: Don't use too wide a
bit-field on 16-bit targets.
2004-04-30 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20040409-2.c: Fix constants used on
16-bit targets.
2004-04-30 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/rs6000-power2-1.c: Change to compile only.
* gcc.dg/rs6000-power2-2.c: Likewise.
2004-04-29 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/rs6000-power2-1.c: Change the options to be more correct.
* gcc.dg/rs6000-power2-2.c: Change the options to be more correct.
Change the asm registers to be in form of frN instead of fN.
2004-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-convert-2.c: New test.
2004-04-28 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/rs6000-power2-1.c: New test.
* gcc.dg/rs6000-power2-2.c: New test.
2004-04-28 Jan Hubicka <jh@suse.cz>
* gcc.dg/unused-6.c: New test.
2004-04-24 Laurent GUERBY <laurent@guerby.net>
Ulrich Weigand <uweigand@de.ibm.com>
* ada/acats/run_all.sh: Define $target variable.
2004-04-26 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/15119
* g++.dg/other/vararg-1.C: New test.
PR c++/4794
* g++.dg/eh/cleanup3.C: New test.
2004-04-24 Laurent GUERBY <laurent@guerby.net>
* ada/acats/run_all.sh: Handle cd2a83c, cd2a91c (target_bit)
and ad8011a (target_insn).
* ada/acats/support/macro.dfs: Likewise.
* ada/acats/support/impbit.adb: New file.
2004-04-23 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/const-elim-1.c: XFAIL on s390*-*-*.
2004-04-23 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/loop-3.c: New test.
2004-04-23 Daniel Jacobowitz <drow@mvista.com>
* gcc.c-torture/execute/simd-5.c: New test.
2004-04-23 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/15064
* g++.dg/template/crash18.C: New test.
2004-04-22 Mark Mitchell <mark@codesourcery.com>
* g++.dg/ext/complit3.C: New test.
2004-04-21 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-1.c: XFAIL for powerpc-eabispe.
* gcc.dg/altivec-3.c: Same.
* gcc.dg/altivec-varargs-1.c: Same.
2004-04-21 Aldy Hernandez <aldyh@redhat.com>
* lib/target-supports.exp (check_profiling_available): Assume
profiling is not available on powerpc-eabi targets.
2004-04-21 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/vmx/1c-01.c: Use ptrdiff_t for casts of pointers.
* gcc.dg/vmx/bug-1.c: Ditto.
2004-04-20 Eric Christopher <echristo@redhat.com>
* gcc.dg/charset/extern.c: New test.
* g++.dg/charset/extern3.cc: Ditto.
2004-04-20 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-39.c: New test.
2004-04-20 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/vmx/vmx.exp: Change DEFAULT_CFLAGS to DEFAULT_VMXCFLAGS.
2004-04-20 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-hilo-1.c: New test.
2004-04-19 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.c-torture/compile/20040419-1.c: New test.
2004-04-18 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/vmx/varargs-1.c: Handle when printf outputs \r\n.
2004-04-18 Zack Weinberg <zack@codesourcery.com>
Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/va-arg-24.c: New.
1b-01.c: New. * gcc.dg/vmx/1b-01.c: New. * gcc.dg/vmx/1b-02.c: New. * gcc.dg/vmx/1b-03.c: New. * gcc.dg/vmx/1b-04.c: New. * gcc.dg/vmx/1b-05.c: New. * gcc.dg/vmx/1b-06.c: New. * gcc.dg/vmx/1b-07.c: New. * gcc.dg/vmx/1c-01.c: New. * gcc.dg/vmx/1c-02.c: New. * gcc.dg/vmx/3a-01a.c: New. * gcc.dg/vmx/3a-01.c: New. * gcc.dg/vmx/3a-01m.c: New. * gcc.dg/vmx/3a-03.c: New. * gcc.dg/vmx/3a-03m.c: New. * gcc.dg/vmx/3a-04.c: New. * gcc.dg/vmx/3a-04m.c: New. * gcc.dg/vmx/3a-05.c: New. * gcc.dg/vmx/3a-06.c: New. * gcc.dg/vmx/3a-06m.c: New. * gcc.dg/vmx/3a-07.c: New. * gcc.dg/vmx/3b-01.c: New. * gcc.dg/vmx/3b-02.c: New. * gcc.dg/vmx/3b-10.c: New. * gcc.dg/vmx/3b-13.c: New. * gcc.dg/vmx/3b-14.c: New. * gcc.dg/vmx/3b-15.c: New. * gcc.dg/vmx/3c-01a.c: New. * gcc.dg/vmx/3c-01.c: New. * gcc.dg/vmx/3c-02.c: New. * gcc.dg/vmx/3c-03.c: New. * gcc.dg/vmx/3d-01.c: New. * gcc.dg/vmx/4-01.c: New. * gcc.dg/vmx/4-03.c: New. * gcc.dg/vmx/5-01.c: New. * gcc.dg/vmx/5-02.c: New. * gcc.dg/vmx/5-03.c: New. * gcc.dg/vmx/5-04.c: New. * gcc.dg/vmx/5-05.c: New. * gcc.dg/vmx/5-06.c: New. * gcc.dg/vmx/5-07.c: New. * gcc.dg/vmx/5-07t.c: New. * gcc.dg/vmx/5-08.c: New. * gcc.dg/vmx/5-10.c: New. * gcc.dg/vmx/5-11.c: New. * gcc.dg/vmx/7-01a.c: New. * gcc.dg/vmx/7-01.c: New. * gcc.dg/vmx/7c-01.c: New. * gcc.dg/vmx/7d-01.c: New. * gcc.dg/vmx/7d-02.c: New. * gcc.dg/vmx/8-01.c: New. * gcc.dg/vmx/8-02a.c: New. * gcc.dg/vmx/8-02.c: New. * gcc.dg/vmx/brode-1.c: New. * gcc.dg/vmx/bug-1.c: New. * gcc.dg/vmx/bug-2.c: New. * gcc.dg/vmx/bug-3.c: New. * gcc.dg/vmx/cw-bug-1.c: New. * gcc.dg/vmx/cw-bug-2.c: New. * gcc.dg/vmx/cw-bug-3.c: New. * gcc.dg/vmx/dct.c: New. * gcc.dg/vmx/debug-1.c: New. * gcc.dg/vmx/debug-2.c: New. * gcc.dg/vmx/debug-3.c: New. * gcc.dg/vmx/debug-4.c: New. * gcc.dg/vmx/dos-bug-1-gdb.c: New. * gcc.dg/vmx/dos-bug-2-gdb.c: New. * gcc.dg/vmx/eg-5.c: New. * gcc.dg/vmx/fft.c: New. * gcc.dg/vmx/gcc-bug-1.c: New. * gcc.dg/vmx/gcc-bug-2.c: New. * gcc.dg/vmx/gcc-bug-3.c: New. * gcc.dg/vmx/gcc-bug-4.c: New. * gcc.dg/vmx/gcc-bug-5.c: New. * gcc.dg/vmx/gcc-bug-6.c: New. * gcc.dg/vmx/gcc-bug-7.c: New. * gcc.dg/vmx/gcc-bug-8.c: New. * gcc.dg/vmx/gcc-bug-9.c: New. * gcc.dg/vmx/gcc-bug-b.c: New. * gcc.dg/vmx/gcc-bug-c.c: New. * gcc.dg/vmx/gcc-bug-d.c: New. * gcc.dg/vmx/gcc-bug-e.c: New. * gcc.dg/vmx/gcc-bug-f.c: New. * gcc.dg/vmx/gcc-bug-g.c: New. * gcc.dg/vmx/gcc-bug-i.c: New. * gcc.dg/vmx/harness.h: New. * gcc.dg/vmx/ira1.c: New. * gcc.dg/vmx/ira2a.c: New. * gcc.dg/vmx/ira2b.c: New. * gcc.dg/vmx/ira2.c: New. * gcc.dg/vmx/ira2c.c: New. * gcc.dg/vmx/mem.c: New. * gcc.dg/vmx/newton-1.c: New. * gcc.dg/vmx/ops.c: New. * gcc.dg/vmx/sn7153.c: New. * gcc.dg/vmx/spill2.c: New. * gcc.dg/vmx/spill3.c: New. * gcc.dg/vmx/spill.c: New. * gcc.dg/vmx/t.c: New. * gcc.dg/vmx/varargs-1.c: New. * gcc.dg/vmx/varargs-2.c: New. * gcc.dg/vmx/varargs-3.c: New. * gcc.dg/vmx/varargs-4.c: New. * gcc.dg/vmx/varargs-5.c: New. * gcc.dg/vmx/varargs-6.c: New. * gcc.dg/vmx/varargs-7.c: New. * gcc.dg/vmx/vmx.exp: New. * gcc.dg/vmx/vprint-1.c: New. * gcc.dg/vmx/vscan-1.c: New. * gcc.dg/vmx/x-01.c: New. * gcc.dg/vmx/x-02.c: New. * gcc.dg/vmx/x-03.c: New. * gcc.dg/vmx/x-04.c: New. * gcc.dg/vmx/x-05.c: New. * gcc.dg/vmx/yousufi-1.c: New. * gcc.dg/vmx/zero-1.c: New. * gcc.dg/vmx/zero.c: New. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r80808
2004-04-18 03:01:41 +02:00
2004-04-17 Zack Weinberg <zack@codesourcery.com>
Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/vmx/1b-01.c: New.
* gcc.dg/vmx/1b-02.c: New.
* gcc.dg/vmx/1b-03.c: New.
* gcc.dg/vmx/1b-04.c: New.
* gcc.dg/vmx/1b-05.c: New.
* gcc.dg/vmx/1b-06.c: New.
* gcc.dg/vmx/1b-07.c: New.
* gcc.dg/vmx/1c-01.c: New.
* gcc.dg/vmx/1c-02.c: New.
* gcc.dg/vmx/3a-01a.c: New.
* gcc.dg/vmx/3a-01.c: New.
* gcc.dg/vmx/3a-01m.c: New.
* gcc.dg/vmx/3a-03.c: New.
* gcc.dg/vmx/3a-03m.c: New.
* gcc.dg/vmx/3a-04.c: New.
* gcc.dg/vmx/3a-04m.c: New.
* gcc.dg/vmx/3a-05.c: New.
* gcc.dg/vmx/3a-06.c: New.
* gcc.dg/vmx/3a-06m.c: New.
* gcc.dg/vmx/3a-07.c: New.
* gcc.dg/vmx/3b-01.c: New.
* gcc.dg/vmx/3b-02.c: New.
* gcc.dg/vmx/3b-10.c: New.
* gcc.dg/vmx/3b-13.c: New.
* gcc.dg/vmx/3b-14.c: New.
* gcc.dg/vmx/3b-15.c: New.
* gcc.dg/vmx/3c-01a.c: New.
* gcc.dg/vmx/3c-01.c: New.
* gcc.dg/vmx/3c-02.c: New.
* gcc.dg/vmx/3c-03.c: New.
* gcc.dg/vmx/3d-01.c: New.
* gcc.dg/vmx/4-01.c: New.
* gcc.dg/vmx/4-03.c: New.
* gcc.dg/vmx/5-01.c: New.
* gcc.dg/vmx/5-02.c: New.
* gcc.dg/vmx/5-03.c: New.
* gcc.dg/vmx/5-04.c: New.
* gcc.dg/vmx/5-05.c: New.
* gcc.dg/vmx/5-06.c: New.
* gcc.dg/vmx/5-07.c: New.
* gcc.dg/vmx/5-07t.c: New.
* gcc.dg/vmx/5-08.c: New.
* gcc.dg/vmx/5-10.c: New.
* gcc.dg/vmx/5-11.c: New.
* gcc.dg/vmx/7-01a.c: New.
* gcc.dg/vmx/7-01.c: New.
* gcc.dg/vmx/7c-01.c: New.
* gcc.dg/vmx/7d-01.c: New.
* gcc.dg/vmx/7d-02.c: New.
* gcc.dg/vmx/8-01.c: New.
* gcc.dg/vmx/8-02a.c: New.
* gcc.dg/vmx/8-02.c: New.
* gcc.dg/vmx/brode-1.c: New.
* gcc.dg/vmx/bug-1.c: New.
* gcc.dg/vmx/bug-2.c: New.
* gcc.dg/vmx/bug-3.c: New.
* gcc.dg/vmx/cw-bug-1.c: New.
* gcc.dg/vmx/cw-bug-2.c: New.
* gcc.dg/vmx/cw-bug-3.c: New.
* gcc.dg/vmx/dct.c: New.
* gcc.dg/vmx/debug-1.c: New.
* gcc.dg/vmx/debug-2.c: New.
* gcc.dg/vmx/debug-3.c: New.
* gcc.dg/vmx/debug-4.c: New.
* gcc.dg/vmx/dos-bug-1-gdb.c: New.
* gcc.dg/vmx/dos-bug-2-gdb.c: New.
* gcc.dg/vmx/eg-5.c: New.
* gcc.dg/vmx/fft.c: New.
* gcc.dg/vmx/gcc-bug-1.c: New.
* gcc.dg/vmx/gcc-bug-2.c: New.
* gcc.dg/vmx/gcc-bug-3.c: New.
* gcc.dg/vmx/gcc-bug-4.c: New.
* gcc.dg/vmx/gcc-bug-5.c: New.
* gcc.dg/vmx/gcc-bug-6.c: New.
* gcc.dg/vmx/gcc-bug-7.c: New.
* gcc.dg/vmx/gcc-bug-8.c: New.
* gcc.dg/vmx/gcc-bug-9.c: New.
* gcc.dg/vmx/gcc-bug-b.c: New.
* gcc.dg/vmx/gcc-bug-c.c: New.
* gcc.dg/vmx/gcc-bug-d.c: New.
* gcc.dg/vmx/gcc-bug-e.c: New.
* gcc.dg/vmx/gcc-bug-f.c: New.
* gcc.dg/vmx/gcc-bug-g.c: New.
* gcc.dg/vmx/gcc-bug-i.c: New.
* gcc.dg/vmx/harness.h: New.
* gcc.dg/vmx/ira1.c: New.
* gcc.dg/vmx/ira2a.c: New.
* gcc.dg/vmx/ira2b.c: New.
* gcc.dg/vmx/ira2.c: New.
* gcc.dg/vmx/ira2c.c: New.
* gcc.dg/vmx/mem.c: New.
* gcc.dg/vmx/newton-1.c: New.
* gcc.dg/vmx/ops.c: New.
* gcc.dg/vmx/sn7153.c: New.
* gcc.dg/vmx/spill2.c: New.
* gcc.dg/vmx/spill3.c: New.
* gcc.dg/vmx/spill.c: New.
* gcc.dg/vmx/t.c: New.
* gcc.dg/vmx/varargs-1.c: New.
* gcc.dg/vmx/varargs-2.c: New.
* gcc.dg/vmx/varargs-3.c: New.
* gcc.dg/vmx/varargs-4.c: New.
* gcc.dg/vmx/varargs-5.c: New.
* gcc.dg/vmx/varargs-6.c: New.
* gcc.dg/vmx/varargs-7.c: New.
* gcc.dg/vmx/vmx.exp: New.
* gcc.dg/vmx/vprint-1.c: New.
* gcc.dg/vmx/vscan-1.c: New.
* gcc.dg/vmx/x-01.c: New.
* gcc.dg/vmx/x-02.c: New.
* gcc.dg/vmx/x-03.c: New.
* gcc.dg/vmx/x-04.c: New.
* gcc.dg/vmx/x-05.c: New.
* gcc.dg/vmx/yousufi-1.c: New.
* gcc.dg/vmx/zero-1.c: New.
* gcc.dg/vmx/zero.c: New.
2004-04-17 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/lookup/java1.C: Update for chage of
_Jv_AllocObject.
* g++.dg/lookup/java2.C: Likewise.
2004-04-17 Laurent GUERBY <laurent@guerby.net>
* ada/acats/run_all.sh: use -O2 by default.
2004-04-17 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/vr-mult-[12].c: New tests.
2004-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/funcorder.c: XFAIL hppa*64*-*-*.
* gcc.dg/const-elim-1.c: XFAIL hppa-*-*.
2004-04-15 Richard Sandiford <rsandifo@redhat.com>
* lib/target-supports.exp (check_profiling_available): Assume profiling
isn't available for mips*-*-elf targets.
2004-04-14 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-38.c: New test.
2004-04-14 Eric Christopher <echristo@redhat.com>
* g++.dg/charset/charset.exp: Run .cc extension tests.
2004-04-14 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/const-elim-1.c: XFAIL hppa*.*-*-* (PA32). Update commentary.
2004-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-ctype-2.c: Test builtin isdigit.
2004-04-13 Uros Bizjak <uros@kss-loka.si>:
* gcc.dg/i386-387-1.c: Add new test for __builtin_tan.
* gcc.dg/i386-387-2.c: Likewise.
* gcc.dg/i386-387-7.c: New test.
* gcc.dg/i386-387-8.c: New test.
* gcc.dg/builtins-37.c: New test.
2004-04-13 Geoffrey Keating <geoffk@apple.com>
* g++.dg/pch/externc-1.C: Add missing semicolon.
2004-04-13 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/20020720-1.x: XFAIL for powerpc-*-*spe.
2004-04-12 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcc.c-torture/execute/20040411-1.c: New test.
2004-04-10 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c90-intprom-1.c, gcc.dg/c99-intprom-1.c: New tests.
2004-04-09 Chris Demetriou <cgd@broadcom.com>
* g++.dg/other/packed1.C: Mark xfail for mips*- not mips-.
2004-04-09 Zack Weinberg <zack@codesourcery.com>
* lib/target-supports.exp (check_named_sections_available): New.
* lib/gcc-dg.exp (dg-require-named-sections): New.
* lib/prune.exp (prune_gcc_output): Incorporate prunes from
old-deja.exp. Also prune error-count message from HP linker.
* g++.old-deja/old-deja.exp (g++-dg-prune): Delete.
* g++.dg/init/init-ref4.C: Use dg-require-weak.
* g++.old-deja/g++.pt/static3.C: Likewise.
* g++.dg/parse/attr-ctor1.C: Use dg-require-named-sections.
2004-04-09 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20040409-1.c: New test case.
* gcc.c-torture/execute/20040409-2.c: New test case.
* gcc.c-torture/execute/20040409-3.c: New test case.
2004-04-09 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/20040409-1.c: New test.
2004-04-08 Roger Sayle <roger@eyesopen.com>
PR target/14888
* g++.dg/opt/pr14888.C: New test case.
2004-04-08 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/valid-1.c, gcc.dg/pch/valid-2.c, gcc.dg/pch/valid-3.c,
gcc.dg/pch/valid-4.c, gcc.dg/pch/valid-5.c, gcc.dg/pch/valid-6.c,
gcc.dg/pch/valid-1.hs, gcc.dg/pch/valid-2.hs, gcc.dg/pch/valid-3.hs,
gcc.dg/pch/valid-4.hs, gcc.dg/pch/valid-5.hs, gcc.dg/pch/valid-6.hs:
New tests.
2004-04-08 Paul Brook <paul@codesourcery.com>
* gcc.dg/spill-1.c: New test.
2004-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-ctype-2.c: New test.
2004-04-07 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/pch/pch.exp: Add largefile test.
2004-04-06 Geoffrey Keating <geoffk@apple.com>
* g++.dg/pch/externc-1.Hs: New.
* g++.dg/pch/externc-1.C: New.
2004-04-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/compat/struct-by-value-5a_main.c,
gcc.dg/compat/struct-by-value-5b_main.c: New files.
* gcc.dg/compat/struct-by-value-5_main.c: Delete.
* gcc.dg/compat/struct-by-value-5a_x.c,
gcc.dg/compat/struct-by-value-5b_x.c: New, split out from
gcc.dg/compat/struct-by-value-5_x.c.
* gcc.dg/compat/struct-by-value-5a_y.c,
gcc.dg/compat/struct-by-value-5b_y.c: New, split out from
gcc.dg/compat/struct-by-value-5_y.c.
* gcc.dg/compat/struct-by-value-6a_main.c,
gcc.dg/compat/struct-by-value-6b_main.c: New files.
* gcc.dg/compat/struct-by-value-6_main.c: Delete.
* gcc.dg/compat/struct-by-value-6a_x.c,
gcc.dg/compat/struct-by-value-6b_x.c: New, split out from
gcc.dg/compat/struct-by-value-6_x.c.
* gcc.dg/compat/struct-by-value-6a_y.c,
gcc.dg/compat/struct-by-value-6b_y.c: New, split out from
gcc.dg/compat/struct-by-value-6_y.c.
* gcc.dg/compat/struct-by-value-7a_main.c,
gcc.dg/compat/struct-by-value-7b_main.c: New files.
* gcc.dg/compat/struct-by-value-7_main.c: Delete.
* gcc.dg/compat/struct-by-value-7a_x.c,
gcc.dg/compat/struct-by-value-7b_x.c: New, split out from
gcc.dg/compat/struct-by-value-7_x.c.
* gcc.dg/compat/struct-by-value-7a_y.c,
gcc.dg/compat/struct-by-value-7b_y.c: New, split out from
gcc.dg/compat/struct-by-value-7_y.c.
2004-04-06 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/i386-sse-8.c: Don't use -march=pentium3 on x86_64.
* gcc.dg/i386-local.c: Expect %edi, not %eax register on x86_64.
* gcc.dg/20020103-1.c: Add -fno-asynchronous-unwind-tables to
options.
2004-04-06 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-36.c: New test.
2004-04-06 Paul Brook <paul@codesourcery.com>
* README.gcc: Remove obsolete contraint on testcases.
2004-04-05 Paul Brook <paul@codesourcery.com>
PR2123
* g++.dg/expr/anew1.C: XFAIL and make reproducible. Call abort on
failure and exit(0) on success.
* g++.dg/expr/anew2.C: Ditto.
* g++.dg/expr/anew3.C: Ditto.
* g++.dg/expr/anew4.C: Ditto.
2004-04-05 Nathan Sidwell <nathan@codesourcery.com>
PR c++/3518
* g++.dg/template/unify7.C: New.
2004-04-02 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/README: Bring up to date with new subdirectories; remove
duplicate subdirectory lines.
2004-04-02 Nathan Sidwell <nathan@codesourcery.com>
PR c++/14007
* g++.dg/template/unify5.C: New.
* g++.dg/template/unify6.C: New.
* g++.dg/template/qualttp20.C: Adjust.
* g++.old-deja/g++.jason/report.C: Adjust.
* g++.old-deja/g++.other/qual1.C: Adjust.
2004-04-01 Mark Mitchell <mark@codesourcery.com>
PR c++/14803
* g++.dg/inherit/ptrmem1.C: New test.
2004-04-01 Jakub Jelinek <jakub@redhat.com>
PR c++/14755
* gcc.c-torture/execute/20040331-1.c: New test.
* gcc.dg/20040331-1.c: New test.
2004-04-01 Paul Brook <paul@codesourcery.com>
* gcc.dg/arm-mmx-1.c: Add -mabi=iwmmxt to dg-options.
2004-03-30 Mark Mitchell <mark@codesourcery.com>
PR c++/14724
* g++.dg/init/goto1.C: New test.
PR c++/14763
* g++.dg/template/defarg4.C: New test.
2004-03-30 Hartmut Penner <hpenner@de.ibm.com>
* gcc.dg/altivec-11.c: Extend test for more valid cases.
2004-03-28 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/doloop-1.c: Do not check for lack of "blt".
2004-03-28 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/noncompile/undeclared-2.c: New test.
2004-03-28 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/940409-1.c: Remove XFAIL.
* gcc.dg/reg-vol-struct-1.c: New test.
2004-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-wctype-1.c: New test.
2004-03-26 James A. Morrison <ja2morri@uwaterloo.ca>
* gcc.dg/20001013-1.c: Run on 32-bit and 64-bit SPARC.
* gcc.dg/20001101-1.c: Likewise.
* gcc.dg/20001102-1.c: Likewise.
2004-03-25 Roger Sayle <roger@eyesopen.com>
* gcc.dg/compare8.c: Add an additional test for XOR.
2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-ctype-1.c: New test.
2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-explog-1.c: Add new cases.
* gcc.dg/torture/builtin-math-1.c: Likewise.
2004-03-26 01:30:07 +01:00
* gcc.dg/torture/builtin-power-1.c: New test.
2004-03-24 Andreas Schwab <schwab@suse.de>
* lib/prune.exp (prune_gcc_output): Ignore errata warning from
IA64 assembler.
2004-03-23 Joseph S. Myers <jsm@polyomino.org.uk>
Roger Sayle <roger@eyesopen.com>
* gcc.dg/compare8.c: New test case.
2004-03-23 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-7.C: New test.
PR 12267, 12391, 12560, 13129, 14114, 14113 * c-tree.h: Forward declare struct c_binding. Declare c_override_bindings_to_false. Update prototypes. (struct lang_identifier): Update comments. Change fields to be struct c_binding *. (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE) (IDENTIFIER_LABEL_VALUE, C_DECL_INVISIBLE) (KEEP_NO, KEEP_YES, KEEP_MAYBE): Delete. (C_DECL_IN_EXTERNAL_SCOPE, C_DECL_DECLARED_BUILTIN): New. * c-common.h: Update prototypes. * c-decl.c (struct c_scope): Update commentary. Remove names, names_last, parms, parms_last, tags, and shadowed fields. Add bindings and depth fields. (scope_freelist): Move to more appropriate location. (c_print_identifier): Update for changes to struct lang_identifier. (objc_mark_locals_volatile): Update for new bindings structures. (global_bindings_p): Honor c_override_global_bindings_to_false. (pushlevel): Rename to push_scope; take no arguments; use the scope_freelist; initialize scope->depth and check for overflow. (poplevel): Rename to pop_scope; totally rewritten for new bindings structures. (diagnose_mismatched_decls): Use C_DECL_DECLARED_BUILTIN, not C_DECL_INVISIBLE, for certain decisions. Adjust some diagnostics. Improve some commentary. Adjust handling of forward parm decls. (merge_decls): Set C_DECL_DECLARED_BUILTIN when appropriate. Preserve C_DECL_IN_EXTERNAL_SCOPE. (warn_if_shadowing): Correct indentation. Improve diagnostics. (pushdecl): Remove unnecessary assertion. Short-circuit anonymous decls. Rewrite for new bindings structures. Improve commentary. Eliminate the copy_node call. (implicit_decl_warning): Use the "diag" idiom (as seen in locate_old_decl) to reduce code duplication; call locate_old_decl if appropriate. Relocate to remove need for forward declaration. (implicitly_declare): Adjust for new bindings structures. Kludge around Objective-C not-really-builtin functions. (undeclared_variable): Improve diagnostics. If current_function_decl is nonnull but current_function_scope is null, use current_scope. Use bind. (lookup_tag): Adjust for new bindings structures. Kludge around Objective-C's tag declarations that wind up in the external scope. (lookup_name): Adjust for new bindings structures. Kludge around c-common.c's pseudo-typedefs that wind up in the external scope. (lookup_name_current_level): Rename lookup_name_in_scope; take a second argument indicating the scope to examine; rewrite for new bindings structures. (c_init_decl_processing): Adjust for renamed functions. Do not initialize current_file_decl, first_builtin_decl, last_builtin_decl. First scope pushed is the external scope, not the global scope. (builtin_function): Use bind, not pushdecl. Adjust other bits for new data structures. Keep track of builtins that should be made visible automatically. (start_decl): Adjust diagnostics. Remove unnecessary call to expand_decl. (grokparms): Return 0 if arg_types is error_mark_node. (get_parm_info): Rename "void_at_end" argument to "ellipsis", with reversed sense. Rewrite for new bindings structures. Do not leave any decls in the scope, to prevent pop_scope from doing contradictory things with them. (finish_struct, finish_enum): Remove redundant diagnostics. (build_enumerator): Don't cascade diagnostics for error_mark_node. Mark location where -pedantic changes the meaning of the program. (store_parm_decls_newstyle, store_parm_decls_oldstyle): Load the parameter decls into the function's scope structure using bind. Warn here about function definitions in the wrong style. Adjust diagnostics. (store_parm_decls): Correct the determination of whether a function was defined with a prototype. (c_write_global_declarations): Operate on all file decls and on the external scope. Split body of the loop to... (c_write_global_declarations_1): ... this new function, to avoid code duplication. (truly_local_externals, first_builtin_decl, last_builtin_decl) (make_scope, pop_scope, in_parm_level_p, set_block) (any_external_decl, record_external_decl, bind_label, getdecls) (link_hash_hash, link_hash_eq, merge_translation_unit_decls) (c_reset_state): Delete. (visible_builtins, c_override_global_bindings_to_false) (c_binding, I_SYMBOL_BINDING, I_SYMBOL_DECL, I_TAG_BINDING) (I_TAG_DECL, I_LABEL_BINDING, I_LABEL_DECL, file_scope) (external_scope, binding_freelist, bind, free_binding_and_advance) (push_file_scope, pop_file_scope): New. (pushtag, pushdecl_top_level, lookup_label, declare_label) (define_label, c_make_fname_decl, finish_decl) (mark_forward_parm_decls, build_compound_literal) (grokdeclarator, start_function, check_for_loop_decls) (identifier_global_value, record_builtin_type): Minor adjustments for new bindings structures. Improve diagnostics and commentary. * c-objc-common.c (start_cdtor, finish_cdtor): Adjust calls to pushlevel/poplevel respectively. (c_objc_common_finish_file): Don't call merge_translation_unit_decls. * c-opts.c (c_common_parse_file): Remove spurious ATTRIBUTE_UNUSED. Warn about YYDEBUG not being defined only if -dy. Remove no-longer- correct loop over multiple translation units; call fatal_error if requested to compile more than one file at once. (This disables IMA temporarily - an up-front error being preferable to a crash.) * c-parse.in (pushlevel, poplevel rules): Rename push_scope, pop_scope. (all actions): Adjust calls to pushlevel/poplevel. (parsing_iso_function_signature): Delete. (extdef_1): Fold into extdef. (old_style_parm_decls_1): Fold into old_style_parm_decls. Don't warn here about function definitions in the wrong style. (after_tyle_declarator, parm_declarator_starttypename) (parm_declarator_nostarttypename, notype_declarator): Remove commented-out productions. (parmlist_1, parmlist_2): Use make_node, not tree_cons, to create an empty TREE_LIST node. Adjust calls to get_parm_info. (parmlist_2 : ELLIPSIS): Tag the arg-info block with error_mark_node to suppress -Wold-style-definition after this error. (c_parse_file): Don't clear the binding stack or call finish_fname_decls here. Correct comment. * c-typeck.c (same_translation_unit_p): Export. (common_type): Use c_override_global_bindings_to_false, not pushlevel/poplevel/declare_parm_level. * c-lang.c: Override LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK, and LANG_HOOKS_GETDECLS with do-nothing stubs. * objc/objc-lang.c: Likewise. * objc/objc-act.c: Adjust all calls to pushlevel, poplevel, get_parm_info. (OBJC_VOID_AT_END): Delete; replace all uses with void_list_node. (generate_forward_declaration_to_string_table): Delete. * objc/objc-act.h (OCTI_STRG_DECL, UOBJC_STRINGS_decl): Delete. * coverage.c (create_coverage): Don't pushdecl anything. * langhooks.c (lhd_clear_binding_stack): Call lang_hooks.decls.poplevel, not poplevel. * tree.c (list_length): If ENABLE_TREE_CHECKING, abort on a circular list rather than going into an infinite loop. cp: * cp-lang.c (c_reset_state): Delete. (push_file_scope, pop_file_scope): New stubs. * parser.c (c_parse_file): Call sorry() here if called more than once. testsuite: * gcc.dg/Wold-style-definition-1.c, gcc.dg/builtins-30.c * gcc.dg/unused-4.c, gcc.dg/noncompile/label-1.c * gcc.dg/noncompile/label-lineno-1.c, objc.dg/naming-1.m: Adjust error regexps. * gcc.dg/Wshadow-2.c, gcc.dg/noncompile/incomplete-3.c * gcc.dg/noncompile/undeclared-1.c: New test cases. * gcc.dg/decl-5.c, gcc.dg/redecl-1.c: Remove XFAIL. * gcc.dg/local1.c: Add explanatory comment. From-SVN: r79883
2004-03-24 00:47:53 +01:00
2004-03-23 Zack Weinberg <zack@codesourcery.com>
PR 12267, 12391, 12560, 13129, 14114, 14133
PR 12267, 12391, 12560, 13129, 14114, 14113 * c-tree.h: Forward declare struct c_binding. Declare c_override_bindings_to_false. Update prototypes. (struct lang_identifier): Update comments. Change fields to be struct c_binding *. (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE) (IDENTIFIER_LABEL_VALUE, C_DECL_INVISIBLE) (KEEP_NO, KEEP_YES, KEEP_MAYBE): Delete. (C_DECL_IN_EXTERNAL_SCOPE, C_DECL_DECLARED_BUILTIN): New. * c-common.h: Update prototypes. * c-decl.c (struct c_scope): Update commentary. Remove names, names_last, parms, parms_last, tags, and shadowed fields. Add bindings and depth fields. (scope_freelist): Move to more appropriate location. (c_print_identifier): Update for changes to struct lang_identifier. (objc_mark_locals_volatile): Update for new bindings structures. (global_bindings_p): Honor c_override_global_bindings_to_false. (pushlevel): Rename to push_scope; take no arguments; use the scope_freelist; initialize scope->depth and check for overflow. (poplevel): Rename to pop_scope; totally rewritten for new bindings structures. (diagnose_mismatched_decls): Use C_DECL_DECLARED_BUILTIN, not C_DECL_INVISIBLE, for certain decisions. Adjust some diagnostics. Improve some commentary. Adjust handling of forward parm decls. (merge_decls): Set C_DECL_DECLARED_BUILTIN when appropriate. Preserve C_DECL_IN_EXTERNAL_SCOPE. (warn_if_shadowing): Correct indentation. Improve diagnostics. (pushdecl): Remove unnecessary assertion. Short-circuit anonymous decls. Rewrite for new bindings structures. Improve commentary. Eliminate the copy_node call. (implicit_decl_warning): Use the "diag" idiom (as seen in locate_old_decl) to reduce code duplication; call locate_old_decl if appropriate. Relocate to remove need for forward declaration. (implicitly_declare): Adjust for new bindings structures. Kludge around Objective-C not-really-builtin functions. (undeclared_variable): Improve diagnostics. If current_function_decl is nonnull but current_function_scope is null, use current_scope. Use bind. (lookup_tag): Adjust for new bindings structures. Kludge around Objective-C's tag declarations that wind up in the external scope. (lookup_name): Adjust for new bindings structures. Kludge around c-common.c's pseudo-typedefs that wind up in the external scope. (lookup_name_current_level): Rename lookup_name_in_scope; take a second argument indicating the scope to examine; rewrite for new bindings structures. (c_init_decl_processing): Adjust for renamed functions. Do not initialize current_file_decl, first_builtin_decl, last_builtin_decl. First scope pushed is the external scope, not the global scope. (builtin_function): Use bind, not pushdecl. Adjust other bits for new data structures. Keep track of builtins that should be made visible automatically. (start_decl): Adjust diagnostics. Remove unnecessary call to expand_decl. (grokparms): Return 0 if arg_types is error_mark_node. (get_parm_info): Rename "void_at_end" argument to "ellipsis", with reversed sense. Rewrite for new bindings structures. Do not leave any decls in the scope, to prevent pop_scope from doing contradictory things with them. (finish_struct, finish_enum): Remove redundant diagnostics. (build_enumerator): Don't cascade diagnostics for error_mark_node. Mark location where -pedantic changes the meaning of the program. (store_parm_decls_newstyle, store_parm_decls_oldstyle): Load the parameter decls into the function's scope structure using bind. Warn here about function definitions in the wrong style. Adjust diagnostics. (store_parm_decls): Correct the determination of whether a function was defined with a prototype. (c_write_global_declarations): Operate on all file decls and on the external scope. Split body of the loop to... (c_write_global_declarations_1): ... this new function, to avoid code duplication. (truly_local_externals, first_builtin_decl, last_builtin_decl) (make_scope, pop_scope, in_parm_level_p, set_block) (any_external_decl, record_external_decl, bind_label, getdecls) (link_hash_hash, link_hash_eq, merge_translation_unit_decls) (c_reset_state): Delete. (visible_builtins, c_override_global_bindings_to_false) (c_binding, I_SYMBOL_BINDING, I_SYMBOL_DECL, I_TAG_BINDING) (I_TAG_DECL, I_LABEL_BINDING, I_LABEL_DECL, file_scope) (external_scope, binding_freelist, bind, free_binding_and_advance) (push_file_scope, pop_file_scope): New. (pushtag, pushdecl_top_level, lookup_label, declare_label) (define_label, c_make_fname_decl, finish_decl) (mark_forward_parm_decls, build_compound_literal) (grokdeclarator, start_function, check_for_loop_decls) (identifier_global_value, record_builtin_type): Minor adjustments for new bindings structures. Improve diagnostics and commentary. * c-objc-common.c (start_cdtor, finish_cdtor): Adjust calls to pushlevel/poplevel respectively. (c_objc_common_finish_file): Don't call merge_translation_unit_decls. * c-opts.c (c_common_parse_file): Remove spurious ATTRIBUTE_UNUSED. Warn about YYDEBUG not being defined only if -dy. Remove no-longer- correct loop over multiple translation units; call fatal_error if requested to compile more than one file at once. (This disables IMA temporarily - an up-front error being preferable to a crash.) * c-parse.in (pushlevel, poplevel rules): Rename push_scope, pop_scope. (all actions): Adjust calls to pushlevel/poplevel. (parsing_iso_function_signature): Delete. (extdef_1): Fold into extdef. (old_style_parm_decls_1): Fold into old_style_parm_decls. Don't warn here about function definitions in the wrong style. (after_tyle_declarator, parm_declarator_starttypename) (parm_declarator_nostarttypename, notype_declarator): Remove commented-out productions. (parmlist_1, parmlist_2): Use make_node, not tree_cons, to create an empty TREE_LIST node. Adjust calls to get_parm_info. (parmlist_2 : ELLIPSIS): Tag the arg-info block with error_mark_node to suppress -Wold-style-definition after this error. (c_parse_file): Don't clear the binding stack or call finish_fname_decls here. Correct comment. * c-typeck.c (same_translation_unit_p): Export. (common_type): Use c_override_global_bindings_to_false, not pushlevel/poplevel/declare_parm_level. * c-lang.c: Override LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK, and LANG_HOOKS_GETDECLS with do-nothing stubs. * objc/objc-lang.c: Likewise. * objc/objc-act.c: Adjust all calls to pushlevel, poplevel, get_parm_info. (OBJC_VOID_AT_END): Delete; replace all uses with void_list_node. (generate_forward_declaration_to_string_table): Delete. * objc/objc-act.h (OCTI_STRG_DECL, UOBJC_STRINGS_decl): Delete. * coverage.c (create_coverage): Don't pushdecl anything. * langhooks.c (lhd_clear_binding_stack): Call lang_hooks.decls.poplevel, not poplevel. * tree.c (list_length): If ENABLE_TREE_CHECKING, abort on a circular list rather than going into an infinite loop. cp: * cp-lang.c (c_reset_state): Delete. (push_file_scope, pop_file_scope): New stubs. * parser.c (c_parse_file): Call sorry() here if called more than once. testsuite: * gcc.dg/Wold-style-definition-1.c, gcc.dg/builtins-30.c * gcc.dg/unused-4.c, gcc.dg/noncompile/label-1.c * gcc.dg/noncompile/label-lineno-1.c, objc.dg/naming-1.m: Adjust error regexps. * gcc.dg/Wshadow-2.c, gcc.dg/noncompile/incomplete-3.c * gcc.dg/noncompile/undeclared-1.c: New test cases. * gcc.dg/decl-5.c, gcc.dg/redecl-1.c: Remove XFAIL. * gcc.dg/local1.c: Add explanatory comment. From-SVN: r79883
2004-03-24 00:47:53 +01:00
* gcc.dg/Wold-style-definition-1.c, gcc.dg/builtins-30.c
* gcc.dg/unused-4.c, gcc.dg/noncompile/label-1.c
* gcc.dg/noncompile/label-lineno-1.c, objc.dg/naming-1.m:
Adjust error regexps.
* gcc.dg/Wshadow-2.c, gcc.dg/noncompile/incomplete-3.c
* gcc.dg/noncompile/undeclared-1.c: New test cases.
* gcc.dg/decl-5.c, gcc.dg/redecl-1.c: Remove XFAIL.
* gcc.dg/local1.c: Add explanatory comment.
2004-03-23 Roger Sayle <roger@eyesopen.com>
PR optimization/14669
* g++.dg/opt/fold2.C: New test case.
2004-03-22 Jakub Jelinek <jakub@redhat.com>
PR c/14069
* gcc.dg/20040322-1.c: New test.
2004-03-22 Eric Botcazou <ebotcazou@libertysurf.fr>
2004-03-22 08:18:35 +01:00
* gcc.dg/ultrasp2.c: Do not pass -m64. Remove redundant lines.
* gcc.dg/ultrasp4.c: Likewise.
* gcc.dg/ultrasp8.c: Do not pass -m64. Add sparcv9-*-*.
2004-03-21 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/i386-sse-8.c: Reset default options.
2004-03-21 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/charset/asm2.c: Allow 'parse error' instead of 'syntax error'
in the error message text.
2004-03-21 Gabriel Dos Reis <gdr@integrable-solutions.net>
* g++.dg/template/qualttp20.C: Adjust dg- regexp.
2004-03-21 Mark Mitchell <mark@codesourcery.com>
PR c++/14616
* g++.dg/init/array13.C: New test.
2004-03-20 Roger Sayle <roger@eyesopen.com>
PR target/13889
* gcc.c-torture/compile/pr13889.c: New test case.
2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/14635
* builtins-1.c (nan, nans): Don't test.
* builtins-30.c: Don't use nan, nanf, nanl.
* builtins-35.c: New test.
2004-03-19 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-6.C: New test.
call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete... * call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete operators. * cp-tree.h (svaed_scope): Remove last_parms. (NEW_DELETE_OPNAME_P): New macro. (last_function_parms): Remove. (do_friend): Adjust prototype. * decl.c (grokparms): Return the PARM_DECLs directly, rather than using last_function_parms. (grokfndecl): Take the PARM_DECLs as an argument, rather than using last_function_parms. (grokdeclarator): Adjust accordingly. Do not form METHOD_TYPEs for class-specific operator new and operator delete. (grok_op_properties): Do not look for allocation functions with METHOD_TYPEs. (start_function): Use DECL_ARGUMENTS instead of last_function_parms. * decl.h (last_function_parms): Do not declare. * decl2.c (grokclassfn): Do not use last_function_parms. * friend.c (do_friend): Remove parmdecls parameter. * name-lookup.c (push_to_top_level): Do not save last_function_parms. (pop_from_top_level): Do not restore it. * pt.c (check_explicit_specialization): Do not adjust last_function_parms. * name-lookup.c (do_local_using_decl): Create a local binding for types brought in via using declarations. * name-lookup.c (lookup_arg_dependent): Handle block-scope function declarations correctly. * semantics.c (finish_id_expression): Correct handling of conversion operators to dependent types. * typeck.c (lookup_destructor): Allow the use of destructors from base classes. * g++.dg/init/placement3.C: New test. * g++.dg/template/spec13.C: New test. * g++.dg/lookup/using11.C: New test. * g++.dg/lookup/koenig3.C: New test. * g++.dg/template/operator2.C: New test. * g++.dg/expr/dtor3.C: New test. * g++.old-deja/g++.brendan/crash15.C: Remove incorrect dg-error marker. * g++.old-deja/g++.law/visibility28.C: Likewise. From-SVN: r79722
2004-03-20 01:18:24 +01:00
2004-03-19 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/placement3.C: New test.
* g++.dg/template/spec13.C: New test.
* g++.dg/lookup/using11.C: New test.
PR 12267, 12391, 12560, 13129, 14114, 14113 * c-tree.h: Forward declare struct c_binding. Declare c_override_bindings_to_false. Update prototypes. (struct lang_identifier): Update comments. Change fields to be struct c_binding *. (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE) (IDENTIFIER_LABEL_VALUE, C_DECL_INVISIBLE) (KEEP_NO, KEEP_YES, KEEP_MAYBE): Delete. (C_DECL_IN_EXTERNAL_SCOPE, C_DECL_DECLARED_BUILTIN): New. * c-common.h: Update prototypes. * c-decl.c (struct c_scope): Update commentary. Remove names, names_last, parms, parms_last, tags, and shadowed fields. Add bindings and depth fields. (scope_freelist): Move to more appropriate location. (c_print_identifier): Update for changes to struct lang_identifier. (objc_mark_locals_volatile): Update for new bindings structures. (global_bindings_p): Honor c_override_global_bindings_to_false. (pushlevel): Rename to push_scope; take no arguments; use the scope_freelist; initialize scope->depth and check for overflow. (poplevel): Rename to pop_scope; totally rewritten for new bindings structures. (diagnose_mismatched_decls): Use C_DECL_DECLARED_BUILTIN, not C_DECL_INVISIBLE, for certain decisions. Adjust some diagnostics. Improve some commentary. Adjust handling of forward parm decls. (merge_decls): Set C_DECL_DECLARED_BUILTIN when appropriate. Preserve C_DECL_IN_EXTERNAL_SCOPE. (warn_if_shadowing): Correct indentation. Improve diagnostics. (pushdecl): Remove unnecessary assertion. Short-circuit anonymous decls. Rewrite for new bindings structures. Improve commentary. Eliminate the copy_node call. (implicit_decl_warning): Use the "diag" idiom (as seen in locate_old_decl) to reduce code duplication; call locate_old_decl if appropriate. Relocate to remove need for forward declaration. (implicitly_declare): Adjust for new bindings structures. Kludge around Objective-C not-really-builtin functions. (undeclared_variable): Improve diagnostics. If current_function_decl is nonnull but current_function_scope is null, use current_scope. Use bind. (lookup_tag): Adjust for new bindings structures. Kludge around Objective-C's tag declarations that wind up in the external scope. (lookup_name): Adjust for new bindings structures. Kludge around c-common.c's pseudo-typedefs that wind up in the external scope. (lookup_name_current_level): Rename lookup_name_in_scope; take a second argument indicating the scope to examine; rewrite for new bindings structures. (c_init_decl_processing): Adjust for renamed functions. Do not initialize current_file_decl, first_builtin_decl, last_builtin_decl. First scope pushed is the external scope, not the global scope. (builtin_function): Use bind, not pushdecl. Adjust other bits for new data structures. Keep track of builtins that should be made visible automatically. (start_decl): Adjust diagnostics. Remove unnecessary call to expand_decl. (grokparms): Return 0 if arg_types is error_mark_node. (get_parm_info): Rename "void_at_end" argument to "ellipsis", with reversed sense. Rewrite for new bindings structures. Do not leave any decls in the scope, to prevent pop_scope from doing contradictory things with them. (finish_struct, finish_enum): Remove redundant diagnostics. (build_enumerator): Don't cascade diagnostics for error_mark_node. Mark location where -pedantic changes the meaning of the program. (store_parm_decls_newstyle, store_parm_decls_oldstyle): Load the parameter decls into the function's scope structure using bind. Warn here about function definitions in the wrong style. Adjust diagnostics. (store_parm_decls): Correct the determination of whether a function was defined with a prototype. (c_write_global_declarations): Operate on all file decls and on the external scope. Split body of the loop to... (c_write_global_declarations_1): ... this new function, to avoid code duplication. (truly_local_externals, first_builtin_decl, last_builtin_decl) (make_scope, pop_scope, in_parm_level_p, set_block) (any_external_decl, record_external_decl, bind_label, getdecls) (link_hash_hash, link_hash_eq, merge_translation_unit_decls) (c_reset_state): Delete. (visible_builtins, c_override_global_bindings_to_false) (c_binding, I_SYMBOL_BINDING, I_SYMBOL_DECL, I_TAG_BINDING) (I_TAG_DECL, I_LABEL_BINDING, I_LABEL_DECL, file_scope) (external_scope, binding_freelist, bind, free_binding_and_advance) (push_file_scope, pop_file_scope): New. (pushtag, pushdecl_top_level, lookup_label, declare_label) (define_label, c_make_fname_decl, finish_decl) (mark_forward_parm_decls, build_compound_literal) (grokdeclarator, start_function, check_for_loop_decls) (identifier_global_value, record_builtin_type): Minor adjustments for new bindings structures. Improve diagnostics and commentary. * c-objc-common.c (start_cdtor, finish_cdtor): Adjust calls to pushlevel/poplevel respectively. (c_objc_common_finish_file): Don't call merge_translation_unit_decls. * c-opts.c (c_common_parse_file): Remove spurious ATTRIBUTE_UNUSED. Warn about YYDEBUG not being defined only if -dy. Remove no-longer- correct loop over multiple translation units; call fatal_error if requested to compile more than one file at once. (This disables IMA temporarily - an up-front error being preferable to a crash.) * c-parse.in (pushlevel, poplevel rules): Rename push_scope, pop_scope. (all actions): Adjust calls to pushlevel/poplevel. (parsing_iso_function_signature): Delete. (extdef_1): Fold into extdef. (old_style_parm_decls_1): Fold into old_style_parm_decls. Don't warn here about function definitions in the wrong style. (after_tyle_declarator, parm_declarator_starttypename) (parm_declarator_nostarttypename, notype_declarator): Remove commented-out productions. (parmlist_1, parmlist_2): Use make_node, not tree_cons, to create an empty TREE_LIST node. Adjust calls to get_parm_info. (parmlist_2 : ELLIPSIS): Tag the arg-info block with error_mark_node to suppress -Wold-style-definition after this error. (c_parse_file): Don't clear the binding stack or call finish_fname_decls here. Correct comment. * c-typeck.c (same_translation_unit_p): Export. (common_type): Use c_override_global_bindings_to_false, not pushlevel/poplevel/declare_parm_level. * c-lang.c: Override LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK, and LANG_HOOKS_GETDECLS with do-nothing stubs. * objc/objc-lang.c: Likewise. * objc/objc-act.c: Adjust all calls to pushlevel, poplevel, get_parm_info. (OBJC_VOID_AT_END): Delete; replace all uses with void_list_node. (generate_forward_declaration_to_string_table): Delete. * objc/objc-act.h (OCTI_STRG_DECL, UOBJC_STRINGS_decl): Delete. * coverage.c (create_coverage): Don't pushdecl anything. * langhooks.c (lhd_clear_binding_stack): Call lang_hooks.decls.poplevel, not poplevel. * tree.c (list_length): If ENABLE_TREE_CHECKING, abort on a circular list rather than going into an infinite loop. cp: * cp-lang.c (c_reset_state): Delete. (push_file_scope, pop_file_scope): New stubs. * parser.c (c_parse_file): Call sorry() here if called more than once. testsuite: * gcc.dg/Wold-style-definition-1.c, gcc.dg/builtins-30.c * gcc.dg/unused-4.c, gcc.dg/noncompile/label-1.c * gcc.dg/noncompile/label-lineno-1.c, objc.dg/naming-1.m: Adjust error regexps. * gcc.dg/Wshadow-2.c, gcc.dg/noncompile/incomplete-3.c * gcc.dg/noncompile/undeclared-1.c: New test cases. * gcc.dg/decl-5.c, gcc.dg/redecl-1.c: Remove XFAIL. * gcc.dg/local1.c: Add explanatory comment. From-SVN: r79883
2004-03-24 00:47:53 +01:00
call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete... * call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete operators. * cp-tree.h (svaed_scope): Remove last_parms. (NEW_DELETE_OPNAME_P): New macro. (last_function_parms): Remove. (do_friend): Adjust prototype. * decl.c (grokparms): Return the PARM_DECLs directly, rather than using last_function_parms. (grokfndecl): Take the PARM_DECLs as an argument, rather than using last_function_parms. (grokdeclarator): Adjust accordingly. Do not form METHOD_TYPEs for class-specific operator new and operator delete. (grok_op_properties): Do not look for allocation functions with METHOD_TYPEs. (start_function): Use DECL_ARGUMENTS instead of last_function_parms. * decl.h (last_function_parms): Do not declare. * decl2.c (grokclassfn): Do not use last_function_parms. * friend.c (do_friend): Remove parmdecls parameter. * name-lookup.c (push_to_top_level): Do not save last_function_parms. (pop_from_top_level): Do not restore it. * pt.c (check_explicit_specialization): Do not adjust last_function_parms. * name-lookup.c (do_local_using_decl): Create a local binding for types brought in via using declarations. * name-lookup.c (lookup_arg_dependent): Handle block-scope function declarations correctly. * semantics.c (finish_id_expression): Correct handling of conversion operators to dependent types. * typeck.c (lookup_destructor): Allow the use of destructors from base classes. * g++.dg/init/placement3.C: New test. * g++.dg/template/spec13.C: New test. * g++.dg/lookup/using11.C: New test. * g++.dg/lookup/koenig3.C: New test. * g++.dg/template/operator2.C: New test. * g++.dg/expr/dtor3.C: New test. * g++.old-deja/g++.brendan/crash15.C: Remove incorrect dg-error marker. * g++.old-deja/g++.law/visibility28.C: Likewise. From-SVN: r79722
2004-03-20 01:18:24 +01:00
* g++.dg/lookup/koenig3.C: New test.
* g++.dg/template/operator2.C: New test.
PR 12267, 12391, 12560, 13129, 14114, 14113 * c-tree.h: Forward declare struct c_binding. Declare c_override_bindings_to_false. Update prototypes. (struct lang_identifier): Update comments. Change fields to be struct c_binding *. (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE) (IDENTIFIER_LABEL_VALUE, C_DECL_INVISIBLE) (KEEP_NO, KEEP_YES, KEEP_MAYBE): Delete. (C_DECL_IN_EXTERNAL_SCOPE, C_DECL_DECLARED_BUILTIN): New. * c-common.h: Update prototypes. * c-decl.c (struct c_scope): Update commentary. Remove names, names_last, parms, parms_last, tags, and shadowed fields. Add bindings and depth fields. (scope_freelist): Move to more appropriate location. (c_print_identifier): Update for changes to struct lang_identifier. (objc_mark_locals_volatile): Update for new bindings structures. (global_bindings_p): Honor c_override_global_bindings_to_false. (pushlevel): Rename to push_scope; take no arguments; use the scope_freelist; initialize scope->depth and check for overflow. (poplevel): Rename to pop_scope; totally rewritten for new bindings structures. (diagnose_mismatched_decls): Use C_DECL_DECLARED_BUILTIN, not C_DECL_INVISIBLE, for certain decisions. Adjust some diagnostics. Improve some commentary. Adjust handling of forward parm decls. (merge_decls): Set C_DECL_DECLARED_BUILTIN when appropriate. Preserve C_DECL_IN_EXTERNAL_SCOPE. (warn_if_shadowing): Correct indentation. Improve diagnostics. (pushdecl): Remove unnecessary assertion. Short-circuit anonymous decls. Rewrite for new bindings structures. Improve commentary. Eliminate the copy_node call. (implicit_decl_warning): Use the "diag" idiom (as seen in locate_old_decl) to reduce code duplication; call locate_old_decl if appropriate. Relocate to remove need for forward declaration. (implicitly_declare): Adjust for new bindings structures. Kludge around Objective-C not-really-builtin functions. (undeclared_variable): Improve diagnostics. If current_function_decl is nonnull but current_function_scope is null, use current_scope. Use bind. (lookup_tag): Adjust for new bindings structures. Kludge around Objective-C's tag declarations that wind up in the external scope. (lookup_name): Adjust for new bindings structures. Kludge around c-common.c's pseudo-typedefs that wind up in the external scope. (lookup_name_current_level): Rename lookup_name_in_scope; take a second argument indicating the scope to examine; rewrite for new bindings structures. (c_init_decl_processing): Adjust for renamed functions. Do not initialize current_file_decl, first_builtin_decl, last_builtin_decl. First scope pushed is the external scope, not the global scope. (builtin_function): Use bind, not pushdecl. Adjust other bits for new data structures. Keep track of builtins that should be made visible automatically. (start_decl): Adjust diagnostics. Remove unnecessary call to expand_decl. (grokparms): Return 0 if arg_types is error_mark_node. (get_parm_info): Rename "void_at_end" argument to "ellipsis", with reversed sense. Rewrite for new bindings structures. Do not leave any decls in the scope, to prevent pop_scope from doing contradictory things with them. (finish_struct, finish_enum): Remove redundant diagnostics. (build_enumerator): Don't cascade diagnostics for error_mark_node. Mark location where -pedantic changes the meaning of the program. (store_parm_decls_newstyle, store_parm_decls_oldstyle): Load the parameter decls into the function's scope structure using bind. Warn here about function definitions in the wrong style. Adjust diagnostics. (store_parm_decls): Correct the determination of whether a function was defined with a prototype. (c_write_global_declarations): Operate on all file decls and on the external scope. Split body of the loop to... (c_write_global_declarations_1): ... this new function, to avoid code duplication. (truly_local_externals, first_builtin_decl, last_builtin_decl) (make_scope, pop_scope, in_parm_level_p, set_block) (any_external_decl, record_external_decl, bind_label, getdecls) (link_hash_hash, link_hash_eq, merge_translation_unit_decls) (c_reset_state): Delete. (visible_builtins, c_override_global_bindings_to_false) (c_binding, I_SYMBOL_BINDING, I_SYMBOL_DECL, I_TAG_BINDING) (I_TAG_DECL, I_LABEL_BINDING, I_LABEL_DECL, file_scope) (external_scope, binding_freelist, bind, free_binding_and_advance) (push_file_scope, pop_file_scope): New. (pushtag, pushdecl_top_level, lookup_label, declare_label) (define_label, c_make_fname_decl, finish_decl) (mark_forward_parm_decls, build_compound_literal) (grokdeclarator, start_function, check_for_loop_decls) (identifier_global_value, record_builtin_type): Minor adjustments for new bindings structures. Improve diagnostics and commentary. * c-objc-common.c (start_cdtor, finish_cdtor): Adjust calls to pushlevel/poplevel respectively. (c_objc_common_finish_file): Don't call merge_translation_unit_decls. * c-opts.c (c_common_parse_file): Remove spurious ATTRIBUTE_UNUSED. Warn about YYDEBUG not being defined only if -dy. Remove no-longer- correct loop over multiple translation units; call fatal_error if requested to compile more than one file at once. (This disables IMA temporarily - an up-front error being preferable to a crash.) * c-parse.in (pushlevel, poplevel rules): Rename push_scope, pop_scope. (all actions): Adjust calls to pushlevel/poplevel. (parsing_iso_function_signature): Delete. (extdef_1): Fold into extdef. (old_style_parm_decls_1): Fold into old_style_parm_decls. Don't warn here about function definitions in the wrong style. (after_tyle_declarator, parm_declarator_starttypename) (parm_declarator_nostarttypename, notype_declarator): Remove commented-out productions. (parmlist_1, parmlist_2): Use make_node, not tree_cons, to create an empty TREE_LIST node. Adjust calls to get_parm_info. (parmlist_2 : ELLIPSIS): Tag the arg-info block with error_mark_node to suppress -Wold-style-definition after this error. (c_parse_file): Don't clear the binding stack or call finish_fname_decls here. Correct comment. * c-typeck.c (same_translation_unit_p): Export. (common_type): Use c_override_global_bindings_to_false, not pushlevel/poplevel/declare_parm_level. * c-lang.c: Override LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK, and LANG_HOOKS_GETDECLS with do-nothing stubs. * objc/objc-lang.c: Likewise. * objc/objc-act.c: Adjust all calls to pushlevel, poplevel, get_parm_info. (OBJC_VOID_AT_END): Delete; replace all uses with void_list_node. (generate_forward_declaration_to_string_table): Delete. * objc/objc-act.h (OCTI_STRG_DECL, UOBJC_STRINGS_decl): Delete. * coverage.c (create_coverage): Don't pushdecl anything. * langhooks.c (lhd_clear_binding_stack): Call lang_hooks.decls.poplevel, not poplevel. * tree.c (list_length): If ENABLE_TREE_CHECKING, abort on a circular list rather than going into an infinite loop. cp: * cp-lang.c (c_reset_state): Delete. (push_file_scope, pop_file_scope): New stubs. * parser.c (c_parse_file): Call sorry() here if called more than once. testsuite: * gcc.dg/Wold-style-definition-1.c, gcc.dg/builtins-30.c * gcc.dg/unused-4.c, gcc.dg/noncompile/label-1.c * gcc.dg/noncompile/label-lineno-1.c, objc.dg/naming-1.m: Adjust error regexps. * gcc.dg/Wshadow-2.c, gcc.dg/noncompile/incomplete-3.c * gcc.dg/noncompile/undeclared-1.c: New test cases. * gcc.dg/decl-5.c, gcc.dg/redecl-1.c: Remove XFAIL. * gcc.dg/local1.c: Add explanatory comment. From-SVN: r79883
2004-03-24 00:47:53 +01:00
call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete... * call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete operators. * cp-tree.h (svaed_scope): Remove last_parms. (NEW_DELETE_OPNAME_P): New macro. (last_function_parms): Remove. (do_friend): Adjust prototype. * decl.c (grokparms): Return the PARM_DECLs directly, rather than using last_function_parms. (grokfndecl): Take the PARM_DECLs as an argument, rather than using last_function_parms. (grokdeclarator): Adjust accordingly. Do not form METHOD_TYPEs for class-specific operator new and operator delete. (grok_op_properties): Do not look for allocation functions with METHOD_TYPEs. (start_function): Use DECL_ARGUMENTS instead of last_function_parms. * decl.h (last_function_parms): Do not declare. * decl2.c (grokclassfn): Do not use last_function_parms. * friend.c (do_friend): Remove parmdecls parameter. * name-lookup.c (push_to_top_level): Do not save last_function_parms. (pop_from_top_level): Do not restore it. * pt.c (check_explicit_specialization): Do not adjust last_function_parms. * name-lookup.c (do_local_using_decl): Create a local binding for types brought in via using declarations. * name-lookup.c (lookup_arg_dependent): Handle block-scope function declarations correctly. * semantics.c (finish_id_expression): Correct handling of conversion operators to dependent types. * typeck.c (lookup_destructor): Allow the use of destructors from base classes. * g++.dg/init/placement3.C: New test. * g++.dg/template/spec13.C: New test. * g++.dg/lookup/using11.C: New test. * g++.dg/lookup/koenig3.C: New test. * g++.dg/template/operator2.C: New test. * g++.dg/expr/dtor3.C: New test. * g++.old-deja/g++.brendan/crash15.C: Remove incorrect dg-error marker. * g++.old-deja/g++.law/visibility28.C: Likewise. From-SVN: r79722
2004-03-20 01:18:24 +01:00
* g++.dg/expr/dtor3.C: New test.
* g++.old-deja/g++.brendan/crash15.C: Remove incorrect dg-error
marker.
* g++.old-deja/g++.law/visibility28.C: Likewise.
2004-03-19 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/altivec-6.c: Use vector_size attribute, not mode.
* gcc.dg/ppc64-abi-3.c: Likewise.
2004-03-19 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14545
* g++.dg/parse/template15.C: New test.
2004-03-18 Mark Mitchell <mark@codesourcery.com>
* g++.dg/expr/dtor2.C: New test.
* g++.dg/lookup/anon4.C: New test.
* g++.dg/overload/using1.C: New test.
* g++.dg/template/lookup7.C: New test.
* g++.dg/template/typename6.C: New test.
* g++.dg/expr/cond6.C: New test.
2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-convert-1.c: Test more math builtins.
2004-03-18 Mark Mitchell <mark@codesourcery.com>
* g++.dg/expr/cond5.C: New test.
* g++.dg/expr/constcast1.C: Likewise.
* g++.dg/expr/ptrmem2.C: Likewise.
* g++.dg/expr/ptrmem3.C: Likewise.
* g++.dg/lookup/main1.C: Likewise.
* g++.dg/template/lookup6.C: Likewise.
2004-03-18 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/local1.c: New test.
* gcc.dg/debug/dwarf2/c99-typedef1.c: New test.
2004-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-convert-1.c: New test.
2004-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-integral-1.c: Also check for `rint'.
2004-03-16 Mark Mitchell <mark@codesourcery.com>
PR c++/14481
* g++.dg/warn/Wunused-7.C: New test.
2004-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-integral-1.c: New test.
2004-03-16 Mark Mitchell <mark@codesourcery.com>
PR c++/14586
* g++.dg/parse/non-dependent3.C: New test.
c-common.c (c_common_type_for_mode): Build vector types on demand. gcc/ChangeLog 2004-03-16 Paolo Bonzini <bonzini@gnu.org> * c-common.c (c_common_type_for_mode): Build vector types on demand. (handle_mode_attribute): Deprecate using the mode attribute to create vector types. Fix indentation. (vector_type_node_list): Remove. (handle_vector_size_attribute): Create vector types on demand. Strip a NON_LVALUE_EXPR from the attribute if there is one. * c-typeck.c (comptypes): Make vector types compatible if they have the same underlying mode. (convert_for_assignment): Use comptypes to convert between vector types. * tree.c (build_common_tree_nodes_2): Do not create vector types. * config/arm/arm.c (arm_init_iwmmxt_builtins): Create necessary vector types. * tree.h: Remove vector types. * config/i386/i386.c (i386_init_mmx_sse_builtins): Likewise. * config/rs6000/rs6000.c (rs6000_init_builtins): Likewise. (V16QI_type_node, V2SI_type_node, V2SF_type_node, V4HI_type_node, V4SI_type_node, V4SF_type_node, V8HI_type_node): New globals. * doc/extend.texi (Vector Types): Document how to use the vector_size attribute to create vectors, rather than mode. * config/arm/mmintrin.h: Use vector_size attribute, not mode. * config/i386/emmintrin.h: Likewise. * config/i386/mmintrin.h: Likewise. * config/i386/xmmintrin.h: Likewise. * config/sh/ushmedia.h: Likwise. testsuite/ChangeLog 2004-03-16 Paolo Bonzini <bonzini@gnu.org> * g++.dg/eh/simd-1.C: Use vector_size attribute, not mode. * g++.dg/eh/simd-2.C: Likewise. * g++.dg/init/array10.C: Likewise. * gcc.c-torture/compile/simd-1.c: Likewise. * gcc.c-torture/compile/simd-2.c: Likewise. * gcc.c-torture/compile/simd-3.c: Likewise. * gcc.c-torture/compile/simd-4.c: Likewise. * gcc.c-torture/compile/simd-6.c: Likewise. * gcc.c-torture/execute/simd-1.c: Likewise. * gcc.c-torture/execute/simd-2.c: Likewise. * gcc.dg/compat/vector-defs.h: Likewise. * gcc.dg/20020531-1.c: Likewise. * gcc.dg/altivec-3.c: Likewise. * gcc.dg/altivec-4.c: Likewise. * gcc.dg/altivec-varargs-1.c: Likewise. * testsuite/gcc.dg/compat/vector-defs.h: Likewise. * gcc.dg/i386-mmx-3.c: Likewise. * gcc.dg/i386-sse-4.c: Likewise. * gcc.dg/i386-sse-5.c: Likewise. * gcc.dg/i386-sse-8.c: Likewise. * gcc.dg/simd-1.c: Likewise. * gcc.dg/20030218-1.c: Likewise. Plus, do not declare __ev64_opaque__ since the machine description provides it. Index: c-common.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/c-common.c,v retrieving revision 1.487 diff -u -r1.487 c-common.c --- c-common.c 26 Feb 2004 01:24:37 -0000 1.487 +++ c-common.c 10 Mar 2004 10:25:28 -0000 @@ -1874,38 +1874,12 @@ if (mode == TYPE_MODE (build_pointer_type (integer_type_node))) return unsignedp ? make_unsigned_type (mode) : make_signed_type (mode); - switch (mode) + if (VECTOR_MODE_P (mode)) { - case V16QImode: From-SVN: r79544
2004-03-16 21:37:31 +01:00
2004-03-16 Paolo Bonzini <bonzini@gnu.org>
* g++.dg/eh/simd-1.C: Use vector_size attribute, not mode.
* g++.dg/eh/simd-2.C: Likewise.
* g++.dg/init/array10.C: Likewise.
* gcc.c-torture/compile/simd-1.c: Likewise.
* gcc.c-torture/compile/simd-2.c: Likewise.
* gcc.c-torture/compile/simd-3.c: Likewise.
* gcc.c-torture/compile/simd-4.c: Likewise.
* gcc.c-torture/compile/simd-6.c: Likewise.
* gcc.c-torture/execute/simd-1.c: Likewise.
* gcc.c-torture/execute/simd-2.c: Likewise.
* gcc.dg/compat/vector-defs.h: Likewise.
* gcc.dg/20020531-1.c: Likewise.
* gcc.dg/altivec-3.c: Likewise.
* gcc.dg/altivec-4.c: Likewise.
* gcc.dg/altivec-varargs-1.c: Likewise.
* testsuite/gcc.dg/compat/vector-defs.h: Likewise.
* gcc.dg/i386-mmx-3.c: Likewise.
* gcc.dg/i386-sse-4.c: Likewise.
* gcc.dg/i386-sse-5.c: Likewise.
* gcc.dg/i386-sse-8.c: Likewise.
* gcc.dg/simd-1.c: Likewise.
* gcc.dg/20030218-1.c: Likewise. Plus, do not declare
__ev64_opaque__ since the machine description provides it.
2004-03-16 Eric Botcazou <ebotcazou@libertysurf.fr>
* lib/compat.exp (skip_list): New global variable.
Use it to hold the user defined COMPAT_SKIPS list if any.
(compat-obj): Add the members of skip_list to optall.
2004-03-16 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/union-by-value-1_main.c,
union-by-value-1_x.c, union-by-value-1_y.c,
union-check.h, union-defs.h,
union-init.h, union-return-1_main.c,
union-return-1_x.c, union-return-1_y.c: New files.
2004-03-16 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/mixed-struct-check.h, mixed-struct-defs.h,
mixed-struct-init.h: Add 4 mixed structure types.
struct-by-value-21_main.c, struct-by-value-21_x.c,
struct-by-value-21_y.c, struct-return-21_main.c,
struct-return-21_x.c, struct-return-21_y.c: New files.
2004-03-13 Mark Mitchell <mark@codesourcery.com>
PR c++/14550
* g++.dg/parse/template14.C: New test.
2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20040313-1.c: New test.
2004-03-13 Jakub Jelinek <jakub@redhat.com>
PR target/14533
* gcc.dg/20040311-2.c: New test.
2004-03-12 Kazu Hirata <kazu@cs.umass.edu>
PR other/14544
* gcc.c-torture/execute/20040307-1.c: Remove the 24-bit
bit-field.
2004-03-12 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20040305-2.c: Add missing return statement.
2004-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-34.c: Also check pow10*.
2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
PR target/14262
* gcc.dg/20040305-2.c: New test.
2004-03-11 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20040310-1.c: New test.
2004-03-11 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20040311-1.c: New test case.
2004-03-11 Mark Mitchell <mark@codesourcery.com>
PR c++/14476
* g++.dg/lookup/enum1.C: New test.
2004-03-10 Mark Mitchell <mark@codesourcery.com>
PR c++/14510
* g++.dg/lookup/struct2.C: New test.
2004-03-10 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-34.c: New test.
2004-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-nonneg-1.c: New test.
2004-03-09 James E Wilson <wilson@specifixinc.com>
* gcc.dg/alias-1.c: Add "will" to string passed to dg-warning.
* gcc.dg/alias-2.c: New testcase.
2004-03-09 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/noncompile/incomplete-2.c: Move dg-error to proper line.
2004-03-09 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20040309-1.c: New test case.
2004-03-09 Nathan Sidwell <nathan@codesourcery.com>
PR c++/14397
* g++.dg/overload/ref1.C: New.
2004-03-09 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14409
* g++.dg/template/spec12.C: New test.
PR c++/14448
* g++.dg/parse/crash14.C: New test.
2004-03-09 Mark Mitchell <mark@codesourcery.com>
PR c++/14230
* g++.dg/init/ref11.C: New test.
2004-03-09 Mark Mitchell <mark@codesourcery.com>
PR c++/14432
* g++.dg/parse/builtin2.C: New test.
2004-03-08 Mark Mitchell <mark@codesourcery.com>
PR c++/14401
* g++.dg/init/ctor3.C: New test.
* g++.dg/init/union1.C: New test.
* g++.dg/ext/anon-struct4.C: New test.
2004-03-08 Mark Mitchell <mark@codesourcery.com>
* g++.dg/lookup/koenig1.C: Tweak error messages.
* g++.dg/lookup/used-before-declaration.C: Likewise.
* g++.dg/other/do1.C: Likewise.
* g++.dg/overload/koenig1.C: Likewise.
* g++.dg/parse/crash13.C: Likewise.
* g++.dg/template/instantiate3.C: Likewise.
2004-03-08 Eric Christopher <echristo@redhat.com>
* * lib/target-supports.exp: Enable libiconv in test
compilation. Fix up error checking.
2004-03-08 Roger Sayle <roger@eyesopen.com>
PR middle-end/14289
* gcc.dg/pr14289-1.c: New test case.
* gcc.dg/pr14289-2.c: Likewise.
* gcc.dg/pr14289-3.c: Likewise.
2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr>
* gcc.c-torture/execute/20040308-1.c: New test.
2004-03-07 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20040307-1.c: New test case.
2004-03-07 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-sdata-1.c: Restrict to mips*-*-elf*.
2004-03-06 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20040306-1.c: New test.
2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/sibcall-3.c (recurser_void1, recurser_void2): Make
them static.
* gcc.dg/sibcall-4.c (recurser_void1, recurser_void2): Likewise.
2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
PR c/14465
* gcc.dg/decl-6.c: New test.
2004-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-explog-1.c: Add comments for each test.
Rename LOGPOW -> LOG_POW.
(SQRT_EXP, POW_EXP): New.
2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-sse-8.c: New test.
2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr>
PR c/14114
* gcc.dg/decl-5.c: New test.
2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/20040305-1.c: New test.
2004-03-05 Hans-Peter Nilsson <hp@axis.com>
PR other/14354
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.c: New test.
2004-03-04 Ziemowit Laski <zlaski@apple.com>
PR c++/14425, c++/14426
* g++.dg/ext/altivec-4.C: New test.
* g++.dg/ext/altivec-5.C: New test.
2004-03-04 Geoffrey Keating <geoffk@apple.com>
* g++.old-deja/g++.other/linkage1.C: Expect errors about
global variables of a type with no linkage.
* g++.old-deja/g++.other/qual1.C: Name class for 'action'.
* g++.old-deja/g++.mike/misc13.C: Name enum for 'want'.
* g++.old-deja/g++.bugs/900210_01.C: Name enum for 'ep'.
* g++.old-deja/g++.bugs/900210_02.C: Likewise.
* g++.old-deja/g++.bugs/900210_03.C: Likewise.
* g++.old-deja/g++.brendan/bit-fields2.C: Name structure for 's'.
* g++.old-deja/g++.brendan/init10.C: Name structure for 'a'.
* g++.dg/warn/deprecated.C: Name enum Color.
* g++.dg/overload/VLA.C: Name structure for 'b'.
* g++.dg/lookup/anon2.C: Expect diagnostic about type linkage.
2004-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20040304-1.c: New test.
2004-03-03 Zack Weinberg <zack@codesourcery.com>
PR 13728
* gcc.dg/decl-4.c: New testcase.
2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/torture/builtin-explog-1.c (PREC): Make it the same
as PRECF if sizeof (float) > sizeof (double).
(PRECL): Make it the same as PRECF if
sizeof (float) > sizeof (long double).
2004-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-config.h: Use underscore macro style for __sun
system type. Add check for irix6 which doesn't have c99 runtime.
2004-03-03 Bob Wilson <bob.wilson@acm.org>
* gcc.dg/const-elim-1.c: xfail for xtensa.
2004-03-01 Mark Mitchell <mark@codesourcery.com>
PR c++/14369
* g++.dg/template/cond4.C: New test.
2004-03-01 Mark Mitchell <mark@codesourcery.com>
PR c++/14360
* g++.old-deja/g++.ns/koenig5.C: Remove some error markers.
PR c++/14361
* g++.dg/parse/defarg7.C: New test.
PR c++/14359
* g++.dg/template/friend26.C: New test.
2004-03-01 Mark Mitchell <mark@codesourcery.com>
PR c++/14324
* g++.dg/abi/mangle21.C: New test.
PR c++/14260
* g++.dg/parse/constructor2.C: New test.
PR c++/14337
* g++.dg/template/sfinae1.C: New test.
2004-02-29 Mark Mitchell <mark@codesourcery.com>
PR c++/14267
* g++.dg/expr/crash2.C: New test.
PR middle-end/13448
* gcc.dg/inline-5.c: New test.
* gcc.dg/always-inline.c: Split out tests into ...
* gcc.dg/always-inline2.c: ... this and ...
* gcc.dg/always-inline3.c: ... this.
2004-02-29 Mark Mitchell <mark@codesourcery.com>
PR debug/12103
* g++.dg/debug/crash1.C: New test.
2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/sibcall-3.c (recurser_void1): Make it an extern
function with __attribute__((noinline)).
(recurser_void2): Likewise.
* gcc.dg/sibcall-4.c (recurser_void1): Likewise.
(recurser_void2): Likewise.
2004-02-29 Roger Sayle <roger@eyesopen.com>
PR middle-end/14203
* g++.dg/warn/Wunused-6.C: New test case.
2004-02-28 Richard Earnshaw <rearnsha@arm.com>
* lib/g++.exp (g++_link_flags): Don't crash if LD_LIBRARY_PATH is
not defined.
2004-02-27 Eric Christopher <echristo@redhat.com>
* g++.dg/charset/charset.exp: Change CFLAGS to CHARSETCFLAGS.
* g++.dg/charset/asm2.c: Run only x86.
* gcc.dg/charset/asm3.c: Ditto.
2004-02-27 Aldy Hernandez <aldyh@redhat.com>
* lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to
ld_library_path.
2004-02-27 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-3.C: New.
2004-02-26 Richard Henderson <rth@redhat.com>
* g++.dg/ext/attrib10.C: Mark for warning.
* gcc.dg/attr-alias-1.c: New.
2004-02-26 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/ieee/20040208-2.c: Move ...
* gcc.c-torture/execute/20040208-2.c: ... it back.
target-supports.exp (check-iconv-available): New function. 2004-02-26 Eric Christopher <echristo@redhat.com> * lib/target-supports.exp (check-iconv-available): New function. * lib/gcc-dg.exp (dg-require-iconv): New function. Use above. * gcc.dg/charset: New directory. * gcc.dg/charset/charset.exp: New file. * gcc.dg/charset/asm1.c: Ditto. * gcc.dg/charset/asm2.c: Ditto. * gcc.dg/charset/asm3.c: Ditto. * gcc.dg/charset/asm4.c: Ditto. * gcc.dg/charset/asm5.c: Ditto. * gcc.dg/charset/attribute1.c: Ditto. * gcc.dg/charset/attribute2.c: Ditto. * gcc.dg/charset/string1.c: Ditto. * g++.dg/charset: New directory. * g++.dg/dg.exp: Add here. Special options. * g++.dg/charset/charset.exp: New file. * g++.dg/charset/asm1.c: Ditto. * g++.dg/charset/asm2.c: Ditto. * g++.dg/charset/asm3.c: Ditto. * g++.dg/charset/asm4.c: Ditto. * g++.dg/charset/attribute1.c: Ditto. * g++.dg/charset/attribute2.c: Ditto. * g++.dg/charset/extern1.cc: Ditto. * g++.dg/charset/extern2.cc: Ditto. * g++.dg/charset/string1.c: Ditto. 2004-02-26 Eric Christopher <echristo@redhat.com> * c-lex.c (c_lex_string_translate): New variable. (lex_string): Use to determine string translation. * c-pragma.h: Prototype. * c-parse.in (start_string_translation): New. Set above. (stop_string_translation): Ditto. (attribute, attribute_list, asm_def, asm_stmt, asm_operand): Use above functions. * cp/parser.c (cp_parser_declaration): Translate strings unless token is RID_EXTERN. Set c_lex_string_translate for recursive use. (cp_parser_asm_definition): Only translate argument strings to asms. (cp_parser_asm_operand_list): Ditto. (cp_parser_attribute_list): Do not translate attribute strings. From-SVN: r78548
2004-02-27 03:01:10 +01:00
2004-02-26 Eric Christopher <echristo@redhat.com>
* lib/target-supports.exp (check-iconv-available): New function.
* lib/gcc-dg.exp (dg-require-iconv): New function.
Use above.
* gcc.dg/charset: New directory.
* gcc.dg/charset/charset.exp: New file.
* gcc.dg/charset/asm1.c: Ditto.
* gcc.dg/charset/asm2.c: Ditto.
* gcc.dg/charset/asm3.c: Ditto.
* gcc.dg/charset/asm4.c: Ditto.
* gcc.dg/charset/asm5.c: Ditto.
* gcc.dg/charset/attribute1.c: Ditto.
* gcc.dg/charset/attribute2.c: Ditto.
* gcc.dg/charset/string1.c: Ditto.
* g++.dg/charset: New directory.
* g++.dg/dg.exp: Add here. Special options.
* g++.dg/charset/charset.exp: New file.
* g++.dg/charset/asm1.c: Ditto.
* g++.dg/charset/asm2.c: Ditto.
* g++.dg/charset/asm3.c: Ditto.
* g++.dg/charset/asm4.c: Ditto.
* g++.dg/charset/attribute1.c: Ditto.
* g++.dg/charset/attribute2.c: Ditto.
* g++.dg/charset/extern1.cc: Ditto.
* g++.dg/charset/extern2.cc: Ditto.
* g++.dg/charset/string1.c: Ditto.
target-supports.exp (check-iconv-available): New function. 2004-02-26 Eric Christopher <echristo@redhat.com> * lib/target-supports.exp (check-iconv-available): New function. * lib/gcc-dg.exp (dg-require-iconv): New function. Use above. * gcc.dg/charset: New directory. * gcc.dg/charset/charset.exp: New file. * gcc.dg/charset/asm1.c: Ditto. * gcc.dg/charset/asm2.c: Ditto. * gcc.dg/charset/asm3.c: Ditto. * gcc.dg/charset/asm4.c: Ditto. * gcc.dg/charset/asm5.c: Ditto. * gcc.dg/charset/attribute1.c: Ditto. * gcc.dg/charset/attribute2.c: Ditto. * gcc.dg/charset/string1.c: Ditto. * g++.dg/charset: New directory. * g++.dg/dg.exp: Add here. Special options. * g++.dg/charset/charset.exp: New file. * g++.dg/charset/asm1.c: Ditto. * g++.dg/charset/asm2.c: Ditto. * g++.dg/charset/asm3.c: Ditto. * g++.dg/charset/asm4.c: Ditto. * g++.dg/charset/attribute1.c: Ditto. * g++.dg/charset/attribute2.c: Ditto. * g++.dg/charset/extern1.cc: Ditto. * g++.dg/charset/extern2.cc: Ditto. * g++.dg/charset/string1.c: Ditto. 2004-02-26 Eric Christopher <echristo@redhat.com> * c-lex.c (c_lex_string_translate): New variable. (lex_string): Use to determine string translation. * c-pragma.h: Prototype. * c-parse.in (start_string_translation): New. Set above. (stop_string_translation): Ditto. (attribute, attribute_list, asm_def, asm_stmt, asm_operand): Use above functions. * cp/parser.c (cp_parser_declaration): Translate strings unless token is RID_EXTERN. Set c_lex_string_translate for recursive use. (cp_parser_asm_definition): Only translate argument strings to asms. (cp_parser_asm_operand_list): Ditto. (cp_parser_attribute_list): Do not translate attribute strings. From-SVN: r78548
2004-02-27 03:01:10 +01:00
2004-02-26 Mark Mitchell <mark@codesourcery.com>
PR c++/14278
* g++.dg/parse/comma1.C: New test.
2004-02-26 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14284
* g++.dg/template/ttp8.C: New test.
2004-02-26 Eric Botcazou <ebotcazou@act-europe.fr>
* gcc.dg/fixuns-trunc-1.c: New test.
2004-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/builtins-config.h: Use #elif.
2004-02-26 Michael Matz <matz@suse.de>
* gcc.dg/20000724-1.c: Add regparm attribute to decl and def.
* gcc.dg/991214-1.c: Likewise.
* gcc.dg/i386-asm-1.c: Likewise.
2004-02-25 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20040208-2.c: Move ...
* gcc.c-torture/execute/ieee/20040208-2.c: ... here.
2004-02-26 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14246
* g++.dg/other/crash-3.C: New test.
2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* g++.dg/opt/inline4.C (dg-final): Robustify regexp.
* g++.dg/opt/inline6.C (dg-final): Robustify regexp.
* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define for PA
HP-UX.
2004-02-24 Michael Matz <matz@suse.de>
* gcc.dg/i386-regparm.c: New.
2004-02-23 James E Wilson <wilson@specifixinc.com>
* gcc.c-torture/execute/20040223-1.c: New.
2004-02-23 22:43:18 +01:00
2004-02-23 Zack Weinberg <zack@codesourcery.com>
Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/fwritable-strings-1.c: Remove.
2004-02-23 Andrew Pinski <pinskia@physics.uc.edu>
PR c/14156
* gcc.dg/20040223-1.c: New test.
2004-02-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/14106
* g++.dg/ext/typeof9.C: New test.
2004-02-23 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14250
* g++.dg/other/switch1.C: New test.
2004-02-23 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/cast-function-1.c: Adjust for new informative message.
* gcc.dg/va-arg-1.c: Likewise.
2004-02-23 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14143
* g++.dg/template/koenig5.C: New test.
darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options. [gcc/ChangeLog] 2004-02-21 Ziemowit Laski <zlaski@apple.com> * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options. * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it. * config/rs6000/altivec.h: #error out if '-maltivec' not specified. (vector, pixel, bool): #define to __vector, __pixel and __bool. (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific portion of header. (__altivec_link_error_invalid_argument): Remove prototype; will use __builtin_altivec_compiletime_error("vec_*") instead. (vec_*): Fix/complete set of available operation overloads given the existence of distinct 'vector bool ...' and 'vector pixel' types; tighten cv-correctness of pointer arguments; in C, always check for correct argument types before macro expansion. * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro defining Darwin/PowerPC-specific '-f[no-]altivec' and '-W[no-]altivec-long-deprecated' switches. * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define '__vector', '__pixel' and '__bool' macros using '__attribute__((altivec(...)))' types. * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node, bool_int_type_node, pixel_type_node, bool_V16QI_type_node, bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node): New type nodes. (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for handling '-W[no-]altivec-long-deprecated'. (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'. (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin, altivec_expand_dst_builtin): Remove casts from integer literals. (altivec_expand_builtin): Likewise; handle expansion of new '__builtin_altivec_compiletime_error' function. (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel' types, and make them distinct from other vector types; register '__builtin_altivec_compiletime_error' function. (print_operand): For 'P', print a full target register name instead of merely its number. (rs6000_attribute_table): Add "altivec" attribute. (rs6000_handle_altivec_attribute): New function. * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated' maps to). (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward declare. (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration. [gcc/testsuite/ChangeLog] 2004-02-21 Ziemowit Laski <zlaski@apple.com> * g++.dg/ext/altivec-1.C: Generalize target triple. * g++.dg/ext/altivec-2.C: New test case. * g++.dg/ext/altivec_check.h: New file. * gcc.dg/altivec-1.c: Generalize target triple; include altivec_check.h and call altivec_check(). * gcc.dg/altivec-[2-5].c: Generalize target triple. * gcc.dg/altivec-6.c: New test case. * gcc.dg/altivec-[7-9].c: Generalize target triple; add type casts as needed. * gcc.dg/altivec-10.c: Include altivec_check.h and call altivec_check(). * gcc.dg/altivec-12.c: New test case. * gcc.dg/altivec-varargs-1.c: Generalize target triple; include altivec_check.h and call altivec_check(). * gcc.dg/altivec_check.h: New file. From-SVN: r78215
2004-02-21 10:08:37 +01:00
2004-02-21 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-1.C: Generalize target triple.
* g++.dg/ext/altivec-2.C: New test case.
* g++.dg/ext/altivec_check.h: New file.
* gcc.dg/altivec-1.c: Generalize target triple;
include altivec_check.h and call altivec_check().
* gcc.dg/altivec-[2-5].c: Generalize target triple.
* gcc.dg/altivec-6.c: New test case.
* gcc.dg/altivec-[7-9].c: Generalize target triple; add
type casts as needed.
target-supports.exp (check-iconv-available): New function. 2004-02-26 Eric Christopher <echristo@redhat.com> * lib/target-supports.exp (check-iconv-available): New function. * lib/gcc-dg.exp (dg-require-iconv): New function. Use above. * gcc.dg/charset: New directory. * gcc.dg/charset/charset.exp: New file. * gcc.dg/charset/asm1.c: Ditto. * gcc.dg/charset/asm2.c: Ditto. * gcc.dg/charset/asm3.c: Ditto. * gcc.dg/charset/asm4.c: Ditto. * gcc.dg/charset/asm5.c: Ditto. * gcc.dg/charset/attribute1.c: Ditto. * gcc.dg/charset/attribute2.c: Ditto. * gcc.dg/charset/string1.c: Ditto. * g++.dg/charset: New directory. * g++.dg/dg.exp: Add here. Special options. * g++.dg/charset/charset.exp: New file. * g++.dg/charset/asm1.c: Ditto. * g++.dg/charset/asm2.c: Ditto. * g++.dg/charset/asm3.c: Ditto. * g++.dg/charset/asm4.c: Ditto. * g++.dg/charset/attribute1.c: Ditto. * g++.dg/charset/attribute2.c: Ditto. * g++.dg/charset/extern1.cc: Ditto. * g++.dg/charset/extern2.cc: Ditto. * g++.dg/charset/string1.c: Ditto. 2004-02-26 Eric Christopher <echristo@redhat.com> * c-lex.c (c_lex_string_translate): New variable. (lex_string): Use to determine string translation. * c-pragma.h: Prototype. * c-parse.in (start_string_translation): New. Set above. (stop_string_translation): Ditto. (attribute, attribute_list, asm_def, asm_stmt, asm_operand): Use above functions. * cp/parser.c (cp_parser_declaration): Translate strings unless token is RID_EXTERN. Set c_lex_string_translate for recursive use. (cp_parser_asm_definition): Only translate argument strings to asms. (cp_parser_asm_operand_list): Ditto. (cp_parser_attribute_list): Do not translate attribute strings. From-SVN: r78548
2004-02-27 03:01:10 +01:00
* gcc.dg/altivec-10.c: Include altivec_check.h and call
darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options. [gcc/ChangeLog] 2004-02-21 Ziemowit Laski <zlaski@apple.com> * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options. * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it. * config/rs6000/altivec.h: #error out if '-maltivec' not specified. (vector, pixel, bool): #define to __vector, __pixel and __bool. (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific portion of header. (__altivec_link_error_invalid_argument): Remove prototype; will use __builtin_altivec_compiletime_error("vec_*") instead. (vec_*): Fix/complete set of available operation overloads given the existence of distinct 'vector bool ...' and 'vector pixel' types; tighten cv-correctness of pointer arguments; in C, always check for correct argument types before macro expansion. * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro defining Darwin/PowerPC-specific '-f[no-]altivec' and '-W[no-]altivec-long-deprecated' switches. * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define '__vector', '__pixel' and '__bool' macros using '__attribute__((altivec(...)))' types. * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node, bool_int_type_node, pixel_type_node, bool_V16QI_type_node, bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node): New type nodes. (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for handling '-W[no-]altivec-long-deprecated'. (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'. (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin, altivec_expand_dst_builtin): Remove casts from integer literals. (altivec_expand_builtin): Likewise; handle expansion of new '__builtin_altivec_compiletime_error' function. (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel' types, and make them distinct from other vector types; register '__builtin_altivec_compiletime_error' function. (print_operand): For 'P', print a full target register name instead of merely its number. (rs6000_attribute_table): Add "altivec" attribute. (rs6000_handle_altivec_attribute): New function. * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated' maps to). (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward declare. (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration. [gcc/testsuite/ChangeLog] 2004-02-21 Ziemowit Laski <zlaski@apple.com> * g++.dg/ext/altivec-1.C: Generalize target triple. * g++.dg/ext/altivec-2.C: New test case. * g++.dg/ext/altivec_check.h: New file. * gcc.dg/altivec-1.c: Generalize target triple; include altivec_check.h and call altivec_check(). * gcc.dg/altivec-[2-5].c: Generalize target triple. * gcc.dg/altivec-6.c: New test case. * gcc.dg/altivec-[7-9].c: Generalize target triple; add type casts as needed. * gcc.dg/altivec-10.c: Include altivec_check.h and call altivec_check(). * gcc.dg/altivec-12.c: New test case. * gcc.dg/altivec-varargs-1.c: Generalize target triple; include altivec_check.h and call altivec_check(). * gcc.dg/altivec_check.h: New file. From-SVN: r78215
2004-02-21 10:08:37 +01:00
altivec_check().
* gcc.dg/altivec-12.c: New test case.
* gcc.dg/altivec-varargs-1.c: Generalize target triple;
include altivec_check.h and call altivec_check().
* gcc.dg/altivec_check.h: New file.
2004-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lib/target-supports.exp (check_alias_available): Don't mangle
function `g' in test program.
2004-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lib/target-supports.exp (check_profiling_available): Check
argument to determine whether we support a profiling type.
* lib/gcc-dg.exp (dg-require-profiling): Pass argument to
check_profiling_available.
* g++.dg/bprob/bprob.exp: Likewise
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* g++.old-deja/g++.law/profile1.C: Pass profiling type to
dg-require-profiling and delete expected error handling.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
2004-02-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR c++/12007
* g++.dg/other/vthunk1.C: New test.
2004-02-20 Falk Hueffner <falk@debian.org>
PR target/14201
* gcc.c-torture/compile/fix-trunc-mem-1.c: New test.
2004-02-20 Mark Mitchell <mark@codesourcery.com>
PR c++/13927
* g++.dg/other/error8.C: Remove XFAIL markers.
PR c++/14173
* g++.dg/ext/packed5.C: New test.
PR c++/14199
* g++.dg/warn/Wunused-5.C: New test.
PR c++/14186
* g++.dg/lookup/member1.C: New test.
2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20040130-1.c: Enable only when
__INT_MAX__ >= 2147483647L.
* gcc.c-torture/compile/961203-1.c: Likewise.
2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/parse/attr-ctor1.C: XFAIL on hppa.
* g++.dg/opt/template1.C: Robustify assembler regexp
2004-02-19 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/simd-4.x: Remove.
* gcc.c-torture/execute/va-arg-25.x: Likewise.
* gcc.dg/compat/vector-1_x.c: Do not XFAIL on SPARC.
Guard with #ifndef SKIP_ATTRIBUTE.
* gcc.dg/compat/vector-1_y.c: Likewise.
* gcc.dg/compat/vector-2_x.c: Likewise.
* gcc.dg/compat/vector-2_y.c: Likewise.
* g++.dg/eh/simd-1.C: Do not XFAIL on SPARC.
* g++.dg/eh/simd-2.C: Likewise.
2004-02-19 09:02:59 +01:00
2004-02-19 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/compile/complex-1.c: New.
2004-02-19 Hans-Peter Nilsson <hp@axis.com>
PR target/14209
* gcc.c-torture/execute/20040218-1.c: New test.
2004-02-19 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14181
* g++.dg/parse/new2.C: New test.
2004-02-18 Paul Brook <paul@codesourcery.com>
* gcc.c-torture/compile/libcall-1.c: New test.
2004-02-18 Paul Brook <paul@codesourcery.com>
PR debug/12934
* gcc.dg/debug/debug-7.c: New test.
2004-02-17 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20040217-1.c: New test.
2004-02-17 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/990208-1.x: Delete.
2004-02-17 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20040208-2.x: New file.
2004-02-17 Mark Mitchell <mark@codesourcery.com>
PR c++/11326
* g++.dg/abi/structret1.C: New test.
2004-02-17 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/i386-cpuid.h (bit_CMOV): Define.
(i386_cpuid): No need to test if cpuid is available on AMD64.
Fix assembly, so that it works onboth i386 and AMD64.
* gcc.dg/i386-sse-6.c: Include stdio.h, stdlib.h and string.h.
(vecInLong): Fix s[] member type to unsigned int.
(vecInWord): Remove type.
(mmx_tests, sse_tests, dump64_16, dump64_32, dump64_64): Remove.
(a64, b64, c64, d64, e64): Remove.
(main): Pass if CPU has no MMX, SSE, SSE2 or CMOV support.
Remove unused variable. Remove initialization of removed variables.
Don't call mmx_tests nor sse_tests.
(reference_mmx, reference_sse): Remove.
(check): Add return stmt.
* gcc.dg/i386-sse-7.c: New test.
* gcc.dg/i386-mmx-4.c: New test.
2004-02-17 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/tc1/dr176.C: Add missing semicolon (typo).
* g++.dg/tc1/dr101.C, g++.dg/tc1/dr135.C, g++.dg/tc1/dr142.C,
g++.dg/tc1/dr152.C, g++.dg/tc1/dr159.C, g++.dg/tc1/dr161.C,
g++.dg/tc1/dr166.C, g++.dg/tc1/dr176.C, g++.dg/tc1/dr193.C,
g++.dg/tc1/dr194.C, g++.dg/tc1/dr217.C, g++.dg/tc1/dr56.C,
g++.dg/tc1/dr68.C, g++.dg/tc1/dr76.C, g++.dg/tc1/dr80.C,
g++.dg/tc1/dr94.C: Fix line terminator.
2004-02-16 Geoffrey Keating <geoffk@apple.com>
* gcc.c-torture/compile/20040216-1.c: New.
2004-02-16 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/tc1/dr101.C, g++.dg/tc1/dr135.C, g++.dg/tc1/dr142.C,
g++.dg/tc1/dr152.C, g++.dg/tc1/dr159.C, g++.dg/tc1/dr161.C,
g++.dg/tc1/dr166.C, g++.dg/tc1/dr176.C, g++.dg/tc1/dr188.C,
g++.dg/tc1/dr193.C, g++.dg/tc1/dr194.C, g++.dg/tc1/dr217.C,
g++.dg/tc1/dr48.C, g++.dg/tc1/dr56.C, g++.dg/tc1/dr68.C,
g++.dg/tc1/dr76.C, g++.dg/tc1/dr80.C, g++.dg/tc1/dr94.C: New tests.
2004-02-16 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/20020720-1.x: XFAIL on SPARC with -fPIC.
2004-02-15 Mark Mitchell <mark@codesourcery.com>
PR c++/13971
* g++.dg/expr/cond4.C: New test.
PR c++/14086
* g++.dg/lookup/crash2.C: New test.
2004-02-14 Josef Zlomek <zlomekj@suse.cz>
* gcc.c-torture/compile/20040214-2.c: New test.
2004-02-14 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/14116
* g++.dg/ext/typeof8.C: New test.
2004-02-14 Eric Botcazou <ebotcazou@act-europe.fr>
* gcc.c-torture/compile/20040214-1.c: New test.
2004-02-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13635
* g++.dg/template/spec11.C: New test.
2004-02-13 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13927
* g++.dg/other/error8.C: New test.
2004-02-13 Mark Mitchell <mark@codesourcery.com>
PR c++/14122
* g++.dg/template/array4.C: New test.
PR c++/14108
* g++.dg/inherit/thunk2.C: New test.
PR c++/14083
* g++.dg/eh/cond2.C: New test.
2004-02-12 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/debug/20020327-1.c: Disable for powerpc64.
2004-02-12 Nathaniel Smith <njs@codesourcery.com>
* lib/scanasm.exp (dg-scan): Quote pattern before display.
2004-02-12 Hartmut Penner <hpenner@de.ibm.com>
* g++.dg/simd-2.C: xfail on ppc64-linux.
2004-02-11 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/456
* gcc.dg/cpp/c90-if-comma-1.c, gcc.dg/cpp/c99-if-comma-1.c: New
tests.
2004-02-11 Uros Bizjak <uros@kss-loka.si>
* gcc.dg/builtins-33.c: New test.
2004-02-11 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/pr14092-1.c: Use intptr_t for the cast.
2004-02-11 Hartmut Penner <hpenner@de.ibm.com>
* g++.dg/simd-2.C: Set -maltivec for ppc64.
2004-02-11 Hartmut Penner <hpenner@de.ibm.com>
* gcc.dg/ppc64-abi-3.c: New test.
2004-02-10 Paolo Bonzini <bonzini@gnu.org>
PR c/14092
* gcc.dg/pr14092-1.c: New testcase.
2004-02-10 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/cpp/assert4.c: Fix typo last change.
* gcc.dg/darwin-longlong.c: Only use r0 in asm for darwin.
* gcc.dg/cpp/assert4.c: Handle powerpc64.
* gcc.dg/debug/20020327-1.c: xfail for powerpc64.
2004-02-09 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/compile/20040209-1.c: New test case.
2004-02-08 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c90-init-1.c: Adjust expected error messages.
2004-02-08 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/execute/20040208-[12].c: New tests.
2004-02-08 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/eh/simd-2.C: Adjust line numbers for SPARC.
2004-02-08 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/va-arg-25.x: XFAIL only on SPARC 64-bit.
2004-02-07 Zack Weinberg <zack@codesourcery.com>
Bug 13856
* gcc.dg/visibility-8.c: New testcase.
2004-02-07 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/execute/string-opt-15.c: Define memcmp with void *
arguments.
* gcc.dg/fwritable-strings-1.c: Expect the deprecation notice.
2004-02-07 Roger Sayle <roger@eyesopen.com>
PR middle-end/13696
* g++.dg/opt/fold1.C: New test case.
2003-02-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14033
* g++.dg/other/crash-2.C: New test.
2003-02-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14028
* g++.dg/parse/angle-bracket2.C: New test.
2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR middle-end/13750
Revert:
2004-01-15 Geoffrey Keating <geoffk@apple.com>
PR pch/13361
* testsuite/g++.dg/pch/wchar-1.C: New.
* testsuite/g++.dg/pch/wchar-1.Hs: New.
2004-02-05 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14008
* g++.dg/parse/error15.C: New test.
* g++.dg/parse/crash11.C: Update dg-error mark.
2004-02-04 Mark Mitchell <mark@codesourcery.com>
PR c++/13932
* g++.dg/warn/conv2.C: New test.
2004-02-04 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13086
* g++.dg/warn/incomplete1.C: Remove xfail.
2004-02-04 Mark Mitchell <mark@codesourcery.com>
* lib/file-format.exp (gcc_target_object_format): Use
${tool}_target_compile, not gcc_target_compile.
* lib/target-supports.exp (check_alias_available): Likewise.
(check_gc_sections_available): Likewise.
* g++.dg/ext/attrib10.C: Use dg-require-alias.
* g++.old-deja/g++.ext/attrib5.C: Use dg-require-weak and
dg-require-alias.
2004-02-04 Mark Mitchell <mark@codesourcery.com>
PR c++/13969
* g++.dg/template/static6.C: New test.
2004-02-04 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/arm-mmx-1.c: Don't look for ldmfd if -mthumb.
2004-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* objc.dg/encode-2.m, objc.dg/encode-3.m, objc.dg/encode-4.m: Fix
tests for systems where `char' is unsigned by default.
2003-02-04 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13997
* g++.dg/template/partial3.C: New test.
config.gcc: Remove obsolete ports and configurations. gcc/ * config.gcc: Remove obsolete ports and configurations. * config/linux-aout.h, config/netware.h, config/t-linux-gnulibc1, config/d30v/abi, config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h, config/d30v/d30v.md, config/d30v/libgcc1.asm, config/d30v/t-d30v, config/dsp16xx/dsp16xx-modes.def, config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md, config/i370/README, config/i370/i370-c.c, config/i370/i370-protos.h, config/i370/i370.c, config/i370/i370.h, config/i370/i370.md, config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370, config/i386/freebsd-aout.h, config/i386/linux-aout.h, config/i386/moss.h, config/i386/netware.h, config/i386/svr3.ifile, config/i386/svr3dbx.h, config/i386/svr3gas.h, config/i386/svr3z.ifile, config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h, config/i960/i960-c.c, config/i960/i960-coff.h, config/i960/i960-modes.def, config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h, config/i960/i960.md, config/i960/rtems.h, config/i960/t-960bare, config/m68k/hp310.h, config/m68k/hp320.h, config/m68k/hp320base.h, config/m68k/m68kv4.h, config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320: Remove. * doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi: Remove mentions of obsolete ports. testsuite/ * gcc.dg/20020312-2.c, gcc.dg/builtin-inf-1.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c, gcc.dg/cpp/assert4.c: Remove mentions of obsolete ports. From-SVN: r77216
2004-02-04 06:13:43 +01:00
2004-02-04 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/20020312-2.c, gcc.dg/builtin-inf-1.c,
gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c, gcc.dg/cpp/assert4.c:
Remove mentions of obsolete ports.
2004-02-04 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/noncompile/20001228-1.c: Fix for new
error message.
2004-02-03 Roger Sayle <roger@eyesopen.com>
PR target/9348
* gcc.c-torture/execute/multdi-1.c: New test case.
2004-02-03 Mark Mitchell <mark@codesourcery.com>
PR c++/13925
* g++.dg/template/lookup5.C: New test.
2004-02-03 Mark Mitchell <mark@codesourcery.com>
PR c++/13950
* g++.dg/template/lookup4.C: New test.
PR c++/13970
* g++.dg/parse/error14.C: New test.
PR c++/14002
* g++.dg/parse/template13.C: New test.
2004-02-03 Mark Mitchell <mark@codesourcery.com>
PR c++/13978
* g++.dg/template/koenig4.C: New test.
PR c++/13968
* g++.dg/template/crash17.C: New test.
PR c++/13975
* g++.dg/parse/error13.C: New test.
* g++.old-deja/g++.robertl/eb125.C: Tweak error messages.
invoke.texi (SPARC options): Remove -mflat and all -mxxx (xxx:chip) options. * doc/invoke.texi (SPARC options): Remove -mflat and all -mxxx (xxx:chip) options. * config/sparc/aout.h (DBX_REGISTER_NUMBER): Delete. * config/sparc/litecoff.h (DBX_REGISTER_NUMBER): Likewise. * config/sparc/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise. * config/sparc/sol2.h (DBX_REGISTER_NUMBER): Likewise. * config/sparc/sparc-protos.h: Delete sparc_flat_* prototypes. * config/sparc/sparc.c: Likewise. (sparc_output_function_prologue): Remove TARGET_FLAT handling. (sparc_nonflat_function_prologue): Rename into sparc_function_prologue. (sparc_output_function_epilogue): Remove TARGET_FLAT handling. (sparc_nonflat_function_epilogue): Rename into sparc_function_epilogue. (struct sparc_frame_info, current_frame_info, zero_frame_info): Delete. (sparc_flat_must_save_register_p): Likewise. (sparc_flat_compute_frame_size): Likewise. (sparc_flat_save_restore): Likewise. (sparc_flat_function_prologue): Likewise. (sparc_flat_function_epilogue): Likewise. (sparc_flat_epilogue_delay_slots): Likewise. (sparc_flat_eligible_for_epilogue_delay): Likewise. (sparc_function_ok_for_sibcall): Remove TARGET_FLAT handling. * config/sparc/sparc.h (MASK_FLAT, TARGET_FLAT): Delete. (TARGET_SWITCHES): Remove -mflat and all -mxxx (xxx:chip) options. (SPARC_INCOMING_INT_ARG_FIRST): Remove TARGET_FLAT handling. (CONDITIONAL_REGISTER_USAGE): Likewise. (FRAME_POINTER_REQUIRED): Likewise. (INITIAL_ELIMINATION_OFFSET): Likewise. (BASE_RETURN_VALUE_REG): Likewise. (BASE_OUTGOING_VALUE_REG): Likewise. (BASE_PASSING_ARG_REG): Likewise. (BASE_INCOMING_ARG_REG): Likewise. (INCOMING_REGNO): Likewise. (OUTGOING_REGNO): Likewise. (LOCAL_REGNO): Likewise. (DELAY_SLOTS_FOR_EPILOGUE): Likewise. (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. (EPILOGUE_USES): Likewise. * config/sparc/sparc.md ("isa" attribute): Change "v6" into "v7". ("flat" attribute): Delete. (do_builtin_setjmp_setup): Remove TARGET_FLAT and "flat" attribute handling. (call followed by jump define_peephole's): Delete. (exception_receiver): Likewise. (builtin_setjmp_receiver): Likewise. * config/sparc/t-sparclite (MULTILIB_OPTIONS): Remove -mflat. From-SVN: r77169
2004-02-03 13:36:23 +01:00
2004-02-03 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/20020503-1.c: Remove -mflat dg-options.
2004-02-03 Paolo Bonzini <bonzini@gnu.org>
PR c/11658
PR c/13994
* gcc.dg/noncompile/20040203-1.c: New test.
* gcc.dg/noncompile/20040203-2.c: Likewise.
* gcc.dg/noncompile/20040203-3.c: Likewise.
* gcc.dg/20040203-1.c: Likewise.
2004-02-02 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/10858
* g++.dg/template/sizeof7.C: New test.
2004-02-02 Eric Christopher <echristo@redhat.com>
Zack Weinberg <zack@codesourcery.com>
[multiple changes] 2004-02-02 Eric Christopher <echristo@redhat.com> Zack Weinberg <zack@codesourcery.com> * c-opts.c (c_common_handle_option): Add -finput-charset. * c.opt: Ditto. * cppcharset.c (one_iso88591_to_utf8): Remove. (convert_iso88591_utf8): Ditto. (conversion_tab): Remove 8859-1 converter. (_cpp_input_to_utf8): Remove. (_cpp_init_iconv_buffer): Ditto. (_cpp_close_iconv_buffer): Ditto. (_cpp_convert_input): New function. (_cpp_default_encoding): Ditto. * cpphash.h: Add/remove prototypes for above. * cppfiles.c (read_file_guts): Use _cpp_convert_input. * cppinit.c (cpp_create_reader): Use _cpp_default_encoding for narrow execution and input character sets. * cpplib.c (cpp_push_buffer): Delete uses of removed functions. * doc/cppopts.texi: Document -finput-charset. 2004-02-02 Eric Christopher <echristo@redhat.com> Zack Weinberg <zack@codesourcery.com> * gcc.c-torture/execute/wchar_t-1.c: Add -finput-charset. 2004-01-29 Eric Christopher <echristo@redhat.com> Zack Weinberg <zack@codesourcery.com> * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use -finput-charset. * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto. * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto. * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto. * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto. * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto. * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto. * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: Ditto. From-SVN: r77136
2004-02-02 21:20:58 +01:00
* gcc.c-torture/execute/wchar_t-1.c: Add -finput-charset.
2004-02-02 Zack Weinberg <zack@codesourcery.com>
* g++.dg/eh/forced1.C, g++.dg/eh/forced2.C, g++.dg/eh/forced3.C
* g++.dg/eh/forced4.C: XFAIL ia64-hp-hpux11.*.
* g++.dg/eh/ia64-1.C: Test branch regs only #ifdef __LP64__.
* gcc.dg/cleanup-5.c: Run only on Linux targets.
2004-02-02 Mark Mitchell <mark@codesourcery.com>
PR c++/13113
* g++.old-deja/g++.mike/net36.C: Adjust error messages.
PR c++/13854
* g++.dg/ext/attrib13.C: New test.
PR c++/13907
* g++.dg/conversion/op2.C: New test.
2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/titype-1.c: Fix pasto.
2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/titype-1.c: New test.
2004-02-01 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13957
* g++.dg/template/non-type-template-argument-1.C,
g++.dg/template/qualified-id1.C: Update dg-error marks.
* g++.dg/template/nontype6.C: New test.
2004-02-01 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-1.c: Also test for __builtin_signbit{,f,l}.
* gcc.dg/builtins-31.c: New testcase.
* gcc.dg/builtins-32.c: New testcase.
2004-01-30 Andrew Pinski <pinskia@physics.uc.edu>
* objc.dg/call-super-2.m: Update line numbers
for the including of stddef.h.
2004-01-30 Michael Matz <matz@suse.de>
* g++.dg/ext/case-range1.C, g++.dg/ext/case-range2.C,
g++.dg/ext/case-range3.C: New tests.
2004-01-30 Giovanni Bajo <giovannibajo@gcc.gnu.org>
DR206
PR c++/13813
* g++.dg/template/member4.C: New test.
2004-01-30 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13683
* g++.dg/template/sizeof6.C: New test.
2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/fwritable-strings-1.c: New test.
2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20040130-1.c: New test.
2004-01-29 Geoffrey Keating <geoffk@geoffk.org>
* objc.dg/call-super-2.m: Include stddef.h for size_t.
2004-01-29 Mark Mitchell <mark@codesourcery.com>
PR c++/13883
* g++.dg/template/ctor3.C: New test.
2004-01-29 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/tc1: New directory.
* g++.dg/tc1/dr108.C, g++.dg/tc1/dr128.C, g++.dg/tc1/dr147.C,
g++.dg/tc1/dr179.C, g++.dg/tc1/dr1.C, g++.dg/tc1/dr213.C,
g++.dg/tc1/dr74.C, g++.dg/tc1/dr90.C, g++.dg/tc1/dr127.C,
g++.dg/tc1/dr137.C, g++.dg/tc1/dr164.C, g++.dg/tc1/dr185.C,
g++.dg/tc1/dr20.C, g++.dg/tc1/dr52.C, g++.dg/tc1/dr85.C: New tests.
2004-01-28 Giovanni Bajo <giovannibajo@gcc.gnu.org>
* g++.dg/parse/error11.C: New test.
* g++.dg/parse/error12.C: Likewise.
2004-01-28 Ziemowit Laski <zlaski@apple.com>
* objc.dg/proto-qual-1.m (ROUND, aligned_sizeof): New.
(scan_initial, main): Use aligned_sizeof instead of sizeof.
2004-01-28 Mark Mitchell <mark@codesourcery.com>
PR c++/13791
* g++.dg/ext/attrib12.C: New test.
PR c++/13736
2004-01-29 02:32:20 +01:00
* g++.dg/parse/cast2.C: New test.
2004-01-27 James E Wilson <wilson@specifixinc.com>
* objc.dg/encode-2.m (main): New local string. Set depending on
sizeof long. Use in sscanf call.
* objc.dg/encode-3.m (main): New local string. Set depending on
sizeof long. Use in scan_initial call.
2004-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* objc.dg/call-super-2.m: Make LP64-safe.
* objc.dg/desig-init-1.m: Likewise.
Makefile.in (dwarf2out.o): Depend on input.h 2004-01-27 Devang Patel <dpatel@apple.com> * Makefile.in (dwarf2out.o): Depend on input.h * dbxout.c (dbx_debug_hooks): Add new empty hook for imported_module_or_decl. (xcoff_debug_hooks): Same. * sdbout.c (sdb_debug_hooks): Same. * vmsdbgout.c (vmsdbg_debug_hooks): Same. * debug.c (do_nothing_debug_hooks): Same. (debug_nothing_tree_tree): New function. * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl. * dwarf2out.c: Include input.h. (dwarf2_debug_hooks): Add new hook for imported_module_or_decl. (remove_child_TAG): New function. (dwarf_tag_name): Handle DW_TAG_imported_module. (gen_subprogram_die): Equate decl number to declaration die. Do not remove all children dies while reusing declaration die for definition. Instead, selectively remove only formal parameters. (gen_variable_die): Equate variable decl to declaration die. (gen_field_die): Equate field decl to line number. (force_namespace_die): Replace it with ... (force_decl_die): ... this. (force_type_die): New function. (setup_namespace_context): Replace use of force_namespace_die() with force_decl_die(). (gen_namespace_die): Same. (dwarf2out_imported_module_or_decl): New function. testsuite: * g++.dg/debug/namespace1.C: New test. cp: * name-lookup.c: Include "debug.h" (do_namespace_alias): Invoke debug_hooks to emit debug info for namespace alias. (do_local_using_decl): Invoke debug_hooks to emit debug info for using decl. (do_class_using_decl): Same. (do_toplevel_using_decl): Same. (do_using_directive): Same. (cp_emit_debug_info_for_using): New function. * Make-lang.in (cp/parser.o): Depend on debug.h (cp/name-lookup.o): Same. From-SVN: r76746
2004-01-27 21:36:02 +01:00
2004-01-27 Devang Patel <dpatel@apple.com>
* g++.dg/debug/namespace1.C: New test.
2004-01-27 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/const-elim-1.c: Add xfail for strongarm-*-* and
xscale-*-*.
* gcc.dg/arm-mmx-1.c: New test.
2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/20040127-1.c: New test.
* gcc.dg/20040127-2.c: New test.
2004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* objc.dg/stret-1.m (glob): Renamed to globa.
2004-01-26 Mark Mitchell <mark@codesourcery.com>
2004-01-27 15:24:18 +01:00
PR c++/13663
* g++.dg/expr/for1.C: New test.
2004-01-26 Fariborz Jahanian <fjahanian@apple.com>
PR middle-end/13779
* gcc.dg/darwin-longlong.c: New test.
2004-01-26 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/20040124-1.c: Moved test from here...
* gcc.c-torture/compile/20040124-1.c: ...to here.
2004-01-26 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/sparc-ret.c: Run only in 32-bit mode. Don't scan
the assembly output if -m64 is passed.
2004-01-25 Mark Mitchell <mark@codesourcery.com>
PR c++/13833
* g++.dg/template/cond3.C: New test.
2004-01-25 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13810
* g++.dg/template/ttp7.C: New test.
2004-01-25 16:03:09 +01:00
2004-01-25 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13797
* g++.dg/template/nontype4.C: New test.
* g++.dg/template/nontype5.C: Likewise.
2004-01-25 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/mips-clobber-at.c: New test.
2004-01-24 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/20040124-1.c: New test.
2004-01-24 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20040123-1.c: New test.
2004-01-23 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/builtins-30.c: Move dg-warning marks to the proper lines.
2004-01-24 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c90-array-lval-7.c, gcc.dg/c99-array-lval-7.c: New tests.
2004-01-23 Andrew Pinski <apinski@apple.com>
* gcc.dg/20030121-1.c: Move to ..
* gcc.dg/20040121-1.c: here.
2004-01-23 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-29.c: New test case.
2004-01-23 Zack Weinberg <zack@codesourcery.com>
PR 18314
* gcc.dg/builtins-30.c: New testcase.
2004-01-23 Andreas Tobler <a.tobler@schweiz.ch>
* g++.dg/compat/compat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris.
* lib/g77.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/g++.exp: Likewise.
2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/struct-by-value-2.c: New test.
2004-01-21 Andrew Pinski <apinski@apple.com>
PR target/13785
* gcc.dg/20030121-1.c: New test.
2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030123-1.c: Add -fno-omit-frame-pointer option. Do not
clobber frame pointer register in asm statement.
2004-01-21 Falk Hueffner <falk@debian.org>
* gcc.c-torture/compile/20040121-1.c: New test.
2004-01-21 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/noncompile/20020213-1.c: Add another dg-warning line.
2004-01-20 Hartmut Penner <hpenner@de.ibm.com>
* gcc.dg/ppc64-abi-2.c: New test.
2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca>
* lib/treelang.exp: Fill out this file.
* lib/treelang-dg.exp: New File.
2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.c-torture/compile/981022-1.c: Remove.
* gcc.dg/array-5.c: Remove XFAIL.
* gcc.dg/sequence-pt-1.c: Remove test using extended lvalues.
* gcc.dg/cast-lvalue-1.c, gcc.dg/compound-lvalue-1.c,
gcc.dg/cond-lvalue-1.c: Update.
* gcc.dg/cast-lvalue-2.c: New test.
2004-01-19 Mark Mitchell <mark@codesourcery.com>
PR c++/13592
* g++.dg/other/error1.C (class foo): Tweak error message.
PR c++/13592
* g++.dg/template/call2.C: New test.
2004-01-19 20:17:50 +01:00
2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
scalar-by-value-3_x.c, scalar-by-value-3_y.c,
scalar-by-value-4_x.c, scalar-by-value-4_y.c,
scalar-return-1_x.c, scalar-return-2_y.c,
scalar-return-3_x.c, scalar-return-3_y.c,
scalar-return-4_x.c, scalar-return-4_y.c,
struct-align-1.h, struct-align-1_x.c,
struct-align-1_y.c, struct-align-2.h,
struct-align-2_x.c, struct-align-2_y.c,
struct-by-value-10_y.c, struct-by-value-11_x.c,
struct-by-value-11_y.c, struct-by-value-12_x.c,
struct-by-value-12_y.c, struct-by-value-13_x.c,
struct-by-value-13_y.c, struct-by-value-14_x.c,
struct-by-value-14_y.c, struct-by-value-15_x.c,
struct-by-value-15_y.c, struct-by-value-16_y.c,
struct-by-value-17_y.c, struct-by-value-18_y.c,
struct-by-value-19_y.c, struct-by-value-1_x.c,
struct-by-value-1_y.c, struct-by-value-20_y.c,
struct-by-value-2_x.c, struct-by-value-2_y.c,
struct-by-value-3_y.c, struct-by-value-4_x.c,
struct-by-value-4_y.c, struct-by-value-5_y.c,
struct-by-value-6_y.c, struct-by-value-7_y.c
struct-by-value-8_x.c, struct-by-value-8_y.c
struct-by-value-9_x.c, struct-by-value-9_y.c
struct-return-10_x.c, struct-return-10_y.c,
struct-return-19_x.c, struct-return-20_x.c
struct-return-2_x.c, struct-return-2_y.c
struct-return-3_x.c: Guard non-C99 tests with SKIP_COMPLEX_INT,
SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY. Turns SKIPVA into SKIP_VA.
2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
attribute on sparc*-sun-solaris2.*.
2004-01-18 Mark Mitchell <mark@codesourcery.com>
PR c++/13710
* g++.dg/ext/typeof7.C: New test.
2004-01-18 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/array-quals-1.c: xfail on powerpc*-*-aix*.
* gcc.dg/const-elim-1.c: Same.
2004-01-17 Ziemowit Laski <zlaski@apple.com>
* objc.dg/stret-1.m: New.
* objc.dg/stret-2.m: New.
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/11895
* g++.dg/ext/vector1.C: New test.
2004-01-16 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/import-1.c: New.
* gcc.dg/pch/import-1.hs: New.
* gcc.dg/pch/import-1a.h: New.
* gcc.dg/pch/import-1b.h: New.
* gcc.dg/pch/import-1c.h: New.
2004-01-16 Mark Mitchell <mark@codesourcery.com>
PR c++/13574
* g++.dg/ext/array1.C: New test.
PR c++/13178
* g++.dg/conversion/op1.C: New test.
2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
PR 11864
From Kazumoto Kojima / Dan Kegel:
* gcc.dg/pr11864-1.c: New test.
PR 10392
From Marcus Comstedt / Dan Kegel:
* gcc.dg/pr10392-1.c: New test.
2004-01-16 Mark Mitchell <mark@codesourcery.com>
PR c++/13478
* g++.dg/init/ref10.C: New test.
2004-01-15 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13407
* g++.dg/parse/typename6.C: New test.
2004-01-15 Geoffrey Keating <geoffk@apple.com>
PR pch/13361
* testsuite/g++.dg/pch/wchar-1.C: New.
* testsuite/g++.dg/pch/wchar-1.Hs: New.
2004-01-15 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/9259
* g++.dg/expr/sizeof2.C: New test.
2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/sibcall-3.c: Replace mn10?00 with mn10300.
2004-01-15 Alexandre Oliva <aoliva@redhat.com>
PR c++/13659
* g++.dg/lookup/strong-using-3.C: New.
* g++.dg/lookup/using-10.C: New.
2004-01-15 Alexandre Oliva <aoliva@redhat.com>
PR c++/13594
* g++.dg/lookup/strong-using-2.C: New.
2004-01-15 Marcus Comstedt <marcus@mc.pp.se>
Dan Kegel <dank@kegel.com>
J"orn Rennecke <joern.rennecke@superh.com>
PR target/9365
* gcc.dg/pr9365-1.c: New test.
2004-01-15 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/8856
* g++.dg/parse/casting-operator2.C: New test.
* g++.old-deja/g++.pt/explicit83.C: Remove.
2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/label-compound-stmt-1.c: New test.
* gcc.c-torture/compile/950922-1.c,
gcc.c-torture/compile/20000211-3.c,
gcc.c-torture/compile/20000518-1.c,
gcc.c-torture/compile/20021108-1.c: Avoid labels at and of
compound statements.
2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
* gcc.dg/ppc64-abi-1.c: New test.
2004-01-14 Danny Smith <dannysmith@users.sourceforge.net>
* g++.dg/ext/attrib9.C: Add dg-warnings.
2004-01-14 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/12335
* g++.dg/parse/dtor3.C: New test.
2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/12709
* g++.dg/parse/try-catch-1.C: New test.
2004-01-13 Arnaud Charlet <charlet@act-europe.fr>
* ada/acats/run_all.sh: Add more verbose output in acats.log
when compiling tests.
2004-01-12 Zack Weinberg <zack@codesourcery.com>
PR 13656
* gcc.dg/typedef-redecl.c: New test case.
* gcc.dg/typedef-redecl.h: New support file.
2004-01-13 Jan Hubicka <jh@suse.cz>
* gcc.dg/always_inline.c: New test.
* gcc.dg/debug/20031231-1.c: Fix.
2004-01-13 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/13474
* g++.dg/template/array3.C: New test.
2004-01-12 Zack Weinberg <zack@codesourcery.com>
* g++.dg/ext/lvalue1.C: No longer expected to fail.
* g++.dg/warn/Wunused-2.C: Likewise.
2004-01-12 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13289
* g++.dg/template/instantiate6.C: New test.
2004-01-12 Roger Sayle <roger@eyesopen.com>
PR middle-end/11397
* gcc.dg/special/wkali-2.c: Add dg-require-alias.
2004-01-12 Jan Hubicka <jh@suse.cz>
PR opt/12826
* gcc.dg/20040112-1.c: New.
* gcc.dg/dwarf-die[1-7].c: Move to...
* gcc.dg/debug/dwarf2/dwarf-die[1-7].c: ... here.
* gcc.dg/debug/dwarf2/dwarf2.exp: New.
2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
PR c++/4100
* g++.dg/parse/friend4.C: New test.
2004-01-12 Scott Brumbaugh <scottb.lists@verizon.net>
PR c++/4100
* g++.old-deja/g++.pt/niklas01a.C: Mark an error where a class
definition is called a friend.
2004-01-11 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/tls/diag-3.c: Tweak dg-error regexp.
2004-01-11 Ian Lance Taylor <ian@wasabisystems.com>
PR c++/3478
* g++.dg/parse/error10.C: New test.
* g++.dg/template/arg2.C: Accept "invalid type" error.
2004-01-11 Jakub Jelinek <jakub@redhat.com>
PR middle-end/13392
* g++.dg/opt/expect2.C: New test.
2004-01-10 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/Wshadow-1.c, gcc.dg/attr-noinline.c, gcc.dg/decl3.c
* gcc.dg/redecl-1.c, gcc.dg/visibility-7.c, gcc.dg/wtr-static-1.c
* gcc.dg/noncompile/20020220-1.c, objc.dg/method-1.m:
Update dg-error regexps.
2004-01-10 Zack Weinberg <zack@codesourcery.com>
* gcc.c-torture/compile/20021123-2.c: Delete; dup of 20021120-1.c.
* gcc.c-torture/compile/20021123-3.c: Delete; dup of 20021120-2.c.
2004-01-10 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/pragma-re-1.c: Use right pointer type.
2004-01-10 Eric Botcazou <ebotcazou@libertysurf.fr>
* g++.dg/eh/simd-1.c: Ajust line number for dg-error line.
2004-01-09 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/rs6000-ldouble-1.c: New.
2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
DR 337
PR c++/9256
* g++.dg/other/abstract1.C: New test.
2004-01-09 Alexandre Oliva <aoliva@redhat.com>
* g++.dg/lookup/strong-using-1.C: New.
2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/11234
* gcc.dg/func-ptr-conv-1.c: New test.
* gcc.dg/weak/weak-6.c, gcc.dg/weak/weak-7.c: Update.
2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
PR target/13380.
* gcc.c-torture/compile/20040109-1.c: New.
2004-01-08 Stuart Hastings <stuart@apple.com>
* testsuite/gcc.dg/20020523-2.c (bail_if_no_sse): Moved cpu-ID code...
testsuite/gcc.dg/i386-cpuid.h (i386_cpuid): ...to here, to share with...
* testsuite/gcc.dg/i386-sse-6.c: ...this new testcase.
2004-01-09 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/array-quals-1.c: Accept .data.rel.ro.
2004-01-08 Eric Botcazou <ebotcazou@libertysurf.fr>
* ada/acats/run_acats: Treat 'gnatchop' the same way
as 'gnatmake'. Export GCC_DRIVER.
* ada/acats/run_all.sh: Add target_gnatchop. Use
'host_gnatchop' and 'target_gnatchop' instead of 'gnatshop'.
2004-01-08 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/12573
* g++.dg/template/dependent-expr4.C: New test.
2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
* gcc.dg/altivec-11.c: New test.
2004-01-07 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vbase10.C: Use -mstructure-size-boundary=8 on ARM.
2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/6024
* gcc.dg/enum-compat-1.c: New test.
* gcc.c-torture/execute/builtin-types-compatible-p.c: Update.
2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/12165
* gcc.dg/array-quals-1.c, gcc.dg/c90-idem-qual-3.c,
gcc.dg/c99-idem-qual-3.c: New tests.
2004-01-07 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/winline-7.c: Don't cast void * to int.
2004-01-06 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-sse-5.c: New test
* g++.dg/eh/simd-1.c: Add -w argument for i386.
2004-01-05 Mark Mitchell <mark@codesourcery.com>
PR c++/12815
* g++.dg/rtti/typeid4.C: New test.
2004-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/sdata-section.h: Declare 'abort'.
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/co
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++.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.
2004-07-21 13:21:13 +02:00
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.
2004-07-21 13:21:13 +02:00
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
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.
2002-09-30 Mark Mitchell <mark@code
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-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.
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.
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.
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/rec
2002-04-25 Roger Sayle <roger@eyesopen.com>
2002-07-03 00:03:40 +02:00
* gcc.dg/i386-memset-1.c: New test case for PR target/6456.
2002-07-03 00:03:40 +02:00
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-06-04 06:06:38 +02:00
2002-04-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2002-06-04 06:06:38 +02:00
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.
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.
* 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.
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 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-21 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/attr-alwaysinline.c: New.
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>
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
* g77.f-torture/execute/947.f: New regression test
for PR fortran/947.
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-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-03-22 19:35:32 +01:00
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 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>
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
* 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.
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-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-02-25 00:17:23 +01:00
2002-01-08 Aldy Hernandez <aldyh@redhat.com>
2002-02-25 00:17:23 +01:00
* 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-02-22 01:22:33 +01:00
2002-01-09 Jeffrey A Law (law@redhat.com)
2002-02-22 01:22:33 +01:00
* 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>
2002-01-29 18:23:41 +01:00
* g++.old-deja/g++.jason/template31.C: Remove templates for classes
std::__malloc_alloc_template<0> and
std::__default_alloc_template<false, 0>.
2002-01-29 18:23:41 +01:00
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.
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.
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 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.
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>
* 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.
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.
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.
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.
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.
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>
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
* lib/prune.exp (prune_gcc_output): Also ignore "In constructor"
and "In instantiation".
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-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>
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
* g++.dg/eh/
Moved to gcc-deps.exp
* gcc-deps.exp: New file.
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-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>
2001-11-20 13:00:10 +01:00
* g++.old-deja/g++.abi/vbase8-5.C: New test.
2001-11-20 13:00:10 +01:00
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 Bil
* 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.
2001-03-06 Ovidiu Predescu <ovidiu@cup.hp.com>
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
* objc/execute/nested-2.m: Added. Contributed by Nicola Pero.
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-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-10-29 22:00:46 +01:00
2001-03-01 Nathan Sidwell <nathan@codesourcery.com>
2001-10-29 22:00:46 +01:00
* 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 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* g++.old-deja/g++.other/lookup22.C: New test.
200
* 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.
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-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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
* gcc.c-torture/execute/stdio-opt-1.c: Also test
__builtin_fputc and __builtin_fwrite.
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
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
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
* 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.
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
2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
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
* 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>
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
* 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.
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
* 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.
* 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.
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
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
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
* 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.sou
* 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 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.
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
2000-10-27 Mark Mitchell <mark@codesourcery.com>
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
* 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 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.c-torture/execute/20001027-1.c: New test.
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
2000-10-26 Richard Henderson <rth@redhat.com>
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
* 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.
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
2000-09-19 Richard Henderson <rth@cygnus.com>
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
* 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.
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.
2001-06-11 21:28:51 +02:00
2000-09-11 Alexandre Oliva <aoliva@redhat.com>
2001-06-11 21:28:51 +02:00
* 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.
2001-06-09 23:37:03 +02:00
2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
2001-06-09 23:37:03 +02:00
* 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>
* 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-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.
2001-05-21 03:36:21 +02:00
2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
2001-05-21 03:36:21 +02:00
* 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 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.
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
2000-08-21 Jakub Jelinek <jakub@redhat.com>
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
* 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-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>
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
* 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.
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
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>
2001-05-01 01:28:23 +02:00
* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.
2001-05-01 01:28:23 +02:00
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>
* 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>
* 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.
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
2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
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
* 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>
* 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.
2001-04-11 00:22:06 +02:00
2000-07-18 Eric Christopher <echristo@redhat.com>
2001-04-11 00:22:06 +02:00
* 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.
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
2000-07-18 Alexandre Oliva <aoliva@redhat.com>
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
* 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-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.
* 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,
* 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
2001-03-23 13:04:11 +01:00
2000-07-11 David Billinghurst <David.Billinghurst@riotinto.com.au>
2001-03-23 13:04:11 +01:00
* 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.
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
2000-07-07 Jakub Jelinek <jakub@redhat.com>
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
* 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.
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.
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.
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.
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
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.
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-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>
2000-02-20 09:28:28 +01:00
* 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-02-20 09:28:28 +01:00
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-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.
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.
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
* 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.
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
* 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 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.
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-05-19 David Edelsohn <edelsohn@gnu.org>
1999-12-30 13:40:53 +01:00
* gcc.c-torture/execute/20000519-2.c: New test.
1999-12-30 13:40:53 +01:00
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.
1999-12-16 11:20:44 +01:00
2000-05-11 Jeffrey A Law (law@cygnus.com)
1999-12-16 11:20:44 +01:00
* 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 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.
1999-12-14 11:01:23 +01: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)
* 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-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.
1999-08-26 17:24:57 +02:00
2000-03-05 Nathan Sidwell <nathan@codesourcery.com>
1999-08-27 00:16:57 +02:00
* 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.
1999-08-26 19:31:13 +02:00
2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
1999-08-26 19:25:27 +02:00
* gcc.dg/cpp-redef.c: New test.
1999-08-26 19:13:42 +02:00
2000-02-29 Nathan Sidwell <nathan@codesourcery.com>
1999-08-26 18:54:30 +02:00
* g++.old-deja/g++.pt/unify7.C: New test.
1999-08-26 17:24:57 +02:00
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-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>
1999-07-08 19:10:58 +02:00
* g++.old-deja/g++.other/cast5.C: New test.
1999-07-08 19:10:58 +02:00
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.
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@
* 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 Pfe
* 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
1997-08-19 09:34:40 +02:00
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.