diff options
author | Rask Ingemann Lambertsen <rask@sygehus.dk> | 2007-07-25 13:13:41 +0200 |
---|---|---|
committer | Rask Ingemann Lambertsen <rask@gcc.gnu.org> | 2007-07-25 11:13:41 +0000 |
commit | 3c72bf3495671dc8d9d4c2b075a265f2f72908ae (patch) | |
tree | 39b9a5669d95f92e365f7de8ad447f8b7ea2e79c /gcc/testsuite/ChangeLog | |
parent | ba6cb9d26806df2c44e946337f6348d5eaebd668 (diff) | |
download | gcc-3c72bf3495671dc8d9d4c2b075a265f2f72908ae.tar.gz |
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
Diffstat (limited to 'gcc/testsuite/ChangeLog')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 057c0ca873c..d7ab831b934 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2007-07-25 Rask Ingemann Lambertsen <rask@sygehus.dk> + * 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 <rask@sygehus.dk> + * gcc.dg/torture/pr29584.c: Only run test if pointers have the same size as "long int" and are 32 or 64 bits wide. * gcc.dg/torture/pr28814.c: Likewise. |