diff options
author | No Author <no-author@gcc.gnu.org> | 2004-05-31 22:37:19 +0000 |
---|---|---|
committer | No Author <no-author@gcc.gnu.org> | 2004-05-31 22:37:19 +0000 |
commit | 461e84806d0c2d6c5e1a273e17b5e20f9f94e4eb (patch) | |
tree | 4cc2646c0db9cbed74873e8ab5ecff3b7726dfe3 | |
parent | b15b47c183b294a206da23a1bf038478e24a708b (diff) |
This commit was manufactured by cvs2svn to create tagreleases/gcc-3.3.4
'gcc_3_3_4_release'.
From-SVN: r82514
-rw-r--r-- | gcc/fixinc/tests/base/obstack.h | 14 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20030711-1.c | 25 |
2 files changed, 0 insertions, 39 deletions
diff --git a/gcc/fixinc/tests/base/obstack.h b/gcc/fixinc/tests/base/obstack.h deleted file mode 100644 index ea8e8dd1e32..00000000000 --- a/gcc/fixinc/tests/base/obstack.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/obstack.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( OBSTACK_LVALUE_CAST_CHECK ) -((*((void **) (h)->next_free) = (aptr)), ( (h)->next_free += sizeof (void *))) -#endif /* OBSTACK_LVALUE_CAST_CHECK */ diff --git a/gcc/testsuite/gcc.dg/20030711-1.c b/gcc/testsuite/gcc.dg/20030711-1.c deleted file mode 100644 index 25f515cbe50..00000000000 --- a/gcc/testsuite/gcc.dg/20030711-1.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Test whether strncmp has not been "optimized" into memcmp - nor any code with memcmp semantics. */ -/* { dg-do run { target i?86-*-linux* x86_64-*-linux* ia64-*-linux* alpha*-*-linux* powerpc*-*-linux* s390*-*-linux* sparc*-*-linux* } } */ -/* { dg-options "-O2" } */ -#include <sys/mman.h> -#include <stdlib.h> - -void __attribute__((noinline)) test (const char *p) -{ - if (__builtin_strncmp (p, "abcdefghijklmnopq", 17) == 0) - abort (); -} - -int main (void) -{ - char *p = mmap (NULL, 131072, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); - if (p == MAP_FAILED) - return 0; - if (munmap (p + 65536, 65536) < 0) - return 0; - __builtin_memcpy (p + 65536 - 5, "abcd", 5); - test (p + 65536 - 5); - return 0; -} |