[Bug fortran/26246] regression from 4.1 to trunk with TREE_STATIC designation.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 13 00:13:00 GMT 2006
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-13 00:13 -------
495 /* TODO: Don't set sym->module for result or dummy variables. */
496 gcc_assert (current_function_decl == NULL_TREE || sym->result ==
sym);
497 /* This is the declaration of a module variable. */
498 TREE_PUBLIC (decl) = 1;
499 TREE_STATIC (decl) = 1;
that is where we set the decl's public and static flags, that seems wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26246
More information about the Gcc-bugs
mailing list