As reported this now XPASSes with ranger. Tested on i?86-linux, pushed.
2021-01-21 Richard Biener <rguent...@suse.de> * gcc.dg/Walloca-2.c: Un-XFAIL. --- 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); -- 2.26.2