Mercurial > hg > CbC > CbC_gcc
comparison gcc/gengtype.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* Process source files and output type information. | 1 /* Process source files and output type information. |
2 Copyright (C) 2002-2018 Free Software Foundation, Inc. | 2 Copyright (C) 2002-2020 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
1609 | 1609 |
1610 static outf_p | 1610 static outf_p |
1611 create_file (const char *name, const char *oname) | 1611 create_file (const char *name, const char *oname) |
1612 { | 1612 { |
1613 static const char *const hdr[] = { | 1613 static const char *const hdr[] = { |
1614 " Copyright (C) 2004-2018 Free Software Foundation, Inc.\n", | 1614 " Copyright (C) 2004-2020 Free Software Foundation, Inc.\n", |
1615 "\n", | 1615 "\n", |
1616 "This file is part of GCC.\n", | 1616 "This file is part of GCC.\n", |
1617 "\n", | 1617 "\n", |
1618 "GCC is free software; you can redistribute it and/or modify it under\n", | 1618 "GCC is free software; you can redistribute it and/or modify it under\n", |
1619 "the terms of the GNU General Public License as published by the Free\n", | 1619 "the terms of the GNU General Public License as published by the Free\n", |
1715 "rtl.h", "gimple.h", "fold-const.h", "insn-codes.h", "splay-tree.h", | 1715 "rtl.h", "gimple.h", "fold-const.h", "insn-codes.h", "splay-tree.h", |
1716 "alias.h", "insn-config.h", "flags.h", "expmed.h", "dojump.h", | 1716 "alias.h", "insn-config.h", "flags.h", "expmed.h", "dojump.h", |
1717 "explow.h", "calls.h", "memmodel.h", "emit-rtl.h", "varasm.h", | 1717 "explow.h", "calls.h", "memmodel.h", "emit-rtl.h", "varasm.h", |
1718 "stmt.h", "expr.h", "alloc-pool.h", "cselib.h", "insn-addr.h", | 1718 "stmt.h", "expr.h", "alloc-pool.h", "cselib.h", "insn-addr.h", |
1719 "optabs.h", "libfuncs.h", "debug.h", "internal-fn.h", "gimple-fold.h", | 1719 "optabs.h", "libfuncs.h", "debug.h", "internal-fn.h", "gimple-fold.h", |
1720 "value-range.h", | |
1720 "tree-eh.h", "gimple-iterator.h", "gimple-ssa.h", "tree-cfg.h", | 1721 "tree-eh.h", "gimple-iterator.h", "gimple-ssa.h", "tree-cfg.h", |
1721 "tree-vrp.h", "tree-phinodes.h", "ssa-iterators.h", "stringpool.h", | 1722 "tree-vrp.h", "tree-phinodes.h", "ssa-iterators.h", "stringpool.h", |
1722 "tree-ssanames.h", "tree-ssa-loop.h", "tree-ssa-loop-ivopts.h", | 1723 "tree-ssanames.h", "tree-ssa-loop.h", "tree-ssa-loop-ivopts.h", |
1723 "tree-ssa-loop-manip.h", "tree-ssa-loop-niter.h", "tree-into-ssa.h", | 1724 "tree-ssa-loop-manip.h", "tree-ssa-loop-niter.h", "tree-into-ssa.h", |
1724 "tree-dfa.h", "tree-ssa.h", "reload.h", "cpplib.h", "tree-chrec.h", | 1725 "tree-dfa.h", "tree-ssa.h", "reload.h", "cpplib.h", "tree-chrec.h", |
1725 "except.h", "output.h", "cfgloop.h", "target.h", "lto-streamer.h", | 1726 "except.h", "output.h", "cfgloop.h", "target.h", "lto-streamer.h", |
1726 "target-globals.h", "ipa-ref.h", "cgraph.h", "symbol-summary.h", | 1727 "target-globals.h", "ipa-ref.h", "cgraph.h", "symbol-summary.h", |
1727 "ipa-prop.h", "ipa-fnsummary.h", "dwarf2out.h", "omp-offload.h", NULL | 1728 "ipa-prop.h", "ipa-fnsummary.h", "dwarf2out.h", "omp-general.h", |
1729 "omp-offload.h", NULL | |
1728 }; | 1730 }; |
1729 const char *const *ifp; | 1731 const char *const *ifp; |
1730 outf_p gtype_desc_c; | 1732 outf_p gtype_desc_c; |
1731 | 1733 |
1732 gtype_desc_c = create_file ("GCC", "gtype-desc.c"); | 1734 gtype_desc_c = create_file ("GCC", "gtype-desc.c"); |
5202 POS_HERE (do_scalar_typedef ("jword", &pos)); | 5204 POS_HERE (do_scalar_typedef ("jword", &pos)); |
5203 POS_HERE (do_scalar_typedef ("JCF_u2", &pos)); | 5205 POS_HERE (do_scalar_typedef ("JCF_u2", &pos)); |
5204 POS_HERE (do_scalar_typedef ("void", &pos)); | 5206 POS_HERE (do_scalar_typedef ("void", &pos)); |
5205 POS_HERE (do_scalar_typedef ("machine_mode", &pos)); | 5207 POS_HERE (do_scalar_typedef ("machine_mode", &pos)); |
5206 POS_HERE (do_scalar_typedef ("fixed_size_mode", &pos)); | 5208 POS_HERE (do_scalar_typedef ("fixed_size_mode", &pos)); |
5209 POS_HERE (do_scalar_typedef ("CONSTEXPR", &pos)); | |
5207 POS_HERE (do_typedef ("PTR", | 5210 POS_HERE (do_typedef ("PTR", |
5208 create_pointer (resolve_typedef ("void", &pos)), | 5211 create_pointer (resolve_typedef ("void", &pos)), |
5209 &pos)); | 5212 &pos)); |
5210 #undef POS_HERE | 5213 #undef POS_HERE |
5211 read_input_list (inputlist); | 5214 read_input_list (inputlist); |