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 debb3b0aa8b0921a8b2a9e6bdedbb18b2c7c123f..e83e9ea7349dce5459b257d15b65474d4d721346 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 3bf9a26f65510d038af12a9d74d75be98a18794a..4c41b71c344ab51ae25abaed4a51d436604b1bd1 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;