From: Rask Ingemann Lambertsen Date: Thu, 31 May 2007 22:56:32 +0000 (+0200) Subject: limits-caselabels.c: Fix for targets where int is 16 bits. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9cbff7e7d94be033fa30d1dba49b8036adfffcb4;p=platform%2Fupstream%2Fgcc.git 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 --- 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)