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/config/v850 | |
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/config/v850')
-rw-r--r-- | gcc/config/v850/v850.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index bd62d1e9efd..5e1594a9be5 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -2090,8 +2090,9 @@ v850_handle_data_area_attribute (tree* node, case VAR_DECL: if (current_function_decl != NULL_TREE) { - error ("%Jdata area attributes cannot be specified for " - "local variables", decl); + error_at (DECL_SOURCE_LOCATION (decl), + "data area attributes cannot be specified for " + "local variables"); *no_add_attrs = true; } |