Commit Graph

36213 Commits

Author SHA1 Message Date
Phil Edwards
669f7a035a run_doxygen: Don't keep output from previous run.
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
2001-07-11 19:35:49 +00:00
John David Anglin
9acc24a583 pa.c (pa_output_function_prologue): Delete prototype.
* 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
2001-07-11 19:21:40 +00:00
David Billinghurst
2ea80cfdcf intrinsic77.f: New test.
2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>

	* g77.f-torture/execute/intrinsic77.f: New test.

From-SVN: r43946
2001-07-11 19:00:48 +00:00
John David Anglin
9312aecc03 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
2001-07-11 18:36:38 +00:00
Janis Johnson
4b9664e276 gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count.
* gcov.c (arcdata): Use gcov_type to fix branch percentage
        for large hit count.

From-SVN: r43944
2001-07-11 10:42:47 -07:00
Janis Johnson
1ca469746c * gcc.misc-tests/gcov-3.c: New test.
From-SVN: r43943
2001-07-11 10:38:53 -07:00
Janis Johnson
dec2b703db profile.c (branch_prob): Fix .bbg info for computed gotos and C++ EH code.
* profile.c (branch_prob): Fix .bbg info for computed gotos
        and C++ EH code.

From-SVN: r43942
2001-07-11 10:36:50 -07:00
Mark Mitchell
40b18c0a37 stmt.c (parse_output_constraint): New function, split out from ...
* stmt.c (parse_output_constraint): New function, split out
	from ...
	(expand_asm_operands): ... here.  Use parse_output_constraint.
	* tree.h (parse_output_constraint): Declare it.

	* semantics.c (finish_asm_stmt): Mark the output operands
	to an asm addressable, if necessary.

From-SVN: r43941
2001-07-11 17:35:56 +00:00
Richard Henderson
a615c28a76 bitmap.c: Comment some functions; fiddle whitespace.
* bitmap.c: Comment some functions; fiddle whitespace.
        (bitmap_free): Don't export.
        (bitmap_element_allocate): Use memset.
        * bitmap.h (bitmap_free): Don't declare.

From-SVN: r43940
2001-07-11 10:34:48 -07:00
Daniel Berlin
5a660bff9a gcse.c, [...]: s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
* gcse.c, lcm.c, sched-deps.c:
        s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g

        * flow.c (flow_loops_find): Free dom if we found no loops, since
        we aren't going to save it.

        * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
        done.

From-SVN: r43938
2001-07-11 10:11:47 -06:00
Jeffrey A Law
1a9485cf5f * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
From-SVN: r43937
2001-07-11 08:58:54 -06:00
Richard Kenner
c83830509b dwarf2out.c (dwarf2out_init, [...]): Add dummy version #ifndef DWARF2_DEBUGGING_INFO.
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
	#ifndef DWARF2_DEBUGGING_INFO.

From-SVN: r43936
2001-07-11 10:04:27 -04:00
Ben Elliston
219670f172 * Revert today's change -- there is a subtle bug.
From-SVN: r43935
2001-07-11 23:10:18 +10:00
Richard Sandiford
0e41fb04c0 * gcc.c-torture/compile/20010711-1.c,
* gcc.c-torture/compile/20010711-2.c: New tests.

From-SVN: r43934
2001-07-11 09:46:23 +00:00
Richard Sandiford
bd77ba510b * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
From-SVN: r43933
2001-07-11 09:41:34 +00:00
Richard Sandiford
4a1b6176b8 * gcc.c-torture/execute/20010711-1.c: New test.
From-SVN: r43932
2001-07-11 09:38:11 +00:00
Richard Sandiford
b5265b3276 mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU.
* config/mips/mips.c (gen_int_relational): Tell the caller not to
	reverse a branch if a NE comparison is implemented with GTU.

From-SVN: r43931
2001-07-11 09:32:18 +00:00
Richard Sandiford
b87c8c8cf4 mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for constant addresses.
* mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
	constant addresses.
	(call_internal2): Likewise.
	(call_value_internal1): Likewise.
	(call_value_internal2): Likewise.
	(call_value_multiple_internal1): Likewise.
	(call_value_multiple_internal2): Likewise.

