https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Roger Sayle from comment #3) > Thanks for investigating this HJ (I'm having difficulty configuring my You can bootstrap 32bit GCC on Linux/x86-64 if 32-bit libraries are available. > system to reproduce this). Is the TARGET_64BIT guard needed by both > peephole2s, or is one sufficient to restore bootstrap? Your fix/workaround I will double check. > (disabling the optimization on -m32) looks good, but I still can't figure > out what about this transformation is unsafe, and therefore perhaps latent > on -m64. Sorry again for the inconvenience.