diff options
Diffstat (limited to 'gcc/c-family/c-format.c')
-rw-r--r-- | gcc/c-family/c-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-format.c b/gcc/c-family/c-format.c index 2c73ead..e7fd229 100644 --- a/gcc/c-family/c-format.c +++ b/gcc/c-family/c-format.c @@ -911,7 +911,7 @@ check_function_format (tree attrs, int nargs, tree *argarray) tree args; for (args = DECL_ARGUMENTS (current_function_decl); args != 0; - args = TREE_CHAIN (args)) + args = DECL_CHAIN (args)) { if (TREE_CODE (TREE_TYPE (args)) == POINTER_TYPE && (TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (args))) |