This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR inline-asm/55934
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: Vladimir Makarov <vmakarov at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 18 Jan 2013 00:59:52 +0100
- Subject: Re: [patch] PR inline-asm/55934
- References: <CABu31nOXZ7=j11mwxFWUXotLL7+XqaGM4TK0v9YRQhZ0k7Q45A@mail.gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Jan 18, 2013 at 12:45:06AM +0100, Steven Bosscher wrote:
> --- testsuite/gcc.target/i386/pr55934.c (revision 0)
> +++ testsuite/gcc.target/i386/pr55934.c (revision 0)
> @@ -0,0 +1,10 @@
> +/* PR inline-asm/55934 */
> +/* { dg-do compile } */
> +/* { dg-require-effective-target sse } */
Don't you need /* { dg-options "-msse" } */ ? dg-require-effective-target sse
itself doesn't add -msse option...
> +_Complex float
> +foo (void)
> +{
> + _Complex float x;
> + __asm ("" : "=x" (x)); /* { dg-error "inconsistent register constraints" } */
> + return x;
> +}
Jakub