lto: drop dummy partition mapping
authorAlexandre Oliva <oliva@adacore.com>
Thu, 29 Dec 2022 17:33:00 +0000 (14:33 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 29 Dec 2022 17:39:47 +0000 (14:39 -0300)
commit3d40144cb4b19c2de4470b699e7bb3a6232ab425
treecb01549022ea60616f763e725dcc7896bd0d0bdc
parent6ec8079e0b7dc7c44a7001ffb20ca038362191d5
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.
gcc/lto/lto-partition.cc