public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Optimized out pthread?
       [not found] <1377649370.78624.YahooMailNeo@web165005.mail.bf1.yahoo.com>
@ 2013-08-28 11:44 ` Hei Chan
  0 siblings, 0 replies; only message in thread
From: Hei Chan @ 2013-08-28 11:44 UTC (permalink / raw)
  To: gcc-help

Hi,

I am curious whether g++ will optimize out pthread function calls (meaning completely dropping them because g++ thinks they have no effect).

I could write a dummy program and objdump on the .o output.

However, it would be great to have a definite answer than trial and error later.

Thanks in advance.


Cheers,
Hei

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-28  0:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1377649370.78624.YahooMailNeo@web165005.mail.bf1.yahoo.com>
2013-08-28 11:44 ` Optimized out pthread? Hei Chan

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).