projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ec8079
)
lto: drop dummy partition mapping
author
Alexandre Oliva
<oliva@adacore.com>
Thu, 29 Dec 2022 17:33:00 +0000
(14:33 -0300)
committer
Alexandre Oliva
<oliva@gnu.org>
Thu, 29 Dec 2022 17:39:47 +0000
(14:39 -0300)
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.
gcc/lto/lto-partition.cc
patch
|
blob
|
history
diff --git
a/gcc/lto/lto-partition.cc
b/gcc/lto/lto-partition.cc
index
ebb9c3a
..
654d67f
100644
(file)
--- 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++;
}