This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11915] Aliasing problems with user-defined operator new
- From: "yuri at tsoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2003 00:46:07 -0000
- Subject: [Bug c++/11915] Aliasing problems with user-defined operator new
- References: <20030814074726.11915.Andreas.Glowatz@philips.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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)