diff options
author | Martin Liska <mliska@suse.cz> | 2018-07-17 11:21:41 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-07-17 09:21:41 +0000 |
commit | d800a1e76ae4c5ed1425e89c9f416b28ae7df82b (patch) | |
tree | 2e9c927a02f4313ce7816f7ae4b3e58670b5eb16 /gcc/common | |
parent | 3f1a2e5765d0eee0b4e6f2675e5ed9147f457bfb (diff) | |
download | gcc-d800a1e76ae4c5ed1425e89c9f416b28ae7df82b.zip gcc-d800a1e76ae4c5ed1425e89c9f416b28ae7df82b.tar.gz gcc-d800a1e76ae4c5ed1425e89c9f416b28ae7df82b.tar.bz2 |
Define MAX_CODE_ALIGN globally.
2018-07-17 Martin Liska <mliska@suse.cz>
* align.h (MAX_CODE_ALIGN): New.
(MAX_CODE_ALIGN_VALUE): New.
* common/config/i386/i386-common.c (ix86_handle_option):
(MAX_CODE_ALIGN): Moved to align.h.
* final.c (MAX_CODE_ALIGN): Likewise.
* opts.c (parse_and_check_align_values):
(MAX_CODE_ALIGN): Likewise.
(MAX_CODE_ALIGN_VALUE): Likewise.
From-SVN: r262806
Diffstat (limited to 'gcc/common')
-rw-r--r-- | gcc/common/config/i386/i386-common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/common/config/i386/i386-common.c b/gcc/common/config/i386/i386-common.c index 277ee55..70b3c3f 100644 --- a/gcc/common/config/i386/i386-common.c +++ b/gcc/common/config/i386/i386-common.c @@ -1318,9 +1318,6 @@ ix86_handle_option (struct gcc_options *opts, return true; - /* Comes from final.c -- no real reason to change it. */ -#define MAX_CODE_ALIGN 16 - case OPT_malign_loops_: warning_at (loc, 0, "-malign-loops is obsolete, use -falign-loops"); if (value > MAX_CODE_ALIGN) |