public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/110422] New: asm goto vs SRA
@ 2023-06-27  0:02 pinskia at gcc dot gnu.org
  2023-11-13  3:24 ` [Bug tree-optimization/110422] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-27  0:02 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-02-09 19:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27  0:02 [Bug tree-optimization/110422] New: asm goto vs SRA pinskia at gcc dot gnu.org
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

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