[Bug fortran/59104] 15 Regression - Wrong result with SIZE specification expression
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 20 18:34:00 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104
--- Comment #15 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #14)
> Seems to affect only dummies, not local arrays.
Comparing the dump tree between working and failing, the order of the
generation of the descriptors seems reversed, i.e. a bound is set from
a variable that is set later, which is why one sees a 0 or junk.
I haven't figured out yet how the patch leads to that effect...
More information about the Gcc-bugs
mailing list