This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/77646] [5/6/7 Regression] GCC Segfault with -O3
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Sep 2016 15:09:11 +0000
- Subject: [Bug tree-optimization/77646] [5/6/7 Regression] GCC Segfault with -O3
- Auto-submitted: auto-generated
- References: <bug-77646-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77646
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Or with creduce's rename-toks:
struct e {
int (*f)();
void (*g)();
} * c;
int a;
void *h();
typedef struct { struct e j; } k;
int l() { return a; }
const struct e b = {l};
void m() {
k *d = h();
d->j = b;
c = (struct e *)d;
struct e *i = c;
if (i->f(c))
while (i->f(c))
i->g();
}