https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115781

--- Comment #2 from anlauf at gcc dot gnu.org ---
Interesting observation: replacing

   call use_mats(mats)

by

   call use_mats(mats(lbound(mats,1):))

leads to apparently correct output:

top level: mats, lbound=  2, ubound=  4
top level,  2: nRows=  2
top level,  3: nRows=  3
top level,  4: nRows=  4
 in use_mats:  mats, lbound=  1, ubound=  3
    use_mats,  1: nRows=  2
    use_mats,  2: nRows=  3
    use_mats,  3: nRows=  4

Reply via email to