This test fails on AVR.
Debugging the test on x86 host, I noticed that u in function s sometimes
has value 16128. The "t <= 3 * u" expression in the same function
results in signed integer overflow for targets with sizeof(int)=2.
Fix by requiring int32 effective target.
Also add return statement for the main function.
gcc/testsuite/ChangeLog:
* gcc.dg/torture/pr117546.c: Require effective target int32.
(main): Add return statement.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
-/* { dg-do run } */
+/* { dg-do run { target int32 } } */
typedef struct {
int a;
l.glyf.coords[4] = (e){2, 206};
l.glyf.coords[6] = (e){0, 308, 5};
w(&l);
+
+ return 0;
}