public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug inline-asm/94180] New: inconsistent operand constraints: "+X" @ 2020-03-15 12:47 frederic.recoules@univ-grenoble-alpes.fr 2021-09-14 19:37 ` [Bug rtl-optimization/94180] " pinskia at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: frederic.recoules@univ-grenoble-alpes.fr @ 2020-03-15 12:47 UTC (permalink / raw) To: gcc-bugs 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)); | ^~~ ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/94180] inconsistent operand constraints: "+X" 2020-03-15 12:47 [Bug inline-asm/94180] New: inconsistent operand constraints: "+X" frederic.recoules@univ-grenoble-alpes.fr @ 2021-09-14 19:37 ` pinskia at gcc dot gnu.org 2024-03-22 22:46 ` pinskia at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-09-14 19:37 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94180 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So I think there needs to be some better documentation here with respect to the constraints that allow memory and the + modifier. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/94180] inconsistent operand constraints: "+X" 2020-03-15 12:47 [Bug inline-asm/94180] New: inconsistent operand constraints: "+X" frederic.recoules@univ-grenoble-alpes.fr 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 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-22 22:46 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94180 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david at westcontrol dot com --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- *** Bug 113280 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/94180] inconsistent operand constraints: "+X" 2020-03-15 12:47 [Bug inline-asm/94180] New: inconsistent operand constraints: "+X" frederic.recoules@univ-grenoble-alpes.fr 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 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-22 22:50 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94180 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Dup. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/94180] inconsistent operand constraints: "+X" 2020-03-15 12:47 [Bug inline-asm/94180] New: inconsistent operand constraints: "+X" frederic.recoules@univ-grenoble-alpes.fr ` (2 preceding siblings ...) 2024-03-22 22:50 ` pinskia at gcc dot gnu.org @ 2024-03-22 22:50 ` pinskia at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-22 22:50 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94180 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Dup. *** This bug has been marked as a duplicate of bug 71246 *** ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-03-22 22:50 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-03-15 12:47 [Bug inline-asm/94180] New: inconsistent operand constraints: "+X" frederic.recoules@univ-grenoble-alpes.fr 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
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).