[Bug c++/84940] [7/8/9 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 10 08:17:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 10 08:16:37 2018
New Revision: 265005
URL: https://gcc.gnu.org/viewcvs?rev=265005&root=gcc&view=rev
Log:
/cp
2018-10-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84940
* semantics.c (finish_unary_op_expr): Check return value of
build_x_unary_op for error_mark_node.
/testsuite
2018-10-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84940
* g++.dg/expr/unary4.C: New.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/expr/unary4.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/semantics.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list