From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1653 invoked by alias); 6 Jan 2010 23:34:04 -0000 Received: (qmail 1622 invoked by uid 48); 6 Jan 2010 23:33:55 -0000 Date: Wed, 06 Jan 2010 23:34:00 -0000 Message-ID: <20100106233355.1620.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/35513] Improve targetm.binds_local_p In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg00719.txt.bz2 ------- 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