------- Comment #3 from jakub at gcc dot gnu dot org 2007-10-30 11:56 ------- Testing: --- gcc/cp/decl2.c.jj 2007-10-28 19:34:13.000000000 +0100 +++ gcc/cp/decl2.c 2007-10-30 12:52:35.000000000 +0100 @@ -3499,9 +3499,9 @@ build_offset_ref_call_from_tree (tree fn parameter. That must be done before the FN is transformed because we depend on the form of FN. */ args = build_non_dependent_args (args); + object = build_non_dependent_expr (object); if (TREE_CODE (fn) == DOTSTAR_EXPR) object = build_unary_op (ADDR_EXPR, object, 0); - object = build_non_dependent_expr (object); args = tree_cons (NULL_TREE, object, args); /* Now that the arguments are done, transform FN. */ fn = build_non_dependent_expr (fn);
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2007-10-03 14:48:18 |2007-10-30 11:56:54 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33616