This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19926] Incorrect rank with PARAMETER and array element.
- From: "eedelman at acclab dot helsinki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2005 12:43:55 -0000
- Subject: [Bug fortran/19926] Incorrect rank with PARAMETER and array element.
- References: <20050212162405.19926.sgk@troutmask.apl.washington.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From eedelman at acclab dot helsinki dot fi 2005-06-11 12:43 -------
(In reply to comment #7)
> One thing that slightly worries my is, why isn't e->rank zero by itself? If you
> make string_comp in the fortran code a PROGRAM instead of SUBROUTINE, e->rank
> _is_ zero (even without the patch). I feel there is something fishy going on,
> and I don't feel completely comfortable with the patch before I know what it is.
Ok, I've messed up a bit -- when I changed SUBROUTINE to PROGRAM, I did some
other changes to the code as well. Apperantly, it was one of those other
changes that made it work. I have no objections against applying the patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19926