[Bug c++/51400] [c++0x] ICE with constexpr and attribute noreturn

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 30 15:41:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51400

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Jun 30 15:41:16 2014
New Revision: 212155

URL: https://gcc.gnu.org/viewcvs?rev=212155&root=gcc&view=rev
Log:
/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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute3.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list