This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46941] [trans-mem] new/delete operator are unsafe
- From: "patrick.marlier at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Dec 2010 10:11:57 +0000
- Subject: [Bug c++/46941] [trans-mem] new/delete operator are unsafe
- Auto-submitted: auto-generated
- References: <bug-46941-4@http.gcc.gnu.org/bugzilla/>
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.