[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/24353] -Os doesn't work correcly
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/24353] -Os doesn't work correcly |
Date: |
Sat, 16 Mar 2019 23:52:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24353
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41fd2579f2ac6a5fca262317b0e52eea07fa7438
commit 41fd2579f2ac6a5fca262317b0e52eea07fa7438
Author: H.J. Lu <address@hidden>
Date: Sun Mar 17 07:39:18 2019 +0800
x86: Set optimize to INT_MAX for -Os
Set optimize to INT_MAX, instead of -1, for -Os so that -Os will include
-O2 optimization.
PR gas/24353
* config/tc-i386.c (md_parse_option): Set optimize to INT_MAX
for -Os.
* testsuite/gas/i386/optimize-2.s: Add a test.
* testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
* testsuite/gas/i386/optimize-2.d: Updated.
* testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.