OSDN Git Service

* stor-layout.c (layout_decl): Do not bump the alignment of a
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 29576a6..f924395 100644 (file)
@@ -1,3 +1,184 @@
+2008-02-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * stor-layout.c (layout_decl): Do not bump the alignment of a
+       bit-field to more than byte alignment if it is packed.
+
+2008-02-24  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (processor_costs): Add cache costs for
+       e300c2 and e300c3.
+
+2008-02-24  Diego Novillo  <dnovillo@google.com>
+
+       http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
+
+       PR 33738
+       * tree-vrp.c (vrp_evaluate_conditional): With
+       -Wtype-limits, emit a warning when comparing against a
+       constant outside the natural range of OP0's type.
+       * c.opt (Wtype-limits): Move ...
+       * common.opt (Wtype-limits): ... here.
+
+2008-02-24  Edmar Wienskoski  <edmar@freescale.com>
+
+       * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
+       * config/rs6000/e300c2c3.md: New file.
+       * config/rs6000/rs6000.c (processor_costs): Add new costs for
+       e300c2 and e300c3.
+       (rs6000_override_options): Add e300c2 and e300c3 cases to
+       processor_target_table. Do not allow usage of Altivec or Spe
+       with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
+       (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
+       * config/rs6000/rs6000.h (processor_type): Add
+       PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
+       (ASM_CPU_SPEC): Add e300c2 and e300c3.
+       * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
+       and ppce300c3. Include e300c2c3.md.
+
+2008-02-23  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
+       instead of TARGET_STRICT_ALIGN.
+
+2008-02-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * explow.c (memory_address): Assert that the generated address is
+       valid.
+
+2008-02-23  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR target/25477
+       * config/darwin-protos.h: Add darwin_patch_builtins prototype.
+       * config/darwin-ppc-ldouble-patch.def: New file.
+       * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro.
+       * config/rs6000/rs6000.c (rs6000_init_builtins): Call
+       SUBTARGET_INIT_BUILTINS if defined.
+       * config/darwin.c (darwin_patch_builtin,
+       darwin_patch_builtins): New functions.
+
+2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR rtl-opt/33512
+       * simplify-rtx.c (simplify_binary_operation_1): Add simplification
+       of (and X (ior (not X) Y) and (and (ior (not X) Y) X).
+
+2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR pch/35027
+       * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH
+       file" warning condtional on -Winvalid-PCH.
+
+2008-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * expmed.c (extract_bit_field): Always use adjust_address for MEM.
+
+2008-02-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/22076
+       PR target/34256 
+       * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to
+       prevent reload from using MMX registers.
+       (*mov<mode>_internal): Ditto.
+       (*movv2sf_internal_rex64): Ditto.
+       (*movv2sf_internal): Ditto.
+
+2008-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR documentation/31569
+       * doc/install.texi2html: Use makeinfo --no-number-sections.
+
+2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
+       ensure that we can address an entire entity > 8 bytes.  Don't
+       generate reg+reg addressing for such data.
+
+2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
+       strings when optimizing for size, unless the target cares about
+       alignment.
+
+2008-02-22  Tom Tromey  <tromey@redhat.com>
+
+       * regclass.c (current_pass): Remove declaration.
+
+2008-02-22  Anatoly Sokolov <aesok@post.ru>
+
+       * config/avr/libgcc.S (__RAMPZ__): Define.
+       (__do_copy_data): Add for devices with 128KB code memory.
+
+2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
+       Use spe_abi.
+       * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise.
+
+2008-02-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
+       GENNONACR_REGS.
+
+2008-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR c/19999
+       * c-typeck.c (build_binary_op): Warn about floating point
+       comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.
+
+2008-02-21  Janis Johnson  <janis187@us.ibm.com>
+
+       PR target/34526
+       * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
+       (rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
+       add vrsave.
+       (rs6000_override_options): Set altivec_abi as default, not override,
+       for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
+       TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
+       is used; use new member spe_abi.
+       (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
+       spe_abi and altivec_abi.
+
+2008-02-22  Tomas Bily  <tbily@suse.cz>
+
+       * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.
+
+2008-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR bootstrap/35273
+       * config.build (build_file_translate): Set to `CMD //c' only if
+       it works.
+       * Makefile.in (build_file_translate): Improve comment.
+
+2008-02-21  Jan Hubicka  <jh@suse.cz>
+
+       * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
+       PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
+       PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.
+
+2008-02-21  Michael Matz  <matz@suse.de>
+
+       PR target/35264
+       * config/i386/i386.c (ix86_expand_branch): Add missing breaks.
+
+2008-02-21  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
+       movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
+       as insn constraint.
+       * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
+       from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
+       SSE_VEC_FLOAT_MODE_P as insn constraint.
+       (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
+       (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
+       sse4a_movntdf using MODEF mode iterator.
+       (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
+       sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
+       (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
+       (sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
+       (sse4_1_dpp<ssemodesuffixf2c>): Ditto.
+       (sse4_1_roundp<ssemodesuffixf2c>): Ditto.
+       (sse4_1_rounds<ssemodesuffixf2c>): Ditto.
+
 2008-02-21  Richard Guenther  <rguenther@suse.de>
 
        * tree.def (PAREN_EXPR): New tree code.