OSDN Git Service

Revert
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 294ad13..8af5e87 100644 (file)
@@ -1,3 +1,323 @@
+2011-02-15  Jeff Law  <law@redhat.com>
+
+       Revert
+       2011-01-25  Jeff Law  <law@redhat.com>
+
+       PR rtl-optimization/37273
+       * ira-costs.c (scan_one_insn): Detect constants living in memory and
+       handle them like argument loads from stack slots.  Do not double
+       count memory for memory constants and argument loads from stack slots.
+
+2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR middle-end/47725
+       * combine.c (cant_combine_insn_p): Revert the last change.
+
+2011-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/47755
+       * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI
+       mode for vector constants.  Remove code that checks for TImode.
+
+2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/47106
+       PR debug/47402
+       * cgraph.h (compute_inline_parameters): Return void.
+       * ipa-inline.c (compute_inline_parameters): Adjust.
+
+2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/47106
+       PR debug/47402
+       * tree-inline.h (estimated_stack_frame_size): Take cgraph node
+       rather than decl.
+       * cfgexpand.c (estimated_stack_frame_size): Likewise.
+       * ipa-inline.c (compute_inline_parameters): Adjust.
+
+2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/47106
+       PR debug/47402
+       * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument.
+       Adjust all users.  Pass FN to...
+       * tree-flow-inline.h (first_referenced_var): ... this.  Add
+       fn argument.
+       * ipa-struct-reorg.c: Adjust.
+       * tree-dfa.c: Adjust.
+       * tree-into-ssa.c: Adjust.
+       * tree-sra.c: Adjust.
+       * tree-ssa-alias.c: Adjust.
+       * tree-ssa-live.c: Adjust.
+       * tree-ssa.c: Adjust.
+       * tree-ssanames.c: Adjust.
+       * tree-tailcall.c: Adjust.
+
+2011-02-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/47106
+       PR debug/47402
+       * tree-flow.h (referenced_var_lookup): Add fn parameter.
+       Adjust all callers.
+       * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun.
+       * tree-flow-inline.h: Adjust.
+       * gimple-pretty-print.c: Adjust.
+       * tree-into-ssa.c: Adjust.
+       * tree-ssa.c: Adjust.
+       * cfgexpand.c: Adjust.
+
+2011-02-15  Nathan Froyd  <froydnj@codesourcery.com>
+
+        * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete.
+        (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
+        (EXTRA_CONSTRAINT): Delete.
+        * config/iq2000/constraints.md: New file.
+        * config/iq2000/iq2000.md: Include it.
+       (define_insn ""): Delete.
+       (movsi_internal2, movhi_internal2, movqi_internal2): Delete
+       unsupported constraint letters from patterns.
+       (call_value, call_value_internal1): Likewise.
+       (call_value_multiple_internal1): Likewise.
+
+2011-02-15  Nick Clifton  <nickc@redhat.com>
+
+       * config/mn10300/mn10300.c: Include tm-constrs.h.
+       (struct liw_data): New data structure describing an LIW candidate
+       instruction.
+       (extract_bundle): Use struct liw_data.  Allow small integer
+       operands for some instructions.
+       (check_liw_constraints): Use struct liw_data.  Remove swapped
+       parameter.  Add comments describing the checks.  Fix bug when
+       assigning the source of liw1 to the source of liw2.
+       (liw_candidate): Delete.  Code moved into extract_bundle.
+       (mn10300_bundle_liw): Use struct liw_data.  Check constraints
+       before swapping.
+       * config/mn10300/predicates.md (liw_operand): New predicate.
+       Allows registers and small integer constants.
+       * config/mn10300/constraints.md (O): New constraint.  Accetps
+       integers in the range -8 to +7 inclusive.
+       * config/mn10300/mn10300.md (movesi_internal): Add an alternative
+       for moving a small integer into a register.  Give this alternative
+       LIW attributes.
+       (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise.
+       (ashlsi3): Likewise, plus give LIW attributes to the alternatives
+       using the J,K,L and M constraints,
+       (liw): Remove SI mode on second operands to allow for HI and QI
+       mode values.
+       (cmp_liw, liw_cmp): Likewise.  Plus fix order of operands in the
+       instruction.
+
+2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR middle-end/47725
+       * combine.c (cant_combine_insn_p): Check zero/sign extended
+       hard registers.
+
+2011-02-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47743
+       * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number
+       for a non-type-compatible VN lookup bail out.
+
+2011-02-15  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/fr30/constraints.md: New file.
+       * config/fr30/fr30.md: Include it.
+       * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete.
+       (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
+       (EXTRA_CONSTRAINT): Delete.
+
+2011-02-15  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/frv/constraints.md: New file.
+       * config/frv/predicates.md: Include it.
+       * config/frv/frv.c (reg_class_from_letter): Delete.
+       (frv_option_override): Don't initialize it.
+       * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete.
+       (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete.
+       (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete.
+       (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
+       (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete.
+       (CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
+       (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete.
+       (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete.
+       (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete.
+       (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete.
+       (REG_CLASS_FROM_CONSTRAINT): Delete.
+
+2011-02-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/47581
+       * config/i386/i386.c (ix86_compute_frame_size): Don't align offset
+       if frame size is 0 in a leaf function.
+
+2011-02-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR pch/14940
+       * config/alpha/host-osf.c: New file.
+       * config/alpha/x-osf: New file.
+       * config.host (alpha*-dec-osf*): Use it.
+
+2011-02-14  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
+       * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove.
+       * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to...
+       (rx_mode_dependent_address_p): ...this. Make static. Change argument
+       type to const_rtx.
+       (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
+
+2011-02-14  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/stormy16/constraints.md: New file.
+       * config/stormy16/predicates.md (nonimmediate_nonstack_operand):
+       Use satisfies_constraint_Q and satisfies_constraint_R.
+       * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p):
+       Delete.
+       (xstormy16_legitiamte_address_p): Declare.
+       * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete.
+       (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
+       (EXTRA_CONSTRAINT): Delete.
+       * config/stormy16/stormy16.c (xstormy16_legitiamte_address_p):
+       Un-staticize.
+       (xstormy16_extra_constraint_p): Delete.
+
+2011-02-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR tree-optimization/46494
+       * loop-unroll.c (split_edge_and_insert): Adjust comment.
+       * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info.
+       (pass_rtl_loop_done): Add TODO_verify_flow.
+       * fwprop.c (pass_rtl_fwprop): Likewise.
+       * modulo-sched.c (pass_sms): Likewise.
+       * tree-ssa-dom.c (pass_dominator): Likewise.
+       * tree-ssa-loop-ch.c (pass_ch): Likewise.
+       * tree-ssa-loop.c (pass_complete_unrolli): Likewise.
+       (pass_tree_loop_done): Likewise.
+       * tree-ssa-pre.c (execute_pre): Likewise.
+       * tree-ssa-reassoc.c (pass_reassoc): Likewise.
+       * tree-ssa-sink.c (pass_sink_code): Likewise.
+       * tree-vrp.c (pass_vrp): Likewise.
+
+2011-02-14  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/v850/constraints.md: New file.
+       * config/v850/v850.md: Include it.
+       * config/v850/predicates.md (reg_or_0_operand): Use
+       satisfies_constraint_G.
+       (special_symbolref_operand): Use satisfies_constraint_K.
+       * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p.
+       (GO_IF_LEGITIMATE_ADDRESS): Likewise.
+       (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete.
+       (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
+       (EXTRA_CONSTRAINT): Delete.
+       (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint.
+       (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise.
+       (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise.
+
+2011-02-14  Anatoly Sokolov  <aesok@post.ru>
+
+       PR target/47696
+       * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device
+       description.
+
+2011-02-14  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/mcore/constraints.md: New file.
+       * config/mcore/mcore.md: Include it.
+       * config/mcore/mcore.c (reg_class_from_letter): Delete.
+       * config/mcore/mcore.h (reg_class_from_letter): Delete.
+       (REG_CLASS_FROM_LETTER): Delete.
+       (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use
+       insn_const_int_ok_for_constraint.
+       (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise.
+       (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise.
+       (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
+       (EXTRA_CONSTRAINT): Delete.
+
+2011-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR ada/41929
+       * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h>
+       (IS_SIGHANDLER): Define.
+       (sparc64_is_sighandler): New function, split off from
+       sparc64_fallback_frame_state.
+       (sparc_is_sighandler): New function, split off from
+       sparc_fallback_frame_state.
+       (sparc64_fallback_frame_state): Merge with ...
+       (sparc_fallback_frame_state): ... this into ...
+       (MD_FALLBACK_FRAME_STATE_FOR): ... this.
+       Change new_cfa to long.
+       Remove regs_off, fpu_save_off, fpu_save.
+       Define nframes, mctx.
+       Use IS_SIGHANDLER, handler_args, mctx, walk stack instead of
+       hardcoded offsets.
+
+2011-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * go/gccgo.texi (Top, Import and Export): Fix a typo and a
+       markup nit.
+
+2011-02-14  Andriy Gapon <avg@freebsd.org>
+
+       PR target/45808
+       * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2011-02-12  Joseph Myers  <joseph@codesourcery.com>
+
+       PR driver/45731
+       * gcc.c (asm_options): Correct spec matching --target-help.
+
+2011-02-12  Martin Jambor  <mjambor@suse.cz>
+
+       * tree-cfg.c (verify_gimple_call): Return true upon invalid argument
+       to gimple call error.
+
+2011-02-12  Mike Stump  <mikestump@comcast.net>
+
+       * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize
+       comments in backslash regions.
+
+2011-02-12  Mike Stump  <mikestump@comcast.net>
+           Jakub Jelinek  <jakub@redhat.com>
+           Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR target/47324
+       * dwarf2out.c (output_cfa_loc): When required, apply the
+       DWARF2_FRAME_REG_OUT macro to adjust register numbers.
+       (output_loc_sequence): Likewise.
+       (output_loc_operands_raw): Likewise.
+       (output_loc_sequence_raw): Likewise.
+       (output_cfa_loc): Likewise.
+       (output_loc_list): Suppress register number adjustment when
+       calling output_loc_sequence()
+       (output_die): Likewise.
+
+2011-02-12  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
+       Remove macros.
+       * config/xtensa/xtensa.c (xtensa_register_move_cost,
+       xtensa_memory_move_cost): New functions.
+       (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define.
+
+2011-02-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR lto/47225
+       * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la
+       in the current directory.
+       * configure: Rebuilt.
+
+2011-02-12  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin.c (darwin_override_options): Add a hunk missed
+       from the commit of r168571.  Trim comment line lengths and 
+       correct indents of the preceding block.
+
 2011-02-12  Iain Sandoe  <iains@gcc.gnu.org>
 
        * gcc.c (driver_handle_option): Concatenate the argument to -F with