Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RFC Possible typo find_base_decl alias.c

0 views
Skip to first unread message

Graham Stott

unread,
Apr 26, 2001, 2:13:38 PM4/26/01
to
All

It looks to me like find_base_decl in alias.c has an obvious typo
in the following section of code.

case '3':
d0 = find_base_decl (TREE_OPERAND (t, 0));
d1 = find_base_decl (TREE_OPERAND (t, 1));
d0 = find_base_decl (TREE_OPERAND (t, 0));
d2 = find_base_decl (TREE_OPERAND (t, 2));

I suspect it should be

case '3':
d0 = find_base_decl (TREE_OPERAND (t, 0));
d1 = find_base_decl (TREE_OPERAND (t, 1));
d2 = find_base_decl (TREE_OPERAND (t, 2));

Comments.

Graham

l...@redhat.com

unread,
Apr 26, 2001, 9:21:43 PM4/26/01
to
Agreed. Feel free to go ahead and make the obvious fix to the branch and the
mainline sources.

jeff

0 new messages