re PR c++/79641 (ICE with const variable and attribute)
authorJakub Jelinek <jakub@redhat.com>
Tue, 21 Feb 2017 16:55:00 +0000 (17:55 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 21 Feb 2017 16:55:00 +0000 (17:55 +0100)
commit00bc9de3fe5a713cc074938d53dc87da3f21c6de
treeafa197a5f47150a7cad9ce4e13da260ffe225d25
parentd002d099b0107491a905b6d3e574ed0436fca3a9
re PR c++/79641 (ICE with const variable and attribute)

PR c++/79641
* c-attribs.c (handle_mode_attribute): Use build_qualified_type to
preserve quals.

* c-c++-common/pr79641.c: New test.

From-SVN: r245632
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr79641.c [new file with mode: 0644]