This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR27781
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 15 Jun 2006 08:42:32 -0700
- Subject: Re: [PATCH] Fix PR27781
- References: <Pine.LNX.4.64.0606151728020.4318@nyjnma.fhfr.qr>
On Jun 15, 2006, at 8:29 AM, Richard Guenther wrote:
2nd try.
Bootstrapped and regtested on x86_64-unknown-linux-gnu.
Ok for mainline and 4.1?
! /* If this is a volatile or weak function, do not touch this
unless it has
been marked as const or pure by the front end. */
! if (TREE_THIS_VOLATILE (decl)
! || DECL_WEAK (decl))
Again you should use targetm.binds_local_p.
-- Pinski