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

            Bug ID: 94108
           Summary: transaction memory attributes not documented
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

GCC exposes a number of attributes for transactional memory (see below) but the
documentation doesn't mention any of them.

The list of attributes from c-family/c-attribs.c:

  { "transaction_callable",   0, 0, false, true,  false, false,
                              handle_tm_attribute, NULL },
  { "transaction_unsafe",     0, 0, false, true,  false, true,
                              handle_tm_attribute, NULL },
  { "transaction_safe",       0, 0, false, true,  false, true,
                              handle_tm_attribute, NULL },
  { "transaction_safe_dynamic", 0, 0, true, false,  false, false,
                              handle_tm_attribute, NULL },
  { "transaction_may_cancel_outer", 0, 0, false, true, false, false,
                              handle_tm_attribute, NULL },
  /* ??? These two attributes didn't make the transition from the
     Intel language document to the multi-vendor language document.  */
  { "transaction_pure",       0, 0, false, true,  false, false,
                              handle_tm_attribute, NULL },
  { "transaction_wrap",       1, 1, true,  false,  false, false,
                             handle_tm_wrap_attribute, NULL },

Reply via email to