diff options
Diffstat (limited to 'gcc/config/frv/frv.c')
-rw-r--r-- | gcc/config/frv/frv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 3a85fc5fa76..10768fb81c5 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -1182,7 +1182,7 @@ frv_stack_info (void) /* Find the last argument, and see if it is __builtin_va_alist. */ for (cur_arg = DECL_ARGUMENTS (fndecl); cur_arg != (tree)0; cur_arg = next_arg) { - next_arg = TREE_CHAIN (cur_arg); + next_arg = DECL_CHAIN (cur_arg); if (next_arg == (tree)0) { if (DECL_NAME (cur_arg) @@ -6634,7 +6634,7 @@ frv_adjust_field_align (tree field, int computed) tree prev = NULL_TREE; tree cur; - for (cur = TYPE_FIELDS (parent); cur && cur != field; cur = TREE_CHAIN (cur)) + for (cur = TYPE_FIELDS (parent); cur && cur != field; cur = DECL_CHAIN (cur)) { if (TREE_CODE (cur) != FIELD_DECL) continue; |