]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libitm/beginend.cc
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
[thirdparty/gcc.git] / libitm / beginend.cc
index 1669442580ea1b7c13963b4663f4b5ea8b7250ba..057d4586b3760c2d3f0293fec77d23a869abe507 100644 (file)
@@ -431,7 +431,12 @@ GTM::gtm_transaction_cp::save(gtm_thread* tx)
   // Save everything that we might have to restore on restarts or aborts.
   jb = tx->jb;
   undolog_size = tx->undolog.size();
+
+  /* FIXME!  Assignment of an aatree like alloc_actions is unsafe; if either
+   *this or *tx is destroyed, the other ends up pointing to a freed node.  */
+#pragma GCC diagnostic warning "-Wdeprecated-copy"
   alloc_actions = tx->alloc_actions;
+
   user_actions_size = tx->user_actions.size();
   id = tx->id;
   prop = tx->prop;