This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82899] *this in constructors could not alias with reference input parameters of the same type
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 May 2018 21:20:41 +0000
- Subject: [Bug c++/82899] *this in constructors could not alias with reference input parameters of the same type
- Auto-submitted: auto-generated
- References: <bug-82899-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82899
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.