diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-07 02:55:59 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-07 02:55:59 +0000 |
commit | 712d22976c2f8c0053865790f0e0674337864ab9 (patch) | |
tree | d34263b5ff9f1576a23b9f95e545dc831212bc84 /gcc/java | |
parent | 975b43967f9e784e01aaf52860786c2a3cb85a28 (diff) | |
download | gcc-712d22976c2f8c0053865790f0e0674337864ab9.tar.gz |
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* cgraphunit.c: Replace %J by an explicit location. Update all
calls.
* c-decl.c: Likewise.
* function.c: Likewise.
* varasm.c: Likewise.
* tree-ssa.c: Likewise.
* c-common.c: Likewise.
* tree-cfg.c: Likewise.
* config/spu/spu.c: Likewise.
* config/ia64/ia64.c: Likewise.
* config/v850/v850.c: Likewise.
java/
* class.c: Replace %J by an explicit location. Update all calls.
objc/
* objc-act.c: Replace %J by an explicit location. Update all
calls.
cp/
* init.c: Replace %J by an explicit location. Update all calls.
* decl.c: Likewise.
* typeck2.c: Likewise.
* pt.c: Likewise.
* name-lookup.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149312 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/class.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 17c6ebf8d6d..9f90f53b4d6 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,9 @@ 2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + * class.c: Replace %J by an explicit location. Update all calls. + +2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + * jcf-parse.c: Replace %H by an explicit location. Update all calls. 2009-06-29 Andrew Haley <aph@redhat.com> diff --git a/gcc/java/class.c b/gcc/java/class.c index 1b594e5ca84..db9c8a8e88c 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1609,7 +1609,8 @@ get_dispatch_table (tree type, tree this_class_addr) if (METHOD_ABSTRACT (method)) { if (! abstract_p) - warning (0, "%Jabstract method in non-abstract class", method); + warning_at (DECL_SOURCE_LOCATION (method), 0, + "abstract method in non-abstract class"); if (TARGET_VTABLE_USES_DESCRIPTORS) for (j = 0; j < TARGET_VTABLE_USES_DESCRIPTORS; ++j) |