1. 29 Mar, 2003 1 commit
  2. 25 Mar, 2003 3 commits
  3. 24 Mar, 2003 2 commits
  4. 21 Mar, 2003 1 commit
  5. 16 Mar, 2003 1 commit
  6. 15 Mar, 2003 2 commits
  7. 14 Mar, 2003 1 commit
  8. 12 Mar, 2003 1 commit
    • c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for LP64 targets. · 00530a21
              * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
              LP64 targets.
      
              * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
              _LP64.
      
              * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
              _LP64 macros here.
              * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
      
              * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
              NETBSD_OS_CPP_BUILTINS_LP64.
              * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
              * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
      
              * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
      
      From-SVN: r64259
      Andreas Jaeger committed
  9. 11 Mar, 2003 3 commits
    • tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN. · 41f3a930
      2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
      
              * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
      
              * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
              (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
              (_Unwind_SetGR): Same.
              (_Unwind_GetGRPtr): New.
              (_Unwind_SetGRPtr): New.
              (uw_update_context_1): Use accesor functions instead of accessing
              context->reg[] directly.
              (uw_install_context_1): Same.
              (execute_cfa_program): Same.
              (__frame_state_for): Same.
      
              * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
              the synthetic register offset.
      
              * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
      
      From-SVN: r64186
      Aldy Hernandez committed
    • Makefile.in: Update. · cb60f38d
      	* Makefile.in: Update.
      	* 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.
      
      From-SVN: r64162
      Neil Booth committed
    • darwin.c (machopic_function_base_name): If dynamic-no-pic is on should not get here. · ab82a49f
      2003-03-10  Andrew Pinski  <apinski@apple.com>
      
      	* 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.
      
      From-SVN: r64157
      Andrew Pinski committed
  10. 05 Mar, 2003 2 commits
    • tm.texi: Document TARGET_DWARF_REGISTER_SPAN. · 96714395
      2003-03-05  Aldy Hernandez  <aldyh@redhat.com>
      
              * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
      
              * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
      
              * hooks.c (hook_rtx_rtx_null): New.
      
              * hooks.h (hook_rtx_rtx_null): Protoize.
      
              * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
              (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
      
              * target.h (struct gcc_target): Add dwarf_register_span.
      
              * dwarf2out.c (multiple_reg_loc_descriptor): New.
              (one_reg_loc_descriptor): New.
              (reg_loc_descriptor): Add support for values that span more than
              one register.
      
      From-SVN: r63870
      Aldy Hernandez committed
    • i386-local.c: New. · dafc5b82
      	* gcc.dg/i386-local.c: New.
      
      	* 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.
      
      From-SVN: r63822
      Jan Hubicka committed
  11. 04 Mar, 2003 3 commits
    • sourcebuild.texi (Front End Directory): Document tags. · 65ebbf81
      	* doc/sourcebuild.texi (Front End Directory): Document tags.
      	* configure: Rebuilt.
      	* configure.in (target_list): Added tags.
      	* Makefile.in (TAGS): Depend on lang.clean.  Include subdirectory
      	TAGS files by reference.
      	* objc/Make-lang.in (objc.tags): New target.
      
      From-SVN: r63808
      Tom Tromey committed
    • Makefile.in: Update. · 63973df3
      	* Makefile.in: Update.
      	* c-common.c (flag_no_line_commands, flag_no_output,
      	flag_dump_macros, flag_dump_includes): New.
      	* c-common.h (flag_no_line_commands, flag_no_output,
      	flag_dump_macros, flag_dump_includes, preprocess_file): New.
      	(init_c_lex): Update prototype.
      	* c-lex.c (init_c_lex): Update prototype; move some code to
      	c_common_init.
      	* c-opts.c (preprocess_file): Subsume into c_common_init.
      	(c_common_decode_option): Update flags.
      	(c_common_init): Move code from preprocess_file and init_c_lex.
      	(sanitize_cpp_opts): Update.
      	* c-ppoutput.c: New, cppmain.c almost verbatim.
      	* cpphash.h (struct printer): Remove.
      	(struct cpp_reader): Remove print.
      	* cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
      	cpp_preprocess_file): Remove.
      	(struct cpp_options): Remove no_output, no_line_commands, dump_macros
      	and dump_includes.
      	* cppmain.c: Remove.
      	* doc/passes.texi: Update.
      
      From-SVN: r63773
      Neil Booth committed
    • function.c (STACK_ALIGNMENT_NEEDED): New macro. · 95f3f59e
      	* function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
      	(assign_stack_local_1): Perform overall stack alignment only when
      	STACK_ALIGNMENT_NEEDED is non-zero.
      	* doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
      
      	* pa.c (compute_frame_size): Rename fsize to size.  Account for
      	alignment to a word boundary before general register save block.  Only
      	account for double-word alignment before floating point register save
      	block if one or more are saved.  Don't allocate space for %r3 when
      	frame pointer is needed.
      	(hppa_expand_prologue): Include alignment to word boundary in local
      	frame size.
      	* pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
      	(STACK_ALIGNMENT_NEEDED): Define.
      
      From-SVN: r63771
      John David Anglin committed
  12. 03 Mar, 2003 1 commit
  13. 02 Mar, 2003 4 commits
    • params.def: Introduce parameter max-inline-insns-rtl for a separate limit for the RTL inliner. · bc522472
      2003-03-02  Kurt Garloff  <garloff@suse.de>
      
      	* 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.
      
      From-SVN: r63688
      Kurt Garloff committed
    • gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke an external cpp… · 8a035a6b
      gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke an external cpp during compilation.
      
      	* gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
      	  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.
      
      From-SVN: r63664
      Ashif Harji committed
    • re PR c++/9367 (error: nonnull argument with extern "C" snprintf prototype) · 08291658
      	PR c++/9367
      	* builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
      	(BT_FN_INT_CONST_STRING_VALIST_ARG,
      	BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
      	BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
      	BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
      	BT_FN_INT_STRING_CONST_STRING_VAR,
      	BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
      	BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
      	* builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
      	ATTR_NONNULL_3): Also include the nothrow attribute.
      	(sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
      	vsnprintf, vscanf, vsscanf): Don't define attributes here.
      	* builtins.def (putchar, puts): Make full C89 built-ins.
      	(snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
      	vsscanf, vsnprintf, vsprintf): New built-ins.
      	* c-common.c (c_common_nodes_and_builtins): Handle new macro
      	DEF_FUNCTION_TYPE_VAR_3.
      
      	* doc/extend.texi: Document these new built-in functions.
      
      	* java/builtins.c (builtin_type): Handle DEF_FUNCTION_TYPE_VAR_3.
      	(initialize_builtins): Handle DEF_FUNCTION_TYPE_VAR_3.
      
      	* g++.old-deja/g++.other/builtins10.C: New test for PR 9367.
      	* gcc.dg/format/attr-5.c: Handle new conflicting types warning.
      
      From-SVN: r63650
      Roger Sayle committed
  14. 01 Mar, 2003 1 commit
    • Makefile.in (C_AND_OBJC_OBJS, [...]): Update. · 5793b276
      	* Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
      	cppinit.o, cppdefault.o, fix-header): Update.
      	* c-incpath.c: New file.
      	* c-incpath.h: New file.
      	* c-lex.c: Include c-incpath.h.
      	(init_c_lex): Register path simplifier.
      	* c-opts.c: Include cppdefault.h and c-incpath.h.
      	(TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
      	std_cxx_inc, quote_chain_split, add_prefixed_path): New.
      	(COMMAND_LINE_OPTIONS): Add more options from cpplib.
      	(missing_arg, c_common_decode_option): Handle them.
      	(c_common_post_options): Register include chains.
      	(print_help): Update.
      	* cppdefault.h (struct default include): Update.
      	Move some macros to ...
      	* cppdefault.c: ... here.
      	(cpp_include_defaults): Add extra field add_sysroot.
      	* cppfiles.c (include_file, search_from, find_or_create_entry,
      	cpp_included, find_include_file, remap_filename): Update for
      	renaming of search_path to cpp_path, and of the chain headers.
      	(remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
      	* cpphash.h (struct search_path): Move to cpplib.h.
      	(struct cpp_buffer, struct cpp_reader): Update.
      	(_cpp_simplify_pathname): Remove.
      	* cppinit.c: Don't include prefix.h and cppdefault.h.
      	(INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
      	remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
      	init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
      	no_pth, cpp_handle_options): Remove.
      	(struct pending_option): Remove chain members.
      	(cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
      	cpp_handle_option): Update.
      	* cpplib.h (struct cpp_path, cpp_set_include_chains): New.
      	(struct cpp_options): Remove quote_include, bracket_include,
      	include_prefix, include_prefix_len, verbose, ignore_srcdir,
      	no_standard_includes, no_standard_cplusplus_includes.
      	(struct cpp_callbacks): Add simplify_path.
      	(cpp_handle_options): Remove.
      	* fix-header.c: Include c-incpath.h.
      	(read_scan_file): Update to use c-incpath functionality.
      	* doc/passes.texi: Update.
      cp:
      	* Make-lang.in (CXX_C_OBJS): Update.
      
      From-SVN: r63612
      Neil Booth committed
  15. 28 Feb, 2003 2 commits
    • flags.h: Add flag_eliminate_unused_debug_types. · 73c68f61
              * flags.h: Add flag_eliminate_unused_debug_types.
              * 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.
      
      From-SVN: r63588
      Scott Snyder committed
    • In gcc/: 2003-02-28 Geoffrey Keating <geoffk@apple.com> · d8fad4ea
      In gcc/:
      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.
      
      From-SVN: r63587
      Geoffrey Keating committed
  16. 26 Feb, 2003 2 commits
    • cse.c (count_reg_usage): Fix handling of REG_EQUAL notes. · b17d5d7c
      	* cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
      
      	* 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.
      
      From-SVN: r63462
      Zdenek Dvorak committed
    • builtins.def (DEF_LIB_ALWAYS_BUILTIN, [...]): Delete. · b052d8ee
      	* builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
      	(abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit):  Use
      	the appropriate macro to define built-in function.
      	(fmod,fmodf,fmodl): New built-in functions.
      
      	* java/decl.c (java_init_decl_processing): Get soft_fmod_node from
      	built_in_decls[BUILT_IN_FMOD] rather than define it ourselves.
      
      	* doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
      
      From-SVN: r63445
      Roger Sayle committed
  17. 25 Feb, 2003 1 commit
    • 003-02-20 Aldy Hernandez <aldyh@redhat.com> · c8e4f0e9
              * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
              TARGET_VECTOR_OPAQUE_P.  Document accordingly.
      
              * testsuite/gcc.dg/20030218-1.c: Check that initialization of
              opaque types fail.
      
              * c-typeck.c (comptypes): Change call to vector_types_compatible
              to vector_opaque_p.
              (convert_for_assignment): Call vector_opaque_p instead of
              vector_types_compatible.
              (really_start_incremental_init): Disallow initialization of opaque
              types.
      
              * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
              Define TARGET_VECTOR_OPAQUE_P.
              (TARGET_INITIALIZER): Same.
      
              * target.h (struct gcc_target): Remove vector_types_compatible.
              Add vector_opaque_p.
      
              * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
              Remove.
              (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
              a vector type.  Change return type to bool.
              (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
              (TARGET_VECTOR_OPAQUE_P): Define.
      
              * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
              target hook.
              Include target.h.
              (cp_parser_init_declarator): Fix typo in function comments.
      
      From-SVN: r63411
      Aldy Hernandez committed
  18. 24 Feb, 2003 1 commit
    • re PR c/5059 (Compiling s/w containing the use of DIR.H fails on other stat-calls) · f8dc212b
      	* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
      	__EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
      	* doc/extend.texi (Tru64 Pragmas): Reflect this.
      
      	* fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
      	extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
      	* fixinc/fixincl.x: Regenerate.
      	* fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
      	testcase.
      	Fixes PR c/5059, c/6126, other/9671.
      
      	testsuite:
      	* g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX.
      	* gcc.dg/pragma-ep-1.c: Likewise.
      
      From-SVN: r63370
      Rainer Orth committed
  19. 23 Feb, 2003 2 commits
    • invoke.texi (ggc-min-expand, [...]): Document new default behavior. · 16226f1e
      	* doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
      	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.
      
      From-SVN: r63323
      Kaveh R. Ghazi committed
    • i386.c: Replace "mcpu" with "mtune". · 9d913bbf
              * config/i386/i386.c: Replace "mcpu" with "mtune".
              * 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.
      
      From-SVN: r63313
      Kelley Cook committed
  20. 22 Feb, 2003 1 commit
    • Makefile.in (ggc-common.o): Depend on $(PARAMS_H) · 9ac121af
      	* Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
      	* 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.
      
      From-SVN: r63268
      Kaveh R. Ghazi committed
  21. 21 Feb, 2003 1 commit
  22. 20 Feb, 2003 2 commits
    • toplev.c (flag_sched2_use_superblocks, [...]): New global variables. · b9422b69
      	* toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces):  New 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.
      
      From-SVN: r63183
      Jan Hubicka committed
    • combine.c (distribute_notes): Kill REG_EXEC_COUNT. · 8fa08316
      	* combine.c (distribute_notes): Kill REG_EXEC_COUNT.
      	* rtl.c (reg_note_name): Likewise.
      	* rtl.h (enum reg_note): Likewise.
      	* doc/invoke.texi: Likewise.
      	* doc/rtl.texi: Likewise.
      
      From-SVN: r63157
      Josef Zlomek committed
  23. 19 Feb, 2003 2 commits
    • tm.texi (INIT_CUMULATIVE_ARGS): Fix typo. · b5a49c0b
      2003-02-19  Krister Walfridsson  <cato@df.lth.se>
      
      	* tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
      
      From-SVN: r63132
      Krister Walfridsson committed
    • calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS · 563a317a
      	* calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
      	* function.c (assign_params): Likewise.
      	* arm-protos.h (arm_init_cumulative_args): Update prototype.
      	* arm.c (arm_init_cumulative_args): Update function.
      	* arm.h (INIT_CUMULATIVE_ARGS): Update.
      	* avr-protos.h (init_cumulative_args): Update prototype.
      	* avr.c (init_cumulative_args): Update function.
      	* avr.h (INIT_CUMULATIVE_ARGS): Update.
      	* d30v-protos.h (d30v_init_cumulative_args): Update prototype.
      	* d30v.c (d30v_init_cumulative_args): Update function.
      	* d30v.h (INIT_CUMULATIVE_ARGS): Update.
      	* frv-protos.h (frv_init_cumulative_args): Update prototype.
      	* frv.c (frv_init_cumulative_args): Update function.
      	* frv.h (INIT_CUMULATIVE_ARGS): Update.
      	* mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
      	* pa.h (INIT_CUMULATIVE_ARGS): Update.
      	* sparc-protos.h (init_cumulative_args): Update prototype.
      	* sparc.c (init_cumulative_args): Update function.
      	* sparc.h (INIT_CUMULATIVE_ARGS): Update.
      	* tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
      
      From-SVN: r63126
      Jan Hubicka committed