Commit fb04bb84 by Uros Bizjak

re PR target/43524 (ICE: in ix86_expand_prologue, at config/i386/i386.c:8636…

re PR target/43524 (ICE: in ix86_expand_prologue, at config/i386/i386.c:8636 with -mstack-arg-probe on x86_64-linux)

	PR target/43524
	* config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]:
	Remove invalid assert and wrong comment.

testsuite/ChangeLog:

	PR target/43524
	* gcc.target/i386/pr43524.c: New test.

From-SVN: r157757
parent 7cbd785e
2010-03-26 Uros Bizjak <ubizjak@gmail.com>
PR target/43524
* config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]:
Remove invalid assert and wrong comment.
2010-03-26 Jakub Jelinek <jakub@redhat.com> 2010-03-26 Jakub Jelinek <jakub@redhat.com>
PR debug/43516 PR debug/43516
...@@ -34,8 +40,7 @@ ...@@ -34,8 +40,7 @@
2010-03-24 Michael Meissner <meissner@linux.vnet.ibm.com> 2010-03-24 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/constraints.md: Update copyright year for my * config/rs6000/constraints.md: Update copyright year for my changes.
changes.
PR target/43484 PR target/43484
* config/rs6000/rs6000.c (rs6000_split_multireg_move): If r0 is * config/rs6000/rs6000.c (rs6000_split_multireg_move): If r0 is
...@@ -95,8 +100,7 @@ ...@@ -95,8 +100,7 @@
(output_addr_const_extra): Likewise. (output_addr_const_extra): Likewise.
(output_pic_addr_const): Lowercase @TPOFF. (output_pic_addr_const): Lowercase @TPOFF.
(output_addr_const_extra): Likewise. (output_addr_const_extra): Likewise.
* config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase * config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase @TLSGD.
@TLSGD.
(*tls_global_dynamic_64): Likewise. (*tls_global_dynamic_64): Likewise.
(*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM. (*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM.
(*tls_local_dynamic_base_64): Lowercase @TLSLD. (*tls_local_dynamic_base_64): Lowercase @TLSLD.
...@@ -106,8 +110,7 @@ ...@@ -106,8 +110,7 @@
* config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef. * config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef.
PR target/38118 PR target/38118
* config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to * config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to tm_file.
tm_file.
* config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ... * config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ...
* config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here. * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here.
* config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine. * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine.
...@@ -153,12 +156,12 @@ ...@@ -153,12 +156,12 @@
PR target/43348 PR target/43348
* ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp, * ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp,
call_value_gp,sibcall_gp): Use 's' constraint not 'i'. call_value_gp, sibcall_gp): Use 's' constraint not 'i'.
2010-03-22 H.J. Lu <hongjiu.lu@intel.com> 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_target_string): Fix a typo in comments. * config/i386/i386.c (ix86_target_string): Add -mfma.
Add -mfma. Fix a typo in comment.
2010-03-22 Mike Stump <mikestump@comcast.net> 2010-03-22 Mike Stump <mikestump@comcast.net>
...@@ -175,17 +178,15 @@ ...@@ -175,17 +178,15 @@
* doc/configfiles.texi (Configuration Files): Removed * doc/configfiles.texi (Configuration Files): Removed
fixinc/Makefile*, intl/Makefile.*. fixinc/Makefile*, intl/Makefile.*.
* doc/makefile.texi: Fixed markup. * doc/makefile.texi: Fixed markup. Abstract from version
Abstract from version control system used. control system used.
(Makefile): Removed obsolete gcc/java/parse.y example. (Makefile): Removed obsolete gcc/java/parse.y example.
* doc/sourcebuild.texi: Likewise. * doc/sourcebuild.texi: Likewise.
(Top Level): Added config, gnattools, libdecnumber, libgcc, (Top Level): Added config, gnattools, libdecnumber, libgcc,
libgomp, libssp. libgomp, libssp. Removed fastjar.
Removed fastjar.
(Miscellaneous Docs): Clarify location. (Miscellaneous Docs): Clarify location.
Added COPYING3, COPYING3.LIB. Added COPYING3, COPYING3.LIB.
(Front End Directory): Moved Make-lang.in entry to new (Front End Directory): Moved Make-lang.in entry to new subsubsection.
subsubsection.
2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
...@@ -272,8 +273,8 @@ ...@@ -272,8 +273,8 @@
2010-03-19 Andrew Pinski <andrew_pinski@caviumnetworks.com> 2010-03-19 Andrew Pinski <andrew_pinski@caviumnetworks.com>
PR c/43211 PR c/43211
* c-decl.c (grokparms): Set arg_types to NULL_TREE if there was an * c-decl.c (grokparms): Set arg_types to NULL_TREE if there was
error. an error.
2010-03-19 Bernd Schmidt <bernd.schmidt@codesourcery.com> 2010-03-19 Bernd Schmidt <bernd.schmidt@codesourcery.com>
...@@ -372,8 +373,7 @@ ...@@ -372,8 +373,7 @@
PR bootstrap/43403 PR bootstrap/43403
* var-tracking.c (vt_init_cfa_base): Do nothing if * var-tracking.c (vt_init_cfa_base): Do nothing if
cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed register.
register.
2010-03-18 Alexandre Oliva <aoliva@redhat.com> 2010-03-18 Alexandre Oliva <aoliva@redhat.com>
...@@ -399,8 +399,7 @@ ...@@ -399,8 +399,7 @@
* cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare. * cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare.
* cgraphunit.c (cgraph_materialize_all_clones): Update calls in * cgraphunit.c (cgraph_materialize_all_clones): Update calls in
all non-clones. Moved call redirection... all non-clones. Moved call redirection...
(cgraph_redirect_edge_call_stmt_to_callee): ...to this new (cgraph_redirect_edge_call_stmt_to_callee): ...to this new function.
function.
(cgraph_materialize_all_clones): Dispose of all (cgraph_materialize_all_clones): Dispose of all
combined_args_to_skip bitmaps. combined_args_to_skip bitmaps.
(verify_cgraph_node): Do not check for edges pointing to wrong (verify_cgraph_node): Do not check for edges pointing to wrong
...@@ -471,8 +470,7 @@ ...@@ -471,8 +470,7 @@
appending a use to an empty chain. appending a use to an empty chain.
(build_def_use): Remove previous changes that convert OP_INOUT to (build_def_use): Remove previous changes that convert OP_INOUT to
OP_OUT operands; instead detect the case where an OP_INOUT operand OP_OUT operands; instead detect the case where an OP_INOUT operand
uses a previously untracked register and create an empty chain for uses a previously untracked register and create an empty chain for it.
it.
2010-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2010-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
...@@ -510,9 +508,8 @@ ...@@ -510,9 +508,8 @@
2010-03-16 Richard Guenther <rguenther@suse.de> 2010-03-16 Richard Guenther <rguenther@suse.de>
PR middle-end/43379 PR middle-end/43379
* tree-cfg.c (gimple_merge_blocks): When propagating virtual * tree-cfg.c (gimple_merge_blocks): When propagating virtual PHI
PHI operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI properly.
properly.
2010-03-16 Aldy Hernandez <aldyh@redhat.com> 2010-03-16 Aldy Hernandez <aldyh@redhat.com>
Alexandre Oliva <aoliva@redhat.com> Alexandre Oliva <aoliva@redhat.com>
......
...@@ -8628,13 +8628,10 @@ ix86_expand_prologue (void) ...@@ -8628,13 +8628,10 @@ ix86_expand_prologue (void)
ix86_cfa_state->reg == stack_pointer_rtx); ix86_cfa_state->reg == stack_pointer_rtx);
else else
{ {
/* Only valid for Win32. */
rtx eax = gen_rtx_REG (Pmode, AX_REG); rtx eax = gen_rtx_REG (Pmode, AX_REG);
bool eax_live; bool eax_live;
rtx t; rtx t;
gcc_assert (!TARGET_64BIT || cfun->machine->call_abi == MS_ABI);
if (cfun->machine->call_abi == MS_ABI) if (cfun->machine->call_abi == MS_ABI)
eax_live = false; eax_live = false;
else else
......
2010-03-26 Uros Bizjak <ubizjak@gmail.com>
PR target/43524
* gcc.target/i386/pr43524.c: New test.
2010-03-26 Martin Jambor <mjambor@suse.cz> 2010-03-26 Martin Jambor <mjambor@suse.cz>
* gcc/testsuite/gcc.dg/tree-ssa/loadpre1.c: Deleted trailing * gcc/testsuite/gcc.dg/tree-ssa/loadpre1.c: Delete trailing
whitespace, renamed main to foo. whitespace, rename main to foo.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre14.c: Likewise. * gcc/testsuite/gcc.dg/tree-ssa/loadpre14.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c: Likewise. * gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre16.c: Likewise. * gcc/testsuite/gcc.dg/tree-ssa/loadpre16.c: Likewise.
......
/* { dg-do compile } */
/* { dg-options "-mstack-arg-probe" } */
extern void bar (void);
void foo (int i)
{
bar ();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment