aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/params/blocksort-part.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 457eb10..536fbee 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-07-19 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * gcc.dg/params/blocksort-part.c: Conditionally define Int32
+ and UInt32 based on __SIZEOF_INT__.
+
2016-07-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/71901
diff --git a/gcc/testsuite/gcc.dg/params/blocksort-part.c b/gcc/testsuite/gcc.dg/params/blocksort-part.c
index 0eef2f3..a9154f2 100644
--- a/gcc/testsuite/gcc.dg/params/blocksort-part.c
+++ b/gcc/testsuite/gcc.dg/params/blocksort-part.c
@@ -21,8 +21,13 @@
typedef char Char;
typedef unsigned char Bool;
typedef unsigned char UChar;
+#if __SIZEOF_INT__ == 2
+typedef long Int32;
+typedef unsigned long UInt32;
+#else
typedef int Int32;
typedef unsigned int UInt32;
+#endif
typedef short Int16;
typedef unsigned short UInt16;