aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2011-09-15 20:44:30 +0000
committerTom de Vries <vries@gcc.gnu.org>2011-09-15 20:44:30 +0000
commit54f80b7edf200d74dcfe78daca8a20ca38148e12 (patch)
tree4b946a5b5f685b3d970038ed010811c5e71bec6d /gcc
parent167aa8cd3f425aad14b6a3f355cca77311be1ca9 (diff)
downloadgcc-54f80b7edf200d74dcfe78daca8a20ca38148e12.zip
gcc-54f80b7edf200d74dcfe78daca8a20ca38148e12.tar.gz
gcc-54f80b7edf200d74dcfe78daca8a20ca38148e12.tar.bz2
re PR testsuite/50322 ([avr]: fail: gcc.dg/tree-ssa/ivopts-lt.c)
2011-09-15 Tom de Vries <tom@codesourcery.com> PR testsuite/50322 * gcc.dg/tree-ssa/ivopts-lt.c: require stdint_types. include stdint.h. Use uintptr_t in f1. Undo avr xfails. From-SVN: r178895
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt.c10
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3f23eab..e309481 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2011-09-15 Tom de Vries <tom@codesourcery.com>
+
+ PR testsuite/50322
+ * gcc.dg/tree-ssa/ivopts-lt.c: require stdint_types. include stdint.h.
+ Use uintptr_t in f1. Undo avr xfails.
+
2011-09-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/50401
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt.c b/gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt.c
index 1d2fc29..5188fed 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt.c
@@ -1,8 +1,11 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ivopts" } */
+/* { dg-require-effective-target stdint_types } */
+
+#include "stdint.h"
void
-f1 (char *p, unsigned long int i, unsigned long int n)
+f1 (char *p, uintptr_t i, uintptr_t n)
{
p += i;
do
@@ -14,8 +17,7 @@ f1 (char *p, unsigned long int i, unsigned long int n)
while (i < n);
}
-/* For the fails on avr see PR tree-optimization/50322. */
-/* { dg-final { scan-tree-dump-times "PHI" 1 "ivopts" { xfail { "avr-*-*" } } } } */
+/* { dg-final { scan-tree-dump-times "PHI" 1 "ivopts" } } */
/* { dg-final { scan-tree-dump-times "PHI <p_" 1 "ivopts"} } */
-/* { dg-final { scan-tree-dump-times "p_\[0-9\]* <" 1 "ivopts" { xfail { "avr-*-*" } } } } */
+/* { dg-final { scan-tree-dump-times "p_\[0-9\]* <" 1 "ivopts" } } */
/* { dg-final { cleanup-tree-dump "ivopts" } } */