https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79325
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE on valid C++ code on |ICE on valid GNU C++ code |x86_64-linux-gnu: in |(typeof) on |arg_assoc_type, at |x86_64-linux-gnu: in |cp/name-lookup.c:5823 |arg_assoc_type, at | |cp/name-lookup.c:5823 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Does it work if you use decltype instead of typeof?