This makes similar functions merge_usage, rewrite_usage, and
overlap_usage all have ATTRIBUTE_NORETURN.  (The latter was marked with
it in r264562, the other two were not).

Checked in as r272119.

Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog       (revision 272118)
+++ gcc/ChangeLog       (working copy)
@@ -1,3 +1,8 @@
+2019-06-10  Vladislav Ivanishin  <v...@ispras.ru>
+
+       * gcov-tool.c (merge_usage, rewrite_usage): Mark with
+       ATTRIBUTE_NORETURN thus making consistent with overlap_usage.
+
 2019-06-10  Jakub Jelinek  <ja...@redhat.com>

        * tree.def (OMP_SCAN): New tree code.
Index: gcc/gcov-tool.c
===================================================================
--- gcc/gcov-tool.c     (revision 272118)
+++ gcc/gcov-tool.c     (working copy)
@@ -188,7 +188,7 @@

 /* Print merge usage and exit.  */

-static void
+static void ATTRIBUTE_NORETURN
 merge_usage (void)
 {
   fnotice (stderr, "Merge subcomand usage:");
@@ -284,7 +284,7 @@

 /* Print profile rewrite usage and exit.  */

-static void
+static void ATTRIBUTE_NORETURN
 rewrite_usage (void)
 {
   fnotice (stderr, "Rewrite subcommand usage:");


-- 
Vlad

Reply via email to