[Bug c/97493] generate wrong code with "-Os -fno-toplevel-reorder -frename-registers"

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 19 15:23:39 GMT 2020


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |WAITING
   Last reconfirmed|                            |2020-10-19
     Ever confirmed|0                           |1
         Resolution|INVALID                     |---

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
But he's using -fno-strict-aliasing so at least that part isn't relevant?
That said, the C rules still make it an INVALID testcase but I think
GCC-wise it could be well-defined, so understanding what goes wrong would be
nice.


More information about the Gcc-bugs mailing list