OSDN Git Service

2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 2f80c36..40a5823 100644 (file)
@@ -1,3 +1,135 @@
+2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR driver/34904
+       * gcc.c (SWITCH_OK): Removed.
+       (SWITCH_LIVE): Changed to bit.
+       (SWITCH_FALSE): Likewise.
+       (SWITCH_IGNORE): Likewise.
+       (switchstr): Change live_cond to unsigned int.
+       (process_command): Replace SWITCH_OK with 0.
+       (do_self_spec): Likewise.
+       (set_collect_gcc_options): Check the SWITCH_IGNORE bit.
+       (give_switch): Likewise.
+       (used_arg): Likewise.
+       (do_spec_1): Set the SWITCH_IGNORE bit.
+       (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
+       bits.  Set the SWITCH_LIVE bit.
+
+2008-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.h (MOVE_RATIO): Define new target macro.
+
+2008-01-24  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR tree-optimization/34472
+       * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA
+       parameter to a "bool *" and set *DATA to false if there is
+       an unsafe access.  Do not delete the structure here.
+       (check_cond_exprs): Delete it here instead.
+       (check_cond_exprs, exclude_cold_structs): Do not increase
+       I when removing a structure.
+
+2008-01-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/34856
+       * config/i386/i386.c (ix86_expand_vector_init): Consider only
+       CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements.
+
+2008-01-24  Jakub Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/34934
+       * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of
+       a fixed vector for stack.
+
+2008-01-24  Ben Elliston  <bje@au.ibm.com>
+
+       PR c++/25701
+       * doc/gcc.texi (Software development): Add a direntry for g++.
+       
+2008-01-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop
+       stale and straggling -fforce-addr comments above.
+
+       * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't
+       define.
+       * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define.
+       * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define.
+
+2008-01-23  Michael Matz  <matz@suse.de>
+
+       PR debug/34895
+       * dwarf2out.c (force_type_die): Use modified_type_die instead of
+       gen_type_die.
+
+2008-01-23  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * ipa-struct-reorg.c (create_new_malloc): Use pointer type as
+       malloc result type.
+
+2008-01-23 Anatoly Sokolov <aesok@post.ru>
+
+       * config/avr/avr.c (avr_current_arch): New variable.
+       (avr_arch_types): Add 'avr31' and 'avr51' entries.
+       (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'.
+       (avr_mcu_types): Add 'avr31' and 'avr51' architectures.
+       (avr_override_options): Init 'avr_current_arch'. 
+       (base_arch_s): Move from here...
+       * config/avr/avr.h (base_arch_s): ... here. Add new members 
+       'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename 
+       'mega' to 'have_jmp_call'.
+       (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__", 
+       "__AVR_HAVE_RAMPZ__",   "__AVR_HAVE_ELPM__" and  "__AVR_HAVE_ELPMX__"
+       macros.
+       (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51' 
+       architectures.
+       * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, 
+       MULTILIB_MATCHES): (Ditto.).
+
+2008-01-23  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/31529
+       * cgraphunit.c (cgraph_reset_node): Always mark the node
+       not reachable if it is not queued already.
+
+2008-01-23  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
+       * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere.
+       (cputype_selected): New static variable.
+       (bfin_handle_option): Set it if -mcpu is used.
+       (override_option): Select default set of workarounds if no cpu type
+       selected on the command line.
+       (workaround_rts_anomaly): Only run if ENABLE_WA_RETS.
+
+       From  Michael Frysinger  <michael.frysinger@analog.com>
+       * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add
+       BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526.
+
+       * config/bfin/elf.h (LIB_SPEC): Use proper linker script
+       for bf547, bf523, bf524, and bf526.
+       * config/bfin/bfin.c (bfin_cpus[]): Add bf547,  bf523, bf524, and
+       bf526.
+       * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
+       __ADSPBF523__ for bf523, __ADSPBF524__ for bf524,
+       __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as
+       __ADSPBF547__ and __ADSPBF54x__ for bf547.
+       * doc/invoke.texi (Blackfin Options): Document that
+       -mcpu now accept bf547, bf523, bf524, and bf526.
+
+2008-01-22  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR rtl-optimization/34628
+       * combine.c (try_combine): Stop and undo after the first combination
+       if an autoincrement side-effect on the first insn has effectively
+       been lost.
+
+2008-01-22  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/34529
+       * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
+       Offset addresses are not valid for Altivec or paired float modes.
+
 2008-01-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/34607