(c_expand_return): `volatile' function warning corrected to read
`noreturn' function warning. From-SVN: r6458
This commit is contained in:
parent
11433f425c
commit
08bf538e50
@ -6190,7 +6190,7 @@ c_expand_return (retval)
|
||||
tree valtype = TREE_TYPE (TREE_TYPE (current_function_decl));
|
||||
|
||||
if (TREE_THIS_VOLATILE (current_function_decl))
|
||||
warning ("function declared `volatile' has a `return' statement");
|
||||
warning ("function declared `noreturn' has a `return' statement");
|
||||
|
||||
if (!retval)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user