aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-01-11 01:18:58 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-01-11 01:18:58 +0000
commit3c6e6fbf11745d2c583c15a18f53f63cd889d301 (patch)
treec27f7a971534ddc43e590439ef9efa353e830bbf /libjava
parent1e8dcb41f48b06b1b78dcd72de250a579c71e12e (diff)
downloadgcc-3c6e6fbf11745d2c583c15a18f53f63cd889d301.zip
gcc-3c6e6fbf11745d2c583c15a18f53f63cd889d301.tar.gz
gcc-3c6e6fbf11745d2c583c15a18f53f63cd889d301.tar.bz2
c-decl.c (duplicate_decls): Break apart into...
* 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. From-SVN: r75667
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions