summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/fixinc/tests/base/obstack.h14
-rw-r--r--gcc/testsuite/g++.dg/conversion/op2.C16
-rw-r--r--gcc/testsuite/g++.dg/eh/cond2.C19
-rw-r--r--gcc/testsuite/g++.dg/other/crash-2.C13
-rw-r--r--gcc/testsuite/g++.dg/warn/conv2.C3
-rw-r--r--gcc/testsuite/gcc.dg/20030711-1.c25
-rw-r--r--gcc/testsuite/gcc.dg/20040127-1.c24
-rw-r--r--gcc/testsuite/gcc.dg/20040127-2.c32
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/init-4.c3
9 files changed, 0 insertions, 149 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/g++.dg/conversion/op2.C b/gcc/testsuite/g++.dg/conversion/op2.C
deleted file mode 100644
index b400988108d..00000000000
--- a/gcc/testsuite/g++.dg/conversion/op2.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// PR c++/13907
-
-struct A {
- operator int & ();
- operator const int & () const;
-};
-
-
-void f(int &);
-void f(const int &);
-
-
-int main() {
- const A x = A();
- f(x);
-}
diff --git a/gcc/testsuite/g++.dg/eh/cond2.C b/gcc/testsuite/g++.dg/eh/cond2.C
deleted file mode 100644
index e4b45f7a46f..00000000000
--- a/gcc/testsuite/g++.dg/eh/cond2.C
+++ /dev/null
@@ -1,19 +0,0 @@
-// PR c++/14083
-
-struct A {
- A() throw() { }
- A(const A&) throw() { }
-};
-
-struct X {
- A a;
- X();
- X& operator=(const X& __str);
-};
-
-bool operator==(const X& __lhs, const char* __rhs);
-
-int main() {
- X x;
- x=="" ? x : throw 1;
-}
diff --git a/gcc/testsuite/g++.dg/other/crash-2.C b/gcc/testsuite/g++.dg/other/crash-2.C
deleted file mode 100644
index 3a19f3ba8ab..00000000000
--- a/gcc/testsuite/g++.dg/other/crash-2.C
+++ /dev/null
@@ -1,13 +0,0 @@
-// { dg-do compile }
-// { dg-options "-finline -finline-functions" }
-// Contributed by Hans Buchmann <hans dot buchmann at fhso dot ch>
-// PR c++/14033: ICE while inlining a function with incomplete parameter
-
-struct A; // { dg-error "forward declaration" }
-void foo(A a) {} // { dg-error "incomplete" }
-struct A {};
-
-void bar(void)
-{
- foo(A());
-}
diff --git a/gcc/testsuite/g++.dg/warn/conv2.C b/gcc/testsuite/g++.dg/warn/conv2.C
deleted file mode 100644
index e3466002218..00000000000
--- a/gcc/testsuite/g++.dg/warn/conv2.C
+++ /dev/null
@@ -1,3 +0,0 @@
-// PR c++/13932
-
-int i = 1.; // { dg-warning "converting" }
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;
-}
diff --git a/gcc/testsuite/gcc.dg/20040127-1.c b/gcc/testsuite/gcc.dg/20040127-1.c
deleted file mode 100644
index 0ea6062a5a9..00000000000
--- a/gcc/testsuite/gcc.dg/20040127-1.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* PR target/10904 */
-/* Origin: <kminola@eng.umd.edu> */
-
-/* Verify that the register allocator correctly aligns
- floating-point registers on SPARC64. */
-
-/* { dg-do assemble } */
-/* { dg-options "-O2" } */
-
-extern int foo1();
-extern int foo2();
-
-void foo(int n, int b)
-{
- int i, a;
-
- foo1();
-
- a = (long)(b * ((double) 0.1));
-
- for (i=0; i < n; i++) {
- foo2(a);
- }
-}
diff --git a/gcc/testsuite/gcc.dg/20040127-2.c b/gcc/testsuite/gcc.dg/20040127-2.c
deleted file mode 100644
index 6e56dd8fc10..00000000000
--- a/gcc/testsuite/gcc.dg/20040127-2.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/* PR target/13058 */
-/* Origin: Lloyd Parkes <lloyd@must-have-coffee.gen.nz> */
-/* Reduced testcase by Falk Hueffner <falk@debian.org> */
-
-/* Verify that the register allocator correctly aligns
- floating-point registers on SPARC64. */
-
-/* { dg-do compile } */
-/* { dg-options "-O" } */
-
-typedef struct { int ThumbnailSize; } ImageInfo_t;
-
-double ConvertAnyFormat(void)
-{
- return 0;
-}
-
-void ProcessExifDir(ImageInfo_t *ImageInfoP, int NumDirEntries)
-{
- unsigned int ThumbnailSize;
-
- for (; NumDirEntries;) {
- Get16u();
- switch (NumDirEntries) {
- case 0x0201:
- case 0x0202:
- ThumbnailSize = ConvertAnyFormat();
- }
- }
-
- ImageInfoP->ThumbnailSize = ThumbnailSize;
-}
diff --git a/gcc/testsuite/gcc.dg/noncompile/init-4.c b/gcc/testsuite/gcc.dg/noncompile/init-4.c
deleted file mode 100644
index 906c115b8cc..00000000000
--- a/gcc/testsuite/gcc.dg/noncompile/init-4.c
+++ /dev/null
@@ -1,3 +0,0 @@
-struct a { char *b; } c[D] /* { dg-error "undeclared" } */
- = /* { dg-error "storage size" } */
- { { "" } } ; /* { dg-warning "braces around scalar initializer|near" } */