Commit 8d9b7be5 by Jie Zhang Committed by Jie Zhang

re PR target/43662 (ICE in insert_save with ms_abi attribute)

	PR target/43662
	* reginfo.c (reinit_regs): Set caller_save_initialized_p
	to false.

	testsuite/
	PR target/43662
	* gcc.target/i386/pr43662.c: New test.

From-SVN: r158509
parent d38f6bc0
2010-04-19 Jie Zhang <jie@codesourcery.com>
PR target/43662
* reginfo.c (reinit_regs): Set caller_save_initialized_p
to false.
2010-04-19 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/37027
......
......@@ -666,6 +666,8 @@ void
reinit_regs (void)
{
init_regs ();
/* caller_save needs to be re-initialized. */
caller_save_initialized_p = false;
ira_init ();
}
......
2010-04-19 Jie Zhang <jie@codesourcery.com>
PR target/43662
* gcc.target/i386/pr43662.c: New test.
2010-04-19 Dodji Seketeli <dodji@redhat.com>
PR c++/43704
......
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2" } */
void __attribute__ ((ms_abi)) foo (void)
{
}
typedef struct _IAVIStreamImpl
{
int sInfo;
int has;
} IAVIStreamImpl;
extern int __attribute__ ((ms_abi)) aso (void *);
extern int sre (void *);
int AVIFILE_OpenCompressor (IAVIStreamImpl *This)
{
if (This->has != 0)
aso (&This->has);
sre (&This->sInfo);
return 0;
}
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