This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51231] g++ remove placement new with -O1
- From: "dushistov at mail dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Nov 2011 22:07:40 +0000
- Subject: [Bug c++/51231] g++ remove placement new with -O1
- Auto-submitted: auto-generated
- References: <bug-51231-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51231
--- Comment #3 from Evgeniy Dushistov <dushistov at mail dot ru> 2011-11-19 22:07:40 UTC ---
To build test case you need use command:
g++ -ggdb -O1 -Wall -Wextra boost_interp_alloc.cpp -lboost_thread
I use boost 1.46.1.
Or you can use preprocessed attachment to look at generated assembler.
Tested on x86_64.