Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/include/ChangeLog

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 2003-02-05  Release Manager
    2 
    3         * GCC 3.2.2 Released.
    4 
    5 2002-11-19  Release Manager
    6 
    7         * GCC 3.2.1 Released.
    8 
    9 2002-11-19  Release Manager
    10 
    11         * GCC 3.2.1 Released.
    12 
    13 2002-11-18  Release Manager
    14 
    15         * GCC 3.2.1 Released.
    16 
    17 2002-11-03  Roger Sayle  <roger@eyesopen.com>
     12004-02-14  Release Manager
     2
     3        * GCC 3.3.3 Released.
     4
     52003-11-12  Daniel Jacobowitz  <drow@mvista.com>
     6
     7        Backport from mainline:
     8        2003-02-20  Daniel Jacobowitz  <drow@mvista.com>
     9        * libiberty.h (lrealpath): Add declaration.
     10
     112003-10-16  Release Manager
     12
     13        * GCC 3.3.2 Released.
     14
     152003-08-04  Release Manager
     16
     17        * GCC 3.3.1 Released.
     18
     192003-08-04  Release Manager
     20
     21        * GCC 3.3.1 Released.
     22
     232003-07-06  H.J. Lu <hongjiu.lu@intel.com>
     24
     25        * demangle.h: Support C++.
     26
     272003-05-13  Release Manager
     28
     29        * GCC 3.3 Released.
     30
     312003-05-13  Release Manager
     32
     33        * GCC 3.3 Released.
     34
     352003-05-13  Release Manager
     36
     37        * GCC 3.3 Released.
     38
     392003-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
     40
     41        * ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF,
     42        ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2,
     43        ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4,
     44        ATTRIBUTE_NULL_PRINTF_5): New.
     45        (ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL.
     46
     472003-02-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
     48
     49        * libiberty.h: Document return value of physmem routines.
     50
     512003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
     52
     53        * libiberty.h (physmem_total, physmem_available): Prototype.
     54
     552002-11-23  Simon Burge  <simonb@wasabisystems.com>
     56
     57        * libiberty.h (basename): Add NetBSD to the list.
     58
     592002-11-22  Daniel Jacobowitz  <drow@mvista.com>
     60
     61        * libiberty.h (make_relative_prefix): Add prototype.
     62
     632002-10-26  Roger Sayle  <roger@eyesopen.com>
     64
     65        * partition.h:  Close the extern "C" scope when compiling with C++.
     66
     672002-10-26  Roger Sayle  <roger@eyesopen.com>
    1868            DJ Delorie <dj@redhat.com>
    1969
    20         * getopt.h:  Avoid prototyping getopt with no arguments in C++.
    21 
    22 2002-08-14  Release Manager
    23 
    24         * GCC 3.2 Released.
    25 
    26 2002-07-25  Release Manager
    27 
    28         * GCC 3.1.1 Released.
    29 
    30 2002-05-14  Release Manager
    31 
    32         * GCC 3.1 Released.
    33 
    34 2002-05-14  Release Manager
    35 
    36         * GCC 3.1 Released.
     70        PR bootstrap/8351
     71        * getopt.h: Avoid prototyping getopt with no arguments in C++.
     72
     732002-10-24  Nathan Tallent  <eraxxon@alumni.rice.edu>
     74
     75        * ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
     76        list of platform compilers that may look, smell and act
     77        like __STDC__ but that may not define it.
     78
     792002-10-11  David O'Brien  <obrien@FreeBSD.org>
     80
     81        * getopt.h: getopt is in unistd.h (based on SUSv2).
     82
     832002-09-19  Alexandre Oliva  <aoliva@redhat.com>
     84
     85        * libiberty.h (asprintf, vasprintf): Don't declare them if the
     86        corresponding HAVE_DECL_ macro is 1.
     87
     882002-06-25  Alan Modra  <amodra@bigpond.net.au>
     89
     90        * demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.
     91        * fibheap.h: Likewise.
     92        * hashtab.h: Likewise.
     93        * partition.h: Likewise.
     94        * sort.h: Likewise.
     95        * splay-tree.h: Likewise.
     96
     972002-06-24  Alan Modra  <amodra@bigpond.net.au>
     98
     99        * libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
     100        * getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT.
     101
     1022002-06-06  DJ Delorie  <dj@redhat.com>
     103
     104        * hashtab.h (htab): Rearrange new members for backward
     105        compatibility.
     106        (htab_create): Don't use a macro that requires other headers.
     107
     1082002-06-05  Geoffrey Keating  <geoffk@redhat.com>
     109
     110        * hashtab.h (htab_create): Restore prototype for backward
     111        compatibility.
     112        (htab_try_create): Likewise.
     113
     1142002-05-22  Geoffrey Keating  <geoffk@redhat.com>
     115
     116        * hashtab.h (struct htab): Update for change to length specifier.
     117
     1182002-05-10  Geoffrey Keating  <geoffk@redhat.com>
     119
     120        * hashtab.h (GTY): Define if undefined.
     121        (htab_alloc): New typedef.
     122        (htab_free): New typedef.
     123        (struct htab): Support gengtype; allow user-specified memory
     124        allocation.
     125        (htab_create_alloc): New.
     126        (htab_create): Replace with #define.
     127        (htab_try_create): Delete.
    37128
    381292002-04-16  David S. Miller  <davem@redhat.com>
     
    44135
    45136        * dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.
     137
     1382002-03-06  Andrew Cagney  <ac131313@redhat.com>
     139
     140        * floatformat.h (floatformat_arm_ext): Delete declaration.
    46141
    471422002-02-22  Jim Blandy  <jimb@redhat.com>
  • branches/GNU/src/gcc/include/ansidecl.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    137137#endif /* GCC_VERSION */
    138138
    139 #if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32)
     139#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32) || (defined(__alpha) && defined(__cplusplus))
    140140/* All known AIX compilers implement these things (but don't always
    141141   define __STDC__).  The RISC/OS MIPS compiler defines these things
    142142   in SVR4 mode, but does not define __STDC__.  */
     143/* eraxxon@alumni.rice.edu: The Compaq C++ compiler, unlike many other
     144   C++ compilers, does not define __STDC__, though it acts as if this
     145   was so. (Verified versions: 5.7, 6.2, 6.3, 6.5) */
    143146
    144147#define ANSI_PROTOTYPES 1
     
    266269#endif /* ATTRIBUTE_NORETURN */
    267270
     271/* Attribute `nonnull' was valid as of gcc 3.3.  */
     272#ifndef ATTRIBUTE_NONNULL
     273# if (GCC_VERSION >= 3003)
     274#  define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
     275# else
     276#  define ATTRIBUTE_NONNULL(m)
     277# endif /* GNUC >= 3.3 */
     278#endif /* ATTRIBUTE_NONNULL */
     279
     280/* Use ATTRIBUTE_PRINTF when the format specifier must not be NULL.
     281   This was the case for the `printf' format attribute by itself
     282   before GCC 3.3, but as of 3.3 we need to add the `nonnull'
     283   attribute to retain this behavior.  */
    268284#ifndef ATTRIBUTE_PRINTF
    269 #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n)))
     285#define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ATTRIBUTE_NONNULL(m)
    270286#define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2)
    271287#define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3)
     
    274290#define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6)
    275291#endif /* ATTRIBUTE_PRINTF */
     292
     293/* Use ATTRIBUTE_NULL_PRINTF when the format specifier may be NULL.  A
     294   NULL format specifier was allowed as of gcc 3.3.  */
     295#ifndef ATTRIBUTE_NULL_PRINTF
     296# if (GCC_VERSION >= 3003)
     297#  define ATTRIBUTE_NULL_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n)))
     298# else
     299#  define ATTRIBUTE_NULL_PRINTF(m, n)
     300# endif /* GNUC >= 3.3 */
     301# define ATTRIBUTE_NULL_PRINTF_1 ATTRIBUTE_NULL_PRINTF(1, 2)
     302# define ATTRIBUTE_NULL_PRINTF_2 ATTRIBUTE_NULL_PRINTF(2, 3)
     303# define ATTRIBUTE_NULL_PRINTF_3 ATTRIBUTE_NULL_PRINTF(3, 4)
     304# define ATTRIBUTE_NULL_PRINTF_4 ATTRIBUTE_NULL_PRINTF(4, 5)
     305# define ATTRIBUTE_NULL_PRINTF_5 ATTRIBUTE_NULL_PRINTF(5, 6)
     306#endif /* ATTRIBUTE_NULL_PRINTF */
    276307
    277308/* We use __extension__ in some places to suppress -pedantic warnings
  • branches/GNU/src/gcc/include/demangle.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* Defs for interface to demanglers.
    2    Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001
     2   Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002
    33   Free Software Foundation, Inc.
    44   
     
    2222#define DEMANGLE_H
    2323
    24 #include <ansidecl.h>
     24#include "ansidecl.h"
     25
     26#ifdef __cplusplus
     27extern "C" {
     28#endif /* __cplusplus */
    2529
    2630/* Options passed to cplus_demangle (in 2nd parameter). */
     
    161165        is_gnu_v3_mangled_dtor PARAMS ((const char *name));
    162166
     167#ifdef __cplusplus
     168}
     169#endif /* __cplusplus */
     170
    163171#endif  /* DEMANGLE_H */
  • branches/GNU/src/gcc/include/fibheap.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* A Fibonacci heap datatype.
    2    Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
     2   Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    33   Contributed by Daniel Berlin (dan@cgsoftware.com).
    44
     
    4141#define _FIBHEAP_H_
    4242
    43 #include <ansidecl.h>
     43#include "ansidecl.h"
    4444
    4545typedef long fibheapkey_t;
  • branches/GNU/src/gcc/include/floatformat.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    9797extern const struct floatformat floatformat_m88110_ext;
    9898extern const struct floatformat floatformat_m88110_harris_ext;
    99 extern const struct floatformat floatformat_arm_ext; /* deprecated. */
    10099extern const struct floatformat floatformat_arm_ext_big;
    101100extern const struct floatformat floatformat_arm_ext_littlebyte_bigword;
  • branches/GNU/src/gcc/include/getopt.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* Declarations for getopt.
    2    Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000
    3    Free Software Foundation, Inc.
     2   Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000,
     3   2002 Free Software Foundation, Inc.
    44
    55   NOTE: The canonical source of this file is maintained with the GNU C Library.
     
    106106   to find the declaration so provide a fully prototyped one.  If it
    107107   is 1, we found it so don't provide any declaration at all.  */
    108 #if defined (__GNU_LIBRARY__) || (defined (HAVE_DECL_GETOPT) && !HAVE_DECL_GETOPT)
     108#if !HAVE_DECL_GETOPT
     109#if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT)
    109110/* Many other libraries have conflicting prototypes for getopt, with
    110    differences in the consts, in stdlib.h.  To avoid compilation
     111   differences in the consts, in unistd.h.  To avoid compilation
    111112   errors, only prototype getopt for the GNU C library.  */
    112113extern int getopt (int argc, char *const *argv, const char *shortopts);
    113 #else /* not __GNU_LIBRARY__ */
    114 # if !defined (HAVE_DECL_GETOPT) && !defined (__cplusplus)
     114#else
     115#ifndef __cplusplus
    115116extern int getopt ();
    116 # endif
    117 #endif /* __GNU_LIBRARY__ */
     117#endif /* __cplusplus */
     118#endif
     119#endif /* !HAVE_DECL_GETOPT */
     120
    118121extern int getopt_long (int argc, char *const *argv, const char *shortopts,
    119122                        const struct option *longopts, int *longind);
  • branches/GNU/src/gcc/include/hashtab.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* An expandable hash tables datatype. 
    2    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
     2   Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
    33   Contributed by Vladimir Makarov (vmakarov@cygnus.com).
    44
     
    3737#endif /* __cplusplus */
    3838
    39 #include <ansidecl.h>
     39#include "ansidecl.h"
     40
     41#ifndef GTY
     42#define GTY(X)
     43#endif
    4044
    4145/* The type for a hash code.  */
     
    6468typedef int (*htab_trav) PARAMS ((void **, void *));
    6569
     70/* Memory-allocation function, with the same functionality as calloc().
     71   Iff it returns NULL, the hash table implementation will pass an error
     72   code back to the user, so if your code doesn't handle errors,
     73   best if you use xcalloc instead.  */
     74typedef PTR (*htab_alloc) PARAMS ((size_t, size_t));
     75
     76/* We also need a free() routine.  */
     77typedef void (*htab_free) PARAMS ((PTR));
     78
    6679/* Hash tables are of the following type.  The structure
    6780   (implementation) of this type is not needed for using the hash
     
    6982   functions mentioned below. */
    7083
    71 struct htab
     84struct htab GTY(())
    7285{
    7386  /* Pointer to hash function.  */
     
    8194
    8295  /* Table itself.  */
    83   PTR *entries;
     96  PTR * GTY ((use_param (""), length ("%h.size"))) entries;
    8497
    8598  /* Current size (in entries) of the hash table */
     
    100113  unsigned int collisions;
    101114
    102   /* This is non-zero if we are allowed to return NULL for function calls
    103      that allocate memory.  */
    104   int return_allocation_failure;
     115  /* Pointers to allocate/free functions.  */
     116  htab_alloc alloc_f;
     117  htab_free free_f;
    105118};
    106119
     
    112125/* The prototypes of the package functions. */
    113126
    114 extern htab_t   htab_create     PARAMS ((size_t, htab_hash,
    115                                          htab_eq, htab_del));
     127extern htab_t   htab_create_alloc       PARAMS ((size_t, htab_hash,
     128                                                 htab_eq, htab_del,
     129                                                 htab_alloc, htab_free));
    116130
    117 /* This function is like htab_create, but may return NULL if memory
    118    allocation fails, and also signals that htab_find_slot_with_hash and
    119    htab_find_slot are allowed to return NULL when inserting.  */
    120 extern htab_t   htab_try_create PARAMS ((size_t, htab_hash,
    121                                          htab_eq, htab_del));
     131/* Backward-compatibility functions.  */
     132extern htab_t htab_create PARAMS ((size_t, htab_hash, htab_eq, htab_del));
     133extern htab_t htab_try_create PARAMS ((size_t, htab_hash, htab_eq, htab_del));
     134
    122135extern void     htab_delete     PARAMS ((htab_t));
    123136extern void     htab_empty      PARAMS ((htab_t));
  • branches/GNU/src/gcc/include/libiberty.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    7474   to find the declaration so provide a fully prototyped one.  If it
    7575   is 1, we found it so don't provide any declaration at all.  */
    76 #if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || (defined (HAVE_DECL_BASENAME) && !HAVE_DECL_BASENAME)
     76#if !HAVE_DECL_BASENAME
     77#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
    7778extern char *basename PARAMS ((const char *));
    7879#else
    79 # if !defined (HAVE_DECL_BASENAME)
    8080extern char *basename ();
    81 # endif
     81#endif
    8282#endif
    8383
     
    8585
    8686extern const char *lbasename PARAMS ((const char *));
     87
     88/* A well-defined realpath () that is always compiled in.  */
     89
     90extern char *lrealpath PARAMS ((const char *));
    8791
    8892/* Concatenate an arbitrary number of strings.  You must pass NULL as
     
    146150extern long get_run_time PARAMS ((void));
    147151
     152/* Generate a relocated path to some installation directory.  Allocates
     153   return value using malloc.  */
     154
     155extern char *make_relative_prefix PARAMS ((const char *, const char *,
     156                                           const char *));
     157
    148158/* Choose a temporary directory to use for scratch files.  */
    149159
     
    236246
    237247extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC;
     248
     249/* Physical memory routines.  Return values are in BYTES.  */
     250extern double physmem_total PARAMS ((void));
     251extern double physmem_available PARAMS ((void));
    238252
    239253/* hex character manipulation routines */
     
    265279extern int pwait PARAMS ((int, int *, int));
    266280
     281#if !HAVE_DECL_ASPRINTF
    267282/* Like sprintf but provides a pointer to malloc'd storage, which must
    268283   be freed by the caller.  */
    269284
    270285extern int asprintf PARAMS ((char **, const char *, ...)) ATTRIBUTE_PRINTF_2;
    271 
     286#endif
     287
     288#if !HAVE_DECL_VASPRINTF
    272289/* Like vsprintf but provides a pointer to malloc'd storage, which
    273290   must be freed by the caller.  */
     
    275292extern int vasprintf PARAMS ((char **, const char *, va_list))
    276293  ATTRIBUTE_PRINTF(2,0);
     294#endif
    277295
    278296#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
  • branches/GNU/src/gcc/include/partition.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* List implementation of a partition of consecutive integers.
    2    Copyright (C) 2000, 2001 Free Software Foundation, Inc.
     2   Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
    33   Contributed by CodeSourcery, LLC.
    44
     
    4141#endif /* __cplusplus */
    4242
    43 #include <ansidecl.h>
     43#include "ansidecl.h"
    4444#include <stdio.h>
    4545
     
    7979    ((partition__)->elements[(element__)].class_element)
    8080
     81#ifdef __cplusplus
     82}
     83#endif /* __cplusplus */
     84
    8185#endif /* _PARTITION_H */
  • branches/GNU/src/gcc/include/sort.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* Sorting algorithms.
    2    Copyright (C) 2000 Free Software Foundation, Inc.
     2   Copyright (C) 2000, 2002 Free Software Foundation, Inc.
    33   Contributed by Mark Mitchell <mark@codesourcery.com>.
    44
     
    3232#endif /* __cplusplus */
    3333
    34 #include <ansidecl.h>
     34#include "ansidecl.h"
    3535
    3636/* Sort an array of pointers.  */
  • branches/GNU/src/gcc/include/splay-tree.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* A splay-tree datatype. 
    2    Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
     2   Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
    33   Contributed by Mark Mitchell (mark@markmitchell.com).
    44
     
    3535#endif /* __cplusplus */
    3636
    37 #include <ansidecl.h>
     37#include "ansidecl.h"
    3838
    3939/* Use typedefs for the key and data types to facilitate changing
Note: See TracChangeset for help on using the changeset viewer.