On Thu, Apr 24, 2025 at 09:54:09AM +0000, Kyrylo Tkachov wrote:
> > I'd have expected instead of the LTO_PARTITION_DEFAULT checks one should be
> > testing !opts_set->x_flag_lto_partition (i.e. -flto-partition=balanced
> > should be the default, but when not specified explicitly, it would really
> > match that
> >       error ("%<-fipa-reorder-for-locality%> is incompatible with"          
> >                                                                             
> >                             
> >              " an explicit %qs option", "-flto-partition");                 
> >                                                                             
> >                             
> > error wording (right now -fipa-reorder-for-locality -flto-partition=default
> > is explicit, yet no error is emittetd).
> 
> Yes, I think I was confused about the use of opts_set. This is overly 
> convoluted.
> So something like this?

Yes, though I'd also remove the trailing comma after
   LTO_PARTITION_CACHE = 5

> Checked manually that the required error is given, the default selected 
> partitioning is balanced, and an explicit -flto-partition=max selects it 
> properly.
> Running a full bootstrap cycle now.

        Jakub

Reply via email to