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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |ppalka at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot 
gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2022-01-04

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Looks like this is a frontend bug, the constexpr engine can't resolve the
indirection (where the D.NNNNN correspond to base class subobjects, the
innermost of which is the _Variant_storage base)

  *(struct variant *) &s.v.D.47079.D.46560.D.46478.D.46346.D.46232.D.46136

into just

  s.v

Reply via email to