public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hp@bitrange.com>
To: Andreas Jaeger <aj@suse.de>
Cc: Richard Henderson <rth@redhat.com>,  <gcc-patches@gcc.gnu.org>
Subject: Re: [RFA:] Take 2 (was: Re: RFC: --enable-checking=valgrind.)
Date: Tue, 19 Nov 2002 09:07:00 -0000	[thread overview]
Message-ID: <Pine.BSF.4.44.0211191031400.77307-100000@dair.pair.com> (raw)
In-Reply-To: <u8ptt14lvy.fsf@gromit.moeb>

On Tue, 19 Nov 2002, Andreas Jaeger wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
>
> > On Tue, 19 Nov 2002, Andreas Jaeger wrote:
> >
> >> With valgrind from CVS, there's one problem with your patch:
> >>
> >> /cvs/gcc/gcc/cppfiles.c: In function `read_include_file':
> >> /cvs/gcc/gcc/cppfiles.c:428: warning: implicit declaration of function `VALGRIND_DISCARD'
> >
> > Oh my, an API change.  I use 1.0.4 as you might guess.  I guess
>
> I used the latest CVS.

The snapshot I see is stated to be "of the current development,
unstable sources".  Perhaps they will change this before
release, perhaps to something else.
(Where's the CVS repo?  Perhaps it says in the 1.1.0 ss.)

> > that's easily autoconf:ed for, if you please.
>
> Can you do that as part of your patch - if not, I'll try to do it next
> weekend?

Please do it.

> Just checking for <memcheck.h> and including it if it exists should be
> all that's needed,

I think memcheck.h is just too common a name to do that without
risking breakage (I hope they change that, perhaps to
vgmemcheck.h).  I suggest checking whether VALGRIND_DISCARD is
in valgrind.h, and if not, whether it's in memcheck.h and only
*then* define some macro to test before including memcheck.h.
I'll test with 1.0.4 if you do.  But I can't really test that it
works for you with my current valgrind, so please do it.
(FWIW, there's no memcheck.h in 1.0.4.)

brgds, H-P

  reply	other threads:[~2002-11-19 17:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-10 17:35 RFC: --enable-checking=valgrind Hans-Peter Nilsson
2002-11-10 19:34 ` Zack Weinberg
2002-11-11  1:55   ` Hans-Peter Nilsson
2002-11-11 16:53     ` Zack Weinberg
2002-11-11 17:48       ` Hans-Peter Nilsson
2002-11-12  6:02       ` Jan Hubicka
2002-11-12 17:11         ` Hans-Peter Nilsson
2002-11-12 17:21           ` Zack Weinberg
2002-11-13  5:32           ` Jan Hubicka
2002-11-13 13:38             ` Hans-Peter Nilsson
2002-11-18 17:20     ` Richard Henderson
2002-11-18 18:24       ` [RFA:] Take 2 (was: Re: RFC: --enable-checking=valgrind.) Hans-Peter Nilsson
2002-11-18 20:37         ` Richard Henderson
2002-11-20 11:57           ` Hans-Peter Nilsson
2002-11-18 22:12         ` Neil Booth
2002-11-19  4:37           ` Hans-Peter Nilsson
2002-11-18 22:33         ` Andreas Jaeger
2002-11-19  4:33           ` Hans-Peter Nilsson
2002-11-19  7:31             ` Andreas Jaeger
2002-11-19  9:07               ` Hans-Peter Nilsson [this message]
2002-11-19  9:15                 ` [RFA:] Take 2 Andreas Jaeger
2002-11-26  5:42         ` [PATCH] Fix configure (was Re: [RFA:] Take 2 (was: Re: RFC: --enable-checking=valgrind.)) Jakub Jelinek
2002-11-26  9:59           ` Richard Henderson
2002-11-28  7:34           ` Hans-Peter Nilsson
2002-11-28  8:08             ` Hans-Peter Nilsson

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=Pine.BSF.4.44.0211191031400.77307-100000@dair.pair.com \
    --to=hp@bitrange.com \
    --cc=aj@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rth@redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).