Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: gcc ICE



Thomas Klausner writes:
> Here's a version with less warnings:
> 
> int a;
> struct b {
>   char c;
>   void *d;
> };
> struct b e() {
>   struct b f[] = {{}, "", f, a};
> }
> 
> Don't forget to use -fstack-check.

FWIW, this fails in both unpatched GCC 8.3.0 and 8.4.0 for
netbsd/amd64.  ... and same with plain 9.3.0.

if you haven't already, i recommend filing an upstream bug.


.mrg.


Home | Main Index | Thread Index | Old Index