https://bugs.freedesktop.org/show_bug.cgi?id=53855

             Bug #: 53855
           Summary: Properly detect GCC built-in atomic functions
    Classification: Unclassified
           Product: LibreOffice
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 65842
  --> https://bugs.freedesktop.org/attachment.cgi?id=65842
Detect GCC built-in atomic functions, __sync_add_and_fetch() and
__sync_sub_and_fetch().

Currently, sal uses GCC built-in atomic functions based on GCC version. 
Unfortunately, it is not always correct.  For example, FreeBSD has GCC 4.2.1
but it has __sync_add_and_fetch() and __sync_sub_and_fetch().  Also, Clang has
these features.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to