public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/59181] New: constraint "+xt" rejected: output constraint 0 must specify a single register
@ 2013-11-18 23:03 glisse at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: glisse at gcc dot gnu.org @ 2013-11-18 23:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59181
           Summary: constraint "+xt" rejected: output constraint 0 must
                    specify a single register
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: glisse at gcc dot gnu.org
            Target: x86_64-linux-gnu

double f(double x){asm volatile("":"+xt"(x));return x;}

error: output constraint 0 must specify a single register

This is the error I normally get if I try to use "=f", but it doesn't seem
obvious to me that it should also apply to this alternative, since others like
"+tg" are supported. Supporting it probably wouldn't have any other use than
this pass-through though.

(the strange constraint "+ad" ICEs in LRA)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-18 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-18 23:03 [Bug inline-asm/59181] New: constraint "+xt" rejected: output constraint 0 must specify a single register glisse at gcc dot gnu.org

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).