re PR c++/9537 ([New parser] problem handling const return types)
authorJason Merrill <jason@redhat.com>
Mon, 5 May 2003 21:11:13 +0000 (17:11 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 5 May 2003 21:11:13 +0000 (17:11 -0400)
commit5f7262e693943229dfd8262e04b122a89b9cdd5f
treea0db13f0c60ffac95372c203de89c666923ee4f4
parent9938b5d971c49e642b6050e427ba4e5816cec7d9
re PR c++/9537 ([New parser] problem handling const return types)

        PR c++/9537
        * call.c (conditional_conversion): Build an RVALUE_CONV if
        we're just changing the cv-quals.
        (build_conditional_expr): Don't call convert to change
        cv-quals.

From-SVN: r66502
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/conversion/cond3.C [new file with mode: 0644]