-
- Downloads
PR c++/91845 - ICE with invalid pointer-to-member.
* expr.c (mark_use): Use error_operand_p. * typeck2.c (build_m_component_ref): Check error_operand_p after calling mark_[lr]value_use. * g++.dg/cpp1y/pr91845.C: New test. From-SVN: r276102
Showing
- gcc/cp/ChangeLog 7 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/expr.c 1 addition, 1 deletiongcc/cp/expr.c
- gcc/cp/typeck2.c 3 additions, 3 deletionsgcc/cp/typeck2.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/cpp1y/pr91845.C 14 additions, 0 deletionsgcc/testsuite/g++.dg/cpp1y/pr91845.C
Loading
Please register or sign in to comment