Go to file
David Malcolm 32fe52714e Make gengtype more robust against user error
* doc/gty.texi ("Inheritance and GTY"): Make it clear that
	to use autogenerated markers for a class-hierarchy, every class
	must have a GTY marker.
	* gengtype.h (struct type): Add linked list of subclasses to
	the "s" member of the union.
	(add_subclass): New decl.
	* gengtype-state.c (read_state_struct_type): Set up subclass
	linked list.
	* gengtype.c (get_ultimate_base_class): New.
	(add_subclass): New.
	(new_structure): Set up subclass linked list.
	(set_gc_used_type): Propagate usage information to subclasses.
	(output_mangled_typename): Use get_ultimate_base_class.
	(walk_subclasses): Use the subclass linked list, avoiding an
	O(N^2) when writing out all types.
	(walk_type): Issue an error if the base class is missing a tag,
	rather than generating bogus C code.  Add a gcc_unreachable
	default case, in case people omit tags from concrete subclasses,
	or get the values wrong.
	(write_func_for_structure): Issue an error for subclasses for
	which the base doesn't have a "desc", since otherwise the
	autogenerated routines for the base would silently fail to visit
	any subclass fields.
	(write_root): Use get_ultimate_base_class, tweaking constness of
	tp to match that function's signature.

From-SVN: r204148
2013-10-29 01:16:05 +00:00
INSTALL README: Also refer to the online installation instructions. 2012-08-25 20:48:20 +00:00
boehm-gc libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
config mh-darwin (BOOT_CFLAGS): Only add -mdynamic-no-pic for m32 hosts. 2013-09-29 19:16:45 +00:00
contrib Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
fixincludes Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
gcc Make gengtype more robust against user error 2013-10-29 01:16:05 +00:00
gnattools re PR ada/58239 (pretty-print.c:789: undefined reference to `operator delete(void*)') 2013-09-01 16:51:41 +00:00
include Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
intl
libada configure: Regenerated. 2013-03-27 23:00:53 +01:00
libatomic [AArch64] Enable building libatomic on AArch64. 2013-10-17 15:49:27 +00:00
libbacktrace elf.c (elf_add): Don't get the wrong offsets if a debug section is missing. 2013-10-18 04:24:48 +00:00
libcpp Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
libdecnumber Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
libffi libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
libgcc Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
libgfortran re PR fortran/55469 (memory leak on read with istat.ne.0) 2013-10-01 22:52:49 +02:00
libgo runtime: Fix typo in dup3 fallback implementation. 2013-10-18 13:26:40 +00:00
libgomp intrinsic.texi (OpenMP Modules): Update to OpenMPv4. 2013-10-16 00:08:46 +02:00
libiberty * testsuite/test-demangle.c: Include unistd.h. 2013-10-27 18:35:20 +00:00
libitm libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
libjava libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
libobjc libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
libquadmath libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
libsanitizer Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
libssp libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
libstdc++-v3 regex_executor.tcc: Add comments. 2013-10-28 03:55:12 +00:00
libvtv Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
lto-plugin Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
maintainer-scripts crontab: Disable snapshots from gcc-4_6-branch. 2013-04-12 17:07:38 +02:00
zlib Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
.dir-locals.el * .dir-locals.el: Add. 2013-10-16 18:25:31 +00:00
.gitignore * .gitignore: Import from gdb repository. 2013-01-10 10:48:46 -05:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Makefile.def (target_modules): Remove libmudflap 2013-10-26 04:14:34 -06:00
ChangeLog.tree-ssa
MAINTAINERS Makefile.def (target_modules): Remove libmudflap 2013-10-26 04:14:34 -06:00
Makefile.def Makefile.def (target_modules): Remove libmudflap 2013-10-26 04:14:34 -06:00
Makefile.in Makefile.def (target_modules): Remove libmudflap 2013-10-26 04:14:34 -06:00
Makefile.tpl Makefile.def (target_modules): Remove libmudflap 2013-10-26 04:14:34 -06:00
README * README: Document use of ranges of years in copyright notices. 2012-07-16 15:01:34 +01:00
compile
config-ml.in MAINTAINERS (crx port, [...]): Remove. 2011-03-22 19:58:18 +00:00
config.guess Import from savannah.gnu.org: 2013-10-01 17:50:56 +01:00
config.rpath Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
config.sub Import from savannah.gnu.org: 2013-10-01 17:50:56 +01:00
configure Makefile.def (target_modules): Remove libmudflap 2013-10-26 04:14:34 -06:00
configure.ac Makefile.def (target_modules): Remove libmudflap 2013-10-26 04:14:34 -06:00
depcomp
install-sh
libtool-ldflags
libtool.m4 libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change Import move-if-change script from gnulib. 2011-02-12 15:48:30 +00:00
symlink-tree
ylwrap

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.