[Bug c/46822] printf( "%f" ) segv when called from pthread_once
isdmter at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 6 15:14:00 GMT 2010
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.000000
0
Segmentation fault
The first two lines are the first call to f() (directly from the main()),
whereas the last two correspond to the second of f() (from pthread_once()).
Isdmter
More information about the Gcc-bugs
mailing list