mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 08:48:58 +08:00
decl.c (walk_vtables_r): Fixed typo that caused result to never get a nonzero value.
* cp/decl.c (walk_vtables_r): Fixed typo that caused result to never get a nonzero value. From-SVN: r57741
This commit is contained in:
parent
200bcf7efc
commit
0246d49e5b
@ -1,3 +1,7 @@
|
||||
2002-10-02 Matt Austern <austern@apple.com>
|
||||
* cp/decl.c (walk_vtables_r): Fixed typo that caused result to
|
||||
never get a nonzero value.
|
||||
|
||||
Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* i386.c (print_operand_address): Use RIP addressing for offsetted
|
||||
|
@ -1793,7 +1793,7 @@ walk_vtables_r (namespace, data)
|
||||
int result = 0;
|
||||
|
||||
for (; decl ; decl = TREE_CHAIN (decl))
|
||||
result != (*f) (&decl, d);
|
||||
result |= (*f) (&decl, d);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user