aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-common.h
diff options
context:
space:
mode:
authorMartin Sebor <msebor@gcc.gnu.org>2018-11-09 10:17:47 -0700
committerMartin Sebor <msebor@gcc.gnu.org>2018-11-09 10:17:47 -0700
commit4c7bd36194e13c45cef93a5d84d0702a0d27de89 (patch)
treec03d55a7a70661243c37eb7fddc8bd2d673e9754 /gcc/c-family/c-common.h
parent32999d87d6f422fb6cacea66d2e4ed645e84ebe7 (diff)
downloadgcc-4c7bd36194e13c45cef93a5d84d0702a0d27de89.zip
gcc-4c7bd36194e13c45cef93a5d84d0702a0d27de89.tar.gz
gcc-4c7bd36194e13c45cef93a5d84d0702a0d27de89.tar.bz2
PR c/87795 - Excessive alignment permitted for functions and labels
gcc/c-family/ChangeLog: PR c/87795 * c-common.c (check_user_alignment): Use MAX_OFILE_ALIGNMENT. gcc/testsuite/ChangeLog: PR c/87795 * gcc.dg/attr-aligned.c: New test. From-SVN: r265977
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r--gcc/c-family/c-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h
index a218432..31cc273 100644
--- a/gcc/c-family/c-common.h
+++ b/gcc/c-family/c-common.h
@@ -798,7 +798,7 @@ extern void finish_fname_decls (void);
extern const char *fname_as_string (int);
extern tree fname_decl (location_t, unsigned, tree);
-extern int check_user_alignment (const_tree, bool);
+extern int check_user_alignment (const_tree, bool, bool);
extern bool check_function_arguments (location_t loc, const_tree, const_tree,
int, tree *, vec<location_t> *);
extern void check_function_arguments_recurse (void (*)