This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: Set optimize to INT_MAX for -Os
On Mon, Mar 18, 2019 at 7:35 PM Jan Beulich <JBeulich@suse.com> wrote:
>
> >>> On 17.03.19 at 00:50, <hjl.tools@gmail.com> wrote:
> > Set optimize to INT_MAX, instead of -1, for -Os so that -Os will include
> > -O2 optimization.
>
> I didn't think -Os should be a superset of -O2. Iirc it's not for e.g.
> gcc. Why would this be a good idea? Judging by the PR it should
> rather be the doc to get changed imo.
-Os was designed to include -O2.
--
H.J.