[Bug c++/56606] GCC refuses to emit long calls for operator new/delete on PowerPC

2015-11-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56606 --- Comment #3 from Martin Sebor --- Test case and its output: $ cat u.cpp && /build/gcc-trunk/gcc/xgcc -B /build/gcc-trunk/gcc -O2 -Wall -Wextra -c -mlongcall u.cpp && objdump -r u.o extern void foo(); void bar() { foo(); new char; } u

[Bug c++/56606] GCC refuses to emit long calls for operator new/delete on PowerPC

2015-11-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56606 Martin Sebor changed: What|Removed |Added Target||powerpc64 Status|UNCONFIRMED

[Bug c++/56606] GCC refuses to emit long calls for operator new/delete on PowerPC

2013-03-14 Thread gcc at mrozekma dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56606 --- Comment #1 from Michael Mrozek 2013-03-14 20:20:22 UTC --- I found that including any of the standard C++ headers (, , , etc.) works around this, as does forward-declaring the operator: > void* operator new(std::size_t);