OSDN Git Service

* config/spu/spu-elf.h (STANDARD_STARTFILE_PREFIX_2): Disable default.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ac94fbc..6c45e49 100644 (file)
@@ -1,3 +1,146 @@
+2008-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu-elf.h (STANDARD_STARTFILE_PREFIX_2): Disable default.
+       (STANDARD_INCLUDE_DIR): Redefine to "/include".
+       (LOCAL_INCLUDE_DIR): Undefine.
+       * config/spu/t-spu-elf (NATIVE_SYSTEM_HEADER_DIR): Define.
+
+2008-11-14  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR rtl-optimization/37397
+       * ira-int.h (struct ira_allocno): New member bad_spill_p.
+       (ALLOCNO_BAD_SPILL_P): New macro.
+
+       * ira-color.c (push_allocnos_to_stack): Check ALLOCNO_BAD_SPILL_P.
+
+       * ira-build.c (ira_create_allocno): Initialize
+       ALLOCNO_BAD_SPILL_P.
+       (create_cap_allocno, propagate_allocno_info,
+       remove_unnecessary_allocnos): Set up or update
+       ALLOCNO_BAD_SPILL_P.
+       (update_bad_spill_attribute): New function.
+       (ira_build): Call it.
+
+       * ira-costs.c (record_reg_classes): Set up ALLOCNO_BAD_SPILL_P.
+       
+2008-11-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/38104
+       * gimplify.c (gimple_regimplify_operands): Add referenced vars
+       before calling mark_symbols_for_renaming, not after it.
+
+2008-11-14  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.h (OPTIMIZATION_OPTIONS): Revert last change.
+       (OVERRIDE_OPTIONS): Likewise.
+
+2008-11-14  Maxim Kuvyrkov  <maxim@codesourcery.com>
+           Andrew Stubbs  <ams@codesourcery.com>
+           Gunnar Von Boehn  <gunnar@genesi-usa.com>
+
+       PR target/36134
+       * config/m68k/m68k.md (addsi3_5200): Add a new alternative preferring
+       the shorter LEA insn over ADD.L where possible.
+
+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
 
        Revert:
        2008-10-21  Jakub Jelinek  <jakub@redhat.com>
-       * gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from
-       INTEGER_CSTs.
+       * gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs.
 
 2008-11-12  Jason Merrill  <jason@redhat.com>
 
        * 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.