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 lto/51698 and the state of LTO + transactional memory


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~


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