Go to file
Ollie Wild ccfc4c91bb directives-only.c: New file.
libcpp/
	* directives-only.c: New file.
	* internal.h (struct _cpp_dir_only_callbacks): New.
	(_cpp_preprocess_dir_only): New function.
	* directives.c (_cpp_handle_directive): Check directives_only before
	disabling execution of indented directives.
	* files.c (_cpp_stack_file): Add directives_only check.
	* include/cpplib.h (struct cpp_options): Add directives_only.
	(cpp_init_special_builtins): New function.
	* init.c (cpp_init_special_builtins): New function.
	(cpp_init_builtins): Move builtin_array initialization to
	cpp_init_special_builtins.
	(post_options): Check directives_only before setting
	pfile->state.prevent_expansion = 1.
	* macro.c (_cpp_builtin_macro_text): Print an error if __COUNTER__
	is expanded inside a directive while -fdirectives-only is enabled.
	* Makefile.in (libcpp_a_OBJS): Add directives-only.o.
	(libcpp_a_SOURCES): Add directives-only.c.

	gcc/
	* c-ppoutput.c (print_lines_directives_only): New function.
	(scan_translation_unit_directives_only): New function.
	(preprocess_file): Add call to scan_translation_unit_directives_only.
	* c-opts.c (c_common_handle_option): Add OPT_fdirectives_only.
	(sanitize_cpp_opts): Add default flag_dump_macros setting for
	-fdirectives-only.  Add errors for -fdirectives-only conflict with
	-Wunused-macros and -traditional.
	(finish_options): Add builtin macro initialization for
	-fdirectives-only + -fpreprocessed.
	* c.opt (fdirectives-only): New.
	* doc/cppopts.texi (fdirectives-only): New.

	gcc/testsuite/
	* gcc.dg/cpp/counter-2.c: New test.
	* gcc.dg/cpp/counter-3.c: New test.
	* gcc.dg/cpp/dir-only-1.c: New test.
	* gcc.dg/cpp/dir-only-1.h: New file.
	* gcc.dg/cpp/dir-only-2.c: New test.
	* gcc.dg/cpp/dir-only-3.c: New test.
	* gcc.dg/cpp/dir-only-3a.h: New file.
	* gcc.dg/cpp/dir-only-3b.h: New file.
	* gcc.dg/cpp/dir-only-4.c: New test.
	* gcc.dg/cpp/dir-only-5.c: New test.
	* gcc.dg/cpp/dir-only-6.c: New test.

From-SVN: r127066
2007-07-30 18:29:20 +00:00
boehm-gc Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
config tls.m4 (GCC_CHECK_CC_TLS): New. 2007-07-06 07:00:46 -07:00
contrib Correct file path in last entry 2007-07-05 00:34:53 +00:00
fixincludes re PR target/30058 (bootstrap broken on i386-unknown-netbsdelf2.0.2) 2007-07-25 23:51:47 +00:00
gcc directives-only.c: New file. 2007-07-30 18:29:20 +00:00
gnattools configure.ac: Update TOOLS_TARGET_PAIRS configuration to match gcc/ada/Makefile.in. 2007-06-06 15:18:52 +02:00
include ternary.h: Remove. 2007-07-25 16:26:45 +10:00
INSTALL
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada * Makefile.in: Add dummy install-pdf target. 2007-03-01 16:05:13 -08:00
libcpp directives-only.c: New file. 2007-07-30 18:29:20 +00:00
libdecnumber configure.ac: Add AC_CANONICAL_TARGET. 2007-06-18 07:32:14 -07:00
libffi re PR testsuite/32843 (libffi.call/return_sc.c) 2007-07-26 09:13:58 +00:00
libgcc configure.ac (set_have_cc_tls): Add a missing =. 2007-07-06 07:53:06 -07:00
libgfortran * libgfortran.h: Include <stdarg.h>. 2007-07-30 13:02:50 +00:00
libgomp re PR fortran/32550 (openmp: COPYPRIVATE of pointer variables fails) 2007-07-12 14:16:54 +02:00
libiberty ternary.h: Remove. 2007-07-25 16:26:45 +10:00
libjava HACKING: Document regenerating configure. 2007-07-29 10:11:19 +00:00
libmudflap Makefile.in: Rebuilt. 2007-07-27 00:16:35 +00:00
libobjc Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
libssp Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
libstdc++-v3 Fix typo in log. 2007-07-28 19:11:03 +00:00
maintainer-scripts update_web_docs_svn: Use -o with makeinfo, texi2dvi and texi2pdf commands. 2007-07-06 17:33:38 +01:00
zlib Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
ABOUT-NLS
ChangeLog configure.ac: Add types checking to stage1 checking flags. 2007-07-26 10:27:50 +00:00
ChangeLog.tree-ssa
compile COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
config-ml.in * config-ml.in: Pass ${ml_config_env} to configure calls. 2007-04-14 19:48:36 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2007-06-07 09:23:20 +10:00
config.rpath all files: Update FSF address. 2005-07-16 02:30:53 +00:00
config.sub * config.sub, config.guess: Update from upstream sources. 2007-06-07 09:23:20 +10:00
configure configure.ac: Add types checking to stage1 checking flags. 2007-07-26 10:27:50 +00:00
configure.ac configure.ac: Add types checking to stage1 checking flags. 2007-07-26 10:27:50 +00:00
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING3 COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING3.LIB COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
libtool-ldflags libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
libtool.m4 libtool.m4 (LT_CMD_MAX_LEN): Try using getconf to set lt_cv_sys_max_cmd_len. 2007-06-01 11:32:07 +00:00
lt~obsolete.m4 lt~obsolete.m4: New. 2007-07-05 10:36:59 -07:00
ltgcc.m4 [multiple changes] 2007-05-31 06:40:42 +00:00
ltmain.sh ltmain.sh: Fix Darwin verstring, remove ${wl}. 2007-05-25 21:26:27 +02:00
ltoptions.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
ltsugar.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
ltversion.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
MAINTAINERS MAINTAINERS (S/390 port maintainer): Remove my co-maintainer tag. 2007-07-16 08:11:23 +00:00
Makefile.def Makefile.def: Add windmc tool to build. 2007-07-02 08:19:12 +00:00
Makefile.in Makefile.tpl (BUILD_EXPORTS): Escape the newline at the end of the WINDRES export. 2007-07-11 08:29:47 +00:00
Makefile.tpl Makefile.tpl (BUILD_EXPORTS): Escape the newline at the end of the WINDRES export. 2007-07-11 08:29:47 +00:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep
mkinstalldirs COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
README
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00

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.