public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/40022] 4.4 regression breaks "reply to all" in alpine Date: Tue, 05 May 2009 09:02:00 -0000 [thread overview] Message-ID: <20090505090212.24814.qmail@sourceware.org> (raw) In-Reply-To: <bug-40022-17675@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from jakub at gcc dot gnu dot org 2009-05-05 09:02 ------- Reduced testcase: extern void abort (void); struct A { struct A *a; }; struct B { struct A *b; }; __attribute__((noinline)) struct A * foo (struct A *x) { asm volatile ("" : : "g" (x) : "memory"); return x; } __attribute__((noinline)) void bar (struct B *w, struct A *x, struct A *y, struct A *z) { struct A **c; c = &w->b; *c = foo (x); while (*c) c = &(*c)->a; *c = foo (y); while (*c) c = &(*c)->a; *c = foo (z); } struct B d; struct A e, f, g; int main (void) { f.a = &g; bar (&d, &e, &f, 0); if (d.b == 0 || d.b->a == 0 || d.b->a->a == 0 || d.b->a->a->a != 0) abort (); return 0; } Looking into it. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-05-05 09:02:11 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40022
next prev parent reply other threads:[~2009-05-05 9:02 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-05-04 23:08 [Bug c/40022] New: " joshuadfranklin at yahoo dot com 2009-05-04 23:16 ` [Bug middle-end/40022] " pinskia at gcc dot gnu dot org 2009-05-04 23:36 ` joshuadfranklin at yahoo dot com 2009-05-04 23:53 ` joshuadfranklin at yahoo dot com 2009-05-04 23:55 ` pinskia at gcc dot gnu dot org 2009-05-05 0:00 ` joshuadfranklin at yahoo dot com 2009-05-05 0:01 ` joshuadfranklin at yahoo dot com 2009-05-05 9:02 ` jakub at gcc dot gnu dot org [this message] 2009-05-05 9:59 ` [Bug middle-end/40022] [4.4 Regression] " rguenth at gcc dot gnu dot org 2009-05-05 10:01 ` [Bug middle-end/40022] [4.4/4.5 Regression] Alpine miscompilation jakub at gcc dot gnu dot org 2009-05-05 10:10 ` rguenth at gcc dot gnu dot org 2009-05-05 16:10 ` rguenth at gcc dot gnu dot org 2009-05-05 16:11 ` [Bug middle-end/40022] [4.4 " rguenth at gcc dot gnu dot org 2009-05-05 16:12 ` mmitchel at gcc dot gnu dot org 2009-05-05 16:54 ` jakub at gcc dot gnu dot org 2009-05-06 4:31 ` mmitchel at gcc dot gnu dot org 2009-05-06 8:33 ` rguenth at gcc dot gnu dot org 2009-05-06 8:34 ` rguenth at gcc dot gnu dot 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=20090505090212.24814.qmail@sourceware.org \ --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).