public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110422] New: asm goto vs SRA Date: Tue, 27 Jun 2023 00:02:59 +0000 [thread overview] Message-ID: <bug-110422-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110422 Bug ID: 110422 Summary: asm goto vs SRA Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Testcase from originally from PR 103979: ``` struct S { char a[64]; }; int foo (void) { struct S s, t; asm goto ("" : "=g" (s) : : : l); t = s; asm goto ("" : "=g" (s) : : : l); return s.a[0] + t.a[63]; l: return -1; } ``` This is not related to asm goto not being volatile but rather SRA (just like complex lowering, PR 105165) does not know how to handle `asm goto` with outputs.
next reply other threads:[~2023-06-27 0:03 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-06-27 0:02 pinskia at gcc dot gnu.org [this message] 2023-11-13 3:24 ` [Bug tree-optimization/110422] " pinskia at gcc dot gnu.org 2023-11-13 3:24 ` pinskia at gcc dot gnu.org 2024-01-17 16:17 ` jamborm at gcc dot gnu.org 2024-01-18 13:26 ` cvs-commit at gcc dot gnu.org 2024-01-19 9:37 ` jamborm at gcc dot gnu.org 2024-01-24 19:37 ` cvs-commit at gcc dot gnu.org 2024-02-02 12:30 ` cvs-commit at gcc dot gnu.org 2024-02-09 18:00 ` cvs-commit at gcc dot gnu.org 2024-02-09 18:01 ` jamborm at gcc dot gnu.org 2024-02-09 19:16 ` 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-110422-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).