Changeset 1391 for branches/GNU/src/gcc/include
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/include/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.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> 1 2004-02-14 Release Manager 2 3 * GCC 3.3.3 Released. 4 5 2003-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 11 2003-10-16 Release Manager 12 13 * GCC 3.3.2 Released. 14 15 2003-08-04 Release Manager 16 17 * GCC 3.3.1 Released. 18 19 2003-08-04 Release Manager 20 21 * GCC 3.3.1 Released. 22 23 2003-07-06 H.J. Lu <hongjiu.lu@intel.com> 24 25 * demangle.h: Support C++. 26 27 2003-05-13 Release Manager 28 29 * GCC 3.3 Released. 30 31 2003-05-13 Release Manager 32 33 * GCC 3.3 Released. 34 35 2003-05-13 Release Manager 36 37 * GCC 3.3 Released. 38 39 2003-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 47 2003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 48 49 * libiberty.h: Document return value of physmem routines. 50 51 2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 52 53 * libiberty.h (physmem_total, physmem_available): Prototype. 54 55 2002-11-23 Simon Burge <simonb@wasabisystems.com> 56 57 * libiberty.h (basename): Add NetBSD to the list. 58 59 2002-11-22 Daniel Jacobowitz <drow@mvista.com> 60 61 * libiberty.h (make_relative_prefix): Add prototype. 62 63 2002-10-26 Roger Sayle <roger@eyesopen.com> 64 65 * partition.h: Close the extern "C" scope when compiling with C++. 66 67 2002-10-26 Roger Sayle <roger@eyesopen.com> 18 68 DJ Delorie <dj@redhat.com> 19 69 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 73 2002-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 79 2002-10-11 David O'Brien <obrien@FreeBSD.org> 80 81 * getopt.h: getopt is in unistd.h (based on SUSv2). 82 83 2002-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 88 2002-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 97 2002-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 102 2002-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 108 2002-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 114 2002-05-22 Geoffrey Keating <geoffk@redhat.com> 115 116 * hashtab.h (struct htab): Update for change to length specifier. 117 118 2002-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. 37 128 38 129 2002-04-16 David S. Miller <davem@redhat.com> … … 44 135 45 136 * dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. 137 138 2002-03-06 Andrew Cagney <ac131313@redhat.com> 139 140 * floatformat.h (floatformat_arm_ext): Delete declaration. 46 141 47 142 2002-02-22 Jim Blandy <jimb@redhat.com> -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/ansidecl.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 137 137 #endif /* GCC_VERSION */ 138 138 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)) 140 140 /* All known AIX compilers implement these things (but don't always 141 141 define __STDC__). The RISC/OS MIPS compiler defines these things 142 142 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) */ 143 146 144 147 #define ANSI_PROTOTYPES 1 … … 266 269 #endif /* ATTRIBUTE_NORETURN */ 267 270 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. */ 268 284 #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) 270 286 #define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2) 271 287 #define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3) … … 274 290 #define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6) 275 291 #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 */ 276 307 277 308 /* We use __extension__ in some places to suppress -pedantic warnings -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/demangle.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* 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 3 3 Free Software Foundation, Inc. 4 4 … … 22 22 #define DEMANGLE_H 23 23 24 #include <ansidecl.h> 24 #include "ansidecl.h" 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif /* __cplusplus */ 25 29 26 30 /* Options passed to cplus_demangle (in 2nd parameter). */ … … 161 165 is_gnu_v3_mangled_dtor PARAMS ((const char *name)); 162 166 167 #ifdef __cplusplus 168 } 169 #endif /* __cplusplus */ 170 163 171 #endif /* DEMANGLE_H */ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/fibheap.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* 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. 3 3 Contributed by Daniel Berlin (dan@cgsoftware.com). 4 4 … … 41 41 #define _FIBHEAP_H_ 42 42 43 #include <ansidecl.h>43 #include "ansidecl.h" 44 44 45 45 typedef long fibheapkey_t; -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/floatformat.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 97 97 extern const struct floatformat floatformat_m88110_ext; 98 98 extern const struct floatformat floatformat_m88110_harris_ext; 99 extern const struct floatformat floatformat_arm_ext; /* deprecated. */100 99 extern const struct floatformat floatformat_arm_ext_big; 101 100 extern const struct floatformat floatformat_arm_ext_littlebyte_bigword; -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/getopt.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* 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. 4 4 5 5 NOTE: The canonical source of this file is maintained with the GNU C Library. … … 106 106 to find the declaration so provide a fully prototyped one. If it 107 107 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) 109 110 /* Many other libraries have conflicting prototypes for getopt, with 110 differences in the consts, in stdlib.h. To avoid compilation111 differences in the consts, in unistd.h. To avoid compilation 111 112 errors, only prototype getopt for the GNU C library. */ 112 113 extern 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 115 116 extern int getopt (); 116 # endif 117 #endif /* __GNU_LIBRARY__ */ 117 #endif /* __cplusplus */ 118 #endif 119 #endif /* !HAVE_DECL_GETOPT */ 120 118 121 extern int getopt_long (int argc, char *const *argv, const char *shortopts, 119 122 const struct option *longopts, int *longind); -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/hashtab.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* An expandable hash tables datatype. 2 Copyright (C) 1999, 2000 Free Software Foundation, Inc.2 Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. 3 3 Contributed by Vladimir Makarov (vmakarov@cygnus.com). 4 4 … … 37 37 #endif /* __cplusplus */ 38 38 39 #include <ansidecl.h> 39 #include "ansidecl.h" 40 41 #ifndef GTY 42 #define GTY(X) 43 #endif 40 44 41 45 /* The type for a hash code. */ … … 64 68 typedef int (*htab_trav) PARAMS ((void **, void *)); 65 69 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. */ 74 typedef PTR (*htab_alloc) PARAMS ((size_t, size_t)); 75 76 /* We also need a free() routine. */ 77 typedef void (*htab_free) PARAMS ((PTR)); 78 66 79 /* Hash tables are of the following type. The structure 67 80 (implementation) of this type is not needed for using the hash … … 69 82 functions mentioned below. */ 70 83 71 struct htab 84 struct htab GTY(()) 72 85 { 73 86 /* Pointer to hash function. */ … … 81 94 82 95 /* Table itself. */ 83 PTR * entries;96 PTR * GTY ((use_param (""), length ("%h.size"))) entries; 84 97 85 98 /* Current size (in entries) of the hash table */ … … 100 113 unsigned int collisions; 101 114 102 /* This is non-zero if we are allowed to return NULL for function calls103 that allocate memory. */104 int return_allocation_failure;115 /* Pointers to allocate/free functions. */ 116 htab_alloc alloc_f; 117 htab_free free_f; 105 118 }; 106 119 … … 112 125 /* The prototypes of the package functions. */ 113 126 114 extern htab_t htab_create PARAMS ((size_t, htab_hash, 115 htab_eq, htab_del)); 127 extern htab_t htab_create_alloc PARAMS ((size_t, htab_hash, 128 htab_eq, htab_del, 129 htab_alloc, htab_free)); 116 130 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. */ 132 extern htab_t htab_create PARAMS ((size_t, htab_hash, htab_eq, htab_del)); 133 extern htab_t htab_try_create PARAMS ((size_t, htab_hash, htab_eq, htab_del)); 134 122 135 extern void htab_delete PARAMS ((htab_t)); 123 136 extern void htab_empty PARAMS ((htab_t)); -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/libiberty.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 74 74 to find the declaration so provide a fully prototyped one. If it 75 75 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) 77 78 extern char *basename PARAMS ((const char *)); 78 79 #else 79 # if !defined (HAVE_DECL_BASENAME)80 80 extern char *basename (); 81 # 81 #endif 82 82 #endif 83 83 … … 85 85 86 86 extern const char *lbasename PARAMS ((const char *)); 87 88 /* A well-defined realpath () that is always compiled in. */ 89 90 extern char *lrealpath PARAMS ((const char *)); 87 91 88 92 /* Concatenate an arbitrary number of strings. You must pass NULL as … … 146 150 extern long get_run_time PARAMS ((void)); 147 151 152 /* Generate a relocated path to some installation directory. Allocates 153 return value using malloc. */ 154 155 extern char *make_relative_prefix PARAMS ((const char *, const char *, 156 const char *)); 157 148 158 /* Choose a temporary directory to use for scratch files. */ 149 159 … … 236 246 237 247 extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC; 248 249 /* Physical memory routines. Return values are in BYTES. */ 250 extern double physmem_total PARAMS ((void)); 251 extern double physmem_available PARAMS ((void)); 238 252 239 253 /* hex character manipulation routines */ … … 265 279 extern int pwait PARAMS ((int, int *, int)); 266 280 281 #if !HAVE_DECL_ASPRINTF 267 282 /* Like sprintf but provides a pointer to malloc'd storage, which must 268 283 be freed by the caller. */ 269 284 270 285 extern int asprintf PARAMS ((char **, const char *, ...)) ATTRIBUTE_PRINTF_2; 271 286 #endif 287 288 #if !HAVE_DECL_VASPRINTF 272 289 /* Like vsprintf but provides a pointer to malloc'd storage, which 273 290 must be freed by the caller. */ … … 275 292 extern int vasprintf PARAMS ((char **, const char *, va_list)) 276 293 ATTRIBUTE_PRINTF(2,0); 294 #endif 277 295 278 296 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/partition.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* 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. 3 3 Contributed by CodeSourcery, LLC. 4 4 … … 41 41 #endif /* __cplusplus */ 42 42 43 #include <ansidecl.h>43 #include "ansidecl.h" 44 44 #include <stdio.h> 45 45 … … 79 79 ((partition__)->elements[(element__)].class_element) 80 80 81 #ifdef __cplusplus 82 } 83 #endif /* __cplusplus */ 84 81 85 #endif /* _PARTITION_H */ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/sort.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* Sorting algorithms. 2 Copyright (C) 2000 Free Software Foundation, Inc.2 Copyright (C) 2000, 2002 Free Software Foundation, Inc. 3 3 Contributed by Mark Mitchell <mark@codesourcery.com>. 4 4 … … 32 32 #endif /* __cplusplus */ 33 33 34 #include <ansidecl.h>34 #include "ansidecl.h" 35 35 36 36 /* Sort an array of pointers. */ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/splay-tree.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* A splay-tree datatype. 2 Copyright 1998, 1999, 2000 Free Software Foundation, Inc.2 Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc. 3 3 Contributed by Mark Mitchell (mark@markmitchell.com). 4 4 … … 35 35 #endif /* __cplusplus */ 36 36 37 #include <ansidecl.h>37 #include "ansidecl.h" 38 38 39 39 /* Use typedefs for the key and data types to facilitate changing -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.