[Bug c++/89357] [8/9/10 regression][C++11] alignas for automatic variables with alignment greater than 16 fails
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 30 01:12:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:9d9679132e0e9b0108e78bf1bc8fdea6238649a3
commit r9-8190-g9d9679132e0e9b0108e78bf1bc8fdea6238649a3
Author: Jason Merrill <jason@redhat.com>
Date: Wed Jan 29 17:16:12 2020 -0500
c++: Drop alignas restriction for stack variables.
Since expand_stack_vars and such know how to deal with variables aligned
beyond MAX_SUPPORTED_STACK_ALIGNMENT, we shouldn't reject alignas of large
alignments. And if we don't do that, there's no point in having
check_cxx_fundamental_alignment_constraints at all, since
check_user_alignment already enforces MAX_OFILE_ALIGNMENT.
PR c++/89357
* c-attribs.c (check_cxx_fundamental_alignment_constraints): Remove.
More information about the Gcc-bugs
mailing list