public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] tree-optimization/106293 - fix testcase
@ 2023-01-11  7:04 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2023-01-11  7:04 UTC (permalink / raw)
  To: gcc-patches

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

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

only message in thread, other threads:[~2023-01-11  7:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11  7:04 [PATCH] tree-optimization/106293 - fix testcase 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).