This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: Pass -O0 to assembler for some tests
- 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:37:49 -0600
- Subject: Re: [PATCH] x86: Pass -O0 to assembler for some tests
- References: <20190318012117.14512-1-hjl.tools@gmail.com>
>>> On 18.03.19 at 02:21, <hjl.tools@gmail.com> wrote:
> * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
> * testsuite/gas/i386/avx512bw-intel.d: Likewise.
> * testsuite/gas/i386/avx512bw.d: Likewise.
> * testsuite/gas/i386/avx512f-intel.d: Likewise.
> * testsuite/gas/i386/avx512f.d: Likewise.
> * testsuite/gas/i386/disp32.d: Likewise.
> * testsuite/gas/i386/intel-regs.d: Likewise.
> * testsuite/gas/i386/pseudos.d: Likewise.
> * testsuite/gas/i386/x86-64-disp32.d: Likewise.
> * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
It would be pretty nice if there was at least one sentence here as
to why this change is needed and/or wanted. Repeating only what
goes into the ChangeLog is not very useful.
Fundamentally my question is: Isn't -O0 the default anyway? Why
would it be necessary to specify this on the command line of any
test case?
Jan