public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nicola at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/46822] printf( "%f" ) segv when called from pthread_once Date: Mon, 17 Jan 2011 23:48:00 -0000 [thread overview] Message-ID: <bug-46822-4-HVsqUT6tgB@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-46822-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46822 Nicola Pero <nicola at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2011.01.17 22:49:07 CC| |nicola at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #2 from Nicola Pero <nicola at gcc dot gnu.org> 2011-01-17 22:49:07 UTC --- Isdmter thanks for your report and the testcase. The attached testcase works for me using GCC 4.6.0 (pre-release) -- gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/gcc/trunk7/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../trunk7/configure --prefix=/opt/gcc/trunk7 --enable-languages=c,objc,c++,obj-c++ --enable-objc-gc --with-gmp=/opt/gcc/auxiliary/ --with-mpfr=/opt/gcc/auxiliary/ --with-mpc=/opt/gcc/auxiliary/ --enable-checking=release : (reconfigured) ../trunk7/configure --prefix=/opt/gcc/trunk7 --enable-objc-gc --with-gmp=/opt/gcc/auxiliary/ --with-mpfr=/opt/gcc/auxiliary/ --with-mpc=/opt/gcc/auxiliary/ --enable-checking=release --enable-languages=c,c++,lto,objc,obj-c++ --no-create --no-recursion Thread model: posix gcc version 4.6.0 20110116 (experimental) (GCC) [nicola@lampone ~]$ gcc -Wall -save-temps -o main -pthread -lpthread main.c [nicola@lampone ~]$ ./main 0 0.000000 0 0.000000 [nicola@lampone ~]$ I also tried on a x86_64-unknown-linux-gnu AMD machine, similar to yours, and it works fine there too. Maybe you could manage to try with GCC 4.6.0 (prerelease) and confirm that you're still seeing the bug there ? Thanks
next prev parent reply other threads:[~2011-01-17 22:49 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-12-06 15:07 [Bug c/46822] New: " isdmter at gmail dot com 2010-12-06 15:14 ` [Bug c/46822] " isdmter at gmail dot com 2011-01-17 23:48 ` nicola at gcc dot gnu.org [this message] 2011-01-17 23:52 ` [Bug middle-end/46822] " pinskia at gcc dot gnu.org 2013-11-10 8:19 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-46822-4-HVsqUT6tgB@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).