[Bug c++/68948] G++ voluntarily removes a function call with terrible side effects
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 5 17:52:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948
--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 5 17:52:07 2016
New Revision: 233183
URL: https://gcc.gnu.org/viewcvs?rev=233183&root=gcc&view=rev
Log:
Make issues similar to PR c++/68948 fail loudly.
* semantics.c (finish_expr_stmt): If expr is error_mark_node,
make sure we've seen_error().
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list