[Patch, Fortran] PR40881 - Add two F95 obsolescence warnings

Tobias Burnus burnus@net-b.de
Tue Aug 14 10:17:00 GMT 2012


On 08/14/2012 11:57 AM, Mikael Morin wrote:
> On 14/08/2012 11:33, Tobias Burnus wrote:
>> Thus, I removed ST_LABEL_ENDDO_TARGET, use "=type" and added a comment,
>> but I didn't do the verify_st_order change.
>>
>> Build and regested on x86-64-linux.
>> OK for the trunk?
>>
> OK, apart for:
> 	* gfortran.dg/data_constraints_1.f90: Update dg-warning.
> I don't see the need for the change, the ChangeLog doesn't match the
> patch, and it is different from the initial version. A forgotten local edit?

No, just the wrong (?) solution to a real issue. The -pedantic flag 
causes the obsolescent warning. To avoid it, one can either remove the 
"allocate" or one uses
   ! { dg-options "" }
I think the latter is cleaner.

I will commit the patch with the latter and a fixed ChangeLog.

Tobias



More information about the Fortran mailing list