From: Richard Biener <rguenther@suse.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Jakub Jelinek <jakub@redhat.com>,
Richard Henderson <rth@redhat.com>,
gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Fix complex lowering with inline asm (PR tree-optimization/55921)
Date: Fri, 11 Jan 2013 13:05:00 -0000 [thread overview]
Message-ID: <alpine.LNX.2.00.1301111403500.6889@zhemvz.fhfr.qr> (raw)
In-Reply-To: <m2y5fzub0d.fsf@igel.home>
On Fri, 11 Jan 2013, Andreas Schwab wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
>
> > + __asm ("" : "=r" (cf) : "0" (ucf1.ll));
>
> gcc/testsuite/gcc.c-torture/compile/pr55921.c:17:3: error: 'asm' operand has impossible constraints
> gcc/testsuite/gcc.c-torture/compile/pr55921.c:19:3: error: 'asm' operand has impossible constraints
>
> OK? This still triggers the original bug.
Ok.
Thanks,
Richard.
> Andreas.
>
> 2013-01-11 Andreas Schwab <schwab@linux-m68k.org>
>
> * gcc.c-torture/compile/pr55921.c: Don't use matching constraints.
>
> diff --git a/gcc/testsuite/gcc.c-torture/compile/pr55921.c b/gcc/testsuite/gcc.c-torture/compile/pr55921.c
> index 8ac9e9b..94b7bce 100644
> --- a/gcc/testsuite/gcc.c-torture/compile/pr55921.c
> +++ b/gcc/testsuite/gcc.c-torture/compile/pr55921.c
> @@ -14,8 +14,8 @@ foo (ucf *in, ucf *out, _Complex float r)
> _Complex float cf;
>
> ucf1.ll = in[i].ll;
> - __asm ("" : "=r" (cf) : "0" (ucf1.ll));
> + __asm ("" : "=r" (cf) : "r" (ucf1.ll));
> cf *= r;
> - __asm ("" : "=r" (ucf1.ll) : "0" (cf));
> + __asm ("" : "=r" (ucf1.ll) : "r" (cf));
> out[i].ll = ucf1.ll;
> }
>
>
--
Richard Biener <rguenther@suse.de>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imend
prev parent reply other threads:[~2013-01-11 13:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 23:47 Jakub Jelinek
2013-01-10 9:19 ` Richard Biener
2013-01-11 13:04 ` Andreas Schwab
2013-01-11 13:05 ` Richard Biener [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.00.1301111403500.6889@zhemvz.fhfr.qr \
--to=rguenther@suse.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=rth@redhat.com \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).