diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-21 10:55:13 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-21 10:55:13 +0000 |
commit | 509c9d60e430b84903eb1232a70871aa93150623 (patch) | |
tree | 83b0791500b25a6c18b622d8641f3ac55eb3f00b /gcc/fortran/f95-lang.c | |
parent | 2fb63453bdd24fff367b4ddb18c59b3972520728 (diff) | |
download | gcc-509c9d60e430b84903eb1232a70871aa93150623.zip gcc-509c9d60e430b84903eb1232a70871aa93150623.tar.gz gcc-509c9d60e430b84903eb1232a70871aa93150623.tar.bz2 |
diagnostic.c (pedwarn_at): Rename as pedwarn.
2008-08-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* diagnostic.c (pedwarn_at): Rename as pedwarn.
(pedwarn): Delete.
* toplev.h (pedwarn_at): Likewise.
* builtins.c: Update all calls to pedwarn.
* c-lex.c: Likewise.
* toplev.c: Likewise.
* c-tree.h: Likewise.
* c-decl.c: Likewise.
* c-errors.c: Likewise.
* c-typeck.c: Likewise.
* c-common.c: Likewise.
* c-parser.c: Likewise.
cp/
* typeck.c: Update all calls to pedwarn.
* decl.c: Likewise.
* call.c: Likewise.
* error.c: Likewise.
* pt.c: Likewise.
* name-lookup.c: Likewise.
* parser.c: Likewise.
fortran/
* f95-lang.c: Update all calls to pedwarn.
From-SVN: r139373
Diffstat (limited to 'gcc/fortran/f95-lang.c')
-rw-r--r-- | gcc/fortran/f95-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c index 5f39593..82da3b1 100644 --- a/gcc/fortran/f95-lang.c +++ b/gcc/fortran/f95-lang.c @@ -604,7 +604,7 @@ gfc_mark_addressable (tree exp) IDENTIFIER_POINTER (DECL_NAME (x))); return false; } - pedwarn (0, "register variable %qs used in nested function", + pedwarn (input_location, 0, "register variable %qs used in nested function", IDENTIFIER_POINTER (DECL_NAME (x))); } else if (DECL_REGISTER (x) && !TREE_ADDRESSABLE (x)) @@ -629,7 +629,7 @@ gfc_mark_addressable (tree exp) } #endif - pedwarn (0, "address of register variable %qs requested", + pedwarn (input_location, 0, "address of register variable %qs requested", IDENTIFIER_POINTER (DECL_NAME (x))); } |