diff options
| author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-11 01:18:58 +0000 |
|---|---|---|
| committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-11 01:18:58 +0000 |
| commit | 679bf1777e6c54577ce4c39010bc0074e9008a6c (patch) | |
| tree | c27f7a971534ddc43e590439ef9efa353e830bbf /libjava | |
| parent | b0effe67f3808898f0e6ed4207c077faf120d81e (diff) | |
| download | ppe42-gcc-679bf1777e6c54577ce4c39010bc0074e9008a6c.tar.gz ppe42-gcc-679bf1777e6c54577ce4c39010bc0074e9008a6c.zip | |
* c-decl.c (duplicate_decls): Break apart into...
(diagnose_arglist_conflict, validate_proto_after_old_defn)
(locate_old_defn, diagnose_mismatched_decls, merge_decls):
... these new functions. Restructure for comprehensibility.
Remove various archaic special cases. Always report the
location of the previous declaration when a diagnostic is issued.
(redeclaration_error_message): Fold into diagnose_mismatched_decls.
(match_builtin_function_types): Delete unnecessary forward declaration.
testsuite:
* gcc.dg/Wshadow-1.c, gcc.dg/attr-noinline.c, gcc.dg/decl3.c
* gcc.dg/redecl-1.c, gcc.dg/visibility-7.c, gcc.dg/wtr-static-1.c
* gcc.dg/noncompile/20020220-1.c, objc.dg/method-1.m:
Update dg-error regexps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions

