aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-05-21 10:27:11 -0400
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:04:03 -0300
commit6603bebbc981520241e8e9835be2b883f8fa7d43 (patch)
tree21915c0ae52ea3368c9287d73f7a8b5a72ed7a5f /gcc/cp/constexpr.c
parentbf28a111839916b3d53535a519432a7b3a621c12 (diff)
downloadgcc-6603bebbc981520241e8e9835be2b883f8fa7d43.zip
gcc-6603bebbc981520241e8e9835be2b883f8fa7d43.tar.gz
gcc-6603bebbc981520241e8e9835be2b883f8fa7d43.tar.bz2
c++: Improve error recovery for =.
In a template we were happily embedding error_mark_node in a MODOP_EXPR, leading to confusion later. gcc/cp/ChangeLog: * typeck.c (build_x_modify_expr): Handle error_mark_node arguments. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/lambda/lambda-ice30.C: Adjust. * g++.dg/cpp0x/lambda/lambda-ice31.C: Adjust. * g++.dg/ext/fixed1.C: Adjust. * g++.dg/template/crash107.C: Adjust. * g++.dg/template/error35.C: Adjust. * g++.dg/template/sizeof-template-argument.C: Adjust.
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions