This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42766] [4.5 Regression] tree check fail in build_expr_type_conversion
- From: "simartin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2010 17:11:48 -0000
- Subject: [Bug c++/42766] [4.5 Regression] tree check fail in build_expr_type_conversion
- References: <bug-42766-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from simartin at gcc dot gnu dot org 2010-01-16 17:11 -------
Currently testing:
Index: gcc/cp/search.c
===================================================================
--- gcc/cp/search.c (revision 155965)
+++ gcc/cp/search.c (working copy)
@@ -2353,7 +2353,7 @@
if (check_hidden_convs (binfo, virtual_depth, virtualness,
type, parent_convs, other_convs))
{
- my_convs = tree_cons (binfo, conv, my_convs);
+ my_convs = tree_cons (binfo, cur, my_convs);
TREE_TYPE (my_convs) = type;
if (virtual_depth)
{
--
simartin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simartin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42766