Commit 8e158db4 by Richard Kenner

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

`noreturn' function warning.

From-SVN: r6459
parent 08bf538e
...@@ -2747,7 +2747,7 @@ rest_of_compilation (decl) ...@@ -2747,7 +2747,7 @@ rest_of_compilation (decl)
it only computes whether control can drop off the end of the function. */ it only computes whether control can drop off the end of the function. */
if (optimize > 0 || extra_warnings || warn_return_type if (optimize > 0 || extra_warnings || warn_return_type
/* If function is `volatile', we should warn if it tries to return. */ /* If function is `noreturn', we should warn if it tries to return. */
|| TREE_THIS_VOLATILE (decl)) || TREE_THIS_VOLATILE (decl))
{ {
TIMEVAR (jump_time, reg_scan (insns, max_reg_num (), 0)); TIMEVAR (jump_time, reg_scan (insns, max_reg_num (), 0));
......
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