[Patch, Fortran] Reject duplicated PURE/ELEMENTAL/RECURSIVE

Tobias Burnus burnus@net-b.de
Wed Sep 12 21:52:00 GMT 2007


:ADDPATCH fortran:

R1227 prefix is prefix-spec [ prefix-spec ] ...
R1228 prefix-spec is declaration-type-spec
                  or RECURSIVE
                  or PURE
                  or ELEMENTAL
C1240 (R1227) A prefix shall contain at most one of each prefix-spec.


Build and regression tested on x86_64-unknown-linux-gnu.
Ok for the trunk?

Tobias

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: recursive.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070912/a5ab4dd3/attachment.ksh>


More information about the Gcc-patches mailing list