This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR lto/51698 and the state of LTO + transactional memory
- From: Richard Henderson <rth at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 25 Jan 2012 10:24:54 +1100
- Subject: Re: PR lto/51698 and the state of LTO + transactional memory
- References: <4F1F3BB4.7010205@redhat.com>
On 01/25/2012 10:16 AM, Aldy Hernandez wrote:
> The attached patch fixes the ICE in the PR, though it won't do what
> the user ultimately wants to do, given the limitations described.
> Perhaps we could create another PR and tag it with an enhancement
> request.
An enhancement request pr sounds good.
> PR lto/51698
> * builtin-types.def: (BT_CONST_DOUBLE_PTR): New.
> (BT_FN_VOID_PTR_CONST_PTR_SIZE): New.
> (BT_FN_VOID_PTR_INT_SIZE): New.
> (BT_FN_DOUBLE_VPTR): Remove.
> (BT_FN_DOUBLE_CONST_DOUBLE_PTR): New.
> * gtm-builtins.def (_ITM_abortTransaction): Set return type to
> void.
> (_ITM_changeTransactionMode): Same.
> (_ITM_memmoveRtWt): Change return type to void.
> (_ITM_memcpyRtWt): Same.
> (_ITM_memsetW): Same.
> (_ITM_RaRD): Change types to double.
> (_ITM_RD): Same.
> (_ITM_RaWD): Same.
> (_ITM_RfWD): Same.
> * builtins.def (DEF_TM_BUILTIN): Set BOTH_P to true.
Ok.
r~