https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97742
Bug ID: 97742
Summary: endless loop with code reduced by creduce/cvise
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at debian dot org
Target Milestone: ---
Created attachment 49514
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49514&action=edit
preprocessed source
seen with the gcc-10 branch, seen while reducing via cvise/creduce
$ g++ -c -std=c++17 -fconcepts -Wall search_collection_test.ii
In file included from search_collection_test.ii:689:
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1148:13: error: expected
primary-expression before ‘namespace’
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1150:11: error: expected
‘;’ before ‘namespace’
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1165:12: error: expected
primary-expression before ‘namespace’
In file included from search_collection_test.ii:689:
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1187:11: error: expected
‘;’ before ‘namespace’
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1191:13: error: expected
primary-expression before ‘namespace’
[...]
the compiler continues to emit error messages, doesn't terminate.
compiler configured with --enable-checking=yes,extra,rtl