This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,patch] Fix PACK, SPREAD and CSHIFT for zero-sized arrays
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Steven Bosscher" <stevenb at suse dot de>, patch <gcc-patches at gcc dot gnu dot org>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Fri, 13 Oct 2006 15:14:02 +0200
- Subject: Re: [gfortran,patch] Fix PACK, SPREAD and CSHIFT for zero-sized arrays
I'm answering to a very patch review from Steven Bosscher:
http://gcc.gnu.org/ml/gcc-patches/2006-07/msg01239.html
This whole hunk could be implemented as the easier-to-understand:
I don't think it works as well, because if arraysize <= 0 you really
need the return statement and not to go on with the rest of the
function. So, I intend to commit the original version this week-end
unless there's an objection.
FX