re PR c++/46824 (chromium-compile failed because error: no match for ‘operator*’ in)
authorDodji Seketeli <dodji@redhat.com>
Sat, 12 Mar 2011 07:28:20 +0000 (07:28 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Sat, 12 Mar 2011 07:28:20 +0000 (08:28 +0100)
commitb057bff4c1c94c7e0086e9c7cd4b3c8bca40da92
tree72430aa24de6f75af0eb7a67dfb9e6ce4e628518
parentba7d31f68a4afe75450273f8e941259b1c676982
re PR c++/46824 (chromium-compile failed because error: no match for ‘operator*’ in)

PR c++/46824

gcc/cp/

* call.c (add_builtin_candidate)<case INDIRECT_REF>: The type
of the argument of the indirection operator should not be
dependent.  Fix the comment.

gcc/testsuite/

* g++.dg/conversion/cast3.C: New test.

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