On 10/26/2011 06:20 PM, Paolo Carlini wrote:
I re-opened this one because: 1- We may want to fix it in 4_6-branch
too, it's a regression there too; 2- We are still handling incorrectly
the template impl case. For the latter a variant of my old idea still
works, fwiw.

-       object_type = TREE_TYPE (object);
+       object_type = (TREE_CODE (object) == ARROW_EXPR
+                      ? TREE_OPERAND (object, 0) : TREE_TYPE (object));

This is still wrong.  Why not use the same patch for 4.6 as for trunk?

Jason

Reply via email to