Go to file
Andrew Pinski d07605f570 re PR c/10962 (lookup_field is a linear search on a linked list (can be slow if large struct))
2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>
ChangeLog:
        PR c/10962
        * ggc.h: Add header guards.
        * c-decl.c (finish_struct): Sort fields if
        number greater than 15 and there are no
        anonymous structs/unions.
        * c-common.h: Include ggc.h.
        (sorted_fields_type): New struct.
        (field_decl_cmp): New prototype.
        (resort_sorted_fields): New prototype.
        (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
        * c-tree.h: (lang_type): Use pointer to sorted_fields_type
        as s, removing other fields.
        * c-typeck.c (lookup_field): Use s in lang_type.
        These were mostly moved from cp/class.c:
        * c-common.c (field_decl_cmp): New static function.
        (field_decl_cmp): New function.
        (resort_sorted_fields): New function.
cp/ChangeLog:
        * class.c (field_decl_cmp): Remove.
        (resort_field_decl_cmp): Remove.
        (resort_sorted_fields): Remove.
        (add_fields_to_vec): Rename to ...
        (add_fields_to_record_type): this.
        (finish_struct_1): Change to be using
        sorted_fields_type's fields.
        * cp-tree.h (lang_decl): In lang_decl_u3
        change sorted_fields to be a pointer to
        sorted_fields_type.
        (resort_sorted_fields): Remove prototype.
        * search.c (lookup_field_1): Change to be using
        sorted_fields_type's fields.

From-SVN: r69470
2003-07-16 11:45:56 -07:00
boehm-gc
config
contrib * texi2pod.pl: Default @itemize's parameter to @bullet. 2003-07-15 09:24:07 +00:00
fastjar
gcc re PR c/10962 (lookup_field is a linear search on a linked list (can be slow if large struct)) 2003-07-16 11:45:56 -07:00
include
INSTALL
intl
libf2c
libffi
libiberty
libjava UnicastServerRef.java: New version from classpath. 2003-07-14 06:05:42 +00:00
libobjc
libstdc++-v3 howto.html: Update URL for SGI STL docs. 2003-07-16 18:06:36 +01:00
maintainer-scripts gcc_release (announce_snapshot): Add substitution of @RELEASE@ for README and index.html. 2003-07-13 22:10:03 +00:00
zlib
.cvsignore
ABOUT-NLS
ChangeLog MAINTAINERS: Move self from Bug database only accounts to write-after-approval. 2003-07-16 11:15:22 -07:00
config-ml.in
config.guess
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath
config.sub
configure re PR bootstrap/11273 (make install fails in libobjc directory) 2003-07-13 20:47:31 +00:00
configure.in re PR bootstrap/11273 (make install fails in libobjc directory) 2003-07-13 20:47:31 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS MAINTAINERS: Move self from Bug database only accounts to write-after-approval. 2003-07-16 11:15:22 -07:00
Makefile.def
Makefile.in re PR bootstrap/11273 (make install fails in libobjc directory) 2003-07-13 20:47:31 +00:00
Makefile.tpl re PR bootstrap/11273 (make install fails in libobjc directory) 2003-07-13 20:47:31 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.