[Bug c++/82899] *this in constructors could not alias with reference input parameters of the same type

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 11 21:20:00 GMT 2018


Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
  Attachment #44112|0                           |1
        is obsolete|                            |

--- Comment #17 from Marc Glisse <glisse at gcc dot gnu.org> ---
Created attachment 44120
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44120&action=edit
Successful patch

Changing the type during gimplification seems to work, it passes the testsuite.

More information about the Gcc-bugs mailing list