public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
@ 2012-05-31 16:15 robotux at celest dot fr
  2012-05-31 21:07 ` [Bug nptl/14188] " jrnieder at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: robotux at celest dot fr @ 2012-05-31 16:15 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14188

             Bug #: 14188
           Summary: pthread_cleanup_push uses __builtin_expect when
                    !defined(__GNUC__)
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: unassigned@sourceware.org
        ReportedBy: robotux@celest.fr
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Greetings glibc maintainers,

in pthread.h, when __GNUC__ is not defined, pthread_cleanup_push is defined
(line 648 in 2.15) in a way that uses __builtin_expect. I think this can't
reasonnably be expected to be supported by all compilers. As a matter of fact,
tinycc doesn't support this extension and thus every program using
pthread_cleanup_push fails to compile with it.

Best regards,

Thomas Preud'homme

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-19 14:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
2012-05-31 21:07 ` [Bug nptl/14188] " jrnieder at gmail dot com
2012-05-31 21:33 ` vr5 at yandex dot ru
2012-06-01 20:01 ` siddhesh at redhat dot com
2012-06-01 20:09 ` siddhesh at redhat dot com
2012-06-04  9:17 ` siddhesh at redhat dot com
2014-06-19 14:34 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).