linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
To: Florian Meier <Florian.Meier@informatik.uni-erlangen.de>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v003] Added support for gcc version >= 6
Date: Fri, 1 Jul 2016 17:46:58 +0200	[thread overview]
Message-ID: <5e6554f1-f619-d06d-aa02-96d65d8e2198@linux.vnet.ibm.com> (raw)
In-Reply-To: <20160701130914.GA23225@styxhp>

On 01.07.2016 15:09, Florian Meier wrote:
> Added support for gcc version >= 6 in gcov.
> 
> Signed-off-by: Florian Meier <Florian.Meier@informatik.uni-erlangen.de>

Looks good, thanks! Tested successfully with gcc 4.8.5 and gcc 6.1.0.
Andrew, could you pick this change up via your tree?

Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Tested-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>

> ---
>  kernel/gcov/gcc_4_7.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/gcov/gcc_4_7.c b/kernel/gcov/gcc_4_7.c
> index e25e92f..6a5c239 100644
> --- a/kernel/gcov/gcc_4_7.c
> +++ b/kernel/gcov/gcc_4_7.c
> @@ -18,7 +18,7 @@
>  #include <linux/vmalloc.h>
>  #include "gcov.h"
> 
> -#if __GNUC__ == 5 && __GNUC_MINOR__ >= 1
> +#if (__GNUC__ > 5) || (__GNUC__ == 5 && __GNUC_MINOR__ >= 1)
>  #define GCOV_COUNTERS			10
>  #elif __GNUC__ == 4 && __GNUC_MINOR__ >= 9
>  #define GCOV_COUNTERS			9
> 

-- 
Peter Oberparleiter
Linux on z Systems Development - IBM Germany

  reply	other threads:[~2016-07-01 15:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01  9:06 [Patch v002] gcov: Added support for >=gcc-6 Florian Meier
2016-07-01 10:58 ` Peter Oberparleiter
2016-07-01 13:09   ` [PATCH v003] Added support for gcc version >= 6 Florian Meier
2016-07-01 15:46     ` Peter Oberparleiter [this message]
2016-07-01 16:26     ` Joe Perches
2016-07-04  7:43       ` Peter Oberparleiter
2016-07-04  7:56         ` Florian Meier
2016-07-04  8:19           ` [PATCH v004] gcov: " Florian Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5e6554f1-f619-d06d-aa02-96d65d8e2198@linux.vnet.ibm.com \
    --to=oberpar@linux.vnet.ibm.com \
    --cc=Florian.Meier@informatik.uni-erlangen.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).