[Patch, fortran] PR19292 - g77 features missing or broken: PR18737 and PR21565

Tobias.Schlueter@Physik.Uni-Muenchen.DE Tobias.Schlueter@Physik.Uni-Muenchen.DE
Wed Oct 26 14:01:00 GMT 2005


Quoting Paul Thomas <paulthomas2@wanadoo.fr>:
> Please find a patch to symbol.c that fixes two of the entries in the g77
> meta-bug, PR19292.  Both are very simple and, since they both modify the
> same file, have been submitted together.
>
> 1] PR18737: If, after the call to gfc_get_default_type, an external
> symbol still does not have a type, we have an error.

There are a lot of places where we call gfc_set_default_type with error_flag =
0, are you sure that issuing the errors is correct in all these places?  If
that's not certain, a safer approach would be changing the callsite in
resolve.c to only set error_flag == 0 if the symbol is an intrinsic function.

> 2] PR21565: Add to check_conflict the constraint that a namelist object
> cannot be in block data.

This is of course ok.

Thanks,
- Tobi



More information about the Fortran mailing list