[Bug fortran/19926] Incorrect rank with PARAMETER and array element.
eedelman at acclab dot helsinki dot fi
gcc-bugzilla@gcc.gnu.org
Sat Jun 11 12:44:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list