public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6829] testsuite/98224 - un-XFAIL Walloca-2.c on ilp32
@ 2021-01-21  9:32 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2021-01-21  9:32 UTC (permalink / raw)
  To: gcc-cvs

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

commit r11-6829-gfa9d1ad2ff6578dccfa181d909f72e2cb745df63
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Jan 21 10:30:56 2021 +0100

    testsuite/98224 - un-XFAIL Walloca-2.c on ilp32
    
    As reported this now XPASSes with ranger.
    
    2021-01-21  Richard Biener  <rguenther@suse.de>
    
            * gcc.dg/Walloca-2.c: Un-XFAIL.

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

diff --git a/gcc/testsuite/gcc.dg/Walloca-2.c b/gcc/testsuite/gcc.dg/Walloca-2.c
index 1cf9165c59f..c81813e0daa 100644
--- a/gcc/testsuite/gcc.dg/Walloca-2.c
+++ b/gcc/testsuite/gcc.dg/Walloca-2.c
@@ -9,11 +9,7 @@ g1 (int n)
 {
   void *p;
   if (n > 0 && n < 2000)
-    // FIXME: This is a bogus warning, and is currently happening on
-    // 32-bit targets because VRP is not giving us any range info for
-    // the argument to __builtin_alloca.  This should be fixed by the
-    // upcoming range work.
-    p = __builtin_alloca (n); // { dg-bogus "unbounded use of 'alloca'" "" { xfail { ! lp64 } } }
+    p = __builtin_alloca (n); // { dg-bogus "unbounded use of 'alloca'" "" }
   else
     p = __builtin_malloc (n);
   f (p);


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

only message in thread, other threads:[~2021-01-21  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21  9:32 [gcc r11-6829] testsuite/98224 - un-XFAIL Walloca-2.c on ilp32 Richard Biener

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