aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNo Author <no-author@gcc.gnu.org>2005-05-19 07:51:53 +0000
committerNo Author <no-author@gcc.gnu.org>2005-05-19 07:51:53 +0000
commita1e2aac16e74ee89076b232194c7de84279a76f7 (patch)
tree32958c1b6bc2d23683a834919cd46bf80130172a
parent9c0273f8c4881830f2cc95c09173de416ca32af7 (diff)
This commit was manufactured by cvs2svn to create tagreleases/gcc-3.4.4
'gcc_3_4_4_release'. From-SVN: r99965
-rw-r--r--gcc/config/pa/x-hpux9
-rw-r--r--gcc/config/pa/x-linux4
-rw-r--r--gcc/config/x-linux4
-rw-r--r--gcc/config/x-solaris4
-rw-r--r--gcc/testsuite/g++.dg/conversion/const3.C7
-rw-r--r--gcc/testsuite/g++.dg/expr/return1.C9
-rw-r--r--gcc/testsuite/g++.dg/ext/packed8.C20
-rw-r--r--gcc/testsuite/g++.dg/lookup/crash5.C9
-rw-r--r--gcc/testsuite/g++.dg/lookup/forscope2.C9
-rw-r--r--gcc/testsuite/g++.dg/parse/local-class1.C14
-rw-r--r--gcc/testsuite/g++.dg/template/array11.C14
-rw-r--r--gcc/testsuite/g++.dg/template/crash25.C3
-rw-r--r--gcc/testsuite/g++.dg/template/crash28.C13
-rw-r--r--gcc/testsuite/g++.dg/template/crash29.C8
-rw-r--r--gcc/testsuite/g++.dg/template/error17.C8
-rw-r--r--gcc/testsuite/g++.dg/template/explicit6.C8
-rw-r--r--gcc/testsuite/g++.dg/template/operator5.C14
-rw-r--r--gcc/testsuite/g++.dg/template/typedef2.C3
-rw-r--r--gcc/testsuite/g++.dg/template/typename8.C10
-rw-r--r--gcc/testsuite/gcc.dg/nested-redef-1.c44
-rw-r--r--gcc/testsuite/gcc.dg/pr17188-1.c31
21 files changed, 0 insertions, 245 deletions
diff --git a/gcc/config/pa/x-hpux b/gcc/config/pa/x-hpux
deleted file mode 100644
index 2f16d317039..00000000000
--- a/gcc/config/pa/x-hpux
+++ /dev/null
@@ -1,9 +0,0 @@
-# The ada virtual array implementation requires that indexing be disabled on
-# hosts such as hpux that use a segmented memory architecture. Both the c
-# and ada files need to be compiled with this option for correct operation.
-X_ADA_CFLAGS=-mdisable-indexing
-
-pa-host.o : $(srcdir)/config/pa/pa-host.c $(CONFIG_H) $(SYSTEM_H) \
- coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
- $(srcdir)/config/pa/pa-host.c
diff --git a/gcc/config/pa/x-linux b/gcc/config/pa/x-linux
deleted file mode 100644
index 8a5bc6fcf36..00000000000
--- a/gcc/config/pa/x-linux
+++ /dev/null
@@ -1,4 +0,0 @@
-pa-host.o : $(srcdir)/config/pa/pa-host.c $(CONFIG_H) $(SYSTEM_H) \
- coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
- $(srcdir)/config/pa/pa-host.c
diff --git a/gcc/config/x-linux b/gcc/config/x-linux
deleted file mode 100644
index e4aa040bceb..00000000000
--- a/gcc/config/x-linux
+++ /dev/null
@@ -1,4 +0,0 @@
-host-linux.o : $(srcdir)/config/host-linux.c $(CONFIG_H) $(SYSTEM_H) \
- coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
- $(srcdir)/config/host-linux.c
diff --git a/gcc/config/x-solaris b/gcc/config/x-solaris
deleted file mode 100644
index 59c7bf61f5c..00000000000
--- a/gcc/config/x-solaris
+++ /dev/null
@@ -1,4 +0,0 @@
-host-solaris.o : $(srcdir)/config/host-solaris.c $(CONFIG_H) $(SYSTEM_H) \
- coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
- $(srcdir)/config/host-solaris.c
diff --git a/gcc/testsuite/g++.dg/conversion/const3.C b/gcc/testsuite/g++.dg/conversion/const3.C
deleted file mode 100644
index faa9f810c19..00000000000
--- a/gcc/testsuite/g++.dg/conversion/const3.C
+++ /dev/null
@@ -1,7 +0,0 @@
-// PR c++/18177
-
-void foo()
-{
- X; // { dg-error "" }
- const_cast<int&>(X);
-}
diff --git a/gcc/testsuite/g++.dg/expr/return1.C b/gcc/testsuite/g++.dg/expr/return1.C
deleted file mode 100644
index 7a64988e4b3..00000000000
--- a/gcc/testsuite/g++.dg/expr/return1.C
+++ /dev/null
@@ -1,9 +0,0 @@
-// PR c++/18545
-
-struct A;
-
-A foo() // { dg-error "" }
-{
- A a; // { dg-error "" }
- return a;
-}
diff --git a/gcc/testsuite/g++.dg/ext/packed8.C b/gcc/testsuite/g++.dg/ext/packed8.C
deleted file mode 100644
index a68fa2c8a41..00000000000
--- a/gcc/testsuite/g++.dg/ext/packed8.C
+++ /dev/null
@@ -1,20 +0,0 @@
-// PR c++/18378
-
-class A
-{
-public:
- int i;
-
- A() {}
- A(const A& a) { i = a.i; }
-};
-
-class B
-{
- A a __attribute__((packed));
-
-public:
- B() {}
- A GetA() { return a; } // { dg-error "" }
-};
-
diff --git a/gcc/testsuite/g++.dg/lookup/crash5.C b/gcc/testsuite/g++.dg/lookup/crash5.C
deleted file mode 100644
index 6584ee64505..00000000000
--- a/gcc/testsuite/g++.dg/lookup/crash5.C
+++ /dev/null
@@ -1,9 +0,0 @@
-// { dg-do compile }
-//
-// PR 17618
-
-void foo()
-{
- p; // { dg-error "not declared" }
- (void*) p;
-}
diff --git a/gcc/testsuite/g++.dg/lookup/forscope2.C b/gcc/testsuite/g++.dg/lookup/forscope2.C
deleted file mode 100644
index 1fed957a041..00000000000
--- a/gcc/testsuite/g++.dg/lookup/forscope2.C
+++ /dev/null
@@ -1,9 +0,0 @@
-// { dg-do compile }
-
-struct S {
- void foo() {
- for (_ptr; ;) {} // { dg-error "not declared" }
- _ptr = 0;
- }
-};
-
diff --git a/gcc/testsuite/g++.dg/parse/local-class1.C b/gcc/testsuite/g++.dg/parse/local-class1.C
deleted file mode 100644
index 4fc7e6ebb13..00000000000
--- a/gcc/testsuite/g++.dg/parse/local-class1.C
+++ /dev/null
@@ -1,14 +0,0 @@
- // Copyright (C) 2005 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 14 Feb 2005 <nathan@codesourcery.com>
-
-// Origin: Jorn Wolfgang Rennecke <amylaar@gcc.gnu.org>
-// Bug 19608: ICE on invalid
-
-
-void f ()
-{
- class c
- {
- friend void g () { } // { dg-error "local class definition" "" }
- };
-}
diff --git a/gcc/testsuite/g++.dg/template/array11.C b/gcc/testsuite/g++.dg/template/array11.C
deleted file mode 100644
index 259c9fabc03..00000000000
--- a/gcc/testsuite/g++.dg/template/array11.C
+++ /dev/null
@@ -1,14 +0,0 @@
-// { dg-do compile }
-// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
-// PR c++/19208: Fold dependent array domains
-
-template <class C> struct if_t { typedef int type; };
-template <class T> struct ffff { static const bool value = true; };
-template <class A>
-struct bound_member_action
-{
- typedef char f[ffff<A>::value ? 1 : 2];
- template <class CT>
- bound_member_action(CT i, typename if_t<f>::type g) {}
-};
-bound_member_action<int> a(0, 1);
diff --git a/gcc/testsuite/g++.dg/template/crash25.C b/gcc/testsuite/g++.dg/template/crash25.C
deleted file mode 100644
index fa77f0d4fb6..00000000000
--- a/gcc/testsuite/g++.dg/template/crash25.C
+++ /dev/null
@@ -1,3 +0,0 @@
-// PR c++/18124
-
-template <template <int> class class> class A {}; // { dg-error "" }
diff --git a/gcc/testsuite/g++.dg/template/crash28.C b/gcc/testsuite/g++.dg/template/crash28.C
deleted file mode 100644
index e8b2bbb2985..00000000000
--- a/gcc/testsuite/g++.dg/template/crash28.C
+++ /dev/null
@@ -1,13 +0,0 @@
-// PR c++/18445
-
-struct a
-{
- int what();
-};
-void g(void*);
-template<class T>
-void f()
-{
- a ex;
- g(ex.what); // { dg-error "" }
-}
diff --git a/gcc/testsuite/g++.dg/template/crash29.C b/gcc/testsuite/g++.dg/template/crash29.C
deleted file mode 100644
index 55953ed8010..00000000000
--- a/gcc/testsuite/g++.dg/template/crash29.C
+++ /dev/null
@@ -1,8 +0,0 @@
-// PR c++/18512
-
-template <int> struct A {};
-
-struct B : A<0>
-{
- void foo() { this->A<0>; } // { dg-error "" }
-};
diff --git a/gcc/testsuite/g++.dg/template/error17.C b/gcc/testsuite/g++.dg/template/error17.C
deleted file mode 100644
index 24b364455fd..00000000000
--- a/gcc/testsuite/g++.dg/template/error17.C
+++ /dev/null
@@ -1,8 +0,0 @@
-// PR c++/20153
-
-template <typename T>
-void
-foo()
-{
- union { struct { }; }; // { dg-error "" }
-}
diff --git a/gcc/testsuite/g++.dg/template/explicit6.C b/gcc/testsuite/g++.dg/template/explicit6.C
deleted file mode 100644
index f740269bb74..00000000000
--- a/gcc/testsuite/g++.dg/template/explicit6.C
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (C) 2005 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 14 Feb 2005 <nathan@codesourcery.com>
-
-// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
-// Bug 19895: ICE on invalid
-
-struct A;
-template A<>::A(); // { dg-error "(not a template)|(explicit qualification)" "" }
diff --git a/gcc/testsuite/g++.dg/template/operator5.C b/gcc/testsuite/g++.dg/template/operator5.C
deleted file mode 100644
index 1c0c2923191..00000000000
--- a/gcc/testsuite/g++.dg/template/operator5.C
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright (C) 2004 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 7 Dec 2004 <nathan@codesourcery.com>
-
-// PR 18803: reject legal
-// Origin: Wolfgang Bangerth <bangerth@dealii.org>
-
-struct A {
- int operator() ();
-};
-
-template <int> void foo () {
- A &a = *new A();
- const int i = a();
-}
diff --git a/gcc/testsuite/g++.dg/template/typedef2.C b/gcc/testsuite/g++.dg/template/typedef2.C
deleted file mode 100644
index 6c65671f6fe..00000000000
--- a/gcc/testsuite/g++.dg/template/typedef2.C
+++ /dev/null
@@ -1,3 +0,0 @@
-// PR c++/18155
-
-template<int> typedef struct A; // { dg-error "" }
diff --git a/gcc/testsuite/g++.dg/template/typename8.C b/gcc/testsuite/g++.dg/template/typename8.C
deleted file mode 100644
index 85f585d944a..00000000000
--- a/gcc/testsuite/g++.dg/template/typename8.C
+++ /dev/null
@@ -1,10 +0,0 @@
-// PR c++/18738
-
-namespace foo {
- typedef int my_type;
-}
-
-template<typename T>
-struct A {
- typename foo::my_type bar();
-};
diff --git a/gcc/testsuite/gcc.dg/nested-redef-1.c b/gcc/testsuite/gcc.dg/nested-redef-1.c
deleted file mode 100644
index 34b92d8f571..00000000000
--- a/gcc/testsuite/gcc.dg/nested-redef-1.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/* Test diagnosis of nested tag redefinitions. */
-/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
-/* { dg-do compile } */
-/* { dg-options "" } */
-
-struct s0 {
- struct s0 { int a; } x; /* { dg-error "error: nested redefinition of 'struct s0'" } */
-};
-
-struct s1 {
- const struct s1 { int b; } x; /* { dg-error "error: nested redefinition of 'struct s1'" } */
-};
-
-struct s2 {
- struct s2 { int c; } *x; /* { dg-error "error: nested redefinition of 'struct s2'" } */
-};
-
-struct s3 {
- struct s4 {
- struct s5 {
- struct s3 { int a; } **x; /* { dg-error "error: nested redefinition of 'struct s3'" } */
- } y;
- } z;
-};
-
-struct s6;
-struct s6 { struct s6 *p; };
-
-union u0 {
- union u0 { int c; } *x; /* { dg-error "error: nested redefinition of 'union u0'" } */
-};
-
-enum e0 {
- E0 = sizeof(enum e0 { E1 }) /* { dg-error "error: nested redefinition of 'enum e0'" } */
-};
-
-enum e1 {
- E2 = sizeof(enum e2 { E2 }), /* { dg-error "error: redeclaration of enumerator 'E2'" } */
- /* { dg-error "previous definition" "previous E2" { target *-*-* } 38 } */
- E3
-};
-
-enum e3;
-enum e3 { E4 = 0 };
diff --git a/gcc/testsuite/gcc.dg/pr17188-1.c b/gcc/testsuite/gcc.dg/pr17188-1.c
deleted file mode 100644
index 634e60c0363..00000000000
--- a/gcc/testsuite/gcc.dg/pr17188-1.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* A redefinition of an empty struct should be diagnosed the same as a
- redefinition of any other tag, but formerly only s2 and s4 were
- diagnosed. Bug 17188. */
-/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
-/* { dg-do compile } */
-/* { dg-options "" } */
-
-struct s0 { };
-struct s0;
-struct s0 { }; /* { dg-error "error: redefinition of 'struct s0'" } */
-
-struct s1 { };
-struct s1 { }; /* { dg-error "error: redefinition of 'struct s1'" } */
-
-struct s2 { int a : 1; };
-struct s2 { int a : 1; }; /* { dg-error "error: redefinition of 'struct s2'" } */
-
-struct s3 { };
-struct s3 { int a : 1; }; /* { dg-error "error: redefinition of 'struct s3'" } */
-
-struct s4 { int a : 1; };
-struct s4 { }; /* { dg-error "error: redefinition of 'struct s4'" } */
-
-struct s5 { int a : 1; };
-struct s5;
-
-struct s6;
-struct s6 { int a : 1; };
-
-struct s7;
-struct s7 { };