[PATCH] tree-optimization/106293 - fix testcase
Richard Biener
rguenther@suse.de
Wed Jan 11 07:04:08 GMT 2023
The following removes a problematic initializer which causes
excess diagnostics with -m32 and isn't actually required.
Tested on x86_64-unknown-linux-gnu, pushed.
PR tree-optimization/106293
* gcc.dg/tree-ssa/ssa-dse-46.c: Remove long initializer.
---
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-46.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-46.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-46.c
index 68b36433ffc..c98038a4d2d 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-46.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-46.c
@@ -2,7 +2,7 @@
/* { dg-options "-O2 -fdump-tree-dse1" } */
int a;
-static long b = 4073709551612, d;
+static long b, d;
short c;
void foo();
char e(int **f) {
--
2.35.3
More information about the Gcc-patches
mailing list