This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Fix PR38709, ice-on-invalid-code


Daniel,

On the face of it this looks OK for trunk, up to a question:

Is it not worthwhile verifying that the size really is zero by
counting the elements rather than checking the shape?  The reason that
I ask is that the shape can come fairly late in the game, IRC.  Mind
you, for it to be useful, you would then have to go off and determine
the shape...

Cheers

Paul

On Fri, Apr 10, 2009 at 2:23 PM, Daniel Franke <franke.daniel@gmail.com> wrote:
>
> http://gcc.gnu.org/ml/fortran/2009-04/msg00028.html
>
> On Saturday 04 April 2009 18:31:44 Daniel Franke wrote:
>> Attached patch fixes an ICE-on-invalid with zero-sized arrays in
>> initialization expressions.
>
> Ping?
>
>



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]