[Bug c++/42260] [4.3/4.4/4.5 Regression] ICE looking up template conversion operator
dodji at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 29 16:53:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42260
--- Comment #5 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-11-29 16:31:53 UTC ---
Author: dodji
Date: Mon Nov 29 16:31:40 2010
New Revision: 167250
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167250
Log:
Fix PR c++/42260 and ensure PR c++/45383 is fixed
gcc/cp/
c++/42260
* call.c (add_builtin_candidate): At this point the resulting type
of an indirection operator should be complete.
gcc/testsuite/
c++/42260
c++/45383
* g++.dg/conversion/cast2.C: New test.
* g++.dg/conversion/cond4/C: Likewise. Ensures we don't regress on
PR c++/45383
Added:
trunk/gcc/testsuite/g++.dg/conversion/cast2.C
trunk/gcc/testsuite/g++.dg/conversion/cond4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list