objc-act.c: Change annotate_with_locus to SET_EXPR_LOCATION throughout.
authorZack Weinberg <zack@gcc.gnu.org>
Fri, 24 Sep 2004 21:38:08 +0000 (21:38 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Fri, 24 Sep 2004 21:38:08 +0000 (21:38 +0000)
commitdd3017e4e5c8d9d102fb11330cba5fe87e0eda65
tree781ebf2315847f7b39e8ba9bdf4681e8afcaefe5
parent2fbebc713bf06661a0181a47a096b8d2f5770453
objc-act.c: Change annotate_with_locus to SET_EXPR_LOCATION throughout.

objc:
* objc-act.c: Change annotate_with_locus to SET_EXPR_LOCATION
throughout.
(objc_init): Only set input_line to 0 #ifndef USE_MAPPED_LOCATION.
(build_selector_translation_table): Use %J in diagnostic
instead of diddling input_line.  Fix spelling.
testsuite:
* objc.dg/proto-lossage-4.m: Use long instead of int to avoid
extra diagnostics on targets with 64-bit pointers.
* objc.dg/selector-1.m: Adjust dg-warning regexp.

From-SVN: r88072
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/proto-lossage-4.m
gcc/testsuite/objc.dg/selector-1.m