This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR middle-end/51411: handle transaction_safe virtual inlined methods


On 12/13/2011 12:48 PM, Aldy Hernandez wrote:
> 	PR middle-end/51411
> 	* trans-mem.c (ipa_tm_create_version): Do not zap DECL_EXTERNAL.
...
>        /* ??? Is it worth trying to use make_decl_one_only?  */
>        if (DECL_DECLARED_INLINE_P (new_decl) && DECL_EXTERNAL (new_decl))
> -	{
> -	  DECL_EXTERNAL (new_decl) = 0;
> -	  TREE_PUBLIC (new_decl) = 0;
> -	}
> +	DECL_EXTERNAL (new_decl) = 0;

Yes, that's what we had in mind.  Though of course the changelog doesn't match.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]