public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "frederic.recoules@univ-grenoble-alpes.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/94180] New: inconsistent operand constraints: "+X" Date: Sun, 15 Mar 2020 12:47:32 +0000 [thread overview] Message-ID: <bug-94180-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94180 Bug ID: 94180 Summary: inconsistent operand constraints: "+X" Product: gcc Version: 9.2.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: frederic.recoules@univ-grenoble-alpes.fr Target Milestone: --- Consider the following code snippet: int main (int argc, char *argv[]) { int k = 0; asm ("" : "+X" (k)); return k; } It produces the following error: <source>: In function 'main': <source>:17:5: error: inconsistent operand constraints in an 'asm' 17 | asm ("" : "+X" (k)); | ^~~
next reply other threads:[~2020-03-15 12:47 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-15 12:47 frederic.recoules@univ-grenoble-alpes.fr [this message] 2021-09-14 19:37 ` [Bug rtl-optimization/94180] " pinskia at gcc dot gnu.org 2024-03-22 22:46 ` pinskia at gcc dot gnu.org 2024-03-22 22:50 ` pinskia at gcc dot gnu.org 2024-03-22 22:50 ` pinskia at gcc dot gnu.org
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=bug-94180-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.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: linkBe 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).