]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR c++/14083 (ICE in conditional expression operator with throw)
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 22 Feb 2004 17:02:12 +0000 (17:02 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 22 Feb 2004 17:02:12 +0000 (17:02 +0000)
commitfc89d9e71a157860783776d16f03d49056479d73
treec6c3576c98eff2b76e930f5236a247b137b9c444
parent0ff704f6016ce4b46691d33a96a2d12cd83b0263
backport: re PR c++/14083 (ICE in conditional expression operator with throw)

Backport from mainline
        2004-02-13  Mark Mitchell  <mark@codesourcery.com>
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.

From-SVN: r78266
gcc/cp/ChangeLog
gcc/cp/call.c