summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNo Author <no-author@gcc.gnu.org>2003-05-14 00:11:34 +0000
committerNo Author <no-author@gcc.gnu.org>2003-05-14 00:11:34 +0000
commitc51557328584ce06a4f00240e87f042a7be2e91e (patch)
tree1db2f11456418c9ccd494756bbbb38d868f0471a
parent600752a84126f68c437a137bd085ad0caafc2828 (diff)
downloadgcc-releases/gcc-3.3.0.tar.gz
This commit was manufactured by cvs2svn to create tagreleases/gcc-3.3.0
'gcc_3_3_release'. From-SVN: r66792
-rw-r--r--gcc/config/sh/libgcc-glibc.ver21
-rw-r--r--gcc/config/t-libunwind1
-rw-r--r--gcc/fixinc/tests/base/string.h13
-rw-r--r--gcc/fixinc/tests/base/sys/regset.h26
-rw-r--r--gcc/testsuite/g++.dg/init/attrib1.C10
-rw-r--r--gcc/testsuite/g++.dg/lookup/using3.C12
-rw-r--r--gcc/testsuite/gcc.dg/ia64-sync-4.c21
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/init-4.c3
-rw-r--r--libiberty/lrealpath.c128
9 files changed, 0 insertions, 235 deletions
diff --git a/gcc/config/sh/libgcc-glibc.ver b/gcc/config/sh/libgcc-glibc.ver
deleted file mode 100644
index 734d3d6bfe1..00000000000
--- a/gcc/config/sh/libgcc-glibc.ver
+++ /dev/null
@@ -1,21 +0,0 @@
-# In order to work around the very problems that force us to now generally
-# create a libgcc.so, glibc reexported a number of routines from libgcc.a.
-# By now choosing the same version tags for these specific routines, we
-# maintain enough binary compatibility to allow future versions of glibc
-# to defer implementation of these routines to libgcc.so via DT_AUXILIARY.
-
-# Note that we cannot use the default libgcc-glibc.ver file on sh,
-# because GLIBC_2.0 does not exist on this architecture, as the first
-# ever glibc release on the platform was GLIBC_2.2.
-
-%inherit GCC_3.0 GLIBC_2.2
-GLIBC_2.2 {
- __register_frame
- __register_frame_table
- __deregister_frame
- __register_frame_info
- __deregister_frame_info
- __frame_state_for
- __register_frame_info_table
-}
-
diff --git a/gcc/config/t-libunwind b/gcc/config/t-libunwind
deleted file mode 100644
index be50bc481c5..00000000000
--- a/gcc/config/t-libunwind
+++ /dev/null
@@ -1 +0,0 @@
-LIB2ADDEH = $(srcdir)/unwind-libunwind.c $(srcdir)/unwind-sjlj.c
diff --git a/gcc/fixinc/tests/base/string.h b/gcc/fixinc/tests/base/string.h
deleted file mode 100644
index f32c240ae34..00000000000
--- a/gcc/fixinc/tests/base/string.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* DO NOT EDIT THIS FILE.
-
- It has been auto-edited by fixincludes from:
-
- "fixinc/tests/inc/string.h"
-
- This had to be done to correct non-standard usages in the
- original, manufacturer supplied header file. */
-
-#ifndef _STRING_INCLUDED
-#define _STRING_INCLUDED
-#include <strings.h>
-#endif /* _STRING_INCLUDED */
diff --git a/gcc/fixinc/tests/base/sys/regset.h b/gcc/fixinc/tests/base/sys/regset.h
deleted file mode 100644
index adc31add5dd..00000000000
--- a/gcc/fixinc/tests/base/sys/regset.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* DO NOT EDIT THIS FILE.
-
- It has been auto-edited by fixincludes from:
-
- "fixinc/tests/inc/sys/regset.h"
-
- This had to be done to correct non-standard usages in the
- original, manufacturer supplied header file. */
-
-
-
-#if defined( SCO_REGSET_CHECK )
-union u_fps {
- struct rsfpstate
- {
- int whatever;
- }
-};
-union _u_fps {
- struct _rsfpstate
- {
- int whatever;
- }
-};
-
-#endif /* SCO_REGSET_CHECK */
diff --git a/gcc/testsuite/g++.dg/init/attrib1.C b/gcc/testsuite/g++.dg/init/attrib1.C
deleted file mode 100644
index 839e4ce215d..00000000000
--- a/gcc/testsuite/g++.dg/init/attrib1.C
+++ /dev/null
@@ -1,10 +0,0 @@
-// { dg-do run }
-
-void f() __attribute((__constructor__));
-int i;
-void f() { i = 1; }
-
-int main(int, char **)
-{
- return 1-i;
-}
diff --git a/gcc/testsuite/g++.dg/lookup/using3.C b/gcc/testsuite/g++.dg/lookup/using3.C
deleted file mode 100644
index f3642759717..00000000000
--- a/gcc/testsuite/g++.dg/lookup/using3.C
+++ /dev/null
@@ -1,12 +0,0 @@
-// PR c++/9798
-
-namespace std { }
-namespace STL { using namespace std; }
-namespace std {
- using namespace STL;
-}
-namespace STL {
- struct A {
- void B() { using namespace std; }
- };
-}
diff --git a/gcc/testsuite/gcc.dg/ia64-sync-4.c b/gcc/testsuite/gcc.dg/ia64-sync-4.c
deleted file mode 100644
index 98dfdac78ac..00000000000
--- a/gcc/testsuite/gcc.dg/ia64-sync-4.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* { dg-do compile { target ia64-*-* } } */
-/* { dg-options "-O2 -finline-functions" } */
-
-/* Test inlining __sync_bool_compare_and_swap_di. */
-
-#include <stdbool.h>
-#include <ia64intrin.h>
-
-static bool
-compare_and_swap(long *addr, long old, long new_val)
-{
- return __sync_bool_compare_and_swap_di(addr, old, new_val);
-}
-
-void
-foo (long *address)
-{
- long he_address = *address & ~1;
- while (!compare_and_swap(address, he_address, he_address | 1))
- he_address = *address & ~1;
-}
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" } */
diff --git a/libiberty/lrealpath.c b/libiberty/lrealpath.c
deleted file mode 100644
index b001b38ef66..00000000000
--- a/libiberty/lrealpath.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/* Libiberty realpath. Like realpath, but more consistent behavior.
- Based on gdb_realpath from GDB.
-
- Copyright 2003 Free Software Foundation, Inc.
-
- This file is part of the libiberty library.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/*
-
-@deftypefn Replacement {const char*} lrealpath (const char *@var{name})
-
-Given a pointer to a string containing a pathname, returns a canonical
-version of the filename. Symlinks will be resolved, and ``.'' and ``..''
-components will be simplified. The returned value will be allocated using
-@code{malloc}, or @code{NULL} will be returned on a memory allocation error.
-
-@end deftypefn
-
-*/
-
-#include "config.h"
-#include "ansidecl.h"
-#include "libiberty.h"
-
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-
-/* On GNU libc systems the declaration is only visible with _GNU_SOURCE. */
-#if defined(HAVE_CANONICALIZE_FILE_NAME) \
- && defined(NEED_DECLARATION_CANONICALIZE_FILE_NAME)
-extern char *canonicalize_file_name (const char *);
-#endif
-
-#if defined(HAVE_REALPATH)
-# if defined (PATH_MAX)
-# define REALPATH_LIMIT PATH_MAX
-# else
-# if defined (MAXPATHLEN)
-# define REALPATH_LIMIT MAXPATHLEN
-# endif
-# endif
-#endif
-
-char *
-lrealpath (filename)
- const char *filename;
-{
- /* Method 1: The system has a compile time upper bound on a filename
- path. Use that and realpath() to canonicalize the name. This is
- the most common case. Note that, if there isn't a compile time
- upper bound, you want to avoid realpath() at all costs. */
-#if defined(REALPATH_LIMIT)
- {
- char buf[REALPATH_LIMIT];
- const char *rp = realpath (filename, buf);
- if (rp == NULL)
- rp = filename;
- return strdup (rp);
- }
-#endif /* REALPATH_LIMIT */
-
- /* Method 2: The host system (i.e., GNU) has the function
- canonicalize_file_name() which malloc's a chunk of memory and
- returns that, use that. */
-#if defined(HAVE_CANONICALIZE_FILE_NAME)
- {
- char *rp = canonicalize_file_name (filename);
- if (rp == NULL)
- return strdup (filename);
- else
- return rp;
- }
-#endif
-
- /* Method 3: Now we're getting desperate! The system doesn't have a
- compile time buffer size and no alternative function. Query the
- OS, using pathconf(), for the buffer limit. Care is needed
- though, some systems do not limit PATH_MAX (return -1 for
- pathconf()) making it impossible to pass a correctly sized buffer
- to realpath() (it could always overflow). On those systems, we
- skip this. */
-#if defined (HAVE_REALPATH) && defined (HAVE_UNISTD_H)
- {
- /* Find out the max path size. */
- long path_max = pathconf ("/", _PC_PATH_MAX);
- if (path_max > 0)
- {
- /* PATH_MAX is bounded. */
- char *buf, *rp, *ret;
- buf = malloc (path_max);
- if (buf == NULL)
- return NULL;
- rp = realpath (filename, buf);
- ret = strdup (rp ? rp : filename);
- free (buf);
- return ret;
- }
- }
-#endif
-
- /* This system is a lost cause, just duplicate the filename. */
- return strdup (filename);
-}