[Bug c++/89906] [8 Regression] template template parameter redeclared

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 3 08:53:00 GMT 2019


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking,
                   |                            |ice-on-valid-code

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
With checking enabled shows

t.C:10:66: internal compiler error: canonical types differ for identical types
P1’ and ‘T1’
 template <template <typename P1, typename P2, typename P3> class F> struct
quote3 {};
                                                                  ^
0xb406fe comptypes(tree_node*, tree_node*, int)
        /space/rguenther/src/svn/gcc-8-branch/gcc/cp/typeck.c:1481
0xa5d17a comp_template_parms(tree_node const*, tree_node const*)
        /space/rguenther/src/svn/gcc-8-branch/gcc/cp/pt.c:3302
0xb3f3ab structural_comptypes
        /space/rguenther/src/svn/gcc-8-branch/gcc/cp/typeck.c:1324
0xb40830 comptypes(tree_node*, tree_node*, int)
        /space/rguenther/src/svn/gcc-8-branch/gcc/cp/typeck.c:1498


More information about the Gcc-bugs mailing list