This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC Possible typo find_base_decl alias.c
- To: Graham Stott <grahams at redhat dot com>
- Subject: Re: RFC Possible typo find_base_decl alias.c
- From: law at redhat dot com
- Date: Thu, 26 Apr 2001 16:51:49 -0700
- cc: gcc at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <3AE858E6.467832B5@redhat.com>you write:
> 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));
Agreed. Feel free to go ahead and make the obvious fix to the branch and the
mainline sources.
jeff