Skip to content
Snippets Groups Projects
Commit 41dffe62 authored by Mark Mitchell's avatar Mark Mitchell Committed by Mark Mitchell
Browse files

re PR c++/14083 (ICE in conditional expression operator with throw)

	PR c++/14083
	* call.c (build_conditional_expr): Call force_rvalue on the
	non-void operand in the case that one result is a throw-expression
	and the other is not.

	PR c++/14083
	* g++.dg/eh/cond2.C: New test.

From-SVN: r77768
parent 1daa84b6
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment