[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    Re: PR17737 - already initialized data variables.
From:       Steven Bosscher <stevenb () suse ! de>
Date:       2005-10-29 17:09:50
Message-ID: 200510291909.50471.stevenb () suse ! de
[Download RAW message or body]

On Saturday 29 October 2005 19:05, Paul Thomas wrote:
> This causes an ICE:
>
> 	integer	i
> 	data i/0/
> 	data i/0/
> 	end
>
> This is not standard F95.  ifc warns of this but takes the last value.
>
> My inclination is to follow suite; in fact, in some ways it is easier to
> do that to catch it in match_data.  How about warning unless -std=f95,
> in which case error?

I would say, error on pedantic, warning otherwise.

Gr.
Steven


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic