This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran, 4.5] PR 39414 - PROCEDURE statement double declaration bug
Janus,
I stand corrected then - PR16943 is indeed the one.
Ah well, I had better review the patch as penance!
Cheers
Paul
On Tue, Mar 10, 2009 at 7:00 PM, Janus Weil <janus@gcc.gnu.org> wrote:
>> In general, a repeated type declaration is legal, as long as it
>> confirms the type.
>
> In the Fortran 2003 Standard, chapter 5, you find:
>
> ?Every data object has a type and rank and may have type parameters
> and other attributes that determine
> ?the uses of the object. Collectively, these properties are the
> attributes of the object.
>
> ?...
>
> ?C508 An entity shall not be explicitly given any attribute more than
> once in a scoping unit.
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy