public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Macleod <amacleod@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-6266] Re: [r11-6232 Regression] FAIL: gcc.dg/pr97750.c
Date: Fri, 18 Dec 2020 22:09:32 +0000 (GMT)	[thread overview]
Message-ID: <20201218220932.B3EB23854809@sourceware.org> (raw)

https://gcc.gnu.org/g:0e9f2b2dc8df91be27acc383c63f0feae28fa229

commit r11-6266-g0e9f2b2dc8df91be27acc383c63f0feae28fa229
Author: Andrew MacLeod <amacleod@redhat.com>
Date:   Fri Dec 18 17:05:18 2020 -0500

    Re: [r11-6232 Regression] FAIL: gcc.dg/pr97750.c
    
    Adjust testcase to not actually check for an undefined warning since we
    don't really care about it, or what line it is issued on.
    
            gcc/testsuite/
            * gcc.dg/pr97750.c: Remove check for warning.

Diff:
---
 gcc/testsuite/gcc.dg/pr97750.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/pr97750.c b/gcc/testsuite/gcc.dg/pr97750.c
index 822b53abcff..90c3dc26852 100644
--- a/gcc/testsuite/gcc.dg/pr97750.c
+++ b/gcc/testsuite/gcc.dg/pr97750.c
@@ -14,8 +14,8 @@ void CopyFromUswc(long src_pitch) {
   for (; CopyFromUswc_height;) {
     unsigned unaligned = (long)CopyFromUswc_src;
     if (unaligned)
-      CopyPlane(&dst[unaligned]);  /* { dg-warning "may be used uninitialized" } */
+      CopyPlane(&dst[unaligned]);  
     CopyFromUswc_src += src_pitch;
   }
 }
-
+/* { dg-prune-output "-Wmaybe-uninitialized" } */


                 reply	other threads:[~2020-12-18 22:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20201218220932.B3EB23854809@sourceware.org \
    --to=amacleod@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.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).