https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|error on a function         |[8/9/10 Regression] error
                   |redeclaration with          |on a function redeclaration
                   |attribute transaction_safe  |with attribute
                   |                            |transaction_safe
           Keywords|                            |rejects-valid

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Bisection points to r228462 as the first revision to reject the code:

commit b8fd7909c04a29e82fb3ebace161801f949ad4f5
Author: Jason Merrill <ja...@redhat.com>
Date:   Sun Oct 4 15:17:19 2015 -0400

    Implement N4514, C++ Extensions for Transactional Memory.

    gcc/
            * builtins.def (BUILT_IN_ABORT): Add transaction_pure attribute.
    gcc/c-family/
            * c-common.c (c_common_reswords): Add C++ TM TS keywords.
            (c_common_attribute_table): Add transaction_safe_dynamic.
            transaction_safe now affects type identity.
            (handle_tm_attribute): Handle transaction_safe_dynamic.
            * c-common.h (enum rid): Add RID_ATOMIC_NOEXCEPT,
            RID_ATOMIC_CANCEL, RID_SYNCHRONIZED.
            (OBJC_IS_CXX_KEYWORD): Add RID_SYNCHRONIZED.
            (D_TRANSMEM): New.

Reply via email to