This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31289] gcc412 elides code in operator delete() override method



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-03-21 01:14 -------
Note memcpy is the only way to be aliasing safe in this case, oh and make sure
you don't cast the incomming pointer from malloc or from your free.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]