[PATCH] x86: Pass -O0 to assembler for some tests

Jan Beulich JBeulich@suse.com
Mon Mar 18 11:37:00 GMT 2019


>>> 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




More information about the Binutils mailing list