public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] tm: complete tm_restart insertion
@ 2022-12-23  7:31 Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2022-12-23  7:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2b21b5586e4cd129b8a1b11d97333f054d01b522

commit 2b21b5586e4cd129b8a1b11d97333f054d01b522
Author: Alexandre Oliva <oliva@gnu.org>
Date:   Fri Dec 23 02:16:03 2022 -0300

    tm: complete tm_restart insertion

Diff:
---
 gcc/trans-mem.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/trans-mem.cc b/gcc/trans-mem.cc
index 131dce05476..cbd1b891266 100644
--- a/gcc/trans-mem.cc
+++ b/gcc/trans-mem.cc
@@ -3215,7 +3215,7 @@ split_bb_make_tm_edge (gimple *stmt, basic_block dest_bb,
   struct tm_restart_node *n = *slot;
   if (n == NULL)
     {
-      n = ggc_alloc<tm_restart_node> ();
+      *slot = n = ggc_alloc<tm_restart_node> ();
       *n = dummy;
     }
   else

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] tm: complete tm_restart insertion
@ 2022-12-28  5:23 Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2022-12-28  5:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3fab00e839b41585d0d81abd6d95701728c2ad03

commit 3fab00e839b41585d0d81abd6d95701728c2ad03
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Dec 28 02:21:38 2022 -0300

    tm: complete tm_restart insertion
    
    Insertion of a tm_restart_node in tm_restart failed to record the
    newly-allocated node in the hash table.
    
    
    for  gcc/ChangeLog
    
            * trans-mem.cc (split_bb_make_tm_edge): Record new node in
            tm_restart.

Diff:
---
 gcc/trans-mem.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/trans-mem.cc b/gcc/trans-mem.cc
index 131dce05476..cbd1b891266 100644
--- a/gcc/trans-mem.cc
+++ b/gcc/trans-mem.cc
@@ -3215,7 +3215,7 @@ split_bb_make_tm_edge (gimple *stmt, basic_block dest_bb,
   struct tm_restart_node *n = *slot;
   if (n == NULL)
     {
-      n = ggc_alloc<tm_restart_node> ();
+      *slot = n = ggc_alloc<tm_restart_node> ();
       *n = dummy;
     }
   else

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] tm: complete tm_restart insertion
@ 2022-12-23  5:27 Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2022-12-23  5:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:cd5d2088eaedf37b73d0b777e6f9bc4f3c8939b6

commit cd5d2088eaedf37b73d0b777e6f9bc4f3c8939b6
Author: Alexandre Oliva <oliva@gnu.org>
Date:   Fri Dec 23 02:16:03 2022 -0300

    tm: complete tm_restart insertion

Diff:
---
 gcc/trans-mem.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/trans-mem.cc b/gcc/trans-mem.cc
index 131dce05476..cbd1b891266 100644
--- a/gcc/trans-mem.cc
+++ b/gcc/trans-mem.cc
@@ -3215,7 +3215,7 @@ split_bb_make_tm_edge (gimple *stmt, basic_block dest_bb,
   struct tm_restart_node *n = *slot;
   if (n == NULL)
     {
-      n = ggc_alloc<tm_restart_node> ();
+      *slot = n = ggc_alloc<tm_restart_node> ();
       *n = dummy;
     }
   else

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-28  5:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23  7:31 [gcc(refs/users/aoliva/heads/testme)] tm: complete tm_restart insertion Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2022-12-28  5:23 Alexandre Oliva
2022-12-23  5:27 Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).