[PATCH] Fix fortran/81509
Janus Weil
janus@gcc.gnu.org
Tue Oct 3 19:38:00 GMT 2017
2017-10-03 20:10 GMT+02:00 Steve Kargl <sgk@troutmask.apl.washington.edu>:
>> > There is no mechanism available to warn the user of nonstandard code.
>>
>> Of course there is:
>>
>> $ gfortran -std=f2008 a.f90
>> a.f90:4:17:
>>
>> print *, iand(i,j)
>> 1
>> Error: GNU Extension: Different type kinds at (1)
>>
>
> Reread what I wrote. There is NO MECHANISM TO WARN the user.
> -std=f2008 does not produce a WARNING. It produces an ERROR.
Sorry, I'm currently traveling and must have misread that.
Anyway, I don't have the feeling this discussion is going anywhere. I
said my opinion, you heard it. You have two OKs, so just go ahead and
commit the patch. I really don't care.
Cheers,
Janus
More information about the Fortran
mailing list