public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Siddhesh Poyarekar <siddhesh@gotplt.org>, gcc-patches@gcc.gnu.org
Cc: rguenther@suse.de
Subject: Re: [PATCH] testsuite/110763: Ensure zero return from test
Date: Fri, 21 Jul 2023 23:05:07 -0600	[thread overview]
Message-ID: <47e4ff4c-a5d6-c04e-a98b-974e5796e14e@gmail.com> (raw)
In-Reply-To: <20230721151626.67206-1-siddhesh@gotplt.org>



On 7/21/23 09:16, Siddhesh Poyarekar wrote:
> The test deliberately reads beyond bounds to exersize ubsan and the
> return value may be anything, based on previous allocations.  The OFF
> test caters for it by ANDing the return with 0, do the same for the DYN
> test.
> 
> gcc/testsuite/ChangeLog:
> 
> 	PR testsuite/110763
> 	* gcc.dg/ubsan/object-size-dyn.c (dyn): New parameter RET.
> 	(main): Use it.
OK
jeff

      reply	other threads:[~2023-07-22  5:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-21 15:16 Siddhesh Poyarekar
2023-07-22  5:05 ` Jeff Law [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=47e4ff4c-a5d6-c04e-a98b-974e5796e14e@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rguenther@suse.de \
    --cc=siddhesh@gotplt.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 read-only IMAP folder(s) and NNTP newsgroup(s).