This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/19926] Incorrect rank with PARAMETER and array element.


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]