Current-Users archive

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

Re: gcc ICE



On Sat, Apr 04, 2020 at 05:55:01AM +1100, Matthew Green wrote:
> 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.

Thanks for testing -- I just did that:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479

 Thomas


Home | Main Index | Thread Index | Old Index