diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 02:55:59 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 02:55:59 +0000 |
commit | c5d753640d06e51da60056f0ee354b5134cad1f7 (patch) | |
tree | d34263b5ff9f1576a23b9f95e545dc831212bc84 /gcc/tree-ssa.c | |
parent | b932c20b25c7516eb5fa2a813b8bfa786569c0b4 (diff) | |
download | gcc-c5d753640d06e51da60056f0ee354b5134cad1f7.tar.gz |
cgraphunit.c: Replace %J by an explicit location.
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.
From-SVN: r149312
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index d63e974cf91..c8a48a3b227 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -1270,7 +1270,7 @@ warn_uninit (tree t, const char *gmsgid, void *data) if (xloc.file != floc.file || xloc.line < floc.line || xloc.line > LOCATION_LINE (cfun->function_end_locus)) - inform (location, "%J%qD was declared here", var, var); + inform (DECL_SOURCE_LOCATION (var), "%qD was declared here", var); } } |