* gcc.dg/torture/pr27743.c (bar): Use an integer of exactly 32 bits
because the test relies on bit 31 to be the sign bit.
From-SVN: r126990
+2007-07-27 Rask Ingemann Lambertsen <rask@sygehus.dk>
+
+ * gcc.dg/torture/pr27743.c (bar): Use an integer of exactly 32 bits
+ because the test relies on bit 31 to be the sign bit.
+
2007-07-27 Rask Ingemann Lambertsen <rask@sygehus.dk>
* gcc.c-torture/execute/pr28651.c (main): Use INT_MAX instead of
-/* { dg-do run } */
+/* { dg-do run { target { stdint_types } } } */
+#include <stdint.h>
extern void abort(void);
-int bar(int a)
+int32_t bar (int32_t a)
{
- return ((unsigned) ((a) >> 2)) >> 15;
+ return ((uint32_t) ((a) >> 2)) >> 15;
}
int main()