Re: [pushed] Darwin: Check for that flag-reorder-and-partition.

2021-12-24 Thread Iain Sandoe via Gcc-patches
Hi Andrew, > On 24 Dec 2021, at 10:51, Andrew Pinski wrote: > > On Fri, Dec 24, 2021 at 2:47 AM Iain Sandoe via Gcc-patches > wrote: >> >> >> @@ -3336,6 +3336,7 @@ darwin_override_options (void) >> (s)he knows why... */ > > I see you already pushed this code, it might be a good idea

Re: [pushed] Darwin: Check for that flag-reorder-and-partition.

2021-12-24 Thread Andrew Pinski via Gcc-patches
On Fri, Dec 24, 2021 at 2:47 AM Iain Sandoe via Gcc-patches wrote: > > We were checking whether the flag had been set by the user, but not if > it was set to true. Which means that the check fails in its intent when > the user puts -fno-reorder-and-partition. > > Tested on i686, powerpc and x86_6