re PR c++/22374 (C++ front-end produces mis-match types in MODIFY_EXPR (dynamic_cast))
authorRichard Guenther <rguenther@suse.de>
Wed, 17 Sep 2008 19:07:27 +0000 (19:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 17 Sep 2008 19:07:27 +0000 (19:07 +0000)
commitc74147d2a9aab35e6cc77d4111d3910bd462bd0d
treee458476dc2087b05037ed2bf2c82df38cc0ced5f
parent52a764acf76949daf594c2a030fa20c8383946c8
re PR c++/22374 (C++ front-end produces mis-match types in MODIFY_EXPR (dynamic_cast))

2008-09-17  Richard Guenther  <rguenther@suse.de>

PR c++/22374
* rtti.c (build_dynamic_cast_1): Convert the COND_EXPR
result to the correct type.

From-SVN: r140427
gcc/cp/ChangeLog
gcc/cp/rtti.c