comp-goto-1.c (insn_t): Change offset to signed int.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 19 Nov 2016 20:15:18 +0000 (20:15 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 19 Nov 2016 20:15:18 +0000 (20:15 +0000)
* gcc.c-torture/execute/comp-goto-1.c (insn_t): Change offset to
signed int.

From-SVN: r242629

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/comp-goto-1.c

index debb3b0..e83e9ea 100644 (file)
@@ -1,3 +1,8 @@
+2016-11-19  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * gcc.c-torture/execute/comp-goto-1.c (insn_t): Change offset to
+       signed int.
+
 2016-11-19  John David Anglin  <danglin@gcc.gnu.org>
 
        * gfortran.dg/coarray_alloc_comp_1.f08: Add "-latomic" option if
index 3bf9a26..4c41b71 100644 (file)
@@ -14,7 +14,7 @@ typedef union
 {
   struct
     {
-      unsigned int     offset:18;
+      signed int       offset:18;
       unsigned int     ignore:4;
       unsigned int     s1:8;
       int              :2;