PR c++/18464
commit1fe46df116a668abda78d3a61b4bd2364f771571
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Dec 2004 18:00:39 +0000 (22 18:00 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Dec 2004 18:00:39 +0000 (22 18:00 +0000)
tree92d85ea737af3ab701ec3aa12c9d0ae5763ee5c1
parent0f6e2c4f42a2c667e2a59dbc8af9e8ac89521e48
PR c++/18464
* call.c (build_this): In templates, do not bother with
build_unary_op.
* typeck.c (unary_complex_lvalue): In a template, always refuse
simplifications.

PR c++/18492
* cp-gimplify.c (cp_genericize): Relax assertion.

PR c++/11224
* cvt.c (convert_to_void): Warn about unused values.

PR c++/18257
* rtti.c (emit_support_tinfos): On systems without weak symbols,
emit the runtime library type-info objects as non-COMDAT.

PR c++/18464
* g++.dg/template/cond5.C: New test.

PR c++/18492
* g++.dg/inherit/thunk3.C: New test.

PR c++/11224
* g++.dg/warn/Wunused-9.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92491 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-gimplify.c
gcc/cp/cvt.c
gcc/cp/rtti.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/thunk3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/cond5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/Wunused-9.C [new file with mode: 0644]