re PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu)
authorJakub Jelinek <jakub@redhat.com>
Mon, 15 Dec 2014 10:44:53 +0000 (11:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 15 Dec 2014 10:44:53 +0000 (11:44 +0100)
PR tree-optimization/63551
* gcc.dg/ipa/pr63551.c (fn2): Use 4294967286U instead of
4294967286 to avoid warnings.

From-SVN: r218740

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr63551.c

index 9a0df0582453c4f1493728f84cfda19abd12ab4d..3008b9b640e8f26c090cb4783e95dad08fbae816 100644 (file)
@@ -1,3 +1,9 @@
+2014-12-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/63551
+       * gcc.dg/ipa/pr63551.c (fn2): Use 4294967286U instead of
+       4294967286 to avoid warnings.
+
 2014-12-15  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/63674
index 676c2c2c3d35e31920dae4b088064ee98d4377ed..48b020aee403bfa259f21626c55e5a7555a8e737 100644 (file)
@@ -21,7 +21,7 @@ void
 fn2 ()
 {
   d = 0;
-  union U b = { 4294967286 };
+  union U b = { 4294967286U };
   fn1 (b);
 }