diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2017-09-12 16:35:39 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2017-09-12 09:35:39 -0700 |
commit | 12263f13ac02720a2e67f4837533b93752fb154b (patch) | |
tree | 6bb3cf38f22ec1b20c8542ddc388dff7706a6d42 /gcc/c/c-errors.c | |
parent | 917a804c6117a8b6aed2594b6695caf4dbcca217 (diff) | |
download | gcc-12263f13ac02720a2e67f4837533b93752fb154b.zip gcc-12263f13ac02720a2e67f4837533b93752fb154b.tar.gz gcc-12263f13ac02720a2e67f4837533b93752fb154b.tar.bz2 |
Don't warn function alignment if warn_if_not_aligned_p is true
When warn_if_not_aligned_p is true, a warning will be issued on function
declaration later. There is no need to warn function alignment when
warn_if_not_aligned_p is true.
* c-attribs.c (common_handle_aligned_attribute): Don't warn
function alignment if warn_if_not_aligned_p is true.
From-SVN: r252036
Diffstat (limited to 'gcc/c/c-errors.c')
0 files changed, 0 insertions, 0 deletions