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
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: <binutils at sourceware dot org>
- Date: Mon, 18 Mar 2019 05:35:00 -0600
- Subject: Re: [PATCH] x86: Set optimize to INT_MAX for -Os
- References: <20190316235033.26752-1-hjl.tools@gmail.com>
>>> 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.
Jan