[Bug c++/100829] New: ICE with type that can't be determined

llvm at rifkin dot dev gcc-bugzilla@gcc.gnu.org
Sun May 30 01:22:29 GMT 2021


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

            Bug ID: 100829
           Summary: ICE with type that can't be determined
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: llvm at rifkin dot dev
  Target Milestone: ---

Following code causes an ICE:

template<auto a, auto b>
auto e = e<a, b>;
template<auto a>
auto e<a, 0> = 0;

auto r = e<e,0>;


This goes back to GCC 10.


More information about the Gcc-bugs mailing list