From: Vladislav Ivanishin Date: Mon, 10 Jun 2019 14:17:53 +0000 (+0000) Subject: gcov-tool: Mark {merge,rewrite}_usage with noreturn attribute X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c31783fd1860b2d74e91bc490d564680ba9f71c4;p=gcc.git gcov-tool: Mark {merge,rewrite}_usage with noreturn attribute 2019-06-10 Vladislav Ivanishin * gcov-tool.c (merge_usage, rewrite_usage): Mark with ATTRIBUTE_NORETURN thus making consistent with overlap_usage. From-SVN: r272119 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5181995757..912ad18ba2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-10 Vladislav Ivanishin + + * gcov-tool.c (merge_usage, rewrite_usage): Mark with + ATTRIBUTE_NORETURN thus making consistent with overlap_usage. + 2019-06-10 Jakub Jelinek * tree.def (OMP_SCAN): New tree code. diff --git a/gcc/gcov-tool.c b/gcc/gcov-tool.c index c06769ef1c0..ce96db0f42c 100644 --- a/gcc/gcov-tool.c +++ b/gcc/gcov-tool.c @@ -188,7 +188,7 @@ static const struct option merge_options[] = /* Print merge usage and exit. */ -static void +static void ATTRIBUTE_NORETURN merge_usage (void) { fnotice (stderr, "Merge subcomand usage:"); @@ -284,7 +284,7 @@ static const struct option rewrite_options[] = /* Print profile rewrite usage and exit. */ -static void +static void ATTRIBUTE_NORETURN rewrite_usage (void) { fnotice (stderr, "Rewrite subcommand usage:");