https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123749
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Zdenek Sojka from comment #7)
> (In reply to Prachi Godbole from comment #6)
> > @Zdenek Sojka I'm not able to reproduce it.
> >
> > My gcc config: upstream_gcc/configure --disable-bootstrap
> > --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls
> > --disable-checking --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
> > --target=x86_64-pc-linux-gnu --enable-libsanitizer --disable-libstdcxx-pch
> > --disable-multilib
> >
> > My command:
> >
> > $ echo 'void foo(){}' | /usr/local/bin/x86_64-pc-linux-gnu-gcc
> > --param=uninlined-function-insns=1000000 -ftoplevel-reorder
> > -fipa-reorder-for-locality -flto -xc
> >
> > ...
> >
> > /usr/local/bin/../lib/gcc/../../libexec/gcc/x86_64-pc-linux-gnu/16.0.1/lto1
> > -quiet -dumpbase ./a.wpa -mtune=generic -march=x86-64 -version -fno-openmp
> > -fno-openacc -fno-pie -fcf-protection=none -ftoplevel-reorder
> > -fipa-reorder-for-locality -fltrans-output-list=/tmp/ccSIaBU6.ltrans.out
> > -fwpa -fresolution=/tmp/ccVE7YXT.res -flinker-output=exec
> > --param=uninlined-function-insns=1000000 @/tmp/ccahkxlW
> >
> > lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
> > ...
> >
> >
> > Can you see if it's still failing on your side?
>
> it is failing for me with r16-7056
>
> --disable-checking in your configure probably disables any checking asserts
Yes, never use --disable-checking please.