public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Malcolm <dmalcolm@redhat.com>
To: Benjamin Priour <priour.be@gmail.com>, gcc@gcc.gnu.org
Subject: Re: Testing a patch
Date: Tue, 30 May 2023 19:07:35 -0400	[thread overview]
Message-ID: <93c718cd2c53b863c454312702430a42585212fd.camel@redhat.com> (raw)
In-Reply-To: <CAKiQ0GGrOAJ9tVsHi+jPLa8NY+nidAesR8M5S0z4eBwyJX+=mw@mail.gmail.com>

On Mon, 2023-05-29 at 15:09 +0200, Benjamin Priour wrote:
> Hi,
> 
> Regstrapping finally done for PR109439 - Spurious
> -Wanalyzer-use-of-uninitialized-value tagging along
> -Wanalyzer-out-of-bounds.
> Now only a OOB warning is reported when necessary instead of OOB +
> Use
> of uninitialized value.
> 
> Some tests in analyzer (out-of-bounds-*, realloc-5, pr101962) were
> checking for the now removed use-of-uninitialized-value warning, and
> therefore I fixed that.
> 
> But now I'm confused since the documentation reads that to perform
> regtesting, one should use make -k check,
> and that's what I always use too, but because I fixed the above test
> files, contrib/compare_tests obviously complains about them having
> disappeared.
> Does it mean regtesting failed ?

If part of the purpose of a patch is the removal of certain tests, then
if compare_tests is "complaining" about them disappearing, then
arguably compare_tests is in fact verifying that the behavior of the
patch matches the intended behavior.  In this case, regression testing
has effectively passed.


>  Can I submit the patch in its current
> state or should I do something else before doing so ?

Yes, please submit the patch in its current state, to gcc-patches, and
CC me on it.

Thanks
Dave

> Guess I would get feedback anyway if something's wrong.
> 
> I figured I would send it here rather than to gcc-patches, as it's
> more general than a discussion over a single patch.
> 
> Thanks,
> Benjamin
> 


      reply	other threads:[~2023-05-30 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-29 13:09 Benjamin Priour
2023-05-30 23:07 ` David Malcolm [this message]

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=93c718cd2c53b863c454312702430a42585212fd.camel@redhat.com \
    --to=dmalcolm@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=priour.be@gmail.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).