[Bug c++/96957] [9/10/11/12 Regression] GCC thinks a non-dependent base is dependent because of template alias

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 3 05:44:34 GMT 2021


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-08-03
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |5.1.0
     Ever confirmed|0                           |1
      Known to fail|                            |6.1.0
   Target Milestone|---                         |9.5
            Summary|No name-lookup into base    |[9/10/11/12 Regression] GCC
                   |class when using an non     |thinks a non-dependent base
                   |dependent base class via    |is dependent because of
                   |template alias with dummy   |template alias
                   |parameter.                  |

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.  Note I suspect the reason why it worked in GCC 5 was because there
was some rewrite in GCC 6 to correct aliases.


More information about the Gcc-bugs mailing list