]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/47969 ([C++0x] ICE: SIGSEGV in compute_array_index_type (cp/decl.c:7522))
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 2 May 2011 12:44:15 +0000 (12:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 2 May 2011 12:44:15 +0000 (12:44 +0000)
commit9fd15228e24f6f1420437deeac052dd7342444a4
tree8dee4f3319a366216196042d7a4cc15070bd5225
parentbc0fe8cb2a6ed9db82b4380e9d4b1837e97ea526
re PR c++/47969 ([C++0x] ICE: SIGSEGV in compute_array_index_type (cp/decl.c:7522))

/cp
2011-05-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/47969
* decl.c (compute_array_index_type): Check build_expr_type_conversion
return value for NULL_TREE.

/testsuite
2011-05-02  Paolo Carlini  <paolo.carlini@oracle.com>

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

From-SVN: r173249
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-47969.C [new file with mode: 0644]