re PR c++/50858 (segfault at ../../gcc/libiberty/hashtab.c:981)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 25 Oct 2011 13:48:10 +0000 (13:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 25 Oct 2011 13:48:10 +0000 (13:48 +0000)
commitdf9ee5c8290238799b2e808b67c21aa8164b51f5
tree2959658d0e342d3e47df32f4bf5915d78a8cd004
parent4bc514327182abb75dc040608bdabce201f2990c
re PR c++/50858 (segfault at ../../gcc/libiberty/hashtab.c:981)

/cp
2011-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50858
* typeck.c (composite_pointer_type_r): Check return value of
composite_pointer_type_r for error_mark_node.

/testsuite
2011-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50858
* g++.dg/overload/operator5.C: New.

/cp
2011-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50861
* pt.c (tsubst_copy_and_build): Check return value of
tsubst_copy_and_build for error_mark_node.

/testsuite
2011-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50861
* g++.dg/template/crash108.C: New.

From-SVN: r180430
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/operator5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/crash108.C [new file with mode: 0644]