1. 27 Sep, 2002 1 commit
  2. 21 Sep, 2002 2 commits
  3. 17 Sep, 2002 1 commit
  4. 16 Sep, 2002 2 commits
    • Index: gcc/ChangeLog · 36a5eadd
      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
      Geoffrey Keating committed
    • real.c, real.h: Rewrite from scratch. · efdc7e19
      gcc/
      	* real.c, real.h: Rewrite from scratch.
      
      	* Makefile.in (simplify-rtx.o): Depend on TREE_H.
      	(paranoia): New target.
      	* builtins.c (fold_builtin_inf): Use new real.h interface.
      	* c-common.c (builtin_define_with_hex_fp_value): Likewise.
      	* c-lex.c (interpret_float): Likewise.
      	* emit-rtl.c (gen_lowpart_common): Likewise.
      	* optabs.c (expand_float): Use real_2expN.
      	* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
      	* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
      	(FLOAT_WORDS_BIG_ENDIAN): New.
      	* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
      	directly to REAL_VALUE_NEGATIVE.
      	* loop.c (canonicalize_condition): Likewise.
      	* simplify-rtx.c: Include tree.h.
      	(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
      	with floating-point result modes.
      	* toplev.c (backend_init): Call init_real_once.
      
      	* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
      	* tree.c (build_real): Likewise.
      	* config/alpha/alpha.c, config/vax/vax.c (float_strings,
      	float_values, inited_float_values, check_float_value): Remove.
      	* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
      	config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
      	* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
      
      gcc/f/
      	* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
      	directly to ffetarget_make_real1.
      	(ffetarget_real2): Similarly.
      	* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
      	ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.
      
      gcc/java/
      	* jcf-parse.c (get_constant): Runtime check for IEEE format;
      	use new real.h interface.
      	* jcf-write.c (find_constant_index): Use new real.h interface.
      	* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.
      
      contrib/
      	* paranoia.cc: New file.
      
      From-SVN: r57198
      Richard Henderson committed
  5. 15 Sep, 2002 2 commits
  6. 11 Sep, 2002 2 commits
  7. 09 Sep, 2002 1 commit
  8. 05 Sep, 2002 1 commit
    • verify.c (verify_jvm_instructions): Allow exception handler inside code that is… · b139fcfd
      verify.c (verify_jvm_instructions): Allow exception handler inside code that is being protected, but generate a warning.
      
      2002-08-28  Andrew Haley  <aph@redhat.com>
      
      	* verify.c (verify_jvm_instructions): Allow exception handler
      	inside code that is being protected, but generate a warning.
      	* except.c (link_handler): Initialize `expanded' in new eh_range.
      	(binding_depth, is_class_level, current_pc): Declare extern.
      
      From-SVN: r56842
      Andrew Haley committed
  9. 02 Sep, 2002 1 commit
  10. 26 Aug, 2002 1 commit
  11. 22 Aug, 2002 3 commits
  12. 16 Aug, 2002 2 commits
    • gcj.texi (Class Initialization): Mention class initialization of arrays. · ca75573a
      	* gcj.texi (Class Initialization): Mention class initialization of
      	arrays.
      
      From-SVN: r56386
      Tom Tromey committed
    • Make-lang.in (java-tree-inline.o): New. · 7149627b
      2002-07-30  Andrew Haley  <aph@cambridge.redhat.com>
      
              * Make-lang.in (java-tree-inline.o): New.
              (JAVA_OBJS): Add java-tree-inline.o.
              * parse.y (source_end_java_method): Call java_optimize_inline.
              (java_expand_method_bodies): Save method's tree in
              DECL_SAVED_TREE.
              (add_stmt_to_compound): Keep track of the number of statments.
              * lang.c (java_init): Enable flag_inline_trees.
              (java_post_options): If flag_inline_functions is on, enable
              flag_inline_trees instread.
              (decl_constant_value): New.
              (java_tree_inlining_walk_subtrees): New.
              * java-tree.h (DECL_NUM_STMTS): New macro.
              (java_optimize_inline): Declare.
              * expr.c (java_expand_expr): Allow a BLOCK to return a value.
              Handle a LABEL_EXPR.
              * decl.c (build_result_decl): If we already have a DECL_RESULT
              don't make another.
              (dump_function): New.
              (java_optimize_inline): New.
              (dump_function): New.
      
      From-SVN: r56377
      Andrew Haley committed
  13. 13 Aug, 2002 1 commit
  14. 09 Aug, 2002 1 commit
  15. 08 Aug, 2002 1 commit
    • configure.in (enable_coverage): New enable switch. · 22aa533e
      	* configure.in (enable_coverage): New enable switch.
      	* configure: Rebuilt.
      	* Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
      	(INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
      	(ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
      	(mostlyclean): Remove coverage files.
      	* doc/install.texi: Document enable_coverage.
      
      	* cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
      	* ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
      	* f/Make-lang.in (f.mostlyclean): Remove coverage files.
      	* java/Make-lang.in (java.mostlyclean): Remove coverage files.
      	* objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
      	* treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
      	files.
      
      From-SVN: r56126
      Nathan Sidwell committed
  16. 05 Aug, 2002 1 commit
    • Index: ChangeLog · b3426eb9
      2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
      
      	* attribs.c: Don't include obstack.h.
      	* builtins.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* loop.c: Likewise.
      	* stmt.c: Likewise.
      
      Index: cp/ChangeLog
      2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
      
      	* class.c: Don't include obstack.h.
      	(popclass):
      	* decl2.c: Delete bogus comment.
      	* error.c: Don't include obstack.h.
      	* except.c: Likewise.
      	(dump_type): Correct comment.
      	* method.c: Don't include obstack.h.
      	* tree.c: Likewise.
      
      Index: java/ChangeLog
      2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
      
      	* mangle_name.c: Don't include obstack.h twice.
      	* xref.c: Don't include obstack.h.
      
      From-SVN: r56055
      Geoffrey Keating committed
  17. 04 Aug, 2002 2 commits
    • Index: ChangeLog · 6d9f628e
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
      	* collect2.h (permanent_obstack): Delete declaration.
      	* collect2.c (permanent_obstack): Delete definition.
      	(main): Don't initialise permanent_obstack.  Use xstrdup instead.
      	* expr.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* function.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* integrate.c: Don't include obstack.h.
      	(function_maybepermanent_obstack): Delete declaration.
      	* print-tree.c (debug_tree): Use x*alloc not permalloc.
      	* sdbout.c (gen_fake_label): Use x*alloc not permalloc.
      	* tlink.c (pfgets): Use xstrdup not permanent_obstack.
      	* toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
      	* tree.h: Rename init_obstacks to init_ttree.  Remove declarations
      	of permalloc, expralloc, perm_calloc.
      	* tree.c (permanent_obstack): Delete definition.
      	(init_ttree): Rename from init_obstacks.
      	(permalloc): Delete.
      	(perm_calloc): Delete.
      	(dump_tree_statistics): Don't print information about
      	permanent_obstack.
      	* varasm.c (assemble_start_function): Use xstrdup instead of
      	permalloc/strcpy.
      	(assemble_variable): Likewise.
      	* config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
      	permalloc.
      	(unicosmk_add_extern): Likewise.
      	* config/c4x/c4x.c (c4x_external_ref): Likewise.
      	(c4x_global_label): Likewise.
      	* config/frv/frv.c (frv_encode_section_info): Likewise.
      	* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
      	(i386_pe_record_exported_symbol): Likewise.
      	* config/mips/mips.c (mips_output_external): Likewise.
      	(mips_output_external_libcall): Likewise.
      	* config/pa/pa.c: (permanent_obstack): Delete declaration.
      	(output_call): Use ggc_strdup instead of allocating on
      	permanent_obstack.
      	* config/romp/romp.c: Include ggc.h.
      	(get_symref): Don't declare permanent_obstack, use ggc_strdup
      	intead of permanent_obstack.
      	* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
      	instead of permalloc
      	* config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/vax/vax.c (vms_check_external): Use xmalloc instead of
      	permalloc.
      
      Index: cp/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* cvt.c (ocp_convert): Delete obsolete code.
      	* parse.y (permanent_obstack): Delete declaration.
      	* pt.c (permanent_obstack): Delete declaration.
      	* repo.c (permanent_obstack): Delete declaration.
      	(open_repo_file): Use xmalloc instead of permanent_obstack.
      	(init_repo): Use xstrdup instead of permanent_obstack.
      
      Index: java/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* class.c: (permanent_obstack): Delete declaration.
      	* constants.c: (permanent_obstack): Delete declaration.
      	* except.c: (permanent_obstack): Delete declaration.
      	* expr.c: (permanent_obstack): Delete declaration.
      	* jcf-parse.c: (permanent_obstack): Delete declaration.
      	(saveable_obstack): Delete declaration.
      	* parse.h: (permanent_obstack): Delete declaration.
      	* typeck.c: (permanent_obstack): Delete declaration.
      
      From-SVN: r56035
      Geoffrey Keating committed
    • gcc-common.texi (version-GCC): Increase to 3.3. · d500c5d7
      	* doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
      
      java:
      	* gcj.texi (version-gcc): Increase to 3.3.
      
      f:
      	* root.texi (version-gcc): Increase to 3.3.
      
      From-SVN: r56026
      Joseph Myers committed
  18. 23 Jul, 2002 1 commit
  19. 22 Jul, 2002 1 commit
  20. 21 Jul, 2002 1 commit
    • c-lex.c (GET_ENVIRONMENT): Remove. · 2f8dd115
      	* c-lex.c (GET_ENVIRONMENT): Remove.
      	* collect2.c (GET_ENV_PATH_LIST): Remove.
      	(prefix_from_env): Use GET_ENVIRONMENT.
      	* cppinit.c (GET_ENV_PATH_LIST): Remove.
      	(init_standard_includes): Use GET_ENVIRONMENT.
      	* defaults.h (GET_ENVIRONMENT): Define here if not already.
      	* gcc.c (GET_ENV_PATH_LIST): Remove.
      	(make_relative_prefix, process_command): Update.
      	* protoize.c (GET_ENV_PATH_LIST): Remove.
      	(do_processing): Update.
      java:
      	* jcf-path.c (GET_ENV_PATH_LIST): Remove.
      	(jcf_path_init): Use GET_ENVIRONMENT.
      
      From-SVN: r55630
      Neil Booth committed
  21. 11 Jul, 2002 1 commit
  22. 07 Jul, 2002 1 commit
    • c-common.c (c_common_post_options): Update prototype; don't init backends if preprocessing only. · 5351f1ca
      	* c-common.c (c_common_post_options): Update prototype;
      	don't init backends if preprocessing only.
      	* langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
      	* langhooks.h (struct lang_hooks): Update post_options to
      	return a boolean.
      	* toplev.c (parse_options_and_default_flags, do_compile,
      	lang_independent_init): Update prototypes.  Allow the
      	front end to specify that there is no need to initialize
      	the back end.
      	(general_init): Move call to hex_init here...
      	(toplev_main): ...from here.  Pass flag for back end init
      	suppression.
      java:
      	* lang.c (java_post_options): Update prototype.
      
      From-SVN: r55306
      Neil Booth committed
  23. 06 Jul, 2002 1 commit
    • re PR c++/7099 (G++ doesn't set the noreturn attribute on std::exit and std::abort) · df061a43
      	PR c++/7099
      	* builtin-attrs.def: Define new attribute lists for use in
      	builtins.def.
      	* builtins.def [DEF_BUILTIN]: Modify to take an additional
      	ATTRS argument, an enumerated value defined in builtin-attrs.def
      	that represents the attribute list for the builtins.  Modify
      	all builtin functions to pass an appropriate attribute list.
      	Specify "abort", "exit", "_exit" and "_Exit" builtins here with
      	their required noreturn attributes.
      	* tree.h (enum_builtin_function): Ignore the additional parameter
      	to DEF_BUILTIN.
      	* builtins.c (built_in_names): Likewise.
      	* c-common.c: (builtin_function_2): Replace the "int noreturn_p"
      	argument with a tree representing the functions attribute list.
      	Pass this "attrs" argument to builtin_function.  No longer handle
      	the noreturn_p processing manually.
      	(built_in_attributes): Move the definitions from builtin-attrs.def
      	before c_common_nodes_and_builtins.
      	(c_common_nodes_and_builtins): Handle the new ATTRS parameter in
      	DEF_BUILTIN, passing it to both builtin_function and the changed
      	builtin_function_2.
      
      	* doc/extend.texi: Document __builtin_abort, __builtin_exit,
      	__builtin__exit and __builtin__Exit.
      
      	* java/builtins.c (initialize_builtins): Ignore the additional
      	parameter to DEF_BUILTIN.  Handle more C/C++ specific junk in
      	the builtins.def file.
      
      From-SVN: r55276
      Roger Sayle committed
  24. 02 Jul, 2002 1 commit
  25. 01 Jul, 2002 2 commits
    • tree.h: Modify builtin_function interface to take an extra argument ATTRS... · 6a2dd09a
      	* tree.h:  Modify builtin_function interface to take an extra
      	argument ATTRS, which is a tree representing an attribute list.
      
      	* c-decl.c (builtin_function): Accept additional parameter.
      	* objc/objc-act.c (builtin_function): Likewise.
      	* f/com.c (builtin_function): Likewise.
      	* java/decl.c (builtin_function): Likewise.
      	* ada/utils.c (builtin_function): Likewise.
      	* cp/decl.c (builtin_function): Likewise.
      	(builtin_function_1): Likewise.
      
      	* c-common.c (c_common_nodes_and_builtins): Pass an additional
      	NULL_TREE argument to builtin_function.  (builtin_function_2):
      	Likewise.
      	* cp/call.c (build_java_interface_fn_ref): Likewise.
      	* objc/objc-act.c (synth_module_prologue): Likewise.
      	* java/decl.c (java_init_decl_processing): Likewise.
      	* f/com.c (ffe_com_init_0): Likewise.
      
      	* config/alpha/alpha.c (alpha_init_builtins): Pass an additional
      	NULL_TREE argument builtin_function.
      	* config/arm/arm.c (def_builtin): Likewise.
      	* config/c4x/c4x.c (c4x_init_builtins): Likewise.
      	* config/i386/i386.c (def_builtin): Likewise.
      	* config/ia64/ia64.c (def_builtin): Likewise.
      	* config/rs6000/rs6000.c (def_builtin): Likewise.
      
      From-SVN: r55161
      Roger Sayle committed
    • gcj.texi: Fixed gcj invocation example so that it compiles. · 32c4621e
      2002-06-29  T.J. Mather  <tjmather@maxmind.com>
      
      	* gcj.texi: Fixed gcj invocation example so that it compiles.
      
      From-SVN: r55126
      T.J. Mather committed
  26. 27 Jun, 2002 2 commits
  27. 26 Jun, 2002 1 commit
  28. 25 Jun, 2002 1 commit
  29. 21 Jun, 2002 1 commit
  30. 13 Jun, 2002 1 commit