public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rlogel at navtech dot aero" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/42649] Optimizer breaks boost shared_ptr Date: Thu, 07 Jan 2010 16:50:00 -0000 [thread overview] Message-ID: <20100107164949.1699.qmail@sourceware.org> (raw) In-Reply-To: <bug-42649-18644@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from rlogel at navtech dot aero 2010-01-07 16:49 ------- # Vaild Excutable g++ -v -save-temps -o shared_ptr_test.exc shared_ptr_test.cpp # Invalid Excutable g++ -v -save-temps -O2 -o shared_ptr_test.exc shared_ptr_test.cpp GCC output: $ g++ -v -save-temps -O2 -o shared_ptr_test.exc shared_ptr_test.cpp Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-9) /usr/libexec/gcc/i386-redhat-linux/3.4.6/cc1plus -E -quiet -v -D_GNU_SOURCE shared_ptr_test.cpp -O2 -o shared_ptr_test.ii ignoring nonexistent directory "/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../i386-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6 /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/i386-redhat-linux /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/backward /usr/local/include /usr/lib/gcc/i386-redhat-linux/3.4.6/include /usr/include End of search list. /usr/libexec/gcc/i386-redhat-linux/3.4.6/cc1plus -fpreprocessed shared_ptr_test.ii -quiet -dumpbase shared_ptr_test.cpp -auxbase shared_ptr_test -O2 -version -o shared_ptr_test.s GNU C++ version 3.4.6 20060404 (Red Hat 3.4.6-9) (i386-redhat-linux) compiled by GNU C version 3.4.6 20060404 (Red Hat 3.4.6-9). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 as -V -Qy -o shared_ptr_test.o shared_ptr_test.s GNU assembler version 2.15.92.0.2 (i386-redhat-linux) using BFD version 2.15.92.0.2 20040927 /usr/libexec/gcc/i386-redhat-linux/3.4.6/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o shared_ptr_test.exc /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crt1.o /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crti.o /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbegin.o -L/usr/lib/gcc/i386-redhat-linux/3.4.6 -L/usr/lib/gcc/i386-redhat-linux/3.4.6 -L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. shared_ptr_test.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i386-redhat-linux/3.4.6/crtend.o /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42649
next prev parent reply other threads:[~2010-01-07 16:50 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-07 16:42 [Bug c++/42649] New: " rlogel at navtech dot aero 2010-01-07 16:46 ` [Bug c++/42649] " rlogel at navtech dot aero 2010-01-07 16:50 ` rlogel at navtech dot aero [this message] 2010-01-07 16:51 ` [Bug c++/42649] Optimizer breaks boost 1.41 shared_ptr rlogel at navtech dot aero 2010-01-07 16:52 ` [Bug c++/42649] Optimizer breaks boost shared_ptr paolo dot carlini at oracle dot com 2010-01-07 16:56 ` rlogel at navtech dot aero 2010-01-07 17:18 ` Andrew Pinski 2010-01-07 17:02 ` paolo dot carlini at oracle dot com 2010-01-07 17:18 ` pinskia at gmail dot com
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=20100107164949.1699.qmail@sourceware.org \ --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).