aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-07-17 11:21:41 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-07-17 09:21:41 +0000
commitd800a1e76ae4c5ed1425e89c9f416b28ae7df82b (patch)
tree2e9c927a02f4313ce7816f7ae4b3e58670b5eb16 /gcc/opts.c
parent3f1a2e5765d0eee0b4e6f2675e5ed9147f457bfb (diff)
downloadgcc-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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index e536607..0625b15 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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)
{