diff options
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 b0b6b340bbc..40020ac30ab 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -774,10 +774,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 %qD is %u bytes", + warning (0, "%Jsize of return value of %qD is %u bytes", fndecl, fndecl, size_as_int); else - warning ("%Jsize of return value of %qD is larger than %wd bytes", + warning (0, "%Jsize of return value of %qD is larger than %wd bytes", fndecl, fndecl, larger_than_size); } } |