This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42260] [4.3/4.4/4.5 Regression] ICE looking up template conversion operator


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42260

--- Comment #4 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-11-29 16:31:10 UTC ---
Author: dodji
Date: Mon Nov 29 16:30:54 2010
New Revision: 167248

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167248
Log:
Fix PR c++/45383

Reverting the fix for PR c++/42260 fixes c++/45383.
This reverts commit r155415.

gcc/cp/
    Reverted patch for PR c++/42260
    * cp-tree.h (lookup_conversions): Reverted "Add new bool parameter to
    declarationE."
    * search.c (lookup_conversion): Reverted "Use new bool parameter in
    definition".
    * call.c (add_builtin_candidates): Reverted "Don't lookup template
          conversion"
    (convert_class_to_reference, build_user_type_conversion_1,
     build_op_call): Reverted "Adjust".
    * cvt.c (build_expr_type_conversion): Reverted "Likewise".

gcc/testsuite/
    Reverted patch for PR c++/42260
    * conversion/cast2.C: Reverted New test.

Removed:
    trunk/gcc/testsuite/g++.dg/conversion/cast2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/cvt.c
    trunk/gcc/cp/search.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]