summaryrefslogtreecommitdiff
path: root/gcc/doc/gty.texi
Commit message (Collapse)AuthorAgeFilesLines
* 2007-01-19 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2007-01-191-1/+11
| | | | | | | | | | | | | | | | | * gcc/doc/gty.texi (Options): Document the mark_hook option to GTY. * gcc/gengtype.c (write_types_data, write_func_for_structure, write_types, ggc_wtd, pch_wtd): Added skip_hooks to write_types_data, ggc_wtd, pch_wtd for mark_hook. (walk_type, write_func_for_structure): Generate the mark_hook if needed. * MAINTAINERS: added myself (Basile Starynkevitch) to write after approval. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120973 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/amodra2005-12-071-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/gty.texi: Remove instructions for adding a dependency on s-gtype. * Makefile.in: Add code to compute some dependencies on s-gtype automatically. Remove the declaration of those dependencies. gcc/java/ * Make-lang.in: Remove all dependencies on s-gtype, except for gt-java-parse.h. gcc/objc/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/objcp/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/cp/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/ada/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/fortran/ * Make-lang.in: Remove all dependencies on s-gtype, except for gt-fortran-trans.h. gcc/treelang/ * Make-lang.in: Remove all dependencies on s-gtype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108155 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/c-tree.texi, doc/cfg.texi, doc/extend.texi, doc/gty.texi,jsm282004-11-051-1/+1
| | | | | | | | | doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, doc/tm.texi, doc/tree-ssa.texi: Remove trailing whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90100 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/gty.texi, doc/makefile.texi, doc/sourcebuild.texi: Don'tjsm282004-11-041-1/+1
| | | | | | | reference specific C parser files in examples. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90065 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: libcpp/ChangeLoggeoffk2004-05-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-29 Geoffrey Keating <geoffk@apple.com> * symtab.c (ht_create): Set entries_owned. (ht_destroy): Honour entries_owned. (ht_expand): Likewise. (ht_load): New. Index: libcpp/include/ChangeLog 2004-05-29 Geoffrey Keating <geoffk@apple.com> * symtab.h (struct ht): New field 'entries_owned' (ht_load): New prototype. Index: gcc/ChangeLog 2004-05-29 Geoffrey Keating <geoffk@apple.com> * gengtype-yacc.y: Add NESTED_PTR token. (option): Record `nested_ptr' option. * gengtype-lex.l: Handle `nested_ptr' keyword. * gengtype.c (walk_type): Process `nested_ptr' option. * gengtype.h (struct nested_ptr_data): New. * doc/gty.texi (GTY Options): Document `nested_ptr' option. * stringpool.c (struct string_pool_data): Make 'entries' point to ht_identifier instead of tree. (gt_pch_save_stringpool): Don't adjust pointers. (gt_pch_restore_stringpool): Call ht_load. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82438 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/gty.texi (GTY Options): Clarify example.geoffk2004-05-111-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81718 138bc75d-0d04-0410-961f-82ee72b054a4
* * gengtype.c (create_option): New function.zack2004-03-301-111/+173
| | | | | | | | | | | | | | | | | | * gengtype.h: Prototype it. * gengtype-yacc.y (stringseq): New rule. (option): Use create_option. Add new bare ID production. Use stringseq, not STRING directly. * alias.c, bitmap.c, c-decl.c, cgraph.h, cpplib.h, cselib.h * dwarf2out.c, emit-rtl.c, function.h, lists.c, tree.h * varray.h, config/alpha/alpha.c, cp/name-lookup.c, cp/parser.c * f/com.c, java/builtins.c, java/expr.c, java/jcf.h, java/parse.h: Use new shorter form of GTY markers. * doc/gty.texi: Rewrite. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80091 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/frontends.texi: Update copyright.kazu2004-01-251-1/+1
| | | | | | | | | | * doc/gcov.texi: Likewise. * doc/gty.texi: Likewise. * doc/sourcebuild.texi: Likewise. * doc/standards.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76537 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,jsm282004-01-181-5/+5
| | | | | | | | | | doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi, doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi, doc/trouble.texi: Remove trailing whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76098 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/gty.texi (tag, desc): Say more about role of desc values inkenner2003-11-031-11/+18
| | | | | | | selecting between tags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73233 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/cpp.texi: Fix typos.kazu2003-01-261-2/+2
| | | | | | | | | | | | * doc/extend.texi: Likewise. * doc/gty.texi: Likewise. * doc/install.texi: Likewise. * doc/passes.texi: Likewise. * doc/rtl.texi: Likewise. * doc/tm.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61858 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from pch-branch.geoffk2003-01-101-1/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61136 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/c-tree.texi: Fix typos and follow spelling conventions.kazu2002-12-171-2/+2
| | | | | | | | | | | | | | | | * doc/cpp.texi: Likewise. * doc/extend.texi: Likewise. * doc/gty.texi: Likewise. * doc/install.texi: Likewise. * doc/invoke.texi: Likewise. * doc/md.texi: Likewise. * doc/passes.texi: Likewise. * doc/rtl.texi: Likewise. * doc/sourcebuild.texi: Likewise. * doc/tm.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60213 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: gcc/ChangeLoggeoffk2002-09-161-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-12 Geoffrey Keating <geoffk@apple.com> * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name mangling. The following changes are merged from pch-branch: * doc/gty.texi (GTY Options): Document %a. * gengtype.c (do_scalar_typedef): New function. (process_gc_options): Handle `length' option. (set_gc_used_type): A pointer to an array of structures doesn't qualify as a pointer to a structure. (output_escaped_param): Add `%a' escape. (write_gc_structure_fields): Allow 'desc' on array of unions. (main): Define `uint8', `jword' and `JCF_u2' as scalars; use do_scalar_typedef. * gengtype.c (enum rtx_code): Make global. (rtx_format): Make global. (rtx_next): New. (gen_rtx_next): New. (write_rtx_next): New. (adjust_field_rtx_def): Skip fields marked by chain_next. (open_base_files): Delete redundant prototype. (write_enum_defn): New. (output_mangled_typename): Correct abort call. (write_gc_marker_routine_for_structure): Handle chain_next and chain_prev options. (finish_root_table): Don't output redundant \n. (main): Call gen_rtx_next, write_rtx_next, write_enum_defn. * c-tree.h (union lang_tree_node): Add chain_next option. * gengtype.h (NUM_PARAM): New definition. (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters. * gengtype.c (find_param_structure): New. (adjust_field_type): Handle param<n>_is option. (process_gc_options): Detect use_params option. Update callers. (set_gc_used_type): Add 'param' parameter, update callers. Handle 'use_params' option. (open_base_files): Add splay-tree.h to list of files included. (output_mangled_typename): New. (write_gc_structure_fields): Update 'param' parameter to support multiple parameters. Change name mangling. Allow parameterized fields to have an apparent scalar type. Handle param<n>_is options, use_param option. (write_gc_marker_routine_for_structure): Update for change to name mangling. Better guess the output file for parameterized types. (write_gc_types): Update for change to name mangling. (write_gc_root): Update for change to name mangling. Handle (ignore) param<n>_is options. * doc/gty.texi (GTY Options): Add description of param<n>_is options, use_params option. * ggc.h (ggc_mark_rtx): Update for changed name mangling. * gengtype-lex.l: Produce token for param<n>_is. * gengtype-yacc.y: Parse param<n>_is. * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'. * rtl.c: Update comment describing rtx_format. * rtl.h (union rtunion): Separate definition and typedef. (struct rtx_def): Use gengtype to mark. * Makefile.in (gengtype.o): Also depend on rtl.def. * ggc.h (ggc_mark_rtx_children): Delete prototype. (ggc_mark_rtx): Change to alias of gengtype-generated routine. * ggc-common.c (ggc_mark_rtx_children): Delete. (ggc_mark_rtx_children_1): Delete. (gt_ggc_m_rtx_def): Delete. * gengtype.c (adjust_field_rtx_def): New. (adjust_field_type): Call adjust_field_rtx_def. (write_gc_structure_fields): Add 'default' case to switch if none is specified; remove unused code. * tree.h (struct tree_exp): Update for change to meaning of special. * gengtype.c (adjust_field_tree_exp): New function. (adjust_field_type): Handle `tree_exp' special here. (write_gc_structure_fields): Don't handle `tree_exp' special here. Handle new `dot' option. * gengtype.h: Make `info' a pointer-to-const. * gengtype-yacc.y (yacc_ids): Use xasprintf. * gengtype.c (write_gc_structure_fields): Remove implementation of `always' option, add `default' option. * doc/gty.texi (GTY Options): Remove documentation of `always', add `default'. Index: gcc/cp/ChangeLog 2002-09-12 Geoffrey Keating <geoffk@apple.com> * cp-tree.h (union lang_tree_node): Add chain_next option. Index: gcc/f/ChangeLog 2002-09-12 Geoffrey Keating <geoffk@apple.com> * com.c (union lang_tree_node): Add chain_next option. Index: gcc/java/ChangeLog 2002-09-12 Geoffrey Keating <geoffk@apple.com> * java-tree.h (union lang_tree_node): Add chain_next option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57206 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-04 Janis Johnson <janis187@us.ibm.com>janis2002-09-041-13/+16
| | | | | | | | | | | | | | | * doc/c-tree.texi: Fix overfull hboxes. * doc/cppopts.texi: Ditto. * doc/extend.texi: Ditto. * doc/gty.texi: Ditto. * doc/invoke.texi: Ditto. * doc/makefile.texi: Ditto. * doc/rtl.texi: Ditto. * doc/standards.texi: Ditto. * doc/tm.texi: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56802 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/gty.texi (GGC Roots): Clarify that the list of syntaxesgeoffk2002-07-291-8/+28
| | | | | | | | | | | | | | | | | is exhaustive. (Files): Improve documentation on generated source files. * doc/extend.texi (Translation implementation): Document what diagnostics look like. (Identifiers implementation): Document that there's normally no limit on identifier names. (Integers implementation): Document two's complement. (Hints implementation): Document that GCC honours 'inline', mostly. (Preprocessing directives implementation): Document that GCC requires the current time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55857 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Rename config_gtfiles to target_gtfiles.shebs2002-07-271-1/+1
| | | | | | | | | | * configure: Regenerate. * doc/gty.texi: Update reference. * config.gcc (powerpc-*-darwin*): Set target_gtfiles instead of appending to it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55801 138bc75d-0d04-0410-961f-82ee72b054a4
* Make gengtype.c language independent.timjosling2002-07-141-6/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55436 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/gty.texi: Small updates.geoffk2002-06-111-8/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54533 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from pch-branch up to tag pch-commit-20020603.geoffk2002-06-041-0/+257
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4