1 /* { dg-do run } */ 2 /* { dg-additional-options "-Wno-overflow" } */ 3 /* { dg-require-effective-target int32plus } */ 4 5 const signed char c = -84; 6 signed char s; 7 8 void foo()9foo () 10 { 11 s = (unsigned short) c / -55; 12 } 13 14 int main()15main () 16 { 17 foo (); 18 if (s != 90) 19 __builtin_abort (); 20 } 21