1. 13 Jul, 2001 14 commits
    • re PR java/3635 ("empty declaration" warning too broad) · b6e3e1ff
      2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* parse.y (patch_method_invocation): Don't override primary if one
      	is already provided, but let this$<n> be built. Fixed comment.
      
      2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* parse.y (empty_statement:): Report empty statement error only
      	when found at class declaration level.
      	Fixes PR java/3635
      
      (http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00885.html )
      
      From-SVN: r43993
      Alexandre Petit-Bianco committed
    • avr.md (strlenhi): PARALLEL keyword removed. · 48ccfb40
      	* config/avr/avr.md (strlenhi): PARALLEL keyword removed.
      	* config/avr/avr.c (legitimate_address_p): Return value changed
      	from letter to register classes. For better debugging.
      
      From-SVN: r43992
      Denis Chertykov committed
    • jump.c (reversed_comparison_code_parts): Fix comment typos. · 5a4aeb03
      2001-07-13  Kazu Hirata  <kazu@hxi.com>
      
      	* jump.c (reversed_comparison_code_parts): Fix comment typos.
      
      From-SVN: r43990
      Kazu Hirata committed
    • elfos.h (UNIQUE_SECTION): Enable .bss section. · 92e78e59
      2001-07-13  H.J. Lu  (hjl@gnu.org)
      
      	* config/elfos.h (UNIQUE_SECTION): Enable .bss section.
      
      From-SVN: r43989
      H.J. Lu committed
    • config.gcc (*-*-openbsd*): Add fragment to compile libgcc correctly for shared configurations. · f1cf4606
      2001-07-13  Marc Espie  <espie@cvs.openbsd.org>
      
      	* config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
      	correctly for shared configurations.
      	* config/t-libgcc-pic:  New.
      	* config/{i386,m68k,sparc}/t-openbsd:  New.
      	* config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
      	Support -shared.  Support debugging libraries with -g.
      	* config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
      	frame information does not emit pointer diffs.
      	* config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
      	emit pointer diffs.
      
      From-SVN: r43988
      Marc Espie committed
    • Makefile.am: New file encapsulating header generation rules. · 4a9d5109
      2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
                  Loren J. Rittle  <ljrittle@acm.org>
                  Phil Edwards  <pme@sources.redhat.com>
      
      	* include/Makefile.am:  New file encapsulating header generation rules.
      	* Makefile.am (SUBDIRS):  Prepend 'include' directory.
      	* acinclude.m4:  Moved/removed rules for building various headers.
      	* configure.in (AC_OUTPUT):  Add include/Makefile.
      	* mkc++config:  Removed.
      
      	* testsuite_flags.in:  Changed build-includes to match new scheme.
      	* mknumeric_limits:  Likewise.
      	* libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
      	* libmath/Makefile.am:  Likewise.
      	* libsupc++/Makefile.am:  Likewise.
      	* src/Makefile.am:  Likewise; removed rules to build headers.
      	* libmath/mathconf.h:  Changed #include'd header names to match.
      	* libmath/stubs.c:  Likewise.
      	* src/gen-num-limits.cc:  Likewise.
      
      	* configure:  Regenerated.
      	* config.h.in:  Regenerated.
      	* aclocal.m4:  Regenerated.
      	* Makefile.in:  Regenerated.
      	* include/Makefile.in:  Regenerated.
      	* libio/Makefile.in:  Regenerated.
      	* libmath/Makefile.in:  Regenerated.
      	* libsupc++/Makefile.in:  Regenerated.
      	* src/Makefile.in:  Regenerated.
      	* testsuite/Makefile.in:  Regenerated.
      
      Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
      Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
      
      From-SVN: r43985
      Stephen M. Webb committed
    • config.gcc: Add configuration for s/390. · 9628a767
      	* config.gcc: Add configuration for s/390.
      	* Changelog: Add s/390.
      
      From-SVN: r43981
      Hartmut Penner committed
    • s390.c: New. · 9db1d521
              * config/s390/s390.c: New. Subroutines for code generation.
              * config/s390/s390.h: New. Definitions for s/390.
              * config/s390/s390-protos.h: New. Prototypes.
              * config/s390/linux.h: New. Definitions for linux for s/390.
              * config/s390/linux64.h: New. Definitions for linux for zSeries.
              * config/s390/t-linux: New. Makefile fragment.
              * config/s390/s390.md: New. Machine description for s/390 and zSeries.
              * config/s390/fixdfdi.h: New. Fix L_fix*di.
      ---------------------------------------------------------------------
      
      From-SVN: r43980
      Hartmut Penner committed
    • emit-rtl.c (try_split): Update mark_jump_label call. · f3ba35e4
      	* emit-rtl.c (try_split): Update mark_jump_label call.
      	* flow.c (find_sub_basic_blocks): Likewise.
      	* jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
      	jump_back_p): Kill.
      	(mark_all_labels): Kill second parameter.
      	(jump_optimize, jump_optimize_1): Kill cross_jump parameter.
      	(rebuild_jump_labels, jump_optimize_minimal): Update call
      	of jump_optimize_1.
      	(jump_optimize_1): Kill crossjumping code.
      	(mark_jump_label): Kill cross_jump parameter.
      	* rtl.h (mark_jump_label, jump_optimize): Update prototypes.
      	(JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
      	* reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
      	 splitting.
      	* toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
      	DFI_bpro.
      	(rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
      	reorganize passes to do reg-stack first, bb-reorder second.
      	* invoke.texi (-d letters doc): Remove the jump2 pass.
      
      From-SVN: r43979
      Jan Hubicka committed
    • Daily bump. · dd697c0d
      From-SVN: r43977
      GCC Administrator committed
    • re PR libgcj/3426 (java.io.InputStreamReader, infinite loop) · a9a399fe
      
      	Fix for PR libgcj/3426:
      	* gnu/gcj/convert/natIconv.cc: Include CharConversionException.h,
      	errno.h.
      	(read): Throw exception if character conversion fails.
      	* java/io/BufferedInputStream.java (refill): Now package-private.
      	* java/io/InputStreamReader.java (ready): Simplified.
      	(refill): New method.
      	(read): Use it.
      
      Co-Authored-By: David Brownell <david-b@pacbell.net>
      
      From-SVN: r43975
      Tom Tromey committed
  2. 12 Jul, 2001 16 commits
  3. 11 Jul, 2001 10 commits
    • Makefile.in (c-lex.o): Wrap long lines. · 7f905405
      	* Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
      	* c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
      	hooks directly.
      	* dbxout.c (dbx_debug_hooks): Add new hooks.
      	(dbxout_start_new_source_file): Rename dbxout_start_source_file,
      	make static.
      	(dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
      	make static.
      	* dbxout.h (dbxout_start_new_source_file,
      	dbxout_resume_previous_source_file): Delete.
      	* debug.c (do_nothing_debug_hooks): Add new hooks.
      	(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
      	(debug_nothing_int_charstar, debug_nothing_int): New.
      	* debug.h (gcc_debug_hooks): New hooks define, undef,
      	start_source_file and end_source_file.
      	(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
      	(debug_nothing_int_charstar, debug_nothing_int): New.
      	* dwarf2out.c (dwarf2_debug_hooks): Add new hooks.
      	(dwarf2out_start_source_file, dwarf2out_end_source_file,
      	dwarf2out_define, dwarf2out_undef): Make static.
      	* dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
      	dwarf2out_define, dwarf2out_undef): Remove.
      	* dwarfout.c (dwarf_debug_hooks): Add new hooks.
      	(dwarfout_start_source_file, dwarfout_end_source_file,
      	dwarfout_define, dwarfout_undef): Make static.
      	(dwarfout_start_source_file_check,
      	dwarfout_end_source_file_check): New.
      	(dwarfout_define, dwarfout_finish): Update.
      	* dwarfout.h (dwarfout_start_new_source_file,
      	dwarfout_resume_previous_source_file, dwarfout_define,
      	dwarfout_undef): Remove.
      	* sdbout.c (sdb_debug_hooks): Add new hooks.
      	(sdbout_start_new_source_file): Rename sdbout_start_source_file,
      	make static.
      	(sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
      	make static, take an arg.
      	* sdbout.h (sdbout_start_new_source_file,
      	sdbout_resume_previous_source_file): Delete.
      	* toplev.c (debug_start_source_file, debug_end_source_file,
      	debug_define, debug_undef): Delete.
      	* toplev.h (debug_start_source_file, debug_end_source_file,
      	debug_define, debug_undef): Delete.
      
      	* java/jcf-parse.c: Include debug.h.
      	(parse_class_file): Update to use debug hooks directly.
      	* java/Make-lang.in (jcf-parse.o): Depend on debug.h.
      
      From-SVN: r43952
      Neil Booth committed
    • alias.c (set_mem_alias_set): New function. · ba4828e0
      	* alias.c (set_mem_alias_set): New function.
      	* rtl.h (set_mem_alias_set): Declare it.
      	* builtins.c (expand_builtin_return_addr): Call it instead of
      	using MEM_ALIAS_SET accessor.
      	(expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
      	(get_memory_rtx, expand_builtin_va_arg): Likewise.
      	(expand_builtin_va_copy):Likewise.
      	* caller-save.c (setup_save_areas): Likewise.
      	* calls.c (compute_argument_addresses): Likewise.
      	* explow.c (set_mem_attributes): Likewise.
      	* expr.c (emit_single_push_insn, emit_push_insn): Likewise.
      	(expand_assignment, store_constructor_field, store_field): Likewise.
      	(expand_expr_unaligned): Likewise.
      	* function.c (assign_stack_temp_for_type): Likewise.
      	(put_reg_into_stack, gen_mem_addressof): Likewise.
      	* ifcvt.c (noce_try_cmove_arith): Likewise.
      	* reload1.c (reload, alter_reg): Likewise.
      	* config/alpha/alpha.c (get_aligned_mem): Likewise.
      	(alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
      	(alpha_expand_unaligned_store): Likewise
      	(alpha_expand_unaligned_load_words): Likewise.
      	(alpha_expand_unaligned_store_words): Likewise.
      	(alpha_expand_block_clear, alpha_expand_prologue): Likewise.
      	(alpha_expand_epilogue): Likewise.
      	* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
      	* config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
      	* config/i386/i386.c (legitimize_pic_address): Likewise.
      	* config/i960/i960.c (setup_incoming_varargs): Likewise.
      	* config/ia64/ia64.c (spill_restore_mem): Likewise.
      	* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
      	* config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
      	* config/mips/mips.c (mips_va_arg): Likewise.
      	* config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
      	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
      	* config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
      	(setup_incoming_varargs, rs6000_va_arg): Likewise.
      	(rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
      	(rs6000_emit_epilogue): Likewise.
      	* config/sh/sh.c (sh_builtin_saveregs): Likewise.
      	* config/sparc/sparc.c (sparc_va_arg): Likewise.
      	* config/v850/v850.c (v850_va_arg): Likewise.
      
      From-SVN: r43951
      Richard Kenner committed
    • flow.c (merge_blocks_move_successor_nojumps): Do not crash when fallthru edge is present. · 46fac664
      	* flow.c (merge_blocks_move_successor_nojumps): Do not crash
      	when fallthru edge is present.
      	(mege_blocks): Handle case where creation of jump insn
      	is required.
      
      	* basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
      	CLEANUP_POST_REGSTACK): New constants.
      	* except.c (finish_eh_generation): Update call of cleanup_cfg,
      	* jump.c (rtx_renumbered_equal_p): Handle 't' fields.
      	* output.h (cleanup_cfg): Update prototype.
      	* reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
      	* sibcall.c (optimize_sibling_and_tail_recursive_call): Update
      	cleanup_cfg call; kill missleading comment.
      	* toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
      	* flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
      	parameter; control optimizations performed using it.
      	(flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
      	try_crossjump_bb): New functions.
      
      From-SVN: r43950
      Jan Hubicka committed
    • run_doxygen: Don't keep output from previous run. · 669f7a03
      2001-07-11  Phil Edwards  <pme@sources.redhat.com>
      
      	* docs/doxygen/run_doxygen:  Don't keep output from previous run.
      	* docs/doxygen/user.cfg.in:  Tweaks.
      	* include/bits/c++config:  Documentation comments for Doxygen.
      	* include/bits/char_traits.h:  Likewise.
      	* include/bits/limits_generic.h:  Likewise.
      	* include/bits/std_stdexcept.h:  Likewise.
      	* include/bits/stl_pair.h:  Likewise.
      	* libsupc++/exception:  Likewise.
      	* libsupc++/new:  Likewise.
      	* libsupc++/typeinfo:  Likewise.
      	* libmath/Makefile.am:  Update and correct copyright.
      
      From-SVN: r43948
      Phil Edwards committed
    • pa.c (pa_output_function_prologue): Delete prototype. · 9acc24a5
      	* pa.c (pa_output_function_prologue): Delete prototype.  Make function
      	extern.
      	* pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
      	pa_output_function_prologue.
      	* pa-protos.h (pa_output_function_prologue): New prototype.
      
      From-SVN: r43947
      John David Anglin committed
    • intrinsic77.f: New test. · 2ea80cfd
      2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
      
      	* g77.f-torture/execute/intrinsic77.f: New test.
      
      From-SVN: r43946
      David Billinghurst committed
    • stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get… · 9312aecc
      stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get correct sign extension...
      
      	* stmt.c (emit_case_nodes): Widen high and low instead of new_bound
      	and low to get correct sign extension in low+high test.
      
      From-SVN: r43945
      John David Anglin committed
    • gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count. · 4b9664e2
              * gcov.c (arcdata): Use gcov_type to fix branch percentage
              for large hit count.
      
      From-SVN: r43944
      Janis Johnson committed
    • * gcc.misc-tests/gcov-3.c: New test. · 1ca46974
      From-SVN: r43943
      Janis Johnson committed
    • profile.c (branch_prob): Fix .bbg info for computed gotos and C++ EH code. · dec2b703
              * profile.c (branch_prob): Fix .bbg info for computed gotos
              and C++ EH code.
      
      From-SVN: r43942
      Janis Johnson committed