Co-Authored-By: H.J. Lu <hjl@gnu.org>

From-SVN: r43930
2001-07-11 09:29:42 +00:00
Ben Elliston
517c3b8059 re PR c++/80 (g++ enum and attributed __packed__)
2001-07-11  Ben Elliston  <bje@redhat.com>

	PR c++/80
	* decl.c (finish_enum): New "attributes" argument; pass it to
	cplus_decl_attributes.  Use a narrower type if the enum is packed.
	* cp-tree.h (finish_enum): Adjust prototype.
	* parse.y (enum_head): New non-terminal.
	(structsp): Use it. Enums now may be preceded or followed by
	optional attributes -- pass their chained tree to finish_enum().
	* pt.c (tsubst_enum): Pass NULL_TREE for the new argument.

From-SVN: r43929
2001-07-11 17:56:23 +10:00
Ben Elliston
6fbce318c3 enum5.C: New test.
2001-07-11  Ben Elliston  <bje@redhat.com>

	* g++.old-deja/g++.other/enum5.C: New test.

From-SVN: r43928
2001-07-11 17:51:07 +10:00
Alexandre Petit-Bianco
2df37a59e2 [multiple changes]
2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* lang-specs.h: Forbit the use if `-femit-class-file{s}' without
	`-fsyntax-only.' Fixes PR java/3248

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* jcf-io.c (find_class): Clarified error message. Fixes PR java/2603

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.h (INNER_ENCLOSING_SCOPE_CHECK): No `this' is fine if the
	current function is static. Fixes PR java/1970

2001-07-09  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (patch_method_invocation): Add enclosing context to ctor
	calls if necessary. Fixes PR java/2953

2001-07-09  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (resolve_package): Abort if qualified expression member
	isn't right.
	(qualify_ambiguous_name): Don't qualify as type if `this' in use.
	Fixes PR java/1391

(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00701.html )

From-SVN: r43927
2001-07-11 00:33:43 -07:00
GCC Administrator
3a2a1b5264 Daily bump.
From-SVN: r43925
2001-07-11 07:16:10 +00:00
Mark Mitchell
2ba9c47ebd pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope variables.
* pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope
	variables.

From-SVN: r43924
2001-07-11 06:24:57 +00:00
Anthony Green
9556f88777 Add some org packages.
From-SVN: r43922
2001-07-11 03:59:16 +00:00
Kazu Hirata
608fe35b1a Fix a typo in ChangeLog.
From-SVN: r43921
2001-07-11 01:59:36 +00:00
Mike Stump
c43c62361a Jim is no longer at Wind River, he probably won't be contributing to mcore much
From-SVN: r43920
2001-07-11 01:53:36 +00:00
Richard Kenner
36fa5a76c8 Fix typo in last change
From-SVN: r43919
2001-07-10 21:51:35 -04:00
Kazu Hirata
0407c02b4e calls.c (emit_library_call_value_1): Fix a comment typo.
2001-07-10  Kazu Hirata  <kazu@hxi.com>

	* calls.c (emit_library_call_value_1): Fix a comment typo.
	* dwarf2out.c (mem_loc_descriptor): Likewise.
	* config/i386/i386.c (ix86_expand_aligntest): Likewise.

From-SVN: r43917
2001-07-11 01:04:26 +00:00
David Billinghurst
a1b2ebc0b2 simplify-rtx.c: (simplify_subreg) Fix typo in comment
2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>

	* simplify-rtx.c: (simplify_subreg) Fix typo in comment

From-SVN: r43916
2001-07-11 00:52:01 +00:00
Alexandre Petit-Bianco
aac560ac26 Makefile.am: Added `java/lang/ThreadLocal.java'.
libjava:

2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * Makefile.am: Added `java/lang/ThreadLocal.java'.
        * Makefile.in: Regenerate.
        * java/lang/ThreadLocal.java: Initial import.

libjava/testsuite:

2001-07-10  Alexandre Petit-Bianco  <apbianco@readhat.com>

        * libjava.lang/TLtest.java: New file.
        * libjava.lang/TLtest.out: New file.

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00042.html )

From-SVN: r43915
2001-07-10 17:47:37 -07:00
Jeff Johnston
dd7716320a Makefile.in: Add support for regex code.
* Makefile.in: Add support for regex code.
* regex.c: New file.

