https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125257

Michal Jireš <mjires at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mjires at gcc dot 
gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2026-05-11

--- Comment #3 from Michal Jireš <mjires at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> lto-min-partition == 0 doesn't make much sense (a zero size partition
> doesn't exist)

Partition with only variables is zero sized (zero instructions).


I think this is just my oversight to handle this case, since it is not very
useful.
We can just clamp the value to 1 and get expected behavior - "unbounded
minimum".


(The same issue is with min_partition_size)

Reply via email to