[Bug libstdc++/58104] std::call_once appears to fail on standard code

2013-08-08 Thread DBarto at visionpro dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58104 --- Comment #2 from DBarto at visionpro dot com --- I added the -pthread flag and nothing changed. The code failed to execute at the point noted in the assembly output. David On Aug 8, 2013, at 9:10 AM, redi at gcc dot gnu.org wrote

[Bug libstdc++/58104] std::call_once appears to fail on standard code

2013-08-08 Thread DBarto at visionpro dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58104 --- Comment #3 from DBarto at visionpro dot com --- /opt/local/bin/g++-mp-4.7 -std=c++11 -Wall -Wextra -pthread -g use_once.cpp -o use_once ./use_once 571_ ./use_once Segmentation fault: 11 gdb use_once (gdb) r Starting program: /Users/barto/mvp