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

            Bug ID: 122015
           Summary: [16 Regression]
                    g++.dg/modules/xtreme-header-2_b.C:5:30: internal
                    compiler error: canonical types differ for identical
                    types ‘auto’ and ‘auto’
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On Linux/x86-64, r16-3997-ga77146f01563b5 caused:

/export/gnu/import/git/sources/gcc/gcc/testsuite/g++.dg/modules/xtreme-header-2_b.C:5:30:
internal compiler error: canonical types differ for identical types ‘auto’ and
‘auto’
0x30dc052 internal_error(char const*, ...)
        /export/gnu/import/git/sources/gcc/gcc/diagnostic-global-context.cc:786
0x8cc772 comptypes(tree_node*, tree_node*, int)
        /export/gnu/import/git/sources/gcc/gcc/cp/typeck.cc:1734
0x8cba8f structural_comptypes
        /export/gnu/import/git/sources/gcc/gcc/cp/typeck.cc:1616
0x8cc6b9 comptypes(tree_node*, tree_node*, int)
        /export/gnu/import/git/sources/gcc/gcc/cp/typeck.cc:1723
0x8a4f64 cp_tree_equal(tree_node*, tree_node*)
        /export/gnu/import/git/sources/gcc/gcc/cp/tree.cc:4444
0x672e20 is_matching_decl
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:12466
0x65fe67 decl_value
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:8933
0x6669b1 tree_node
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:10258
0x6578e0 core_vals
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:7022
0x65a752 tree_node_vals
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:7746
0x664ff2 tree_value
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:9873
0x666999 tree_node
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:10253
0x658b9f core_vals
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:7279
0x65a752 tree_node_vals
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:7746
0x664ff2 tree_value
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:9873
0x666999 tree_node
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:10253
0x658da6 core_vals
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:7309
0x65a752 tree_node_vals
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:7746
0x664ff2 tree_value
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:9873
0x666999 tree_node
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:10253
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to