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] PR 38252 FUNCTION rejected if both specification and execution part are empty


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.


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