This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/43662] [4.4/4.5/4.6 Regression] ICE in insert_save with ms_abi attribute



------- Comment #8 from mikpe at it dot uu dot se  2010-04-14 18:23 -------
(In reply to comment #5)
> The patch:
> 
> http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00466.html

The test case in this patch breaks on 32-bit x86 because gcc complains that the
ms_abi attribute is only available in 64-bit mode.  The following fixes it:

--- gcc/testsuite/gcc.target/i386/pr43662.c.~1~
+++ gcc/testsuite/gcc.target/i386/pr43662.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2" } */

 int __attribute__((ms_abi)) ACMStream_fnRead(int*iface,int start,int


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43662


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]