PR c++/26696
commitde5ad4cbc096f6ca683043dc57320392b7aa7e65
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2006 17:06:00 +0000 (6 17:06 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2006 17:06:00 +0000 (6 17:06 +0000)
tree5aec6c4a3744887da7a7770ae253757125a43453
parentea6eef511fd789b3d988662273c2bee3397be428
    PR c++/26696
        * cvt.c (convert_to_void): Replace a subexpression with no side
        effects with void_zero_node.
        * tree.c (is_overloaded_fn): Look through COMPONENT_REF.
        (get_first_fn): Ditto.
        * decl.c (grokdeclarator): No need to look through COMPONENT_REF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116724 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/tree.c
gcc/testsuite/g++.dg/other/component1.C
gcc/testsuite/g++.dg/warn/noeffect8.C [new file with mode: 0644]