re PR c++/51400 ([c++0x] ICE with constexpr and attribute noreturn)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 30 Jun 2014 15:41:16 +0000 (15:41 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 30 Jun 2014 15:41:16 +0000 (15:41 +0000)
commit6e7ceb171d0905bdd7ffb7f97d98c2f0b11226a3
tree0875cc06c0dda13b340390dc06bb3dee99154e16
parente8b27b0809ded909f2652ff5d32fc83fbc955b4c
re PR c++/51400 ([c++0x] ICE with constexpr and attribute noreturn)

/c-family
2014-06-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51400
* c-common.c (handle_noreturn_attribute, handle_const_attribute):
Do not discard TYPE_QUALS of type.

/testsuite
2014-06-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51400
* g++.dg/cpp0x/constexpr-attribute3.C: New.

From-SVN: r212155
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-attribute3.C [new file with mode: 0644]