- 18 May, 2003 13 commits
-
-
* 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. From-SVN: r66937
Mark Mitchell committed -
2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org> * gcc_release: GNU CC -> GCC. From-SVN: r66936
Nathanael Nerode committed -
From-SVN: r66935
Nathanael Nerode committed -
* config/stormy16/stormy16.h: Remove about 3000 lines of target-independent comments. Update copyright notice. From-SVN: r66934
Nathanael Nerode committed -
* doc/collect2.texi: GNU CC -> GCC. * doc/headerdirs.texi: GNU CC -> GCC. From-SVN: r66933
Nathanael Nerode committed -
<top level> * configure.in: Switch more things to use maybe dependencies. Rearrange a little. Use GCC_TOPLEV_SUBDIRS. * configure: Regenerate. * Makefile.tpl: Switch more things to use maybe dependencies. * Makefile.in: Regenerate. <config> * config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD, _GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET, GCC_TOPLEV_SUBDIRS. From-SVN: r66932
Nathanael Nerode committed -
2003-05-18 Toon Moene <toon@moene.indiv.nluug.nl> * intdoc.in: Fix documentation of IDATE. * intdoc.texi: Regenerate. * news.texi: Update due to also fixing it in 3.3.1. From-SVN: r66931
Toon Moene committed -
* hashtable.h (struct ht_identifier): Add data member "hash_value". * hashtable.c (ht_lookup): Use it when searching, remember. (ht_expand): Do not recompute. * tree.h (IDENTIFIER_HASH_VALUE): New macro. cp/ * cp-tree.h (struct lang_type_class): Replace data member tags with hash-table nested_udts. (CLASSTYPE_NESTED_UTDS): Rename from CLASSTYPE_TAGS. * class.c (unreverse_member_declarations): Don't touch CLASSTYPE_TAGS. (pushclass): Use cxx_remember_type_decls. * decl.c (struct cp_binding_level): Replace data member tags with hash-table type_decls. (pop_binding_level): Handle level->type_decls. (kept_level_p): Adjust. (poplevel): Remove unused local variable. (bt_print_entry): New function. (print_binding_level): Use it. (push_namespace): Build current_binding_level->type_decls. (maybe_process_template_type_declaration): Adjust. (pushtag): Likewise. (clear_anon_tags): Use binding_table_remove_anonymous_types. (gettags): Remove. (cxx_remember_type_decls): Rename from storetags. Adjust. (lookup_tag): Use binding_table_find_anon_type. Tidy. (lookup_tag_reverse): Use binding_table_reverse_maybe_remap. (cxx_init_decl_processing): Build global_binding_level->type_decls. (store_parm_decls): Remove pointless code. * name-lookup.c (free_binding_entry): New variable. (ENTRY_INDEX): New macro. (struct binding_table_s): New datatype. (binding_entry_make): New function. (binding_entry_free): Likewise. (binding_table_construct): Likewise. (binding_table_free): Likewise. (binding_table_new): Likewise. (binding_table_expand): Likewise. (binding_table_insert): Likewise. (binding_table_find): Likewise. (binding_table_find_anon_type): Likewise. (binding_table_reverse_maybe_remap): Likewise. (binding_table_remove_anonymous_types): Likewise. (binding_table_foreach): Likewise. * name-lookup.h (binding_table): New type. (binding_entry): Likewise. (bt_foreach_proc): Likewise. (struct binding_entry_s): New datatype. (SCOPE_DEFAULT_HT_SIZE): New macro. (CLASS_SCOPE_HT_SIZE): Likewise. (NAMESPACE_ORDINARY_HT_SIZE): Likewise. (NAMESPACE_STD_HT_SIZE): Likewise. (GLOBAL_SCOPE_HT_SIZE): Likewise. (binding_table_new): Declare. (binding_table_free): Likewise. (binding_table_insert): Likewise. (binding_table_find_anon_type): Likewise. (binding_table_reverse_maybe_remap): Likewise. (binding_table_remove_anonymous_types): Likewise. (binding_table_foreach): Likewise. (binding_table_find): Likewise. (cxx_remember_type_decls): Likewise. * pt.c (bt_instantiate_type_proc): New function. (do_type_instantiation): Use it. * search.c (lookup_field_r): Use binding_table_find. From-SVN: r66930
Gabriel Dos Reis committed -
PR c++/9022 * g++.dg/lookup/using6.C: New test. From-SVN: r66928
Kriang Lerdsuwanakij committed -
From-SVN: r66927
Nathan Sidwell committed -
* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS): Default here. (c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS(). * defaults.h: Don't default TARGET_OS_CPP_BUILTINS here. * config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__. * config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h, config/arm/linux-elf.h, config/arm/rtems-elf.h, config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h, config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h, config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h, config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h, config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h, config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h, config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h, config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h, config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h, config/sparc/openbsd64.h, config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h: Don't define __ELF__. * config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__. * doc/cpp.texi: Document __ELF__. * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS. From-SVN: r66926
Neil Booth committed -
* semantics.c (perform_deferred_access_checks): Don't discard checked access. * g++.dg/parse/access2.C: New test. From-SVN: r66925
Kriang Lerdsuwanakij committed -
From-SVN: r66922
GCC Administrator committed
-
- 17 May, 2003 16 commits
-
-
gcc: * builtins.c (validate_arglist): Eliminate libiberty VA_ macros, always use stdarg. * c-errors.c (pedwarn_c99): Likewise. * c-format.c (status_warning): Likewise. * c-semantics.c (build_stmt): Likewise. * calls.c (emit_library_call, emit_library_call_value): Likewise. * collect2.c (notice, fatal_perror, fatal, error): Likewise. * cpperror.c (cpp_error, cpp_error_with_line): Likewise. * diagnostic.c (build_message_string, output_printf, output_verbatim, verbatim, inform, warning, pedwarn, error, sorry, fatal_error, internal_error, warning_with_decl, pedwarn_with_decl, error_with_decl, fnotice): Likewise. * dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr, dw2_asm_output_addr_rtx, dw2_asm_output_nstring, dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128, dw2_asm_output_encoded_addr_rtx): Likewise. * emit-rtl.c (gen_rtx, gen_rtvec): Likewise. * errors.c (warning, error, fatal, internal_error): Likewise. * final.c (output_operand_lossage, asm_fprintf): Likewise. * fix-header.c (fatal): Likewise. * gcc.c (fatal, error, notice): Likewise. * gcov.c (fnotice): Likewise. * genattrtab.c (attr_rtx, attr_printf): Likewise. * gengtype.c (error_at_line, xasprintf, oprintf): Likewise. * gensupport.c (message_with_line): Likewise. * mips-tfile.c (fatal, error): Likewise. * protoize.c (notice): Likewise. * ra-debug.c (ra_debug_msg): Likewise. * read-rtl.c (fatal_with_file_and_line): Likewise. * rtl-error.c (error_for_asm, warning_for_asm): Likewise. * tree.c (build, build_nt, build_function_type_list): Likewise. cp: * error.c (cp_error_at, cp_warning_at, cp_pedwarn_at): Eliminate libiberty VA_ macros, always use stdarg. * rtti.c (create_pseudo_type_info): Likewise. * tree.c (build_min_nt, build_min): Likewise. From-SVN: r66919
Kaveh R. Ghazi committed -
* 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. From-SVN: r66918
Mark Mitchell committed -
* defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove. * gcc.c (cpp_predefines): Remove. (cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES. (static_specs): Remove predefines. * system.h: Poison CPP_PREDEFINES. * config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h, config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES. From-SVN: r66917
Neil Booth committed -
* config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h, config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h, config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES, use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead. From-SVN: r66916
Neil Booth committed -
From-SVN: r66912
Neil Booth committed -
* c-common.c, c-common.h (dollars_in_ident): Remove. * c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true. (c_common_init_options, c_common_decode_option): Set dollars_in_ident. * cpphash.h (warned_dollar): Rename warn_dollars. * cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang) Permit dollars regardless of -std=. (post_options): Set warn_dollars. * cpplex.c (forms_identifier_p): Use warn_dollars. * config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h: Remove redundant definitions of DOLLARS_IN_IDENTIFIERS. * doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi: Update documentation. testsuite: * gcc.dg/dollar.c: New test. From-SVN: r66911
Neil Booth committed -
m68k.c (m68k_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when... * config/m68k/m68k.c (m68k_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when formatting a HOST_WIDE_INT. (m68k_output_function_epilogue): Likewise. From-SVN: r66910
Andreas Schwab committed -
From-SVN: r66909
Zack Weinberg committed -
2003-05-17 Andreas Schwab <schwab@suse.de> * config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board. * config/m68k/linux.h: Likewise. * config/m68k/m68k-none.h: Likewise. * config/m68k/netbsd-elf.h: Likewise. * config/m68k/sgs.h: Likewise. * config/m68k/m68k.h: Likewise. * config/m68k/m68k.md: Likewise. * config/m68k/m68k.c: Likewise. * doc/md.texi (Machine Constraints): Remove Sun FPA specific constraints. * doc/invoke.texi (Option Summary): Remove -mfpa. (M680x0 Options): Likewise. From-SVN: r66907
Andreas Schwab committed -
From-SVN: r66906
David Edelsohn committed -
* config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS. * config/sparc/liteelf.h, config/sparc/openbsd64.h, config/sparc/rtemself.h, config/sparc/sol2-64.h, config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h: Update for use of TARGET_SUB_OS_CPP_BUILTINS. From-SVN: r66905
Neil Booth committed -
* i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES. From-SVN: r66903
Neil Booth committed -
* config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h. * sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h, sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h, sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h, sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h, sparc/sysv4.h, * sparc/sysv4-only.h: New. From-SVN: r66902
Neil Booth committed -
From-SVN: r66901
Alan Modra committed -
cfgloopanal.c (test_for_iteration): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse... gcc: * cfgloopanal.c (test_for_iteration): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse multiple function calls into one. * dbxout.c (dbxout_symbol): Likewise. * defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise. * dwarf2asm.c (dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128): Likewise. * genrecog.c (debug_decision_2): Likewise. * loop.c (emit_prefetch_instructions): Likewise. * print-rtl.c (print_rtx): Likewise. * print-tree.c (print_node_brief, print_node): Likewise. * ra-debug.c (dump_igraph, dump_graph_cost, dump_static_insn_cost): Likewise. * ra-rewrite.c (dump_cost): Likewise. * sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise. * sreal.c (dump_sreal): Likewise. * unroll.c (unroll_loop, precondition_loop_p): Likewise. * varasm.c (assemble_vtable_entry): Likewise. cp: * ptree.c (cxx_print_type, cxx_print_xnode): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse multiple function calls into one. * tree.c (debug_binfo): Likewise. java: * parse.y (print_int_node): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse multiple function calls into one. From-SVN: r66900
Kaveh R. Ghazi committed -
From-SVN: r66898
GCC Administrator committed
-
- 16 May, 2003 11 commits
-
-
* config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING and ! TARGET_STRING cases. From-SVN: r66896
Geoffrey Keating committed -
* avr.c (avr_output_function_prologue, avr_output_function_epilogue, print_operand): Fix format specifier warnings. (init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED. * avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings. From-SVN: r66895
Kaveh R. Ghazi committed -
* doc/cppopts.texi (-undef): Fix texinfo warning. * doc/cppopts.texi (-H): Document that -H works for PCH files too. * cppfiles.c (validate_pch): When -H is used, print some information about PCH files found. From-SVN: r66894
Geoffrey Keating committed -
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. From-SVN: r66893
Janis Johnson committed -
* config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h. * config/mips/t-isa3264, config/mips/t-r3900: Likewise. * config/mips/t-sr71k: Likewise. From-SVN: r66892
Richard Kenner committed -
* arc.c (arc_output_function_prologue, arc_output_function_epilogue): Fix format specifier warnings. * arc.h (LARGE_INT): Fix signed/unsigned warnings. From-SVN: r66891
Kaveh R. Ghazi committed -
From-SVN: r66890
Kaveh R. Ghazi committed -
* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format specifier warnings. From-SVN: r66889
Kaveh R. Ghazi committed -
* mcore.c (mcore_print_operand_address, mcore_print_operand): Fix format specifier warnings. From-SVN: r66888
Kaveh R. Ghazi committed -
* configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section should be read-only. * configure: Rebuilt. * fficonfig.h.in: Rebuilt. * include/ffi.h.in (EH_FRAME_FLAGS): Define. * src/alpha/osf.S: Use EH_FRAME_FLAGS. * src/powerpc/linux64.S: Likewise. * src/powerpc/linux64_closure.S: Likewise. Include ffi.h. * src/powerpc/sysv.S: Use EH_FRAME_FLAGS. Use pcrel encoding if -fpic/-fPIC/-mrelocatable. * src/powerpc/powerpc_closure.S: Likewise. * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include #write in .eh_frame flags. * src/sparc/v9.S: Likewise. * src/x86/unix64.S: Use EH_FRAME_FLAGS. * src/x86/sysv.S: Likewise. Use pcrel encoding if -fpic/-fPIC. * src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h. From-SVN: r66887
Jakub Jelinek committed -
* ip2k.c (function_prologue, function_epilogue, print_operand): Fix format specifier warnings. * ip2k.md: Likewise. From-SVN: r66886
Kaveh R. Ghazi committed
-