This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2008 08:33:11 -0000
- Subject: [Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array
- References: <bug-35698-15620@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pault at gcc dot gnu dot org 2008-03-28 08:33 -------
(In reply to comment #3)
> 1) If I am not mistaken, the first change is within a commented block (look at
> the last line in the diff.:
> ' } */')
Yes, indeed - the comment has been made consistent with the intended patch....
>
> 2) With the patch I have a lot of regressions on my quick and dirty testsuite.
> Among them I have several:
The patch posted here is in error - the version posted to the lists is correct.
Please note that I have no idea why what appears here did anything for the
reporter's testcase!
+ size = fold_build3 (COND_EXPR, gfc_array_index_type, cond,
+ size, gfc_index_zero_node);
has the last two arguments the wrong way round *sorry*
Cheers
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dominiq at lps dot ens dot
| |fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35698