OSDN Git Service

PR middle-end/31322
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e984226..55def7e 100644 (file)
@@ -1,3 +1,137 @@
+2007-04-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/31322
+       * dwarf2out.c (output_call_frame_info): Call assemble_external_libcall
+       when a personality function is used.
+
+2007-04-13  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.
+
+2007-04-13  Mike Stump  <mrs@apple.com>
+
+       * config/darwin-c.c (handle_c_option): Handle -fapple-kext here so
+       we can...
+       * config/darwin.opt (fapple-kext): Make C++ only.
+       * config/darwin.c (darwin_override_options): Remove code to ensure
+       -fapple-kext is given for C++ only.
+
+2007-04-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
+       * config/mips/mips.c (override_options): Call
+       SUBTARGET_OVERRIDE_OPTIONS, if defined.
+
+2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.opt (msvr3-shlib): Removed.
+
+       * doc/invoke.texi: Remove -msvr3-shlib.
+
+2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.opt (mpopcnt): Replace "popcount" instruction
+       with "popcnt" instruction.
+
+2007-04-13  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/21258
+       * tree-vrp.c (compare_case_labels): New helper.
+       (find_switch_asserts): New function.
+       (find_assert_locations): Call it for SWITCH_EXPRs.
+
+2007-04-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.h (X87_FLOAT_MODE_P): Check for TARGET_80387.
+       * config/i386/i386.md (*cmpfp0): Remove check for TARGET_80387, this
+       check is now implied in X87_FLOAT_MODE_P.
+       (*cmpfp_u, *cmpfp_<mode>, *cmpfp_i_i387): Ditto.
+       (*cmpfp_iu_387, fix_trunc<mode>_fisttp_i386_1): Ditto.
+       (fix_trunc<mode>_i386_fisttp): Ditto.
+       (fix_trunc<mode>_i387_fisttp_with_temp): Ditto.
+       (*fix_trunc<mode>_i387_1, fix_truncdi_i387): Ditto.
+       (fix_truncdi_i387_with_temp, fix_trunc<mode>_i387): Ditto.
+       (fix_trunc<mode>_i387_with_temp, *fp_jcc_1_387): Ditto.
+       (*fp_jcc_2_387, *fp_jcc_5_387, *fp_jcc_6_387): Ditto.
+       (*fp_jcc_7_387, *fp_jcc_8<mode>_387): Ditto.
+       (unnamed_splitters): Ditto.
+       * config/i386/i386.c (function_value_32): Generate FIRST_FLOAT_REG
+       for X87_FLOAT_MODE_P mode.  Override FIRST_FLOAT_REG with
+       FIRST_SSE_REG for local functions when SSE math is enabled or
+       for functions with sseregparm attribute.
+       (standard_80387_constant_p): Return -1 if mode is not
+       X87_FLOAT_MODE_P.
+       (ix86_cc_mode): Assert that scalar mode is not DECIMAL_FLOAT_MODE_P.
+       (ix86_expand_compare): Ditto.
+       (ix86_expand_carry_flag_compare): Ditto.
+       (ix86_expand_int_movcc): Check for SCALAR_FLOAT_MODE_P instead
+       of FLOAT_MODE_P for cmp_mode and assert that cmp_mode is not
+       DECIMAL_FLOAT_MODE_P.
+       (ix86_preferred_output_reload_class): Use X87_FLOAT_MODE_P instead
+       of SCALAR_FLOAT_MODE_P.
+       (ix86_rtx_costs) [PLUS] Remove FLOAT_MODE_P and fall through to ...
+       [MINUS]: ... here.  Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P
+       checks before FLOAT_MODE_P.
+       [MULT]: Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P checks
+       before FLOAT_MODE_P.
+       [DIV]: Ditto.
+       [NEG]: Ditto.
+       [ABS]: Ditto.
+       [SQRT]: Ditto.
+       [FLOAT_EXTEND]: Use SSE_FLOAT_MODE_P.
+
+2007-04-12  Paolo Bonzini  <bonzini@gnu.org>
+            Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+       * Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): Remove.
+       (libgcc.mvars): Don't depend on them.
+       * configure.ac (as, collect-ld, nm): Create from exec-tool.in.
+       * exec-tool.in: New.
+
+2007-04-12  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * doc/invoke.text (--help): Document --help=common.
+
+2007-04-12  Thomas Neumann  <tneumann@users.sourceforge.net>
+
+       * stub-objc.c (objc_build_keyword_decl): Avoid C++ keywords.
+
+2007-04-12  Richard Sandiford  <richard@codesourcery.com>
+
+       * Makefile.in (insn-emit.o): Depend on $(INTEGRATE_H).
+       * genemit.c (main): Emit #include "integrate.h".
+       * config/mips/mips-protos.h (SYMBOL_HALF): New mips_symbol_type.
+       (LOADGP_RTP): New mips_loadgp_style.
+       * config/mips/mips.h: Include config/vxworks-dummy.h.
+       (TARGET_RTP_PIC): New macro.
+       (TARGET_USE_GOT): Return true for TARGET_RTP_PIC.
+       (TARGET_USE_PIC_FN_ADDR_REG): Return true for TARGET_VXWORKS_RTP.
+       (ASM_OUTPUT_ADDR_DIFF_ELT): Emit function-relative case tables
+       for TARGET_RTP_PIC.
+       * config/mips/vxworks.h (SUBTARGET_ASM_SPEC): Define.  Pass down
+       -mvxworks-pic when using -mrtp and a PIC option.
+       * config/mips/mips.c (mips_classify_symbol): Return SYMBOL_GOT_DISP
+       for RTP PIC.
+       (mips_symbolic_constant_p, mips_symbolic_address_p)
+       (mips_symbol_insns): Handle SYMBOL_HALF.
+       (override_options): Warn about -G and -mrtp being used together.
+       Initialize mips_lo_relocs[SYMBOL_HALF].
+       (mips_current_loadgp_style): Return LOADGP_RTP for RTP PIC.
+       (mips_emit_loadgp): Handle LOADGP_RTP.
+       (mips_in_small_data_p): Return false for TARGET_VXWORKS_RTP.
+       * config/mips/mips.md (loadgp_rtp): New insn and splitter.
+       (tablejump): Handle function-relative case table entries if
+       TARGET_RTP_PIC.
+       * config/mips/predicates.md (symbol_ref_operand): New predicate.
+
+2007-04-12  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/mips.md (load_call<mode>): Allow any general register.
+       destination.
+       (sibcall_value_internal, sibcall_value_multiple_internal)
+       (call_value_internal, call_value_split, call_value_multiple_internal)
+       (call_value_multiple_split): Remove constraints from operand 0.
+
 2007-04-12  Richard Sandiford  <richard@codesourcery.com>
 
        * config/mips/mips-protos.h: In comments, refer to loadgp_absolute