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

            Bug ID: 103096
           Summary: Compiling never ends (at least not in resonable time -
                    less than 10 mins)
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pavel.celba at ricardo dot com
  Target Milestone: ---

Code - file test.cpp:

#include <iostream>
#include <utility>


using namespace std;

template <typename T> int qHash(const T& a)
{
  return qHash(std::pair<T, T>(a, a));
}

int main()
{
  int a = 3;
  std::cout << qHash(a);
}

Run as normally:
gcc test.cpp

Reply via email to