This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33298] Wrong code for SPREAD on zero-sized arrays
- From: "tkoenig at alice-dsl dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2007 21:13:54 -0000
- Subject: [Bug libfortran/33298] Wrong code for SPREAD on zero-sized arrays
- References: <bug-33298-109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from tkoenig at alice-dsl dot net 2007-09-06 21:13 -------
Subject: Re: Wrong code for SPREAD on zero-sized
arrays
Hi Toon,
>
> ------- Comment #8 from toon at moene dot indiv dot nluug dot nl 2007-09-06 08:56 -------
> Wouldn't it be an option to simply bail out early (i.e., after the error
> checks) in case of size == 0 ?
>
I think size is the size of an element in the array (in bytes), so
this wouldn't really help.
Thomas
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33298