This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249764 - in /trunk/gcc: ChangeLog config/aarch...
- From: ramana at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 28 Jun 2017 22:09:50 -0000
- Subject: r249764 - in /trunk/gcc: ChangeLog config/aarch...
Author: ramana
Date: Wed Jun 28 22:09:50 2017
New Revision: 249764
URL: https://gcc.gnu.org/viewcvs?rev=249764&root=gcc&view=rev
Log:
[AArch64] Do not increase data alignment at -Os and with -fconserve-stack.
We unnecessarily align data to 8 byte alignments even when -Os is
specified. This brings the logic in the AArch64 backend more in line
with the ARM backend and helps gain some image size in a few
places. Caught by an internal report on the size of rodata sections
being high with aarch64 gcc.
* config/aarch64/aarch64.h (AARCH64_EXPAND_ALIGNMENT): New.
(DATA_ALIGNMENT): Update to use AARCH64_EXPAND_ALIGNMENT.
(LOCAL_ALIGNMENT): Update to use AARCH64_EXPAND_ALIGNMENT.
Bootstrapped and regression tested on aarch64-none-linux-gnu with no
regressions.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64.h