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

Paul Richard Thomas paul.richard.thomas@gmail.com
Fri Apr 10 13:19:00 GMT 2009


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



More information about the Gcc-patches mailing list