genconditions.c (write_header): In generated code...
commitf7c8e4fc33d6386550568da002faf7804396606b
authorZack Weinberg <zack@gcc.gnu.org>
Thu, 26 Jan 2006 21:21:42 +0000 (26 21:21 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 26 Jan 2006 21:21:42 +0000 (26 21:21 +0000)
tree44e0ab313b71fa4c5524ede47fac2115629a7120
parent63622a8169df9d39fa01a5543dece68ef5e6439c
genconditions.c (write_header): In generated code...

* genconditions.c (write_header): In generated code, #ifdef out
all includes and fake declarations, except includes of bconfig.h
and system.h, unless GCC_VERSION >= 3001.  Do not include
gensupport.h in any case.
(write_conditions): Generate a definition of struct c_test.  Add
a comment to the generated #endif.
(write_one_condition): Escape backslashes in string too.
(write_writer): Generated code must escape backslashes and quote
marks (but not newlines) in the strings it writes.
* Makefile.in (build/gencondmd.o): Update dependencies.

From-SVN: r110275
gcc/ChangeLog
gcc/Makefile.in
gcc/genconditions.c