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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-12-21
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
What is going on is that cp_genericize_r first converts changes a by-reference
RESULT_DECL into INDIRECT_REF of it, and then (dunno if because of tree sharing
or some constexpr stuff) at some point that IL is passed again to
cp_genericize_r again and again performs the same change, so we in the end have
two nested INDIRECT_REFs and the types don't match any longer.

Reply via email to