[Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34871 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #5 from Harald Anlauf --- 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?
[Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34871 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2008-11-18 19:35:34 |2017-6-15 --- Comment #4 from Thomas Koenig --- Still current on trunk.
[Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
--- Comment #3 from pault at gcc dot gnu dot org 2008-11-18 19:35 --- Yes indeed - confirmed. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-11-18 19:35:34 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34871
[Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
--- Comment #1 from dfranke at gcc dot gnu dot org 2008-01-21 22:11 --- There are multiple issues with function names, i.e. where a function symbol is picked up which shouldn't. See PR34714 for another example. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34871
[Bug fortran/34871] Flavor VARIABLE vs. FUNCTION: Accepts invalid
--- Comment #2 from dfranke at gcc dot gnu dot org 2008-01-21 23:23 --- And Pr34910. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added CC||dfranke at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34871