This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR35203 - reject dummies with VALUE + OPTIONAL


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]