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

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 65078
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65078&action=edit
Runtime testcase

Slightly reduced more, removed templates.
The only thing left is the typedef ValuePart for use in `base1::gg` which is
required to get the wrong value.

I think this is a front-end issue producing something that the middle-end does
not understand. There is a "cast" I think for the pointer to member function
which is causing the issue. This is why the typedef is needed there.

Reply via email to