This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR 38252 FUNCTION rejected if both specification and execution part are empty
- From: Tobias Burnus <burnus at net-b dot de>
- To: Mikael Morin <mikael dot morin at tele2 dot fr>
- Cc: correctifs gcc <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 28 Nov 2008 15:13:34 +0100
- Subject: Re: [Patch, Fortran] PR 38252 FUNCTION rejected if both specification and execution part are empty
- References: <492F0DF7.5080908@tele2.fr> <49300944.2070906@tele2.fr>
Hello Mikael,
Mikael Morin wrote:
>> this fixes PR 38252 where this was rejected:
>>
>> INTEGER FUNCTION test ()
>> CONTAINS
>> END FUNCTION test
>>
> Here is an other way to fix the same problem (I prefer this one).
>
OK. Thanks for the patch.
Tobias
PS: Is there any other pending gfortran patch? (Besides my
-finit-real-snan patch.)
> 2008-11-28 Mikael Morin <mikael.morin@tele2.fr>
>
> PR fortran/38252
> * parse.c (parse_spec): Skip statement order check in case
> of a CONTAINS statement.
>
> 2008-11-28 Mikael Morin <mikael.morin@tele2.fr>
>
> PR fortran/38252
> * gfortran.dg/empty_function_1.f90: New test.