diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-31 21:58:10 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-31 21:58:10 +0000 |
commit | 22b8950739113217db39fb089c30eae7f86f92f0 (patch) | |
tree | ae24df29fc576081d78d7041c68451d37f3d12e0 /gcc/tree-optimize.c | |
parent | 61cc29dfba9a9e35b7e473b3ea7b5bae4bc40be2 (diff) | |
download | gcc-22b8950739113217db39fb089c30eae7f86f92f0.tar.gz |
PR middle-end/14521
* tree-inline.c (inline_forbidden_p_1): Use %qF instead of '%F'
for consistent quoting in diagnostic messages.
(expand_call_inline): Likewise.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
* tree-ssa.c (warn_uninitialized_var): Likewise.
(warn_uninitialized_phi): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89918 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r-- | gcc/tree-optimize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index 88d18a71f46..e2eb8812fa5 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -683,10 +683,10 @@ tree_rest_of_compilation (tree fndecl) = TREE_INT_CST_LOW (TYPE_SIZE_UNIT (ret_type)); if (compare_tree_int (TYPE_SIZE_UNIT (ret_type), size_as_int) == 0) - warning ("%Jsize of return value of '%D' is %u bytes", + warning ("%Jsize of return value of %qD is %u bytes", fndecl, fndecl, size_as_int); else - warning ("%Jsize of return value of '%D' is larger than %wd bytes", + warning ("%Jsize of return value of %qD is larger than %wd bytes", fndecl, fndecl, larger_than_size); } } |