This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47266] Optimization: Declare PRIVATE module procedures as "TREE_PUBLIC = 0" ("static function")
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Jan 2011 11:05:10 +0000
- Subject: [Bug fortran/47266] Optimization: Declare PRIVATE module procedures as "TREE_PUBLIC = 0" ("static function")
- Auto-submitted: auto-generated
- References: <bug-47266-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47266
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-15 11:05:06 UTC ---
Another note: Seemingly, the current patch does not work, if the default access
mode is "PRIVATE" and only if one explicitly sets the privacy. (Which is a
missed optimization.)