https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860
--- Comment #69 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Martin Liška from comment #68)
> > Righto. This is proving unexpectedly hard to reproduce.
>
> Ok, so please tell me exact steps how to reproduce it.
First of all, get a -march=bdver2 machine. Install Fedora Linux.
Get recent gcc trunk.
Use this configure command:
../trunk.git/configure \
--disable-multilib \
--disable-werror \
--enable-checking=df,extra,fold,rtl,yes \
--enable-languages=c,c++
sed 's/-O2/-O3 -march=native/' < Makefile > Makefile.tmp
diff Makefile Makefile.tmp
mv Makefile.tmp Makefile
Build it and see what happens. I suspect that you won't need all the checking
flags I use.
I also suspect that the recent fix for bug # 103515 might affect the
results, but let's see.