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. From-SVN: r57206
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
.cvsignore | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.0 | Loading commit data... | |
Make-lang.in | Loading commit data... | |
README | Loading commit data... | |
RELEASE-PREP | Loading commit data... | |
ansify.c | Loading commit data... | |
bad.c | Loading commit data... | |
bad.def | Loading commit data... | |
bad.h | Loading commit data... | |
bit.c | Loading commit data... | |
bit.h | Loading commit data... | |
bld-op.def | Loading commit data... | |
bld.c | Loading commit data... | |
bld.h | Loading commit data... | |
bugs.texi | Loading commit data... | |
bugs0.texi | Loading commit data... | |
com-rt.def | Loading commit data... | |
com.c | Loading commit data... | |
com.h | Loading commit data... | |
config-lang.in | Loading commit data... | |
data.c | Loading commit data... | |
data.h | Loading commit data... | |
equiv.c | Loading commit data... | |
equiv.h | Loading commit data... | |
expr.c | Loading commit data... | |
expr.h | Loading commit data... | |
ffe.texi | Loading commit data... | |
fini.c | Loading commit data... | |
g77.texi | Loading commit data... | |
g77spec.c | Loading commit data... | |
global.c | Loading commit data... | |
global.h | Loading commit data... | |
implic.c | Loading commit data... | |
implic.h | Loading commit data... | |
info-b.def | Loading commit data... | |
info-k.def | Loading commit data... | |
info-w.def | Loading commit data... | |
info.c | Loading commit data... | |
info.h | Loading commit data... | |
intdoc.c | Loading commit data... | |
intdoc.in | Loading commit data... | |
intdoc.texi | Loading commit data... | |
intrin.c | Loading commit data... | |
intrin.def | Loading commit data... | |
intrin.h | Loading commit data... | |
invoke.texi | Loading commit data... | |
lab.c | Loading commit data... | |
lab.h | Loading commit data... | |
lang-options.h | Loading commit data... | |
lang-specs.h | Loading commit data... | |
lex.c | Loading commit data... | |
lex.h | Loading commit data... | |
malloc.c | Loading commit data... | |
malloc.h | Loading commit data... | |
name.c | Loading commit data... | |
name.h | Loading commit data... | |
news.texi | Loading commit data... | |
news0.texi | Loading commit data... | |
parse.c | Loading commit data... | |
proj.h | Loading commit data... | |
root.texi | Loading commit data... | |
src.c | Loading commit data... | |
src.h | Loading commit data... | |
st.c | Loading commit data... | |
st.h | Loading commit data... | |
sta.c | Loading commit data... | |
sta.h | Loading commit data... | |
stb.c | Loading commit data... | |
stb.h | Loading commit data... | |
stc.c | Loading commit data... | |
stc.h | Loading commit data... | |
std.c | Loading commit data... | |
std.h | Loading commit data... | |
ste.c | Loading commit data... | |
ste.h | Loading commit data... | |
storag.c | Loading commit data... | |
storag.h | Loading commit data... | |
stp.c | Loading commit data... | |
stp.h | Loading commit data... | |
str-1t.fin | Loading commit data... | |
str-2t.fin | Loading commit data... | |
str-fo.fin | Loading commit data... | |
str-io.fin | Loading commit data... | |
str-nq.fin | Loading commit data... | |
str-op.fin | Loading commit data... | |
str-ot.fin | Loading commit data... | |
str.c | Loading commit data... | |
str.h | Loading commit data... | |
sts.c | Loading commit data... | |
sts.h | Loading commit data... | |
stt.c | Loading commit data... | |
stt.h | Loading commit data... | |
stu.c | Loading commit data... | |
stu.h | Loading commit data... | |
stv.c | Loading commit data... | |
stv.h | Loading commit data... | |
stw.c | Loading commit data... | |
stw.h | Loading commit data... | |
symbol.c | Loading commit data... | |
symbol.def | Loading commit data... | |
symbol.h | Loading commit data... | |
target.c | Loading commit data... | |
target.h | Loading commit data... | |
top.c | Loading commit data... | |
top.h | Loading commit data... | |
type.c | Loading commit data... | |
type.h | Loading commit data... | |
version.c | Loading commit data... | |
version.h | Loading commit data... | |
where.c | Loading commit data... | |
where.h | Loading commit data... |