OSDN Git Service

2008-11-14 Thomas Schwinge <tschwinge@gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d3c41b1..4d33ff3 100644 (file)
@@ -1,3 +1,296 @@
+2008-11-14  Thomas Schwinge  <tschwinge@gnu.org>
+
+       * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd
+       systems, which are assumend to always provide SSP-support in glibc.
+       * configure: Regenerate.
+
+       * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD,
+       GNU/kNetBSD systems in the `*-*-linux*' case.
+       * configure: Regenerate.
+
+2008-11-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/36125
+       * function.c (gimplify_parameters): For callee copies parameters,
+       move TREE_ADDRESSABLE flag from the PARM_DECL to the local copy.
+
+2008-11-13  Thomas Schwinge  <tschwinge@gnu.org>
+
+       PR target/28102
+       * config.gcc (*-*-gnu*): Move Alpha parts into the `alpha*-*-gnu*', x86
+       parts into the `i[34567]86-*-linux*' and parts that are independent of
+       the processor architecture into the `*-*-linux*' cases.
+       (*-*-linux*): Consider `linux.opt' only for Linux-based configurations.
+       * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Redefine.
+       (TARGET_OS_CPP_BUILTINS, LINK_SPEC): Don't redefine.
+       [TARGET_LIBC_PROVIDES_SSP] (TARGET_THREAD_SSP_OFFSET): Undefine.
+       * config/gnu.h (NO_IMPLICIT_EXTERN_C): Don't redefine.
+       (HURD_TARGET_OS_CPP_BUILTINS): Don't define, but instead...
+       (LINUX_TARGET_OS_CPP_BUILTINS): Redefine.
+
+2008-11-13  Ruan Beihong  <ruanbeihong@gmail.com>
+
+       * config/mips/loongson.md (<u>div<mode>3, <u>mod<mode>3): New patterns.
+       * config/mips/loongson2ef.md (ls2_imult): Handle imul3nc.
+       (ls2_idiv): Likewise idiv3.
+       (ls2_prefetch): New reservation.
+       * config/mips/mips.h (ISA_HAS_PREFETCH): Add TARGET_LOONGSON_2EF.
+       * config/mips/mips.md (type): Add imul3nc and idiv3.
+       (length): Handle idiv3.
+       (any_mod): New code_iterator.
+       (u): Handle MOD and UMOD.
+       (mul<mode>3): Generate mul<mode>3_mul3_ls2ef on Loongson targets.
+       (prefetch): Handle TARGET_LOONGSON_2EF.
+
+2008-11-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/27017
+       * dwarf2out.c (prune_unused_types_walk_local_classes): New function.
+       (prune_unused_types_walk): Call it for non-perennial local classes.
+       Set die_mark to 2 if recursing on children.  If die_mark is 1 on
+       entry, just set it to 2 and recurse on children, don't walk attributes
+       again.
+
+2008-11-13  Martin Michlmayr  <tbm@cyrius.com>
+
+       * c-common.c (warn_about_parentheses): Add missing whitespace
+       in warning.
+
+2008-11-13  Paul Brook  <paul@codesourcery.com>
+
+       * doc/invoke.texi: Document --fix-cortex-m3.
+       * config/arm/arm.c (arm_override_options): Set fix_cm3_ldrd if
+       Cortex-M3 cpu is selected.
+       (output_move_double): Avoid overlapping base register and first
+       destination register when fix_cm3_ldrd.
+       * config/arm/arm.opt: Add mfix-cortex-m3-ldrd.
+
+2008-11-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/38100
+       * gimple.h (gimple_range_check_failed): Remove prototype.
+       * gimple.c (gimple_check_failed): Don't check GCC_VERSION
+       in guarding #if.
+       (gimple_range_check_failed): Removed.
+
+2008-11-13  Andrew Haley  <aph@redhat.com>
+
+       PR bootstrap/38088
+       * mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific
+       __LONG_LONG_MAX__.
+
+2008-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/36478
+       Revert:
+       2007-05-07  Mike Stump  <mrs@apple.com>
+       * doc/invoke.texi (Warning Options): Document that -Wempty-body
+       also checks for and while statements in C++.
+
+2008-11-12  Dodji Seketeli  <dodji@redhat.com>
+
+       PR debug/27574
+       * cgraph.h: New abstract_and_needed member to struct cgraph_node.
+       * cgraphunit.c (cgraph_analyze_functions): Flag abstract functions
+       - which clones are reachable - as "abstract and needed".
+       * cgraph.c (cgraph_release_function_body):  If a node is
+       "abstract and needed", do not release its DECL_INITIAL() content
+       that will be needed to emit debug info.
+
+2008-11-12  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/27880
+       * configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Use this macro
+       to set HAVE_GETIPINFO.
+       * aclocal.m4: Include ../config/unwind_ipinfo.m4.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2008-11-12  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       PR bootstrap/38010
+       * gcc/config.gcc: Use darwin9.h on darwin10 as well.
+
+2008-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       Revert:
+       2008-10-21  Jakub Jelinek  <jakub@redhat.com>
+       * gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs.
+
+2008-11-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/38007
+       * c-common.c (c_common_signed_or_unsigned_type): Remove C++
+       special casing.
+
+2008-11-12  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/avr/avr.c (avr_mcu_t): Add atmega16hvb, atmega32hvb,
+       atmega4hvd, atmega8hvd, atmega64c1, atmega64m1, atmega16u4 and
+       atmega32u6 devices.
+       * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
+       * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
+
+2008-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gcc/config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Remove
+       packed-stack special handling.
+       (FRAME_ADDR_RTX): Add definition.
+
+2008-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/35366
+       * fold-const.c (native_encode_string): New function.
+       (native_encode_expr): Use it for STRING_CST.
+
+2008-11-12  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/cond.md (cond_to_int peephole2): Don't eliminate the
+       insns if the intermediate value will be used later.
+
+2008-11-12  Andreas Schwab  <schwab@suse.de>
+
+       * config/m68k/m68k.c (print_operand): Mask off extra extension
+       bits when writing out the representation of real values.
+
+2008-11-12  Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-optimization/38079
+       * tree-vect-analyze.c (vect_analyze_data_refs): Replace dump_file
+       with vect_dump.
+
+2008-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/35334
+       * c-pretty-print.c (pp_c_complex_expr): New function.
+       (pp_c_postfix_expression) <case COMPLEX_EXPR>: Call it.
+
+       PR target/35366
+       * expr.c (expand_expr_addr_expr_1): If EXP needs bigger alignment
+       than INNER and INNER is a constant, forcibly align INNER as much
+       as needed.
+
+2008-11-11  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * cse.c (fold_rtx): Remove redundant gen_rtx_CONST.
+
+2008-11-11  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR rtl-optimization/37363
+       * simplify-rtx.c (simplify_plus_minus): Don't create (const (minus ...))
+       expresisons.
+
+2008-11-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO
+       handling.
+
+2008-11-10  Catherine Moore  <clm@codesourcery.com>
+
+       * config.gcc (mips64vrel-*-elf*): Include the tm_file
+       prior to vr.h.
+       * config/mips/linux.h (LINUX_DRIVER_SELF_SPECS): New.
+       (BASE_DRIVER_SELF_SPECS): Remove.
+       (DRIVER_SELF_SPECS): New definition.
+       * config/mips/elfoabi.h: (DRIVER_SELF_SPECS): Include
+       BASE_DRIVER_SELF_SPECS.
+       * config/mips/sde.h: Likewise.
+       * config/mips/iris6.h: Likewise.
+       * config/mips/vr.h: Likewise.
+       * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): New. 
+
+2008-11-10  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR rtl-optimizations/37948
+       * ira-int.h (struct ira_allocno_copy): New member constraint_p.
+       (ira_create_copy, ira_add_allocno_copy): New parameter.
+
+       * ira-conflicts.c (process_regs_for_copy): New parameter.  Pass it
+       to ira_add_allocno_copy.
+       (process_reg_shuffles, add_insn_allocno_copies): Pass a new
+       parameter to process_regs_for_copy.
+       (propagate_copies): Pass a new parameter to ira_add_allocno_copy.
+       Fix typo in passing second allocno to ira_add_allocno_copy.
+
+       * ira-color.c (update_conflict_hard_regno_costs): Use head of
+       coalesced allocnos list.
+       (assign_hard_reg): Ditto.  Check that assigned allocnos are not in
+       the graph.
+       (add_ira_allocno_to_bucket): Rename to add_allocno_to_bucket.
+       (add_ira_allocno_to_ordered_bucket): Rename to
+       add_allocno_to_ordered_bucket.
+       (push_ira_allocno_to_stack): Rename to push_allocno_to_stack.  Use
+       head of coalesced allocnos list.
+       (push_allocnos_to_stack): Remove calculation of ALLOCNO_TEMP.
+       Check that it is aready calculated.
+       (push_ira_allocno_to_spill): Rename to push_ira_allocno_to_spill.
+       (setup_allocno_left_conflicts_num): Use head of coalesced allocnos
+       list.
+       (coalesce_allocnos): Do extended coalescing too.
+
+       * ira-emit.c (add_range_and_copies_from_move_list): Pass a new
+       parameter to ira_add_allocno_copy.
+
+       * ira-build.c (ira_create_copy, ira_add_allocno_copy): Add a new
+       parameter.
+       (print_copy): Print copy origination too.
+
+       * ira-costs.c (scan_one_insn): Use alloc_pref for load from
+       equivalent memory.
+       
+2008-11-10  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR rtl-optimization/37514
+       * config/sh/sh.h (OPTIMIZATION_OPTIONS): Set
+       flag_ira_share_spill_slots to 2 if it's already non-zero.
+       (OVERRIDE_OPTIONS): Clear flag_ira_share_spill_slots if
+       flag_ira_share_spill_slots is 2.
+
+2008-11-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2.
+       (prologue_enter_32): Set FB to SP - 4.
+
+2008-11-10  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add ImB
+       constraint for single-bit-clear in lower byte of HI constant, vs
+       Imb which just ignores the upper byte.
+       * config/m32c/predicates.md (m32c_1mask8_operand): Use it.
+       * config/m32c/bitops.md (andhi3_16, andhi3_24): Use it.
+       (iorhi3_16): Check for single bit set, not single bit clear.
+
+2008-11-10  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/sourcebuild.texi (Torture Tests): Fix formatting for bullets.
+
+       * doc/sourcebuild.texi (Torture Tests): Fix formatting in example.
+
+2008-11-10  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * calls.c (store_unaligned_arguments_into_pseudos): Deal only with
+       values living in memory and use more precise alignment information.
+
+2008-11-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/35314
+       * tree-mudflap.c (mf_build_check_statement_for): Split then_block
+       after __mf_check call if the call must end a bb.
+
+2008-11-10  Ralph Loader  <suckfish@ihug.co.nz>
+
+       PR middle-end/37807
+       PR middle-end/37809
+       * combine.c (force_to_mode): Do not process vector types.
+
+       * rtlanal.c (nonzero_bits1): Do not process vector types.
+       (num_sign_bit_copies1): Likewise.
+
+2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
+
+       * config/i386/gnu.h: Add copyright and licensing header.
+       * config/gnu.h: Likewise.
+
 2008-11-07  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        * fwprop.c (fwprop_done): Call df_remove_problem.