summaryrefslogtreecommitdiffstats
path: root/gcc/c-config-lang.in
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-26 21:07:27 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-26 21:07:27 +0000
commit570af75a16610c2ff3fe4591de6498eb24d52112 (patch)
tree194b565efb539d208f63cc21e757c0f303b1a775 /gcc/c-config-lang.in
parent4097676c581cbc58c3e2535ca21d4e2c0fbf40a3 (diff)
downloadppe42-gcc-570af75a16610c2ff3fe4591de6498eb24d52112.tar.gz
ppe42-gcc-570af75a16610c2ff3fe4591de6498eb24d52112.zip
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here. (base_files, lang_dir_names): Allocate dynamically. (gt_files, num_gt_files, num_lang_dirs): New globals. (measure_input_list, read_input_line, read_input_list) (set_lang_bitmap): New functions. (get_base_file_bitmap): Rename get_lang_bitmap and drastically simplify, relying on read_input_list to set up the bitmaps. (main): Arguments are no longer unused. Check for correct number of command line arguments, set srcdir and srcdir_len, then call read_input_list, before doing anything else. No need to worry about duplicates in main loop. * configure.ac: Simplify the calculation of all_gtfiles. Put language tags in there. Don't set or substitute all_gtfiles_files_langs or all_gtfiles_files_frags. * Makefile.in: Revamp the way gengtype is invoked, now that it takes a file on its command line with a much simpler format. Remove or replace with gtyp-input.list all references to gtyp-gen.h. (GTFILES): Remove duplicates and C source files. * c-config-lang.in, cp/config-lang.in, objc/config-lang.in * objcp/config-lang.in: Add c-pragma.h to gtfiles. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123234 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-config-lang.in')
-rw-r--r--gcc/c-config-lang.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-config-lang.in b/gcc/c-config-lang.in
index 01fe1d02936..33f82b6d420 100644
--- a/gcc/c-config-lang.in
+++ b/gcc/c-config-lang.in
@@ -23,4 +23,4 @@
# files used by C that have garbage collection GTY macros in them
# which therefore need to be scanned by gengtype.c.
-gtfiles="\$(srcdir)/c-lang.c \$(srcdir)/c-tree.h \$(srcdir)/c-decl.c \$(srcdir)/c-common.c \$(srcdir)/c-common.h \$(srcdir)/c-pragma.c \$(srcdir)/c-objc-common.c \$(srcdir)/c-parser.c"
+gtfiles="\$(srcdir)/c-lang.c \$(srcdir)/c-tree.h \$(srcdir)/c-decl.c \$(srcdir)/c-common.c \$(srcdir)/c-common.h \$(srcdir)/c-pragma.h \$(srcdir)/c-pragma.c \$(srcdir)/c-objc-common.c \$(srcdir)/c-parser.c"
OpenPOWER on IntegriCloud