[Bug c/105163] ICE: SSA corruption
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 16:17:07 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105163
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-pc-linux-gnu
Keywords| |ice-on-valid-code
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
A corrupted variant starts to give an ICE between 20201018 and 20201108 :
$ cat z2.c
typedef struct __jmp_buf_tag { char buf[1024]; } jmp_buf[1];
extern int setjmp (jmp_buf);
extern jmp_buf *baz (void);
struct A { int b; };
void foo (struct A, int *z, int c)
{
unsigned d = 0;
long e;
setjmp (*baz());
e = 1 + ~d;
d = 8;
if ((!0) && !c && bar(z)) *z = 1 + e;
}
More information about the Gcc-bugs
mailing list