public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6465] testsuite: remove XFAIL in gcc.dg/analyzer/pr99716-1.c [PR108988]
@ 2023-03-03 22:48 David Malcolm
  0 siblings, 0 replies; only message in thread
From: David Malcolm @ 2023-03-03 22:48 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d3ef73867e3f70a343ad5aa4e00b270be85fa572

commit r13-6465-gd3ef73867e3f70a343ad5aa4e00b270be85fa572
Author: David Malcolm <dmalcolm@redhat.com>
Date:   Fri Mar 3 17:48:04 2023 -0500

    testsuite: remove XFAIL in gcc.dg/analyzer/pr99716-1.c [PR108988]
    
    Jakub's r13-6441-gdbeccab7a1f5dc fix for PR tree-optimization/108988
    has fixed this failing analyzer test.
    
    gcc/testsuite/ChangeLog:
            PR tree-optimization/108988
            * gcc.dg/analyzer/pr99716-1.c (test_2): Remove xfail.
    
    Signed-off-by: David Malcolm <dmalcolm@redhat.com>

Diff:
---
 gcc/testsuite/gcc.dg/analyzer/pr99716-1.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/analyzer/pr99716-1.c b/gcc/testsuite/gcc.dg/analyzer/pr99716-1.c
index 4fae368f321..2ccdcc73a5c 100644
--- a/gcc/testsuite/gcc.dg/analyzer/pr99716-1.c
+++ b/gcc/testsuite/gcc.dg/analyzer/pr99716-1.c
@@ -27,11 +27,7 @@ test_2 (void)
     FILE *fp = fopen ("/tmp/test", "w");
     fprintf (fp, "hello");
   }
-} /* { dg-warning "leak of FILE 'fp'" "" { xfail *-*-* } } */
-/* TODO: fails on some targets due to fprintf call being optimized to
-   __builtin_fwrite with a size argument (idx 2) that fails
-   gimple_builtin_call_types_compatible_p, and thus the known_function
-   for __builtin_fwrite not being used (PR middle-end/108988).  */
+} /* { dg-warning "leak of FILE 'fp'" } */
 
 FILE *fp3;

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

only message in thread, other threads:[~2023-03-03 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 22:48 [gcc r13-6465] testsuite: remove XFAIL in gcc.dg/analyzer/pr99716-1.c [PR108988] David Malcolm

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