https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65532
--- Comment #4 from Mikael Morin <mikael at gcc dot gnu.org> --- With r221586, procedure d1mach is resolved more than once. At the first time resolve_values is called, the problematic variables (diver, large, etc) have a NULL sym->value, which is set afterwards in resolve_data. On the second call, the value is non-null and the error is produced.