From 9cbff7e7d94be033fa30d1dba49b8036adfffcb4 Mon Sep 17 00:00:00 2001 From: Rask Ingemann Lambertsen Date: Fri, 1 Jun 2007 00:56:32 +0200 Subject: [PATCH] limits-caselabels.c: Fix for targets where int is 16 bits. 2007-05-31 Rask Ingemann Lambertsen * gcc.c-torture/compile/limits-caselabels.c: Fix for targets where int is 16 bits. From-SVN: r125243 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/compile/limits-caselabels.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f659b4b..00b365d6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-05-31 Rask Ingemann Lambertsen + + * gcc.c-torture/compile/limits-caselabels.c: Fix for targets where + int is 16 bits. + 007-05-31 Paul Thomas PR fortran/32156 diff --git a/gcc/testsuite/gcc.c-torture/compile/limits-caselabels.c b/gcc/testsuite/gcc.c-torture/compile/limits-caselabels.c index 09b7b2e..08e8195 100644 --- a/gcc/testsuite/gcc.c-torture/compile/limits-caselabels.c +++ b/gcc/testsuite/gcc.c-torture/compile/limits-caselabels.c @@ -12,7 +12,7 @@ #define LIM7(x) LIM6(x##0) LIM6(x##1) LIM6(x##2) LIM6(x##3) LIM6(x##4) \ LIM6(x##5) LIM6(x##6) LIM6(x##7) LIM6(x##8) LIM6(x##9) -void q19_func (int i) +void q19_func (long i) { switch (i) { LIM5 (case 1) -- 2.7.4