This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43662] [4.4/4.5/4.6 Regression] ICE in insert_save with ms_abi attribute
- From: "mikpe at it dot uu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Apr 2010 18:23:10 -0000
- Subject: [Bug target/43662] [4.4/4.5/4.6 Regression] ICE in insert_save with ms_abi attribute
- References: <bug-43662-3760@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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