public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/115199] New: [15 regression] gettext (libtextstyle) testsuite miscompiled
@ 2024-05-22 21:28 sjames at gcc dot gnu.org
  2024-05-22 21:28 ` [Bug tree-optimization/115199] " sjames at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-05-22 21:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115199

            Bug ID: 115199
           Summary: [15 regression] gettext (libtextstyle) testsuite
                    miscompiled
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
                CC: kacper.slominski72 at gmail dot com
  Target Milestone: ---

This originally came out with gettext (libtextstyle)'s testsuite being
miscompiled with a single test failing.

Kacper Słomiński (qookie) did all the separation and reduction work.

We both tidied it up together a bit more after and hopefully we didn't do it
too far:
```
struct b {
  char *volatile c;
} *d() {
  char *e;
  struct b *b = __builtin_malloc(sizeof(b));
  void *f = __builtin_malloc(1);

  e = __builtin_memcpy(f, "z", 1);
  b->c = e;
  return b;
}

int main() {
  struct b b = *d();
  if (b.c[0] != 'z')
    __builtin_abort();
}
```

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

end of thread, other threads:[~2024-05-23 12:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22 21:28 [Bug tree-optimization/115199] New: [15 regression] gettext (libtextstyle) testsuite miscompiled sjames at gcc dot gnu.org
2024-05-22 21:28 ` [Bug tree-optimization/115199] " sjames at gcc dot gnu.org
2024-05-22 21:35 ` sjames at gcc dot gnu.org
2024-05-22 21:42 ` kacper.slominski72 at gmail dot com
2024-05-22 21:43 ` pinskia at gcc dot gnu.org
2024-05-22 21:46 ` [Bug tree-optimization/115199] [15 regression] gettext (libtextstyle) testsuite miscompiled since r15-579 jakub at gcc dot gnu.org
2024-05-23  8:59 ` rguenth at gcc dot gnu.org
2024-05-23 12:39 ` cvs-commit at gcc dot gnu.org
2024-05-23 12:40 ` rguenth 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).