[Bug c++/79641] [5 Regression] ICE with const variable and attribute
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 30 08:07:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79641
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 08:02:18 2017
New Revision: 248648
URL: https://gcc.gnu.org/viewcvs?rev=248648&root=gcc&view=rev
Log:
Backported from mainline
2017-02-21 Jakub Jelinek <jakub@redhat.com>
PR c++/79641
* c-common.c (handle_mode_attribute): Use build_qualified_type to
preserve quals.
* c-c++-common/pr79641.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr79641.c
Modified:
branches/gcc-5-branch/gcc/c-family/ChangeLog
branches/gcc-5-branch/gcc/c-family/c-common.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list