+2009-08-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/40718
+ * config/i386/i386.c (*call_pop_1): Disable for sibling calls.
+ (*sibcall_pop_1): New insn pattern.
+
2009-08-23 Alan Modra <amodra@bigpond.net.au>
PR target/41081
PR target/40671
* config/rs6000/rs6000.c (rs6000_override_options): Use
- TARGET_64BIT instead of TARGET_POWERPC64 to set the size of
- pointers.
+ TARGET_64BIT instead of TARGET_POWERPC64 to set the size of pointers.
PR target/41145
* config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): Fix
2009-08-20 Richard Guenther <rguenther@suse.de>
- * c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not
- define.
+ * c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define.
* c-tree.h (c_dup_lang_specific_decl): Remove.
(struct lang_decl, struct lang_type): Move definitions ...
* c-lang.h: ... here. New file.
2009-08-16 Douglas B Rupp <rupp@gnat.com>
- * doc/invoke.texi (Target options):
- Add new option list for IA-64/VMS.
+ * doc/invoke.texi (Target options): Add new option list for IA-64/VMS.
(menu): Add IA-64/VMS Options.
(IA-64/VMS Options): Likewise.
* doc/extend.texi (Symbol-Renaming Pragmas): redefine_extname is
supported on all platforms.
- * target.h (struct gcc_target): Remove
- handle_pragma_redefine_extname.
- * c-cppbuiltin.c: Remove use of
- targetm.handle_pragma_redefine_extname.
+ * target.h (struct gcc_target): Remove handle_pragma_redefine_extname.
+ * c-cppbuiltin.c: Remove use of targetm.handle_pragma_redefine_extname.
* c-pragma.c: Likewise.
* target-def.h (TARGET_INITIALIZER): Remove
TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
- * config/sol2.h: Remove use of
- TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
+ * config/sol2.h: Remove use of TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
2009-08-14 Douglas B Rupp <rupp@gnat.com>
2009-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR middle-end/30789
- * builtins.c (do_mpc_arg2): Make extern, define for any MPC
- version. Move declaration...
+ * builtins.c (do_mpc_arg2): Make extern, define for any MPC version.
+ Move declaration...
* real.h (do_mpc_arg2): ... here.
* fold-const.c (const_binop): Use MPC for complex MULT_EXPR
and RDIV_EXPR.
(match_operand:SI 1 "" ""))
(set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG)
(match_operand:SI 2 "immediate_operand" "i")))]
- "!TARGET_64BIT"
+ "!SIBLING_CALL_P (insn) && !TARGET_64BIT"
{
if (constant_call_address_operand (operands[0], Pmode))
- {
- if (SIBLING_CALL_P (insn))
- return "jmp\t%P0";
- else
- return "call\t%P0";
- }
- if (SIBLING_CALL_P (insn))
- return "jmp\t%A0";
- else
- return "call\t%A0";
+ return "call\t%P0";
+ return "call\t%A0";
}
[(set_attr "type" "call")])
+(define_insn "*sibcall_pop_1"
+ [(call (mem:QI (match_operand:SI 0 "sibcall_insn_operand" "s,U"))
+ (match_operand:SI 1 "" ""))
+ (set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG)
+ (match_operand:SI 2 "immediate_operand" "i,i")))]
+ "SIBLING_CALL_P (insn) && !TARGET_64BIT"
+ "@
+ jmp\t%P0
+ jmp\t%A0"
+ [(set_attr "type" "call")])
+
(define_expand "call"
[(call (match_operand:QI 0 "" "")
(match_operand 1 "" ""))
+2009-08-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/40718
+ * gcc.target/i386/pr40718.c: New test.
+
2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/proc_ptr_24.f90: New test.
2009-08-21 Uros Bizjak <ubizjak@gmail.com>
- * gfortran.dg/boz_9.f90: Do not generate denormal floating
- point numbers. Remove -mieee option for alpha*-*-* targets.
+ * gfortran.dg/boz_9.f90: Do not load denormal floating
+ point constants. Remove -mieee option for alpha*-*-* targets.
2009-08-21 Janus Weil <janus@gcc.gnu.org>