OSDN Git Service

PR target/25477
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5143fd7..b589293 100644 (file)
@@ -1,3 +1,494 @@
+2008-02-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/25477
+       * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add.
+       (BUILT_IN_NEXTTOWARD): Remove.
+       (BUILT_IN_NEXTTOWARDF): Ditto.
+       * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of
+       alloca/strcpy/strcat.  Remove commented-out code.  Fix whitespace.
+
+2008-02-27  Tom Tromey  <tromey@redhat.com>
+
+       * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
+       DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.
+
+2008-02-27  Jan Beulich  <jbeulich@novell.com>
+
+       * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to
+       update the respective field on newdecl.
+
+2008-02-27  Revital Eres  <eres@il.ibm.com>
+
+       PR rtl-optimization/34999
+       * bb-reorder.c (add_labels_and_missing_jumps): Do not handle
+       crossing edges that ends with a call insn.
+       (fix_up_fall_thru_edges): Handle crossing edges that ends with a
+       call insn and clear the EDGE_CROSSING flag of the crossing edge
+       when fixing fallthru edges.
+
+2008-02-27  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/25290
+       * fold-const.c (fold_unary): Return the correct argument,
+       converted to the result type.
+
+2008-02-27  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/34971
+       * expr.c (expand_expr_real_1): Assert on rotates that operate
+       on partial modes.
+       * fold-const.c (fold_binary): Use the types precision, not the
+       bitsize of the mode if folding rotate expressions.  Build rotates
+       only for full modes.
+
+2008-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA
+       and CPP_PRAGMA_EOL.
+       * c-pragma.c (pragma_ns_name): New typedef.
+       (registered_pp_pragmas): New variable.
+       (c_pp_lookup_pragma): New function.
+       (c_register_pragma_1): If flag_preprocess_only, do nothing
+       for non-expanded pragmas, for expanded ones push pragma's
+       namespace and name into registered_pp_pragmas vector.
+       (c_invoke_pragma_handler): Register OpenMP pragmas even when
+       flag_preprocess_only, don't register GCC pch_preprocess
+       pragma if flag_preprocess_only.
+       * c-opts.c (c_common_init): Call init_pragma even if
+       flag_preprocess_only.
+       * c-pragma.c (c_pp_lookup_pragma): New prototype.
+       * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call
+       cpp_register_pragma if flag_preprocess_only.
+
+2008-02-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR c/28800
+       * c-parser.c (c_parser_translation_unit): Warn for empty
+       translation unit, not empty source file.
+
+2008-02-26  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first
+       operand for Thumb-2.
+       * config/arm/arm.h (reg_class): Add CORE_REGS.
+       (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto.
+       (BASE_REG_CLASS): Use CORE_REGS.
+       (PREFERRED_RELOAD_CLASS): Add STACK_REG.
+       (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P.
+       (REGNO_OK_FOR_INDEX_P): Exclude SP.
+       (ARM_REG_OK_FOR_INDEX_P): Always define.  Use
+       ARM_REGNO_OK_FOR_INDEX_P.
+       (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp].
+       * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn,
+       arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives.
+       (ldm/stm peepholes): Ditto.
+       * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives.
+       * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto.
+       * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto.
+       * config/arm/constraints.md: Enable "k" constraint on ARM.
+
+2008-02-27  Ben Elliston  <bje@au.ibm.com>
+
+       * config/rs6000/rs6000.c: Annotate cache line size field in all
+       instances of struct processor_costs.
+
+2008-02-26  David Edelsohn  <edelsohn@gnu.org>
+
+       * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1,
+       dse2, gcse, if_conversion, if_after_combine, if_after_reload,
+       jump_bypass): New counters.
+       * cfgcleanup.c (cleanup_cfg): Add dbg_cnt.
+       * dce.c (gate_ud_dce): Same.
+       (gate_fast_dce): Same.
+       * dse.c (gate_dse1): New function.
+       (gate_dse2): New function.
+       (gate_dse): Merge results of new gate functions.
+       * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt.
+       (gate_handle_jump_bypass): Add dbg_cnt.
+       (gate_handle_gcse): Add dbg_cnt.
+       * ifcvt.c (gate_handle_if_conversion): Same.
+       (gate_handle_if_after_combine): Same.
+       (gate_handle_if_after_reload): Same.
+       * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o.
+
+2008-02-26  Edmar Wienskoski  <edmar@freescale.com>
+
+       * config/rs6000/rs6000.c (processor_costs): Update e300 cache
+       line sizes.
+       * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus.
+
+2008-02-26  Jason Merrill  <jason@redhat.com>
+
+       PR c++/35315
+       * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE 
+       alone if it's the naming decl for the type's main variant.
+
+2008-02-26  Tom Tromey  <tromey@redhat.com>
+
+       * system.h (USE_MAPPED_LOCATION): Poison.
+       * Makefile.in (GTFILES): Put CPP_ID_DATA_H first.
+       * tree-cfg.c (make_cond_expr_edges): Remove old location code.
+       (make_goto_expr_edges): Likewise.
+       (remove_bb): Likewise.
+       (execute_warn_function_return): Likewise.
+       * basic-block.h (struct edge_def) <goto_locus>: Change type to
+       location_t.
+       * c-common.c (fname_decl): Remove old location code.
+       * tree-vect-transform.c (vect_finish_stmt_generation): Remove old
+       location code.
+       * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location
+       variant.
+       (ASM_INPUT_SOURCE_LOCATION): Likewise.
+       (gen_rtx_ASM_INPUT): Likewise.
+       (gen_rtx_ASM_INPUT_loc): Likewise.
+       (get_rtx_asm_OPERANDS): Remove.
+       * cfglayout.c (insn_locators_alloc): Remove old location code.
+       (set_curr_insn_source_location): Likewise.
+       (curr_insn_locator): Likewise.
+       * print-tree.c (print_node): Remove old location code.
+       * tree-mudflap.c (mf_varname_tree): Remove old location code.
+       (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION.
+       * cfgexpand.c (expand_gimple_cond_expr): Don't use
+       location_from_locus.
+       (construct_exit_block): Remove old location code.
+       * emit-rtl.c (force_next_line_note): Remove old location code.
+       * profile.c (branch_prob): Remove old location code.
+       * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
+       LOC_LINE): Remove old-location variants.
+       * langhooks.c (lhd_print_error_function): Remove old location
+       code.
+       * configure, config.in: Rebuilt.
+       * configure.ac (--enable-mapped-location): Remove.
+       * c-decl.c (c_init_decl_processing): Remove old location code.
+       (finish_function): Likewise.
+       * recog.c (decode_asm_operands): Remove old location code.
+       * c-pch.c (c_common_read_pch): Remove old location code.
+       * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location
+       variants.
+       * gimple-low.c (lower_function_body): Remove old location code.
+       * toplev.c (unknown_location): Remove.
+       (push_srcloc): Remove old-location variant.
+       (process_options): Remove old location code.
+       (lang_dependent_init): Likewise.
+       * input.h (UNKNOWN_LOCATION): Move definition.
+       (location_t): Undeprecate.
+       (source_locus): Remove.
+       (location_from_locus): Remove.
+       (struct location_s): Remove.
+       Remove all old-location code.
+       (input_line, input_filename): Remove.
+       * final.c (final_scan_insn): Remove old location code.
+       * diagnostic.c (diagnostic_build_prefix): Remove
+       USE_MAPPED_LOCATION test.
+       * tree.h (gimple_stmt) <locus>: Now a location_t.
+       (tree_exp) <locus>: Likewise.
+       (DECL_IS_BUILTIN): Remove old-location variant.
+       (annotate_with_file_line, annotate_with_locus): Likewise.
+       (expr_locus, set_expr_locus): Update.
+       * tree.c (build1_stat): Remove old location code.
+       (last_annotated_node): Remove.
+       (annotate_with_file_line): Remove old-location variant.
+       (annotate_with_locus): Likewise.
+       (expr_location): Remove old location code.
+       (set_expr_location): Likewise.
+       (expr_has_location): Likewise.
+       (expr_locus): Likewise.
+       (set_expr_locus): Likewise.
+       (expr_filename): Don't use location_from_locus.
+       (expr_lineno): Likewise.
+       * rtl-error.c (location_for_asm): Remove old location code.
+       * c-lex.c (cb_line_change): Remove old location code.
+       (fe_file_change): Likewise.
+       (cb_def_pragma): Likewise.
+       (c_lex_with_flags): Likewise.
+       * gengtype.c (do_typedef): Don't special-case location types.
+       (define_location_structures): Remove.
+       (main): Don't call define_location_structures.
+       * tree-pretty-print.c (dump_implicit_edges): Remove old location
+       code.
+
+2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+        PR 26264
+       * builtins.def (BUILT_IN_STDARG_START): Remove.
+       * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START.
+       * tree-stdarg.c (execute_optimize_stdarg): Likewise.
+       * tree-inline.c (inline_forbidden_p_1): Likewise.
+       
+2008-02-26  Richard Guenther  <rguenther@suse.de>
+
+       * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
+       * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
+       (lookup_decl_from_uid): Declare.
+       (remove_decl_from_map): Likewise.
+       * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
+       * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
+       (decl_for_uid_map): New global hashtable mapping DECL_UID
+       to the decl tree.
+       (init_ttree): Allocate it.
+       (insert_decl_to_uid_decl_map): New helper function.
+       (make_node_stat): Insert new decls into the map.
+       (copy_node_stat): Likewise.
+       (lookup_decl_from_uid): New function.
+       (remove_decl_from_map): Likewise.
+       (print_decl_for_uid_map_statistics): New helper.
+       (dump_tree_statistics): Call it.
+
+       * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
+       (referenced_var_iterator): Adjust.
+       (FOR_EACH_REFERENCED_VAR): Adjust.
+       (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
+       (num_referenced_vars): Adjust.
+       * tree-flow-inline.h (gimple_referenced_vars): Adjust.
+       (first_referenced_var): Remove.
+       (end_referenced_vars_p): Likewise.
+       (next_referenced_var): Likewise.
+       (referenced_var_iterator_set): New helper function.
+       * tree-dfa.c (referenced_var_lookup): Adjust.
+       (referenced_var_check_and_insert): Likewise.
+       (remove_referenced_var): Likewise.
+       * tree-ssa.c (verify_flow_insensitive_alias_info): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (verify_call_clobbering): Likewise.
+       (verify_memory_partitions): Likewise.
+       (init_tree_ssa): Allocate bitmap instead of hashtable for
+       referenced_vars.
+       (delete_tree_ssa): Adjust.
+       * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (compute_tag_properties): Likewise.
+       (set_initial_properties): Likewise.
+       (find_partition_for): Likewise.
+       (update_reference_counts): Likewise.
+       (dump_may_aliases_for): Likewise.
+       * tree-ssa-operands.c (add_virtual_operand): Likewise.
+       (add_call_clobber_ops): Likewise.
+       (add_call_read_ops): Likewise.
+       (get_asm_expr_operands): Likewise.
+       * tree-into-ssa.c (dump_decl_set): Likewise.
+       (update_ssa): Likewise.
+       * tree-sra.c (scan_function): Likewise.
+       (decide_instantiations): Likewise.
+       (scalarize_parms): Likewise.
+       * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
+       (dsa_named_for): Likewise.
+       * tree-ssa-structalias.c (update_alias_info): Likewise.
+       (merge_smts_into): Likewise.
+
+2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR 34351
+       * doc/invoke.texi (-Wall): Add -Wvolatile-register-var.
+       * c-opts.c (c_common_handle_option): Wall enables
+       Wvolatile-register-var.
+       * common.opt: Move Wvolatile-register-var to...
+       * c.opt: ...here.
+       
+2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * common.opt (Wlarger-than=): New.
+       * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with
+       -Wlarger-than=.
+       * opts.c (common_handle_option): Handle -Wlarger-than=.
+       * optc-gen.awk: Likewise.
+       * opth-gen.awk: Likewise.
+       * stor-layout.c (layout_decl): Use -Wlarger-than= for warning.
+       * tree-optimize.c (tree_rest_of_compilation): Likewise.
+       
+2008-02-26  Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+       * c-common.c (match_case_to_enum_1): Add appropriate
+       OPT_W* parameter to warning.
+       (c_do_switch_warnings): Likewise.
+       * c-typeck.c (warning_init): Add one more parameter following
+       'warning' function.
+       (push_init_level): Update call to warning_init.
+       (pop_init_level): Likewise.
+       (add_pending_init): Likewise.
+       (output_init_element: Likewise.
+
+2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR 28322
+       * toplev.c (toplev_main): If there are warnings or error, print
+       errors for ignored options.
+       * opts.c (ignored_options): New static variable.
+       (postpone_unknown_option_error): New.
+       (print_ignored_options): New.
+       (handle_option): Postpone errors for unknown -Wno-* options.
+       * opts.h (print_ignored_options): Declare.
+       
+2008-02-25  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * config/mips/mips.md (loadgp_blockage, blockage): Change type
+       to "ghost".
+
+2008-02-25  Richard Guenther  <rguenther@suse.de>
+
+       Revert:
+       2008-02-25  Richard Guenther  <rguenther@suse.de>
+
+       * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
+       * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
+       (lookup_decl_from_uid): Declare.
+       * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
+       * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
+       (decl_for_uid_map): New global hashtable mapping DECL_UID
+       to the decl tree.
+       (init_ttree): Allocate it.
+       (insert_decl_to_uid_decl_map): New helper function.
+       (make_node_stat): Insert new decls into the map.
+       (copy_node_stat): Likewise.
+       (lookup_decl_from_uid): New function.
+       (print_decl_for_uid_map_statistics): New helper.
+       (dump_tree_statistics): Call it.
+
+       * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
+       (referenced_var_iterator): Adjust.
+       (FOR_EACH_REFERENCED_VAR): Adjust.
+       (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
+       (num_referenced_vars): Adjust.
+       * tree-flow-inline.h (gimple_referenced_vars): Adjust.
+       (first_referenced_var): Remove.
+       (end_referenced_vars_p): Likewise.
+       (next_referenced_var): Likewise.
+       (referenced_var_iterator_set): New helper function.
+       * tree-dfa.c (referenced_var_lookup): Adjust.
+       (referenced_var_check_and_insert): Likewise.
+       (remove_referenced_var): Likewise.
+       * tree-ssa.c (verify_flow_insensitive_alias_info): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (verify_call_clobbering): Likewise.
+       (verify_memory_partitions): Likewise.
+       (init_tree_ssa): Allocate bitmap instead of hashtable for
+       referenced_vars.
+       (delete_tree_ssa): Adjust.
+       * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (compute_tag_properties): Likewise.
+       (set_initial_properties): Likewise.
+       (find_partition_for): Likewise.
+       (update_reference_counts): Likewise.
+       (dump_may_aliases_for): Likewise.
+       * tree-ssa-operands.c (add_virtual_operand): Likewise.
+       (add_call_clobber_ops): Likewise.
+       (add_call_read_ops): Likewise.
+       (get_asm_expr_operands): Likewise.
+       * tree-into-ssa.c (dump_decl_set): Likewise.
+       (update_ssa): Likewise.
+       * tree-sra.c (scan_function): Likewise.
+       (decide_instantiations): Likewise.
+       (scalarize_parms): Likewise.
+       * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
+       (dsa_named_for): Likewise.
+       * tree-ssa-structalias.c (update_alias_info): Likewise.
+       (merge_smts_into): Likewise.
+
+2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR fortran/29549
+       * doc/invoke.texi (-fcx-limited-range): Document new option.
+       * toplev.c (process_options): Handle -fcx-fortran-rules.
+        * common.opt: Add documentation for -fcx-fortran-rules.
+
+2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR c/35162
+       * doc/invoke.texi (-fcx-limited-range): Correct to be in line with
+       actual behaviour and C99.
+       
+2008-02-26  Ben Elliston  <bje@au.ibm.com>
+
+       * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define.
+       (ASM_CPU_POWER6_SPEC): Likewise.
+       (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5.
+       Likewise, pass %(asm_cpu_power6) for -mcpu=power6.
+       (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings.
+
+2008-02-25  Richard Guenther  <rguenther@suse.de>
+
+       * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
+       * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
+       (lookup_decl_from_uid): Declare.
+       * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
+       * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
+       (decl_for_uid_map): New global hashtable mapping DECL_UID
+       to the decl tree.
+       (init_ttree): Allocate it.
+       (insert_decl_to_uid_decl_map): New helper function.
+       (make_node_stat): Insert new decls into the map.
+       (copy_node_stat): Likewise.
+       (lookup_decl_from_uid): New function.
+       (print_decl_for_uid_map_statistics): New helper.
+       (dump_tree_statistics): Call it.
+
+       * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
+       (referenced_var_iterator): Adjust.
+       (FOR_EACH_REFERENCED_VAR): Adjust.
+       (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
+       (num_referenced_vars): Adjust.
+       * tree-flow-inline.h (gimple_referenced_vars): Adjust.
+       (first_referenced_var): Remove.
+       (end_referenced_vars_p): Likewise.
+       (next_referenced_var): Likewise.
+       (referenced_var_iterator_set): New helper function.
+       * tree-dfa.c (referenced_var_lookup): Adjust.
+       (referenced_var_check_and_insert): Likewise.
+       (remove_referenced_var): Likewise.
+       * tree-ssa.c (verify_flow_insensitive_alias_info): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (verify_call_clobbering): Likewise.
+       (verify_memory_partitions): Likewise.
+       (init_tree_ssa): Allocate bitmap instead of hashtable for
+       referenced_vars.
+       (delete_tree_ssa): Adjust.
+       * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (compute_tag_properties): Likewise.
+       (set_initial_properties): Likewise.
+       (find_partition_for): Likewise.
+       (update_reference_counts): Likewise.
+       (dump_may_aliases_for): Likewise.
+       * tree-ssa-operands.c (add_virtual_operand): Likewise.
+       (add_call_clobber_ops): Likewise.
+       (add_call_read_ops): Likewise.
+       (get_asm_expr_operands): Likewise.
+       * tree-into-ssa.c (dump_decl_set): Likewise.
+       (update_ssa): Likewise.
+       * tree-sra.c (scan_function): Likewise.
+       (decide_instantiations): Likewise.
+       (scalarize_parms): Likewise.
+       * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
+       (dsa_named_for): Likewise.
+       * tree-ssa-structalias.c (update_alias_info): Likewise.
+       (merge_smts_into): Likewise.
+
+2008-02-25  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       PR target/35258
+       * cse.c (cse_insn): Avoid creation of overlapping MEMs.
+       * alias.c (nonoverlapping_memrefs_p): Export for use in other modules.
+       * alias.h (nonoverlapping_memrefs_p): Likewise.
+
+2008-02-25  Jan Beulich  <jbeulich@novell.com>
+
+       * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T).
+       * config/i386/netware-libgcc.exp: Add __bswap?i2,
+       __emultls_get_address, __emultls_register_common,
+       __floatundi?f, and _Unwind_GetIPInfo.
+       * config/i386/netware.c (gen_stdcall_or_fastcall_decoration):
+       Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix().
+       (gen_regparm_prefix): Likewise.
+       (i386_nlm_encode_section_info): Sync with
+       config/i386/winnt.c:i386_pe_encode_section_info().
+       (i386_nlm_maybe_mangle_decl_assembler_name): New.
+       i386_nlm_mangle_decl_assembler_name): New.
+       (netware_override_options): New.
+       * config/i386/netware.h (netware_override_options): Declare.
+       (OVERRIDE_OPTIONS): Re-define to netware_override_options.
+       (i386_nlm_mangle_decl_assembler_name): Declare.
+       (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define.
+
 2008-02-25  Ben Elliston  <bje@au.ibm.com>
 
        PR other/32948