From-SVN: r43914
2001-07-10 20:11:12 -04:00
Jeff Johnston
3eb90047bc xregex.h: New file to support libiberty regex.
* xregex.h: New file to support libiberty regex.
* xregex2.h: Ditto.

From-SVN: r43913
2001-07-10 20:10:28 -04:00
Richard Kenner
07217645f7 recog.c (offsettable_address_p): Handle LO_SUM case.
* recog.c (offsettable_address_p): Handle LO_SUM case.
	* config/mips/mips.c (double_memory_operand): Use adjust_address_nv
	instead of plus_constant.

From-SVN: r43912
2001-07-10 18:09:10 -04:00
Stephane Carrez
9166771183 reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge...
* reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
	fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.

From-SVN: r43911
2001-07-10 22:43:59 +02:00
Toon Moene
64135693a5 fio.h: Revert type of url from off_t to int.
2001-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/fio.h: Revert type of url from off_t to int.
	* libI77/dfe.c (c_dfe): Cast offset expression in FSEEK to off_t.
	* libI77/due.c (c_due): Ditto.  (e_rdue): Ditto.
	* libI77/ftell_.c (G77_ftell_0): Cast result of FTELL to integer.
	(G77_fseek_0): Cast offset argument of FSEEK to off_t.

From-SVN: r43910
2001-07-10 20:39:40 +00:00
Richard Kenner
d7624dc011 rs6000.c (print_operand, [...]): Use adjust_address_nv instead of plus_constant.
* config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
	adjust_address_nv instead of plus_constant.

From-SVN: r43909
2001-07-10 16:24:06 -04:00
Neil Booth
a51d908e98 Makefile.in (toplev.o, [...]): Depend on debug.h, wrap long lines.
* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
	dwarf2out.o): Depend on debug.h, wrap long lines.
	* dbxout.c: Include debug.h.
	(dbx_debug_hooks): New.
	(dbxout_init): Make static, take just 2 args.
	(dbxout_finish): Make static.
	* dbxout.h (dbxout_init, dbxout_finish): Delete.
	* debug.c: New file.
	* debug.h: New file.
	* dwarf2out.c: Include debug.h.
	(dwarf2_debug_hooks): New.
	(dwarf2out_init): Make static.
	(dwarf2out_finish): Make static, take 2 args.
	* dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
	* dwarfout.c: Include debug.h.
	(dwarf_debug_hooks): New.
	(dwarfout_init): Make static.
	(dwarfout_finish): Make static, take 2 args.
	* dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
	* sdbout.c: Include debug.h.
	(sdb_debug_hooks): New.
	(sdbout_init): Make static, take 2 args.
	* sdbout.h (sdbout_init): Delete.
	* toplev.c: Include debug.h.
	(debug_hooks): New.
	(compile_file): Set deubg_hooks based on command line options.
	Use the hooks unconditionally rather than conditional compilation.

