Go to file
Nathan Sidwell 0c5e486680 parser.c (cp_token_position): New typedef.
* parser.c (cp_token_position): New typedef. Define VEC thereof.
	(struct cp_lexer): Allow buffer and buffer_end to be NULL. Make
	next_token and last_token cp_token_position. Make saved_tokens a
	VEC(cp_token_position).
	(eof_token): New static variable.
	(CP_SAVED_TOKENS_SIZE): Rename to ...
	(CP_SAVED_TOKEN_STACK): ... here.
	(cp_lexer_new_main): Adjust main lexer creation and buffer
	filling.
	(cp_lexer_new_from_tokens): Do not copy the tokens, merely point
	to the parent buffer.  Do not append eof token.
	(cp_lexer_destroy): Only free buffer if non-NULL. Free token
	stack.
	(cp_lexer_next_token, cp_lexer_prev_token): Remove.
	(cp_lexer_token_position, cp_lexer_token_at): New.
	(cp_lexer_saving_tokens): Adjust. Make inline.
	(cp_lexer_advance_token, cp_lexer_token_difference): Remove.
	(cp_lexer_peek_token_emit_debug_info): Fold into ...
	(cp_lexer_peek_token): ... here.
	(cp_lexer_peek_nth_token): Don't peek past EOF.
	(cp_lexer_consume_token): Set next_token to eof_token, if reaching
	EOF.
	(cp_lexer_purge_token): Adjust eof setting.
	(cp_lexer_purge_tokens_after): Likewise.
	(cp_lexer_save_tokens): Push next_token directly.
	(cp_lexer_commit_tokens): Adjust.
	(cp_lexer_rollback_tokens): Pop next_token directly.
	(cp_parser_check_for_invalid_template_id): Adjust token purging.
	(cp_parser_translation_unit): Do not consume the EOF.
	(cp_parser_nested_name_specifier_opt): Adjust token purging.
	(cp_parser_template_id, cp_parser_template_name): Likewise.

From-SVN: r89320
2004-10-20 07:25:35 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype. 2004-10-19 17:47:54 +00:00
config warnings.m4: New file. 2004-09-24 21:39:06 +00:00
contrib Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
fastjar jartool.c (extract_jar): Unconditionally read extra data in the entry header... 2004-09-23 23:40:33 +00:00
fixincludes re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined) 2004-10-15 07:58:38 +00:00
gcc parser.c (cp_token_position): New typedef. 2004-10-20 07:25:35 +00:00
include xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New. 2004-10-08 00:28:50 +00:00
intl Makefile.in (config.h.in): Correct dependencies. 2004-09-23 03:53:33 +00:00
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libcpp errors.c (_cpp_begin_message): Print "error: " for errors. 2004-10-14 01:56:22 +01:00
libffi ffi.c (ffi_prep_closure): Set T bit in trampoline for the function returning a structure pointed with R2. 2004-10-18 23:12:20 +00:00
libgfortran transfer.c (finalize_transfer): Free internal streams. 2004-10-07 21:30:50 +00:00
libiberty * vasprintf.c: Accept __va_copy in addition to va_copy. 2004-09-08 21:29:42 +00:00
libjava AlgorithmParameterGenerator.java, [...]: Import statements reorganized... 2004-10-20 07:21:49 +00:00
libmudflap configure.ac: Check for more headers, functions. 2004-10-13 18:27:16 +00:00
libobjc * Makefile.in (configure): Add @MAINT@ infront of configure.ac 2004-10-19 18:45:46 -07:00
libstdc++-v3 Daily bump. 2004-10-20 00:16:22 +00:00
maintainer-scripts * crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots. 2004-09-11 18:53:55 +00:00
zlib CRLF fixup 2004-10-19 22:00:48 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
ChangeLog MAINTAINERS: Remove from Write After Approval those that are already maintainers. 2004-10-19 13:13:35 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
MAINTAINERS MAINTAINERS: Remove from Write After Approval those that are already maintainers. 2004-10-19 13:13:35 +00:00
Makefile.def Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
Makefile.in [multiple changes] 2004-10-06 10:09:29 +00:00
Makefile.tpl [multiple changes] 2004-10-06 10:09:29 +00:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: New file. 2003-08-03 14:51:42 +00:00
compile config.guess: New upstream version 2004-09-23 01:21:50 +00:00
config-ml.in config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC. 2004-05-30 23:54:22 +02:00
config.guess config.guess: New upstream version 2004-09-23 01:21:50 +00:00
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
config.sub config.sub: Import latest version from master repository. 2004-09-06 08:52:57 +00:00
configure configure.in (*-*-cygwin*): Supress warning if newlib not present. 2004-10-12 22:49:34 +00:00
configure.in configure.in (*-*-cygwin*): Supress warning if newlib not present. 2004-10-12 22:49:34 +00:00
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh config.guess: New upstream version 2004-09-23 01:21:50 +00:00
libtool.m4 re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO) 2004-05-18 10:11:38 +00:00
ltcf-c.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-cxx.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-gcj.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltconfig ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltmain.sh ltmain.sh: Use $pic_object as $non_pic_object if $non_pic_object=none. 2004-09-08 11:43:46 -04:00
missing missing: Import latest version from master repository. 2004-09-07 08:33:10 +00:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04:00
ylwrap * Revert to previous version due to Binutils breakage. 2004-09-24 11:14:51 +00:00

README

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.