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

--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #23)
> (In reply to Richard Biener from comment #20)
> > Fails the same way on x86_64, with PGO + LTO bootstrap.
> 
> Not plain, but with
> 
[..]
> 
> I'm currently testing a stripped down variant, and if that reproduces it
> will try if I can drop -D_FORTIFY_SOURCE=3 and still reproduce.

It reproduces with

> ../gcc/configure --enable-host-shared --enable-plugin 
> --with-build-config=bootstrap-lto-lean --enable-languages=c,c++
> make -j64 profiledbootstrap STAGE1_CFLAGS="-O2" BOOT_CFLAGS="-O2 
> -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
> -fasynchronous-unwind-tables -fstack-clash-protection -g"

some of the flags might not be necessary.  Just --enable-plugin is not
enough.

I have an ltrans file that reproduces the ICE w/o any profile data and with
lto1 that's not from the bootstrap.  Will attach.

Reply via email to