c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately.
authorRichard Henderson <rth@redhat.com>
Sun, 28 Sep 2003 22:18:33 +0000 (15:18 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 28 Sep 2003 22:18:33 +0000 (15:18 -0700)
commit436fac170ae36308572b273a73510ae5510d1903
tree92931566ca86595833d4e800dfd6d8299effef0c
parentb2ba71cad84307d8493518fb97e19f367578dc05
c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately.

        * c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
        file and line separately.

f/
        * com.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
        file and line separately.
java/
        * check-init.c (check_init): Save and restore input_location
        instead of file and line separately.
        * decl.c (java_expand_body): Likewise.
        * jcf-write.c (generate_bytecode_insns): Likewise.
        * parse.y (safe_layout_class): Likewise.
        * jcf-parse.c (read_class, parse_class_file): Likewise.
        (java_parse_file): Use %H for warning locator.

From-SVN: r71886
gcc/ChangeLog
gcc/c-decl.c
gcc/f/ChangeLog
gcc/f/com.c
gcc/java/ChangeLog
gcc/java/check-init.c
gcc/java/decl.c
gcc/java/jcf-parse.c
gcc/java/jcf-write.c
gcc/java/parse.y