This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35513] Improve targetm.binds_local_p
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2010 23:33:55 -0000
- Subject: [Bug tree-optimization/35513] Improve targetm.binds_local_p
- References: <bug-35513-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hjl dot tools at gmail dot com 2010-01-06 23:33 -------
Function pointer != function address in shared library.
When a function is protected, the one defined in shared library
will be called. But its function pointer can be outside of
shared library. So protected function pointer should be
treated as global.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35513