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

            Bug ID: 91607
           Summary: [9 regression] internal compiler error: in equal, at
                    cp/constexpr.c:1088
           Product: gcc
           Version: 9.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: h2+bugs at fsfe dot org
  Target Milestone: ---

Created attachment 46787
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46787&action=edit
intermediate code generated from GCC7

Recently some tests in our CI have started to fail. I am pretty sure they did
not fail with 9.1.0; I can verify they do not fail with GCC7, GCC8 and GCC10.

I have attached intermediate code for our test case, generated with different
compiler versions and each tested also with different compiler versions.

The command to invoke is:
g++ -std=c++17 -fconcepts custom_alphabet_test_GCC7.ii
./gtest_project/src/gtest_project-build/googletest/libgtest.a
./gtest_project/src/gtest_project-build/googletest/libgtest_main.a


Results for intermediate code generated from GCC7:
  * GCC7 builds
  * GCC8 builds
  * GCC9: internal compiler error: in nothrow_spec_p, at cp/except.c:1247
  * GCC10: builds

Results for intermediate code generated from GCC8:
  * GCC8 builds
  * GCC9: internal compiler error: in equal, at cp/constexpr.c:1088
  * GCC10: builds

Results for intermediate code generated from GCC9:
  * GCC9: internal compiler error: in equal, at cp/constexpr.c:1088
  * GCC10: builds

Results for intermediate code generated from GCC10:
  * GCC10: builds

The exact compiler versions are:
g++7 (FreeBSD Ports Collection) 7.4.0
g++8 (FreeBSD Ports Collection) 8.3.0
g++9 (FreeBSD Ports Collection) 9.2.0
g++10 (FreeBSD Ports Collection) 10.0.0 20190818 (experimental)

Reply via email to