https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100507
Bug ID: 100507
Summary: ICE on invalid: tree check expects tree that contains
'decl common'
Product: gcc
Version: 10.3.1
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100482
--- Comment #1 from Jeremy R. ---
This appears to be valid for function return types as well but the compiler
does error when decltype is used in a function parameter
namespace std{}
int A(int a) { // fine
decltype(std) b = a;
return b;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252
--- Comment #2 from Jeremy R. ---
Even more minimal case: https://godbolt.org/z/M3Tv9oqcn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252
--- Comment #1 from Jeremy R. ---
A more minimal case: https://godbolt.org/z/jxP9e35bz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252
Bug ID: 100252
Summary: Internal compiler error during template instantiation
Product: gcc
Version: 10.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Com