From 06ac83a9e0c4aee4b5ed14b5c47e465db485ea79 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 15 Dec 2014 11:44:53 +0100 Subject: [PATCH] re PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu) PR tree-optimization/63551 * gcc.dg/ipa/pr63551.c (fn2): Use 4294967286U instead of 4294967286 to avoid warnings. From-SVN: r218740 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/ipa/pr63551.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9a0df058245..3008b9b640e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2014-12-15 Jakub Jelinek + + PR tree-optimization/63551 + * gcc.dg/ipa/pr63551.c (fn2): Use 4294967286U instead of + 4294967286 to avoid warnings. + 2014-12-15 Janus Weil PR fortran/63674 diff --git a/gcc/testsuite/gcc.dg/ipa/pr63551.c b/gcc/testsuite/gcc.dg/ipa/pr63551.c index 676c2c2c3d3..48b020aee40 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr63551.c +++ b/gcc/testsuite/gcc.dg/ipa/pr63551.c @@ -21,7 +21,7 @@ void fn2 () { d = 0; - union U b = { 4294967286 }; + union U b = { 4294967286U }; fn1 (b); } -- 2.30.2