From-SVN: r43908
2001-07-10 18:44:34 +00:00
Neil Booth
baed53ac34 * tm.texi: Fix markup.
From-SVN: r43907
2001-07-10 18:07:41 +00:00
Jeffrey A Law
af5c573a60 ssa-ccp.c (first_phi_node): Remove.
* ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
        first_insn_after_basic_block_note instead.

        * df.c (df_bb_refs_unlink): #if 0 out for now.

        * ssa.h: Add prototype for ssa_const_prop
        * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
        (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
        (ssa_fast_dce): Remove unused variable

From-SVN: r43906
2001-07-10 10:27:54 -06:00
Gabriel Dos Reis
64dfaa76b3 diagnostic.c (finish_diagnostic): Rename to diagnostic_finish.
* diagnostic.c (finish_diagnostic): Rename to
        diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
        calls thourghout.

From-SVN: r43905
2001-07-10 16:04:55 +00:00
Jason Merrill
8aaf55aceb dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have .loc support.
* dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
        .loc support.

From-SVN: r43904
2001-07-10 11:54:38 -04:00
Jason Merrill
84db136d7c collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
* collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
        (dump_file): Only pad the demangled name with spaces if the
        mangled name was padded with spaces.

From-SVN: r43903
2001-07-10 11:39:29 -04:00
Bernd Schmidt
fd052ec378 Correct branch/fallthru edge detection
From-SVN: r43902
2001-07-10 14:57:13 +00:00
Jason Merrill
a4d81081ae g++-dg.exp: Load file-format and target-supports like gcc.
* lib/g++-dg.exp: Load file-format and target-supports like gcc.
        (g++-dg-prune): Call prune_gcc_output.
        * prune.exp: New file for prune_gcc_output.
        * lib/g++.exp, lib/gcc.exp: Load it.

From-SVN: r43901
2001-07-10 09:54:24 -04:00
Jason Merrill
352411927e semantics.c (cp_expand_stmt): Fix for null current_function_return_value.
* semantics.c (cp_expand_stmt): Fix for null
        current_function_return_value.

From-SVN: r43900
2001-07-10 09:05:18 -04:00
Gabriel Dos Reis
2253525c31 acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
* acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
        * aclocal.m4: Regenerate.
        * configure: Same.

From-SVN: r43898
2001-07-10 12:55:05 +00:00
Richard Kenner
10c2a453f1 expr.c (expand_expr, [...]): Don't force using bitfield extraction if no direct load if...
* expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
	extraction if no direct load if either EXPAND_CONST_ADDRESS or
	EXPAND_INITIALIZER.

From-SVN: r43897
2001-07-10 07:29:25 -04:00
Richard Kenner
62926f0b9c emit-rtl.c (adjust_address, [...]): Change criteria for whether can put offset inside LO_SUM to check mode alignment...
* emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
	whether can put offset inside LO_SUM to check mode alignment, not size.

From-SVN: r43896
2001-07-10 07:25:32 -04:00
Gabriel Dos Reis
acdcefccef * doc/tm.texi (Misc): Fix thinko.
From-SVN: r43895
2001-07-10 10:52:01 +00:00
Jan van Male
07167a1841 regmove.c (replace_in_call_usage): Fix warnings.
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

	* regmove.c (replace_in_call_usage): Fix warnings.
	* sched-deps.c (add_dependence): Fix warnings.
	* simplify-rtx.c (simplify_subreg): Likewise.
	Return NULL_RTX instead of NULL.

	* reg-stack.c (emit_swap_insn): Eliminate warnings.
	(subst_asm_stack_regs): Likewise.

	* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
	warnings.

	* dwarf2out.c (output_call_frame_info): Declare i as int.
	(build_abbrev_table): Declare n_alloc as int.
	(dwarf2out_finish): Initialize die.
	* except.c: Declare sjlj_funcdef_number as unsigned.
	(connect_post_landing_pads): Declare j as unsigned.
	(convert_to_eh_region_ranges): Initialize call_site.
	(output_function_exception_table): Initialize tt_format_size.
	* expr.c (move_by_pieces_1): Initialize to1.
	(store_constructor): Initialize minelt and maxelt.
	* flow.c (mark_regs_live_at_end): Declare i as unsigned.
	* function.c (instantiate_decls): Avoid signed/unsigned warning.

	* c-decl.c (combine_parm_decls): Unused, remove.
	* c-tree.h: Remove prototype for combine_parm_decls.

	* reload.c (push_reload): Fix warning.
	(regno_clobbered_p): Likewise.
	* reload1.c (replace_pseudos_in_call_usage): Likewise.
	(reload_combine): Likewise.

	* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
	* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
	warnings.
	* bitmap.c (bitmap_operation): Change user.
	* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.

For cp/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

	* call.c (build_op_delete_call): Initialize fn.
	(convert_like_real): Delete conditional.
	(joust): Initialize *w and *l.
	* class.c: Add prototype for binfo_ctor_vtable.
	(get_primary_binfo): Initialize result.
	* init.c (build_java_class_ref): Initialize name.

	* typeck.c (unary_complex_lvalue): Do not duplicate the
	argument to modify, pre-, or post-increment when used as an
	lvalue and when the argument has side-effects.

For ch/:
2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>

	* ch-tree.h: Remove prototype for combine_parm_decls, unused
	function.

From-SVN: r43894
2001-07-10 12:40:22 +02:00