* reginfo.c (reinit_regs): Set caller_save_initialized_p
to false.
testsuite/
PR target/43662
* gcc.target/i386/pr43662.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158509
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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
--- /dev/null
+/* { 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;
+}