OSDN Git Service

PR lto/51698
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jan 2012 20:32:57 +0000 (20:32 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jan 2012 20:32:57 +0000 (20:32 +0000)
commit9eb529b80de1302adb508c1d4fae8c8c8e88ae3a
treecb6bef74675c93b0a3d09cce2920aed03d5a155f
parent1d5a3baca9b7c9488bde8214d10d1ff57efa058d
    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_UINT_UINT_VAR): Remove.
        (BT_FN_UINT32_UINT32_VAR): 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.
testsuite/
        PR lto/51698
        * gcc.dg/lto/trans-mem-4_0.c: New.
        * gcc.dg/lto/trans-mem-4_1.c: New.
        * gcc.dg/lto/trans-mem-2_0.c: Provide correct argument types for
        TM builtins.
        * gcc.dg/lto/trans-mem-1_0.c: Require stdint_types.
        * gcc.dg/lto/trans-mem-1_1.c: Provide correct argument types for
        TM builtins.
        * gcc.dg/lto/trans-mem-3_0.c: Require stdint_types.
        * gcc.dg/lto/trans-mem-3_1.c: Provide correct argument types for
        TM builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183537 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/ChangeLog
gcc/builtin-types.def
gcc/builtins.def
gcc/gtm-builtins.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/trans-mem-1_0.c
gcc/testsuite/gcc.dg/lto/trans-mem-1_1.c
gcc/testsuite/gcc.dg/lto/trans-mem-2_0.c
gcc/testsuite/gcc.dg/lto/trans-mem-3_0.c
gcc/testsuite/gcc.dg/lto/trans-mem-3_1.c
gcc/testsuite/gcc.dg/lto/trans-mem-4_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/trans-mem-4_1.c [new file with mode: 0644]