[Bug lto/113207] [12/13/14/15 Regression] error: type variant has different 'TREE_TYPE' with noreturn or const

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 3 13:24:11 GMT 2025


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
A possible fix is to swap dropping const/volatile qualifiers first and then
build the simplified type.


More information about the Gcc-bugs mailing list