aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-01-21 10:30:56 +0100
committerRichard Biener <rguenther@suse.de>2021-01-21 10:30:56 +0100
commitfa9d1ad2ff6578dccfa181d909f72e2cb745df63 (patch)
tree33ebe940b6cde3c8607378377fe5a4626cc86d51 /gcc
parente711b67a9081ae84c66174a50705dc98ba993a43 (diff)
downloadgcc-fa9d1ad2ff6578dccfa181d909f72e2cb745df63.zip
gcc-fa9d1ad2ff6578dccfa181d909f72e2cb745df63.tar.gz
gcc-fa9d1ad2ff6578dccfa181d909f72e2cb745df63.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/Walloca-2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/Walloca-2.c b/gcc/testsuite/gcc.dg/Walloca-2.c
index 1cf9165..c81813e 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);