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++/46941] [trans-mem] new/delete operator are unsafe


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

--- Comment #1 from Patrick Marlier <patrick.marlier at gmail dot com> 2010-12-22 10:11:54 UTC ---
Created attachment 22839
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22839
proposed patch to add safe attribute to new delete operators

gcc/cp/decl.c: build_library_fn_1()
add transaction_safe attribute to new/delete/new []/delete [] declarations if
transaction mode is enabled.

Patrick Marlier.


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