PR target/35005
* execute/
20071221-1.c: Adapt test for 16 bit int targets.
* execute/pr35163.c: Ditto.
From-SVN: r134114
+2008-04-08 Andy Hutchinson <hutchinsonandy@aim.com>
+
+ PR target/35005
+ * execute/20071221-1.c: Adapt test for 16 bit int targets.
+ * execute/pr35163.c: Ditto.
+
2008-04-08 Richard Guenther <rguenther@suse.de>
* gcc.c-torture/execute/20080408-1.c: New testcase.
struct s
{
unsigned long long f1 : 40;
+#if(__SIZEOF_INT__ >= 4)
unsigned int f2 : 24;
+#else
+ unsigned long int f2 : 24;
+#endif
} sv;
int main()
{
signed char a = -30;
signed char b = -31;
+ #if(__SIZEOF_INT__ >= 4)
if (a > (unsigned short)b)
+#else
+ if ((long) a > (unsigned short)b)
+#endif
abort ();
return 0;
}