gcc/testsuite/ChangeLog:
* gcc.dg/tree-ssa/builtin-snprintf-4.c: Adjust for ILP32.
From-SVN: r267206
+2018-12-17 Martin Sebor <msebor@redhat.com>
+
+ * gcc.dg/tree-ssa/builtin-snprintf-4.c: Adjust for ILP32.
+
2018-12-17 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
PR rtl-optimization/88253
static const size_t imax = __INT_MAX__;
static const size_t imaxp1 = imax + 1;
+#if __PTRDIFF_MAX__ == __INT_MAX__
+/* Make the test pass on ILP32 the same way it does on LP64. */
+static const size_t dmax = __PTRDIFF_MAX__ + (size_t)1;
+#else
static const size_t dmax = __PTRDIFF_MAX__;
+#endif
static const size_t dmaxp1 = dmax + 1;
static const size_t szmax = __SIZE_MAX__;