OSDN Git Service

* Makefile.in (OPTS_H): Define.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5607e75..6839f84 100644 (file)
@@ -1,3 +1,180 @@
+2010-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makefile.in (OPTS_H): Define.
+       (c-decl.o, c-family/c-common.o, c-family/c-opts.o,
+       c-family/c-pch.o, c-family/c-pragma.o, gcc.o, gccspec.o,
+       cppspec.o, options.o, gcc-options.o, lto-opts.o, opts.o,
+       opts-common.o, toplev.o, passes.o, matrix-reorg.o,
+       ipa-struct-reorg.o, PLUGIN_HEADERS): Use $(OPTS_H).
+       * gcc.c (driver_handle_option): Take location_t parameter.
+       (process_command, do_self_spec): Update calls to
+       read_cmdline_option.
+       * langhooks-def.h (lhd_handle_option): Take location_t parameter.
+       * langhooks.c (lhd_handle_option): Take location_t parameter.
+       * langhooks.h (handle_option): Take location_t parameter.
+       * lto-opts.c (lto_reissue_options): Update call to set_option.
+       * opts-common.c (handle_option): Make static.  Take location_t
+       parameter and pass it to other functions.
+       (handle_generated_option): Take location_t parameter and pass it
+       to other functions.
+       (read_cmdline_option): Take location_t parameter and pass it to
+       other functions.  Use warning_at and error_at.
+       (set_option): Take location_t parameter and pass it to other
+       functions.
+       * opts.c (common_handle_option): Take location_t parameter and
+       pass it to other functions.
+       (enable_warning_as_error): Make static.  Take location_t parameter
+       and pass it to other functions.
+       (lang_handle_option): Take location_t parameter and pass it to
+       other functions.
+       (target_handle_option): Take location_t parameter.
+       (read_cmdline_options, maybe_default_option,
+       maybe_default_options, default_options_optimization,
+       decode_options): Take location_t parameter and pass it to other
+       functions.
+       * opts.h: Include input.h.
+       (struct cl_option_handler_func, decode_options, set_option,
+       handle_generated_option, read_cmdline_option): Take location_t
+       parameters.
+       (handle_option, enable_warning_as_error): Remove.
+       * toplev.c (toplev_main): Update call to decode_options.
+
+2010-11-12  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+       * graphite-cloog-util.c (oppose_constraint,
+       cloog_matrix_to_ppl_constraint,
+       new_Constraint_System_from_Cloog_Matrix): Explicitly cast to int as
+       CLooG isl uses unsigned integers.  This triggered a warning.
+
+2010-11-12  Joern Rennecke  <amylaar@spamcop.net>
+
+       PR target/46438
+       * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use LCT_NORMAL.
+       (xtensa_setup_frame_addresses, xtensa_trampoline_init): Likewise.
+       (xtensa_function_arg_1): De-constify cum.
+       (xtensa_expand_prologue): Use add_reg_note.
+
+       PR target/46435
+       * config/cris/cris.c (saved_regs_mentioned): Delete.
+       (cris_reload_address_legitimized): Cast itype to enum reload_type.
+       Remove unused variable op0p.
+       (cris_rtx_costs): Cast argument 2 to rtx_cost to enum rtx_code.
+       (cris_emit_movem_store): Use add_reg_note.
+
+       PR bootstrap/46456
+       * cppbuiltin.c (define_builtin_macros_for_type_sizes): Split assert.
+
+2010-11-12  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * function.c (expand_function_end): Set the locator of the prologue on
+       the stack checking insns.
+
+2010-11-12  Richard Henderson  <rth@redhat.com>
+
+       * config.gcc [xtensa] (extra_options): Add fused-madd.opt.
+       * config/xtensa/xtensa.opt (mfused-madd): Remove.
+       * config/xtensa/xtensa.c (TARGET_DEFAULT_TARGET_FLAGS): Remove
+       MASK_FUSED_MADD.
+       * config/xtensa/xtensa.md (fmasf4): Rename from muladdsf3; use fma.
+       (fnmasf4): Rename from mulsubsf3; use fma.
+
+2010-11-12  Joern Rennecke  <amylaar@spamcop.net>
+           Richard Henderson  <rth@redhat.com>
+
+       PR target/46428
+       * config/moxie/moxie.c (moxie_expand_prologue): Remove unused variables.
+       * config/moxie/moxie.h (HARD_REGNO_OK_FOR_BASE_P): Use unsigned
+       comparison.
+
+2010-11-12  Pat Haugen  <pthaugen@us.ibm.com>
+
+       * opts-common.c (decode_cmdline_option): Initialize separate_args.
+
+2010-11-12  Jan Hubicka  <jh@suse.cz>
+
+       * doc/invoke.texi (early-inlining-insns): Update default.
+       * params.def (early-inlining-insns): Default to 10.
+
+2010-11-12  Olivier Hainque  <hainque@adacore.com>
+
+       * config/rs6000/aix.h: #undef TARGET_AIX_OS before #define.
+
+2010-11-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/mips/iris6.h [!IRIX_USING_GNU_LD]
+       (SUPPORTS_INIT_PRIORITY): Define.
+
+2010-11-12  Joern Rennecke  <amylaar@spamcop.net>
+
+       PR target/46430
+       * config/avr/avr-protos.h (avr_return_addr_rtx): Update prototype.
+       * config/avr/driver-avr.c (avr_device_to_arch): Always return value.
+       (avr_device_to_data_start, avr_device_to_startfiles): Likewise.
+       (avr_device_to_devicelib): Likewise.
+       * config/avr/avr.md (zero_extendqihi2): Put variable declarations
+       into block.
+       (zero_extendqisi2, zero_extendhisi2, zero_extendqidi2): Likewise.
+       (zero_extendhidi2, zero_extendsidi2): Likewise.
+       * config/avr/avr.c (avr_num_arg_regs): Constify type.
+       (avr_return_addr_rtx): De-constify tem.
+       (avr_rotate_bytes): Move declarations to start of block.
+       Don't use variable length array.
+       Put nested if/else into block.
+
+       PR rtl-optimization/46433
+       * var-tracking.c: Include tm_p.h .
+
+       PR bootstrap/44756
+       PR build/44767
+       * doc/tm.texi.in (LOCAL_ALIGNMENT): State that the type, if any,
+       should be unsigned.
+       (STACK_SLOT_ALIGNMENT, LOCAL_DECL_ALIGNMENT, PUSH_ROUNDING): Likewise.
+       * doc/tm.texi: Regenerate.
+
+       PR target/46412
+       * config/bfin/bfin-protos.h (bfin_local_alignment): Update prototype.
+       * config/bfin/bfin.c: Include sel-sched.h .
+       (bfin_cpus): Use BFIN_CPU_UNKNOWN for last initializer element.
+       (expand_interrupt_handler_prologue): Remove unused variable insn.
+       (bfin_load_pic_reg): Likewise.
+       (bfin_rtx_costs): Make code / outer_code variables of type
+       enum rtx_code, copied from re-named parameters.
+       (bfin_local_alignment): Change align argument and return type
+       to unsigned.
+       (bfin_adjust_cost): Remove unused variable insn_type.
+       Declare variables at start of block.
+       (struct loop_info): Rename to...
+       (struct loop_info_d).
+       (workaround_rts_anomaly): Change type of icode to int.
+       (harmless_null_pointer_p): Cast REGNO (..) to int before comparison
+       with int-typed variable.
+       (note_np_check_stores): Likewise.
+       (trapping_loads_p): Remove unused variable pat.
+       (bfin_expand_binop_builtin): Use expand_normal.
+       (bfin_expand_unop_builtin): Likewise.
+       (bfin_expand_builtin): Likewise.
+       Set tmode before use.
+
+       PR middle-end/44769
+       * final.c (split_double): Don't use BITS_PER_WORD directly in
+       shift count.
+
+       PR target/46431
+       * config/fr30/fr30.md (*movsf_constant_store): Remove duplicated
+       assignment.
+
+       PR target/46450
+       * config/stormy16/stormy16.c (xstormy16_expand_prologue):
+       Use add_reg_note.
+       (xstormy16_function_arg): Dereference cum.
+       (xstormy16_expand_builtin): Use expand_normal.
+       Change type of omode to enum machine_mode.
+       (combine_bnp): Rename and to and_insn.
+
+       PR target/46437
+       * config/mcore/mcore.c (layout_mcore_frame): Remove unused variable
+       localreg.
+
 2010-11-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR debug/46375