tiemann@YAHI.STANFORD.EDU (Michael Tiemann) (08/24/89)
In the function compute_conversion_costs, change
if (TREE_CODE (TREE_TYPE (function)) == METHOD_TYPE
&& TREE_CODE (TREE_TYPE (TREE_VALUE (tta_in))) == POINTER_TYPE
&& (TREE_READONLY (TREE_TYPE (TREE_TYPE (TREE_VALUE (tta_in))))
!= TREE_READONLY (TREE_TYPE (TREE_VALUE (ttf)))))
to this
if (TREE_CODE (TREE_TYPE (function)) == METHOD_TYPE
&& TREE_CODE (TREE_TYPE (TREE_VALUE (tta_in))) == POINTER_TYPE
&& (TREE_READONLY (TREE_TYPE (TREE_TYPE (TREE_VALUE (tta_in))))
> TREE_READONLY (TREE_TYPE (TREE_VALUE (ttf)))))
If you don't have the latest test release, this patch does not apply.