public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] lto: drop dummy partition mapping
@ 2022-12-23  5:43 Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2022-12-23  5:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1b7dd0363deabd1cc9c2ef2d6dd9b58f1617a850

commit 1b7dd0363deabd1cc9c2ef2d6dd9b58f1617a850
Author: Alexandre Oliva <oliva@gnu.org>
Date:   Fri Dec 23 02:43:04 2022 -0300

    lto: drop dummy partition mapping

Diff:
---
 gcc/lto/lto-partition.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/lto/lto-partition.cc b/gcc/lto/lto-partition.cc
index ebb9c3abe12..654d67f272e 100644
--- a/gcc/lto/lto-partition.cc
+++ b/gcc/lto/lto-partition.cc
@@ -333,7 +333,6 @@ lto_1_to_1_map (void)
       else
 	{
 	  partition = new_partition ("");
-	  pmap.put (NULL, partition);
 	  npartitions++;
 	}

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

* [gcc(refs/users/aoliva/heads/testme)] lto: drop dummy partition mapping
@ 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:4853accfb43ba07ebdf4674ca59adf0a71cf500b

commit 4853accfb43ba07ebdf4674ca59adf0a71cf500b
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Dec 28 02:21:40 2022 -0300

    lto: drop dummy partition mapping
    
    When adding a catch-all partition, we map NULL to it.  That mapping is
    ineffective and unnecessary.  Drop it.
    
    
    for  gcc/lto/ChangeLog
    
            * lto-partition.cc (lto_1_to_1_map): Drop NULL partition
            mapping.

Diff:
---
 gcc/lto/lto-partition.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/lto/lto-partition.cc b/gcc/lto/lto-partition.cc
index ebb9c3abe12..654d67f272e 100644
--- a/gcc/lto/lto-partition.cc
+++ b/gcc/lto/lto-partition.cc
@@ -333,7 +333,6 @@ lto_1_to_1_map (void)
       else
 	{
 	  partition = new_partition ("");
-	  pmap.put (NULL, partition);
 	  npartitions++;
 	}

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

* [gcc(refs/users/aoliva/heads/testme)] lto: drop dummy partition mapping
@ 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:a04bb178b9cc6f8a94b49d917865b00c26cd3f90

commit a04bb178b9cc6f8a94b49d917865b00c26cd3f90
Author: Alexandre Oliva <oliva@gnu.org>
Date:   Fri Dec 23 02:43:04 2022 -0300

    lto: drop dummy partition mapping

Diff:
---
 gcc/lto/lto-partition.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/lto/lto-partition.cc b/gcc/lto/lto-partition.cc
index ebb9c3abe12..654d67f272e 100644
--- a/gcc/lto/lto-partition.cc
+++ b/gcc/lto/lto-partition.cc
@@ -333,7 +333,6 @@ lto_1_to_1_map (void)
       else
 	{
 	  partition = new_partition ("");
-	  pmap.put (NULL, partition);
 	  npartitions++;
 	}

^ 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  5:43 [gcc(refs/users/aoliva/heads/testme)] lto: drop dummy partition mapping Alexandre Oliva
2022-12-23  7:31 Alexandre Oliva
2022-12-28  5:23 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).