public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6266] Re: [r11-6232 Regression] FAIL: gcc.dg/pr97750.c
@ 2020-12-18 22:09 Andrew Macleod
  0 siblings, 0 replies; only message in thread
From: Andrew Macleod @ 2020-12-18 22:09 UTC (permalink / raw)
  To: gcc-cvs

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" } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-18 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 22:09 [gcc r11-6266] Re: [r11-6232 Regression] FAIL: gcc.dg/pr97750.c Andrew Macleod

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).