Commit 08bf538e by Richard Kenner

(c_expand_return): `volatile' function warning corrected to read

`noreturn' function warning.

From-SVN: r6458
parent 11433f42
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment