summaryrefslogtreecommitdiff
path: root/gcc/doc/invoke.texi
Commit message (Collapse)AuthorAgeFilesLines
* * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGIONrth2003-04-021-1/+8
| | | | | | | | | | | | | | | | | | | | notes for nothrow calls if flag_forced_unwind_exceptions. (build_post_landing_pads): Mind flag_forced_unwind_exceptions. (sjlj_find_directly_reachable_regions): Likewise. (reachable_handlers): Likewise. (can_throw_external): Likewise. (collect_one_action_chain): Record cleanups after catch-all and must-not-throw if flag_forced_unwind_exceptions. * flags.h (flag_forced_unwind_exceptions): Declare. * toplev.c (flag_forced_unwind_exceptions): New. (lang_independent_options): Add it. * doc/invoke.text: Add it. * g++.dg/eh/forced1.C: New. * g++.dg/eh/forced2.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65158 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Update.neil2003-03-111-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.c: Don't include real.h or except.h. (REGISTER_PREFIX): Remove. (builtin_define_std, builtin_define_with_value, builtin_define_with_int_value, builtin_define_with_hex_fp_value, builtin_define_type_max, builtin_define_type_precision, builtin_define_float_constants): Move to c-cppbuiltin.c. (c_stddef_cpp_builtins): New. * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New. * c-cppbuiltin.c: New, extracted from c-common.c. (define__GNUC__): New. * cppspec.c (lang_specific_driver): Remove support of -no-gcc. * gcc.c: Remove support of %v1, %v2 and %v3 specs. (cpp_unique_options): Don't support no-gcc. (do_spec_1): Remove support of version specs. * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3. * doc/passes.texi: Update. * doc/tm.texi: Update. cp: * Make-lang.in (CXX_C_OBJS): Update. * lang-specs.h: Don't define __GNUG__ here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64162 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-10 Andrew Pinski <apinski@apple.com>geoffk2003-03-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/darwin.c (machopic_function_base_name): If dynamic-no-pic is on should not get here. (machopic_indirect_data_reference): If dynamic-no-pic is on just generate high/low parts of the address. (machopic_legitimize_pic_address): Change MACHOPIC_PURE to MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate symbol and labels with a new reg. Dynamic-no-pic does not have a pic_offset_table_rtx. (machopic_select_section): Change references of flag_pic to MACHOPIC_INDIRECT. (machopic_asm_out_destructor): Likewise. * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change reference of flag_pic to MACHOPIC_INDIRECT. (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC. (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on. (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on. (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on. * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as 0 for right now as dynamic-no-pic is not implemented on Darwin/ia32. * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define. (TARGET_DYNAMIC_NO_PIC): Define. (SUBTARGET_SWITCHES): Define, have sub-target switches for dynamic-no-pic. (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from rs6000_override_options to here. Dynamic-no-pic overrides pic. (CC1_SPEC): Change from not static then pic to not static and not dynamic-no-pic then pic. * config/rs6000/rs6000.c (rs6000_override_options): Move the check for -fpic and DARWIN_ABI to config/rs6000/darwin.h (rs6000_legitimize_reload_address): Add case for loading floating in dynamic-no-pic. (rs6000_emit_move): Add case for dynamic-no-pic. Change reference of flag_pic to MACHOPIC_INDIRECT. (secondary_reload_class): Conditional change the reference of flag_pic to MACHOPIC_INDIRECT. (rs6000_output_mi_thunk): Change reference of flag_pic to MACHOPIC_INDIRECT. (output_profile_hook): Likewise. (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported. * config/rs6000/rs6000.md (movdf_low): Add the case for MACHO_DYNAMIC_NO_PIC_P. (call): Change references for flag_pic in TARGET_MACHO to MACHOPIC_INDIRECT. (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and -mdynamic-no-pic is on. Also move case for -fpic from rs6000.c. * doc/invoke.texi (-mdynamic-no-pic): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64157 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/i386-local.c: New.hubicka2003-03-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * toplev.c (rest_of_compilation): Deffer RTL compilation only when RTL inlining is done. * cgraphunit.c (cgraph_mark_local_functions): New local function. (cgraph_optimize): Mark local functions. * i386-protos.h (init_cumulative_args): Update prototype. * i386.c (init_cumulative_args): Use register passing convention for local functions. * cgraph.c (cgraph_global_info_ready): New global variable (cgraph_local_info, cgraph_global_info): New functions. * cgraph.h (struct cgraph_local_info, cgraph_global_info): New structures. (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready): Declare. * cgraphunit.c (cgraph_finalize_function): Set inline_many. (cgraph_mark_functions_to_output): Use inline_many. (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally. (cgraph_expand_functions): Expand inline functions last. (cgraph_optimize): Do not emit uneeded functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63822 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-02 Kurt Garloff <garloff@suse.de>geoffk2003-03-021-3/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * params.def: Introduce parameter max-inline-insns-rtl for a separate limit for the RTL inliner. * params.h: Likewise. * integrate.c (function_cannot_inline_p): Use it. * toplev.c (decode_f_option): Set multiple parameters controlling inlining with -finline-limit. * params.def: Fix orthographic and typographic errors. * doc/invoke.texi: Document parameters controlling inlining and the way -finline-limit sets multiple of them. * tree.h (struct tree_decl): Introduce inlined_function_flag, recording whether the function became eligible for inlining by a compiler flag rather than the declaration. Provide DID_INLINE_FUNC macro to access it. * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC. * cp/decl.c (grokfndecl): Likewise. * toplev.c (rest_of_compilation): Likewise. * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC. * print-tree.c (print_node): Report it. * params.def: Introduce new max-inline-insns-auto limit. * params.h: Likewise. * tree-inline.c (inlinable_function_p): Apply it to functions with DID_INLINE_FUNC set. * toplev.c (decode_f_option): Initialize it from -finline-limit value. * doc/invoke.texi: Document new parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63688 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (default_compilers): Add -no-integrated-cpp flag to invokeneil2003-03-021-1/+12
| | | | | | | | | | | an external cpp during compilation. (option_map): Likewise. * cp/lang-specs.h (default_compilers): Similarly. * objc/lang-specs.h (default_compilers): Similarly. * doc/invoke.texi: Document -no-integrated-cpp flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63664 138bc75d-0d04-0410-961f-82ee72b054a4
* * flags.h: Add flag_eliminate_unused_debug_types.rth2003-02-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * toplev.c: Add flag_eliminate_unused_debug_types. (f_options): Add -feliminate-unused-debug-types. * dwarf2out.c (struct file_table): Add emitted member. (splice_child_die): Fix the parent pointer for the child being spliced. (lookup_filename): Maintain file_table.emitted array. Don't output .file directive here. (maybe_emit_file): (new) (init_file_table): Set up file_table.emitted. (dwarf2out_source_line): Use maybe_emit_file. (dwarf2out_start_source_file): Use maybe_emit_file. (dwarf2out_init): Use maybe_emit_file. (prune_unused_types_walk_attribs): (new) (prune_unused_types_mark): (new) (prune_unused_types_walk): (new) (prune_unused_types_prune): (new) (prune_unused_types): (new) (dwarf2out_finish): Call prune_unused_types if flag_eliminate_unused_debug_types is set. * doc/invoke.texi (Option Summary): Add -feliminate-unused-debug-types. (Debugging Options): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63588 138bc75d-0d04-0410-961f-82ee72b054a4
* In gcc/:geoffk2003-02-281-3/+3
| | | | | | | | | | | | | | | | | 2003-02-28 Geoffrey Keating <geoffk@apple.com> * doc/invoke.texi: Change .pch to .gch. * cppfiles.c (open_file_pch): Likewise. * gcc.c (default_compilers): Likewise. In gcc/testsuite/: 2003-02-28 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/pch.exp: Change .pch to .gch. * g++.dg/pch/pch.exp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63587 138bc75d-0d04-0410-961f-82ee72b054a4
* * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.rakdver2003-02-261-6/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (loop-unroll.o): New. * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New. (unroll_and_peel_loops): Declare. * alias.c (init_alias_analysis): Flag_unroll_loops renamed to flag_old_unroll_loops. * loop.c (loop_invariant_p): Ditto. * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to flag_old_unroll_all_loops. * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops. (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops. * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed. (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES, PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES, PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES, PARAM_MAX_ONCE_PEELED_INSNS): New. * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New. (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller instead of old one. (flag_peel_loops): New. (lang_independent_options): The new flags added. (rest_of_compilation): Call new unroller. (process_options): Setup flags for coexistence of old and new unroller. * doc/invoke.texi: Document new options. * doc/passes.texi: Document new unroller pass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63462 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Documentghazi2003-02-231-3/+7
| | | | | | | | | | | new default behavior. * ggc-common.c: Include sys/resource.h. (ggc_rlimit_bound): New function. (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update defaults to account for rlimits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63323 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c: Replace "mcpu" with "mtune".rth2003-02-231-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | * config/i386/i386.h (TARGET_OPTIONS): Likewise. (CC1_CPU_SPEC): Likewise. New warning for "-mcpu". * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu" with "mtune". Note that "mcpu" is a deprecated synonym for "mtune". * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63313 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)ghazi2003-02-221-5/+9
| | | | | | | | | | | | | | | * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update documentation. * ggc-common.c: Include params.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic, init_ggc_heuristics): New functions. * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic, init_ggc_heuristics): Prototype. * toplev.c (print_version): Output GGC heuristics. (parse_options_and_default_flags): Call init_ggc_heuristics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63268 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New ↵hubicka2003-02-201-1/+26
| | | | | | | | | | | | | | | | | | global variables. (lang_independent_options): Add -fsched2-use-superblocks -fsced2-use-traces. (rest_of_compilation): Deal with it. * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare. * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces): Declare. * rtl.h (reg_to_stack): Update prototype. * reg-stack.c (reg_to_stack): Return when something has changed; update liveness when executing after superblock scheduling. * combine.c (simplify_shift_const): Simplify few special cases into constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63183 138bc75d-0d04-0410-961f-82ee72b054a4
* * combine.c (distribute_notes): Kill REG_EXEC_COUNT.zlomek2003-02-201-2/+1
| | | | | | | | | | * rtl.c (reg_note_name): Likewise. * rtl.h (enum reg_note): Likewise. * doc/invoke.texi: Likewise. * doc/rtl.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63157 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (Optimize Options): Correct @option syntax.geoffk2003-02-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62957 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfgcleanup.c: Include params.h.rth2003-02-151-0/+7
| | | | | | | | | | | (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES. Fix test for too many outgoing edges from a block. * Makefile.in (cfgcleanup.o): Depend on PARAMS_H. * params.def (max-crossjump-edges): New. * doc/invoke.texi: Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62942 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (PREPROCESSOR_DEFINES): Adddrow2003-02-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @TARGET_SYSTEM_ROOT_DEFINE@. * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot is specified or if building a cross compiler. (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE if the sysroot is under $exec_prefix. * configure: Regenerated. * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is defined. (struct default_include): Add add_sysroot field. (cpp_SYSROOT): Declare. * cppdefault.c (cpp_include_defaults): Fill in add_sysroot field. (cpp_SYSROOT): New variable. * cppinit.c (cpp_create_reader): Initialize CPP_OPTION (pfile, sysroot). (init_standard_includes): Handle add_sysroot. Do not add unrelocated copies of relocated directories. (COMMAND_LINE_OPTIONS): Add -isysroot. (cpp_handle_option): Handle -isysroot. * cpplib.h (struct cpp_options): Add sysroot member. * gcc.c (The Specs Language): Update description of %I. (target_system_root_changed): New variable. (process_command): Conditionalize make_relative_prefix call on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set target_system_root_changed. (do_spec_1): Add -isysroot to %I. * doc/invoke.texi (Spec Files): Update description of %I. * doc/install.texi (--with-sysroot): Update comment about relocation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62853 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-timehubicka2003-02-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (OBJS): Add callgraph.o (callgraph.o): New. * c-decl.c (expand_body_1): Break out from ... (expand_body): This one; change calling convention (finish_function): Move some of expand_body logic here. (c_expand_deferred_function): Update call of expand_body (c_expand_stmt): Use c_expand_body_1. * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define. * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code. * c-tree.h (c_expand_body): Declare. * callgraph.c: New file. * flags.h (flag_unit_at_a_time): Declare. * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION, LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros. * langhooks.h (struct lang_hooks_for_callgraph): New. (struct lang_hooks): Add callgraph field. * toplev.c (flag_unit_at_a_time): New. (lang_independent_options): Add flag_unit_at_a_time. (process_options): Disable unit-at-a-time mode for frontends not supporting callgraph. * tree-inline.c (typedef struct inline_data): Add "decl" (expand_call_inline): Update callgraph. (optimize_inline_calls): Set id.decl. * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit, cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call cgraph_calls_p): Declare. * invoke.texi (-funit-at-a-time): Document git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62789 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.c (real_abort): New.geoffk2003-02-121-0/+3
| | | | | | | | | | | | (diagnostic_report_diagnostic): Call real_abort on error. * diagnostic.h (diagnostic_abort_on_error): New. (struct diagnostic_context): Add abort_on_error field. * toplev.c (setup_core_dumping): New. (decode_d_option): Handle 'H' case. * doc/invoke.texi (Debugging Options): Document -dH. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62753 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.rth2003-02-111-1/+2
| | | | | | | * doc/invoke.texi: Extra alias. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62735 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for Cirrus EP9312, an ARM variant.nickc2003-02-101-2/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62625 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Documentation for my previous commit.rakdver2003-02-081-2/+14
| | | | | | | * doc/passes.texi: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62580 138bc75d-0d04-0410-961f-82ee72b054a4
* fastjar:jsm282003-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fastjar.texi: Update to GFDL 1.2. gcc: * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi, doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2. * doc/install.texi: Update copyright dates. Update to GFDL 1.2. gcc/ada: * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2. * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Regenerate. gcc/f: * g77.texi, invoke.texi: Update to GFDL 1.2. gcc/java: * gcj.texi: Update to GFDL 1.2. gcc/treelang: * treelang.texi: Update to GFDL 1.2. libiberty: * libiberty.texi: Update to GFDL 1.2. libstdc++-v3: * docs/html/17_intro/porting.texi: Update to GFDL 1.2. * docs/html/17_intro/porting.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62365 138bc75d-0d04-0410-961f-82ee72b054a4
* * flags.h (flag_volatile): Remove declaration.rsandifo2003-02-011-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (flag_volatile_global, flag_volatile_static): Likewise. * c-typeck.c (build_indirect_ref): Don't check flag_volatile. * toplev.c (flag_volatile): Remove definition. (flag_volatile_global, flag_volatile_static): Likewise. (f_options): Remove corresponding entries here. * varasm.c (make_decl_rtl): Don't check flag_volatile_global or flag_volatile_static. * doc/invoke.texi: Remove documentation of -fvolatile, -fvolatile-global and -fvolatile-static. cp/ * typeck.c (build_indirect_ref): Don't check flag_volatile. ada/ * utils2.c (build_unary_op): Don't check flag_volatile. * gnat_ug.texi: Remove -fvolatile from example. * gnat_ug_vxw.texi: Likewise. testsuite/ * g++.dg/init/new1.C: Remove -fvolatile dg-options line. * g++.dg/init/new2.C: Likewise. * g++.dg/other/new1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62245 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (LIB2FUNCS_ST): Remove _gcov.nathan2003-01-271-46/+44
| | | | | | | | | | | | | | | | | | | | | | | (LIBGCOV): New variable. (libgcc.mk): Add LIBGCOV. (LIBGCC_DEPS): Add libgcov.c. (libgcov.a): New target. (clean): Remove libgcov.a. (install-libgcc): Do libgcov too. (stage1-start, stage2-start, stage3-start, stage4-start): Deal with libgcov.a. * libgcc2.c (L_gcov): Move into ... * libgcov.c: ... here. New file. * mklibgcc.in: Add libgcov rules. * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling. * doc/invoke.texi (profile-arcs, test-coverage): Update and clarify. * profile.c (index_counts_file): Remove duplicate check for open file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61905 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/doc/invoke.texi (Optimization Options): Group togethergerald2003-01-271-203/+227
| | | | | | | | | optional and experimental flags. Move trapv and bounds-check out of this section. (Code Gen Options): Move trapv and bounds-check to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61897 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/doc/invoke.texi (Optimization Options): List -O levelsgerald2003-01-241-7/+83
| | | | | | | for each optimization flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61704 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/bugreport.texi: Use @command instead of @code for commands.reichelt2003-01-241-14/+14
| | | | | | | | | | | | * doc/collect2.texi: Likewise. * doc/headerdirs.texi: Likewise. * doc/invoke.texi: Likewise. * doc/standards.texi: Likewise. * doc/tm.texi: Likewise. * doc/trouble.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61701 138bc75d-0d04-0410-961f-82ee72b054a4
* Add sh2e support:nickc2003-01-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-12 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle med_cbranches. Fix logic in short_cbranches. 2002-04-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (delay for cbranch): Don't annul delay slots on SH2e. * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for cbranch with unfilled delay slot on SH2e. (output_branch): Fill with a nop the delay slot of a branch that required a delay slot but didn't get one. 2002-04-02 Alexandre Oliva <aoliva@redhat.com> * doc/invoke.texi (SH options): Document -m2e. * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__. * config/sh/lib1funcs.asm: Likewise. * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E. * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and not __sh1__. (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from SH2E up. (SH3E_BIT): Renamed to... (SH_E_BIT): ... this. Replace all uses. (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2. Replace all uses of TARGET_SH3E with TARGET_SH2E. (TARGET_SWITCHES): Added 2e. (OVERRIDE_OPTIONS): Set sh_cpu for SH2E. (processor_type): Added PROCESSOR_SH2E. * config/sh/sh.md: Replace all uses of TARGET_SH3E with TARGET_SH2E, except in sqrtsf2_i. (attribute cpu): Added sh2e. * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e. (MULTILIB_MATCHES): Use m2e multilib for m3e. * config.gcc: Add sh2e target support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61697 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-24 Phil Edwards <pme@gcc.gnu.org>pme2003-01-241-20/+53
| | | | | | | | | | | | | | | | | | Rename -W to -Wextra. * c-decl.c: Update comments. * c-typeck.c: Likewise. * flags.h: Likewise. * function.c: Likewise. * stmt.c: Likewise. * toplev.c: Update comments. (W_options): Add 'extra'. (display_help): Remove '-W'. (decode_W_option): Special warn_uninitialized treatment in the case of -Wextra. * doc/invoke.texi: Update with new entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61696 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/7341reichelt2003-01-231-2/+2
| | | | | | | | | | | | * invoke.texi (ftest-coverage): Fix broken cross-reference. Change @code to @command for gcov command. * gcc.texi: Adjust title of gcov section. Adjust copyright. * gcov.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61651 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips64*-*-linux*): Added.aoliva2003-01-191-1/+32
| | | | | | | | | | | | | | | | | | | | * config/mips/linux64.h, config/mips/t-linux64: New file. * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define. * config/mips/mips.c (override_options): Use it. * config/mips/mips.h (TARGET_SWITCHES): Added... (SUBTARGET_TARGET_SWITCHES): New, empty by default. * Makefile.in (SPECS): New. (STAGESTUFF, specs, mostlyclean, install-common): Use it. * gcc.c (process_command): Move self-spec processing past spec file loading. * doc/tm.texi (DRIVER_SELF_SPECS): Document the change. * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for CRTSTUFF_T_CFLAGS. (SPECS): Document. * doc/invoke.texi (-mabi-fake-default): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61481 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshortciceron2003-01-151-1/+7
| | | | | | | | | | | | | | | | | | and -mshort-double to the assembler to specify the ABI. (LINK_SPEC): Likewise. (CPP_SPEC): Pass HCS12 specific define. (MASK_M68S12): New define. (TARGET_M68S12): Likewise. (TARGET_SWITCHES): New options -m68hcs12 and -m68S12. (TARGET_VERSION): Update. * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define. (LINK_SPEC): Update. (ASM_SPEC): Update. * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update. * doc/invoke.texi (M68hc1x Options): Document -m68hcs12. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61358 138bc75d-0d04-0410-961f-82ee72b054a4
* * Change mcpu to mtune.hpenner2003-01-101-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61160 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from pch-branch.geoffk2003-01-101-12/+122
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61136 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-09 Vladimir Makarov <vmakarov@redhat.com>vmakarov2003-01-091-0/+8
| | | | | | | Merging changes from itanium-sched-branch: git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61132 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-08 Chris Demetriou <cgd@broadcom.com>cgd2003-01-081-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New targets, to support MIPS32 Release 2 (MIPS32R2) configurations. * config/mips/mips.h (enum processor_type): Rename PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC. Add PROCESSOR_M4K. (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming. (ISA_MIPS32R2): New define. (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC) (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO) (ISA_HAS_PREFETCH): Add support for MIPS32R2. (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation. (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64. (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if compiling MIPS16 code. (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix comment. (ISA_HAS_SEB_SEH): New define. (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker. * config/mips/mips.c (mips_cpu_info_table): Adjust for enum processor_type value renaming. Add support for MIPS32R2. Clean up comments, and move "sb1" entry with other MIPS64 CPU entries. (override_options): Reimplement -mipsN option handling so that it will work correctly for -mips32r2. Avoid branch-likely instructions on MIPS32R2. * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2. (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH. (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH. (extendhisi2_hw, extendqisi2_hw): New. * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64. (LINK_SPEC): Pass -mips32r2 to linker. * config/mips/t-isa3264: Built -mips32r2 multilibs. * doc/invoke.texi (MIPS Options): Add -mips32r2, add support for mips32r2 in the -march description. Alphabetically sort CPU names in the -march description. Add long-missed -mips32 and -mips64 to MIPS option summary. * config.gcc: Update copyright years to include 2003. * config/mips/mips.c: Likewise. * config/mips/mips.h: Likewise. * config/mips/mips.md: Likewise. * config/mips/netbsd.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61053 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-07 Janis Johnson <janis187@us.ibm.com>janis2003-01-081-4/+6
| | | | | | | | | PR other/8947 * doc/invoke.texi (-malign-double): Explain that the option breaks binary compatibility. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61026 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/doc/invoke.texi (Optimization Options): Clean up -O flaggerald2002-12-311-27/+25
| | | | | | | descriptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60696 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/doc/invoke.texi (Optimization Options): List the optionsgerald2002-12-311-6/+39
| | | | | | | enabled by each -O flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60692 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>jsm282002-12-231-255/+6
| | | | | | | | | | | | | * doc/install.texi: Remove i386-*-isc, i860-*-bsd, m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries. * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex, DG/UX entries. * doc/md.texi: Remove AMD 29K entries. * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS 1.38.1, NewsOS, RT PC, WE32K entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60455 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c (decl_has_samegp): New.rth2002-12-201-1/+14
| | | | | | | | | | | | | | | | | | | | | | | (samegp_function_operand): Use it. Rename from current_file_function_operand. (direct_call_operand): Handle -msmall-text via symbol->jump. (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel. (tls_symbolic_operand_type): Likewise. (alpha_encode_section_info): Likewise. Handle -msmall-text. (alpha_function_ok_for_sibcall): Use decl_has_samegp. (alpha_end_function): Set symbol->jump for functions defined in the text section. * config/alpha/alpha-protos.h: Update. * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New. (TARGET_SWITCHES): Add -msmall-text and -mlarge-text. (PREDICATE_CODES): Update. * config/alpha/alpha.md (call patterns): Update for samegp_function_operand rename; use !samegp reloc if TARGET_EXPLICIT_RELOCS. * doc/invoke.text: Document -msmall-text and -mlarge-text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60373 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=hpenner2002-12-201-1/+26
| | | | | | | | | | | | | | option for S/390 and zSeries. * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch, s390_arch_string): New variables. (override_options): Checking for options and setting of appropriate target_flags, cpu and arch flags. * config/s390/s390.h: (processor_type): New enum. (TARGET_SWITCHES): New switches -mesa/zarch. * config/s390/s390.md: New attribute 'cpu'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60364 138bc75d-0d04-0410-961f-82ee72b054a4
* This was approved for 3.4 BIB branch. But since it is dead now, I am puttingdpatel2002-12-191-1/+2
| | | | | | | | | | | | | this in mainline sources. 2002-12-19 Devang Patel <dpatel@apple.com> * gcc.c (struct default_compiler): Recognizes input file name with .CPP extension as C++ source files * cp/lang-spec.h: Same * doc/invoke.texi: Add documentation for .CPP support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60330 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/c-tree.texi: Fix typos and follow spelling conventions.kazu2002-12-171-3/+3
| | | | | | | | | | | | | | | | * doc/cpp.texi: Likewise. * doc/extend.texi: Likewise. * doc/gty.texi: Likewise. * doc/install.texi: Likewise. * doc/invoke.texi: Likewise. * doc/md.texi: Likewise. * doc/passes.texi: Likewise. * doc/rtl.texi: Likewise. * doc/sourcebuild.texi: Likewise. * doc/tm.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60213 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Minor spelling and grammar fixes.kazu2002-12-171-22/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60212 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge basic-improvements-branch to trunkzack2002-12-161-49/+81
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix type.dpatel2002-12-131-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60102 138bc75d-0d04-0410-961f-82ee72b054a4
* gccdpatel2002-12-121-10/+25
| | | | | | | | | | | | | | | *doc/invoke.texi: Document Darwin linker options, -bundle -bind_at_load, -all_load and -arch_errors_fatal testsuite * gcc.dg/darwin-ld-1.c: New test. * gcc.dg/darwin-ld-2.c: New test. * gcc.dg/darwin-ld-3.c: New test. * gcc.dg/darwin-ld-4.c: New test. * gcc.dg/darwin-ld-5.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60081 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Correct dump file names.kazu2002-12-121-20/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60055 138bc75d-0d04-0410-961f-82ee72b054a4