]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-common.c
PR c/87795 - Excessive alignment permitted for functions and labels
authormsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2018 17:17:47 +0000 (17:17 +0000)
committermsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2018 17:17:47 +0000 (17:17 +0000)
commitff31e352b2c76a43ec5459bddea26d073ce6cc45
treec03d55a7a70661243c37eb7fddc8bd2d673e9754
parent8d5bfcf77467c05d62ed0ae09dc45eb5c010d145
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265977 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/c/c-decl.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-aligned.c [new file with mode: 0644]