https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119889
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2025-04-22
Ever confirmed|0 |1
--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
I can reproduce this on mainline, gfortran 16.
tree
gfc_typenode_for_spec (gfc_typespec * spec, int codim)
{
tree basetype;
switch (spec->type)
{
case BT_UNKNOWN:
gcc_unreachable ();
The spec type is unknown.