http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46822
--- Comment #1 from isdmter at gmail dot com 2010-12-06 15:14:45 UTC ---
Oops, I forgot to show my output:
$ ./main
0
0.00
0
Segmentation fault
The first two lines are the first call to f() (directly from the main()),
whereas the last two
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46822
Summary: printf( "%f" ) segv when called from pthread_once
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unas