https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124976
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
This is a false positive and Coverity not being smart enough to see it.
gfc_typenode_for_spec only touches expr->ts.type when
type==BT_DERIVED||type==BT_CLASS and then only changes it to BT_INTEGER.
And we are only looking at the case where it is BT_CHARACTER for the other
argument.