[Bug c/94106] [8/9/10 Regression] error on a function redeclaration with attribute transaction_safe

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106

Jeffrey A. Law  changed:

   What|Removed |Added

 CC||law at redhat dot com
   Priority|P3  |P4

[Bug c/94106] [8/9/10 Regression] error on a function redeclaration with attribute transaction_safe

2020-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek  ---
I'm afraid nobody really maintains the -fgnu-tm stuff anymore.

[Bug c/94106] [8/9/10 Regression] error on a function redeclaration with attribute transaction_safe

2020-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |8.5

[Bug c/94106] [8/9/10 Regression] error on a function redeclaration with attribute transaction_safe

2020-03-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106

Martin Sebor  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  ---
Bisection points to r228462 as the first revision to reject the code:

commit b8fd7909c04a29e82fb3ebace161801f949ad4f5
Author: Jason Merrill 
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.