diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-06-26 21:54:24 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-06-26 21:54:24 +0000 |
commit | 10a22b110764c1c665fa2ff5f29607bdeb8f79ba (patch) | |
tree | 41908d1e14fb3ba4c882eacbba3fca4d4f164007 /gcc/ChangeLog | |
parent | 82e5a12a581ea11e83cbd94d368e3297abda8fe2 (diff) | |
download | gcc-10a22b110764c1c665fa2ff5f29607bdeb8f79ba.zip gcc-10a22b110764c1c665fa2ff5f29607bdeb8f79ba.tar.gz gcc-10a22b110764c1c665fa2ff5f29607bdeb8f79ba.tar.bz2 |
re PR c/21911 (named parameter mistakenly identified as sentinel)
PR c/21911
* c-common.c (check_function_sentinel): Pass in named argument
list, skip over named arguments before looking for a sentinel.
(check_function_arguments): Pass in named argument list.
* c-common.h (check_function_arguments): Likewise.
* c-typeck.c (build_function_call): Likewise.
cp:
* call.c (build_over_call): Pass in named argument list to
`check_function_arguments'.
* typeck.c (build_function_call): Likewise.
testsuite:
PR c/21911
* gcc.dg/format/sentinel-1.c: Update. Fix execl* calls.
From-SVN: r101341
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c63f5fc..1ed245e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,14 @@ 2005-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + PR c/21911 + * c-common.c (check_function_sentinel): Pass in named argument + list, skip over named arguments before looking for a sentinel. + (check_function_arguments): Pass in named argument list. + * c-common.h (check_function_arguments): Likewise. + * c-typeck.c (build_function_call): Likewise. + +2005-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * genautomata.c (decl_mode_check_failed, regexp_mode_check_failed): Add noreturn attribute. |