On Thu, Apr 24, 2025 at 10:15:08AM +0000, Kyrylo Tkachov wrote:
> 
> 
> > On 24 Apr 2025, at 12:09, Jakub Jelinek <ja...@redhat.com> wrote:
> > 
> > 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
> 
> Right, ok to commit this to trunk and GCC 15 branch once bootstrap is 
> successful?

Yes.

        Jakub

Reply via email to