]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR c++/17618 (ICE in cp_convert_to_pointer, at cp/cvt.c:83)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Tue, 11 Oct 2005 00:39:26 +0000 (00:39 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 11 Oct 2005 00:39:26 +0000 (00:39 +0000)
commitd76530693b5ddcb7aa99ee1e157d076594e7cb4e
treea5b6f875aa1eaf56d605e32c65391f7e4c38eaf9
parentf8c2e430856d5ffa8c6b94308707b2431cde5581
backport: re PR c++/17618 (ICE in cp_convert_to_pointer, at cp/cvt.c:83)

Backport:
2004-09-23  Andrew Pinski  <pinskia@physics.uc.edu>
PR c++/17618
* cvt.c (cp_convert_to_pointer): Return early when the type is
an error_mark_node.

2004-05-22  Roger Sayle  <roger@eyesopen.com>
* name-lookup.c (check_for_out_of_scope_variable): Avoid ICE by
returning when TREE_TYPE is error_mark_node.
* typeck.c (require_complete_type): Return error_mark_node if
value's type is an error_mark_node.

2004-11-02  Mark Mitchell  <mark@codesourcery.com>
PR c++/18177
* typeck.c (build_const_cast): Use error_operand_p.

2004-09-23  Andrew Pinski  <pinskia@physics.uc.edu>
PR c++/17618
* g++.dg/lookup/crash5.C: New test.

2004-05-22  Wolfgang Bangerth  <bangerth@dealii.org>
    Roger Sayle  <roger@eyesopen.com>
* g++.dg/lookup/forscope2.C: New test case.

2004-11-02  Mark Mitchell  <mark@codesourcery.com>
PR c++/18177
* g++.dg/conversion/const3.C: New test.

From-SVN: r105210
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/cp/name-lookup.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog