[Patch, Fortran] PR35203 - reject dummies with VALUE + OPTIONAL
Richard Guenther
richard.guenther@gmail.com
Thu Mar 27 13:35:00 GMT 2008
On Thu, Mar 27, 2008 at 11:48 AM, Tobias Schlüter
<Tobias.Schlueter@physik.uni-muenchen.de> wrote:
>
> Tobias Burnus wrote:
> > Richard Guenther wrote:
> >> We have sorry () for this purpose (known implementation limitations).
> >
> > Thanks! I was not aware of that function!
> >
> > Tobias Schlüterwrote:
> >> Please don't use gfc_error for shortcomings in the compiler.
> > Agreed. How about the following patch?
>
> Is it possible to print a locus with sorry? Otherwise, I think
> gfc_internal_error would be preferable. After all, the user will have
> to change his program. I thought we had something for this purpose,
> like gfc_unimplemented, but I couldn't find it.
Yes, sorry () takes the same diagnostic formats as error () and warning ().
Richard.
More information about the Gcc-patches
mailing list