https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123089
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
I'm not sure if the original is valid.
cvise got it down to:
```
struct
{
int d;
short e;
} i;
int b;
int *h = &b;
int
main ()
{
short f = 1;
short *g = &i.e;
a:
if (*g = 0 & ++f, *h)
;
else
{
int c = 0;
if (f)
goto a;
h = &c;
}
return 0;
}
```
but the pointer to c is dangling. If I go back to the original, it has tonnes
of -Wdangling-pointer.