(rest_of_compilation): `volatile' function warning corrected to read
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 1 Feb 1994 16:25:27 +0000 (11:25 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 1 Feb 1994 16:25:27 +0000 (11:25 -0500)
`noreturn' function warning.

From-SVN: r6459

gcc/toplev.c

index c69b23cd73e7b8d6d76472e6908002071c66cfc6..182965a7c875c306a8791439caaa31c73b5b192a 100644 (file)
@@ -2747,7 +2747,7 @@ rest_of_compilation (decl)
      it only computes whether control can drop off the end of the function.  */
 
   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))
     {
       TIMEVAR (jump_time, reg_scan (insns, max_reg_num (), 0));