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

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
If the example in comment #0 is changed as follows:

MODULE TESTS
  dimension :: k(4)
CONTAINS
  function k() result (kk)
    kk = 35
  end function k
END MODULE TESTS

the code - although still invalid - still compiles, but the dump-tree
is completely different.

I also see big differences in the dump-tree between comment #0 and the
above for 9-trunk, but not for 8-branch.

ISTR a patch (Steve) that fixed a related issue with RESULT(), maybe
that is the place to look for a fix?

Reply via email to