From 3c72bf3495671dc8d9d4c2b075a265f2f72908ae Mon Sep 17 00:00:00 2001 From: Rask Ingemann Lambertsen Date: Wed, 25 Jul 2007 13:13:41 +0200 Subject: predcom-1.c (count_averages): Avoid overflow during addition if an int is only 16 bits wide. * gcc.dg/tree-ssa/predcom-1.c (count_averages): Avoid overflow during addition if an int is only 16 bits wide. * gcc.dg/tree-ssa/predcom-2.c (fib): Avoid overflow of 16-bit int. From-SVN: r126908 --- gcc/testsuite/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/testsuite/ChangeLog') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 057c0ca873c..d7ab831b934 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-07-25 Rask Ingemann Lambertsen + + * gcc.dg/tree-ssa/predcom-1.c (count_averages): Avoid overflow + during addition if an int is only 16 bits wide. + * gcc.dg/tree-ssa/predcom-2.c (fib): Avoid overflow of 16-bit int. + 2007-07-25 Rask Ingemann Lambertsen * gcc.dg/torture/pr29584.c: Only run test if pointers have the same -- cgit v1.2.1