[Bug c++/11915] Aliasing problems with user-defined operator new

yuri at tsoft dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 19 00:46:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11915



------- Additional Comments From yuri at tsoft dot com  2003-08-19 00:46 -------
Simple situation:
If function is not inlined it works correct.
If function is inlined it swaps 2 operations across
this function and the calling one (operator new).

Inlining should NEVER change net result in such cases.

What's wrong with this code exactly ?

Yuri (yuri@tsoft.com)



More information about the Gcc-bugs mailing list