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/opts.c | |
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/opts.c')
-rw-r--r-- | gcc/opts.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1805,10 +1805,6 @@ parse_and_check_align_values (const char *flag, return false; } - /* Comes from final.c -- no real reason to change it. */ -#define MAX_CODE_ALIGN 16 -#define MAX_CODE_ALIGN_VALUE (1 << MAX_CODE_ALIGN) - for (unsigned i = 0; i < result_values.length (); i++) if (result_values[i] > MAX_CODE_ALIGN_VALUE) { |