This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,patch] Add IS_IOSTAT_EOR and IS_IOSTAT_END intrinsics
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Tobias Burnus" <burnus at net-b dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 29 Aug 2007 16:07:53 +0100
- Subject: Re: [gfortran,patch] Add IS_IOSTAT_EOR and IS_IOSTAT_END intrinsics
- References: <19c433eb0708290424t7d1605a6o8735585a871449c6@mail.gmail.com> <46D58941.9050103@net-b.de>
> I wonder whether one should add some comment, e.g.
> gfc_conv_has_intvalue (se, expr, -2); /* IOSTAT_EOR == -2. */
>
> this makes the numbers a bit less magic
Perfect timing! I'll be submitting in a few minutes a patch that fixes
this problem by creating a common header for the front-end and library
;-) I've had this idea for some time now, and I finally got to it.
Thanks for the review,
FX