diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 02:10:19 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 02:10:19 +0000 |
commit | fab922b1f55fe7766a375d0ee28a1c48f3185250 (patch) | |
tree | 75f96edfe80b6d74b595292cb3f885c6a8ade502 /gcc/fold-const.c | |
parent | 56131eb5a0492df3fd6421db599ed6f3b42545c6 (diff) | |
download | gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.zip gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.tar.gz gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.tar.bz2 |
c-lex.c: Replace %H by an explicit location.
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-lex.c: Replace %H by an explicit location. Update all calls.
* c-common.c: Likewise.
* c-decl.c: Likewise.
* c-typeck.c: Likewise.
* fold-const.c: Likewise.
* gimplify.c: Likewise.
* stmt.c: Likewise.
* tree-cfg.c: Likewise.
* tree-ssa-loop-niter.c: Likewise.
* tree-vrp.c: Likewise.
* value-prof.c: Likewise.
java/
* jcf-parse.c: Replace %H by an explicit location. Update all calls.
objc/
* objc-act.c: Replace %H by an explicit location. Update all calls.
testsuite/
* gcc.dg/plugin/selfassign.c: Replace %H by an explicit
location. Update all calls.
* g++.dg/plugin/selfassign.c: Likewise.
From-SVN: r149310
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 39548e2..670fa45 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -988,7 +988,7 @@ fold_undefer_overflow_warnings (bool issue, const_gimple stmt, int code) locus = input_location; else locus = gimple_location (stmt); - warning (OPT_Wstrict_overflow, "%H%s", &locus, warnmsg); + warning_at (locus, OPT_Wstrict_overflow, "%s", warnmsg); } /* Stop deferring overflow warnings, ignoring any deferred |