This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41777] Wrong-code with POINTER-returning GENERIC function
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2009 14:44:42 -0000
- Subject: [Bug fortran/41777] Wrong-code with POINTER-returning GENERIC function
- References: <bug-41777-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from burnus at gcc dot gnu dot org 2009-10-25 14:44 -------
TODO: Check whether the patch does the right thing. One overrides the symbol
settings of the generic, which should be harmless, but might lead to problems
if one uses different specifics which share the same "sym" pointer. On the
other hand, all the code assumes that accessing "symtree->n.sym->attr" gives
the correct result for exec_type == EXEC_FUNCTION.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41777