Commit Graph

36080 Commits

Author SHA1 Message Date
Rainer Orth
d7f4934bc7 iris5.h (UNALIGNED_INT_ASM_OP, [...]): Define.
* config/mips/iris5.h (UNALIGNED_INT_ASM_OP,
	UNALIGNED_SHORT_ASM_OP): Define.
	* config/mips/iris6.h (UNALIGNED_INT_ASM_OP,
	UNALIGNED_SHORT_ASM_OP): Undef.

From-SVN: r43579
2001-06-26 12:12:32 +00:00
Rainer Orth
57482f585e * src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
From-SVN: r43578
2001-06-26 12:04:29 +00:00
Jan Hubicka
05b432db5b i386.md (float_truncate splitter, [...]): Add reload_completted; fix operand predicate.
* i386.md (float_truncate splitter, and to mov splitters): Add
	reload_completted; fix operand predicate.

	* haifa-sched.c (sched_init): Do not split insns.
	* toplev.c (rest_of_compilation): Call split_all_insns before
	sched1 pass; simplify condition of post-reload splitter;
	call split_all_insn before sched2 pass.

From-SVN: r43575
2001-06-26 10:47:33 +00:00
Benjamin Kosnik
f4655693b5 stl_iterator.h (istream_iterator::operator->): Fix return values.
2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_iterator.h (istream_iterator::operator->): Fix
	return values.
	(istream_iterator::operator*): Same.

2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
            Alexandre Petit-Bianco  <apbianco@redhat.com>

        * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
        is on 41st, not 14th.

Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>

From-SVN: r43574
2001-06-26 09:41:53 +00:00
Gabriel Dos Reis
0deaa8136a diagnostic.h (diagnostic_prefixing_rule_t): New enum type.
* diagnostic.h (diagnostic_prefixing_rule_t): New enum type.
	(set_message_prefixing_rule): Adjust prototype.
	* diagnostic.c (current_prefixing_rule): Adjust type.

From-SVN: r43573
2001-06-26 07:53:50 +00:00
GCC Administrator
4b76a1e3e5 Daily bump.
From-SVN: r43571
2001-06-26 07:16:39 +00:00
Benjamin Kosnik
b581eaf700 std_iterator.h: Include sbuf_iter.h via std_ios.h.
2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.

	* include/bits/stl_iterator.h (istream_iterator): Inherit from
	iterator.
	(ostream_iterator): Same.
	* testsuite/24_iterators/istream_iterator.cc: New file.
	* testsuite/24_iterators/ostream_iterator.cc: New file.

	* include/bits/sbuf_iter.h: Remove self typedef.
	* testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
	* testsuite/24_iterators/istreambuf_iterator.cc: Add test.

	* include/bits/stl_iterator.h (reverse_iterator): Remove
	extraneous typedefs. Add typename.
	(__normal_iterator): Remove typedefs referring to self. Add typename.
	(reverse_bidiretional_iterator): Remove, not longer required.

From-SVN: r43570
2001-06-26 07:01:09 +00:00
Neil Booth
b2b263e1cf defaults.h: Default escape sequences to ASCII.
* defaults.h: Default escape sequences to ASCII.
	* config/i370/i370.h: Adjust for ASCII default.
	* config/1750a/1750a.h: Remove escape sequence definitions.
	* config/a29k/a29k.h: Similarly.
	* config/alpha/alpha.h: Similarly.
	* config/arc/arc.h: Similarly.
	* config/arm/arm.h: Similarly.
	* config/avr/avr.h: Similarly.
	* config/c4x/c4x.h: Similarly.
	* config/clipper/clipper.h: Similarly.
	* config/convex/convex.h: Similarly.
	* config/d30v/d30v.h: Similarly.
	* config/dsp16xx/dsp16xx.h: Similarly.
	* config/elxsi/elxsi.h: Similarly.
	* config/fr30/fr30.h: Similarly.
	* config/h8300/h8300.h: Similarly.
	* config/i386/i386.h: Similarly.
	* config/i860/i860.h: Similarly.
	* config/i960/i960.h: Similarly.
	* config/ia64/ia64.h: Similarly.
	* config/m32r/m32r.h: Similarly.
	* config/m68hc11/m68hc11.h: Similarly.
	* config/m68k/m68k.h: Similarly.
	* config/m88k/m88k.h: Similarly.
	* config/mcore/mcore.h: Similarly.
	* config/mips/mips.h: Similarly.
	* config/mn10200/mn10200.h: Similarly.
	* config/mn10300/mn10300.h: Similarly.
	* config/ns32k/ns32k.h: Similarly.
	* config/pa/pa.h: Similarly.
	* config/pdp11/pdp11.h: Similarly.
	* config/pj/pj.h: Similarly.
	* config/romp/romp.h: Similarly.
	* config/rs6000/rs6000.h: Similarly.
	* config/sh/sh.h: Similarly.
	* config/sparc/sparc.h: Similarly.
	* config/v850/v850.h: Similarly.
	* config/vax/vax.h: Similarly.
	* config/we32k/we32k.h: Similarly.
	* doc/tm.texi: Update documentation.

From-SVN: r43569
2001-06-26 06:36:44 +00:00
Gabriel Dos Reis
9483461dc9 stl_iterator.h (__normal_iterator<>): Qualify dependent names with `typename'.
* include/bits/stl_iterator.h (__normal_iterator<>): Qualify
	dependent names with `typename'.  Bring in various required
	iterator_traits members.  Can't imagine why that used to work.

From-SVN: r43568
2001-06-26 06:36:33 +00:00
Gabriel Dos Reis
255fcfbb81 diagnostic.c (digit_buffer): Remove as global.
* diagnostic.c (digit_buffer): Remove as global.  Move to...
	* diagnostic.h (struct output_buffer): ... here.
	* diagnostic.c (output_formatted_integer): Adjust use of digit_buffer.

From-SVN: r43567
2001-06-26 05:42:06 +00:00
Tom Tromey
c0aa72210a encodings.pl: Generate lower-case names.
* scripts/encodings.pl: Generate lower-case names.  Updated URL
	for `character-sets' file.
	* gnu/gcj/convert/IOConverter.java (canonicalize): Convert name to
	lower case.
	Rebuilt list of aliases.

From-SVN: r43566
2001-06-26 04:36:47 +00:00
Steve Ellcey
23c108aff8 Add ia64-hpux 128-bit long double support.
From-SVN: r43565
2001-06-25 20:50:48 -07:00
Tom Tromey
62d73fa83b natFileDescriptorPosix.cc (open): Change error message formatting.
* java/io/natFileDescriptorPosix.cc (open): Change error message
	formatting.  From David Brownell.

From-SVN: r43564
2001-06-26 03:27:57 +00:00
Jim Wilson
c6b3e55166 Make parallel builds work.
* config/i960/t-960bare (i960-c.o): Add missing header dependencies.
	* config/i960/t-vxworks960: Likewise.

From-SVN: r43563
2001-06-25 19:11:06 -07:00
Phil Edwards
e4bf60773b re PR libstdc++/3377 (missing std::__cmath_power<double>(double,unsigned))
2001-06-25  Phil Edwards  <pme@sources.redhat.com>
            Kurt Garloff <garloff@suse.de>

	PR libstdc++/3377
	* src/cmath.cc:  New [version of an old] file; instantiate
	__cmath_power to start with.
	* src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
	* Makefile.in:  Regenerate.
	* libio/Makefile.in:  Regenerate.
	* libmath/Makefile.in:  Regenerate.
	* libsupc++/Makefile.in:  Regenerate.
	* src/Makefile.in:  Regenerate.
	* testsuite/Makefile.in:  Regenerate.

Co-Authored-By: Kurt Garloff <garloff@suse.de>

From-SVN: r43559
2001-06-25 20:57:51 +00:00
Tom Tromey
c94ef60f8f * libjava.lang/stub.xfail: Removed.
From-SVN: r43558
2001-06-25 20:36:16 +00:00
Rainer Orth
d7e2dd2ff1 configure.in: Recognize sparc*-sun-* host.
* configure.in: Recognize sparc*-sun-* host.
	* configure: Regenerate.

From-SVN: r43557
2001-06-25 20:04:56 +00:00
Phil Edwards
0ebbcb1bd6 update_version: Add command-line argument capability...
2001-06-25  Phil Edwards  <pme@sources.redhat.com>

	* update_version:  Add command-line argument capability, also
	bump version for libstdc++-v3, and exit with the return code from
	the cvs commit.
	* crontab:  Call update_version with arguments instead of
	calling update_branch_version.
	* update_branch_version:  Remove.

From-SVN: r43555
2001-06-25 19:26:25 +00:00
Dale Johannesen
46eee914d6 bitmap.c (bitmap_last_bit_set): Fix a non-c89 usage (null actual argument to macro).
2001-06-25   Dale Johannesen    <dalej@apple.com>

        * bitmap.c (bitmap_last_bit_set): Fix a non-c89 usage (null actual
        argument to macro).

From-SVN: r43554
2001-06-25 18:32:24 +00:00
Jan Hubicka
f47c864607 * i386.md (movsi_insv_1, movsi_insv_1_rex64): Fix constraints.
From-SVN: r43552
2001-06-25 09:16:37 +00:00
GCC Administrator
6f1acfd9b4 Daily bump.
From-SVN: r43551
2001-06-25 07:16:54 +00:00
Andreas Jaeger
20f8e4c7cc jni.exp (gcj_jni_compile_c_to_so): Fix path for jni.h.
* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Fix path for
	jni.h.

From-SVN: r43549
2001-06-25 06:48:55 +02:00
Joseph Myers
f0523f020a c-tree.texi, [...]: Be more consistent about the use of "GCC" and related terms.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
	doc/gcc.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi,
	doc/md.texi, doc/rtl.texi, doc/tm.texi: Be more consistent about
	the use of "GCC" and related terms.
	* doc/gcc.1, doc/gcov.1: Regenerate.

From-SVN: r43547
2001-06-25 01:21:28 +01:00
Joseph Myers
bd819a4aba extend.texi, [...]: Remove uses of @refill.
* doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
	doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Remove
	uses of @refill.

From-SVN: r43545
2001-06-25 00:04:49 +01:00
Jan Hubicka
1ac826449f * (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.
From-SVN: r43544
2001-06-24 19:23:47 +00:00
Richard Henderson
c1c455a71d builtins.c (expand_builtin_expect_jump): Disable if the expression can't be re-evaluated.
* builtins.c (expand_builtin_expect_jump): Disable if the
        expression can't be re-evaluated.

From-SVN: r43543
2001-06-24 09:09:29 -07:00
Nick Clifton
7b8b8ade89 Fix oinitialisation of frame pointer in interrupt functions.
Fix compile time warnings

From-SVN: r43540
2001-06-24 09:46:02 +00:00
GCC Administrator
d06dd0e18f Daily bump.
From-SVN: r43538
2001-06-24 07:16:08 +00:00
Richard Henderson
567d20f046 crtfastmath.c: New file.
* config/alpha/crtfastmath.c: New file.
        * config/alpha/t-crtfm: New file.
        * config/alpha/elf.h (ENDFILE_SPEC): Use crtfastmath.o.
        * config/alpha/osf.h (ENDFILE_SPEC): Likewise.
        * config/alpha/t-crtbe (EXTRA_PARTS): Add pieces defined here.
        * config.gcc (alpha-{linux,freebsd,netbsd,osf}): Use alpha/t-crtfm;
        do not set extra_parts here.

From-SVN: r43537
2001-06-23 19:05:06 -07:00
Gabriel Dos Reis
8c2c98cd89 * libmath/stubs.c: Fix thinko.
From-SVN: r43536
2001-06-23 23:47:39 +00:00
Joseph Myers
8c26c999b0 install-old.texi: Remove more documentation of configure options.
* doc/install-old.texi: Remove more documentation of configure
	options.
	* doc/install.texi: Add it here.

From-SVN: r43534
2001-06-24 00:41:59 +01:00
David Edelsohn
d4916912e5 stubs.c (sqrtf): Define.
2001-06-24  David Edelsohn <dje@watson.ibm.com>

        * libmath/stubs.c (sqrtf): Define.
        (tanf): Correct typo.

From-SVN: r43532
2001-06-23 22:45:52 +00:00
Jan Hubicka
7a2e09f40f i386-protos.h (emit_i387_cw_initialization): Declare.
* i386-protos.h (emit_i387_cw_initialization): Declare.
	* i386.md (movsi_insv_1): Remove '*'.
	(fix_trunc?f?i2): Revamp to use control word parameters.
	(fix_trunc?i_1): Likewise; update splitters.
	(fix splitter): Remove.
	* i386.c (MAX_386_STACK_LOCALS): set to 3.
	(emit_i387_cw_initialization): New function.
	(output_fix_trunc): Do not initialize control word;
	kill dead code; simplify.

From-SVN: r43530
2001-06-23 17:41:33 +00:00
Jan van Male
561a03652d zipfile.h: Use GCC_JCF_H instead of JCF_H.
2001-06-22  Jan van Male  <jan.vanmale@fenk.wau.nl>

	* zipfile.h: Use GCC_JCF_H instead of JCF_H.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01427.html)

From-SVN: r43529
2001-06-23 09:22:20 -07:00
Neil Booth
7096171b54 cppmacro.c (make_string_token): Avoid warning.
* cppmacro.c (make_string_token): Avoid warning.
	(cpp_macro_definition): Prepend the macro name.  Update
	comments.
	* cppmain.c (cb_define, dump_macro): Update for changes
	to cpp_macro_definition.

From-SVN: r43528
2001-06-23 11:34:41 +00:00
Jan Hubicka
bc04d12c30 * flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.
From-SVN: r43527
2001-06-23 08:22:52 +00:00
GCC Administrator
503bf078c4 Daily bump.
From-SVN: r43525
2001-06-23 07:16:12 +00:00
Benjamin Kosnik
c766fc5f1c stl_iterator.h (reverse_iterator): Inherit from iterator.
2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_iterator.h (reverse_iterator): Inherit from
	iterator.
	(back_insert_iterator): Same.
	(front_insert_iterator): Same.
	(insert_iterator): Same.

	* testsuite/20_util/raw_storage_iterator.cc: Modify.
	* testsuite/24_iterators/reverse_iterator.cc: New file.
	* testsuite/24_iterators/back_insert_iterator.cc: New file.
	* testsuite/24_iterators/front_insert_iterator.cc: New file.
	* testsuite/24_iterators/insert_iterator.cc: New file.

From-SVN: r43524
2001-06-23 00:08:47 +00:00
Jan Hubicka
9401afe31a flow.c (mark_set_1, [...]): compute REG_FREQ using bb->frequency.
* flow.c (mark_set_1, attempt_auto_inc, mark_used_reg,
	try_pre_increment_1): compute REG_FREQ using bb->frequency.

	* regclass.c (loop_cost): Kill.
	(frequency): New global variable.
	(record_operand_costs): Replace loop_cost by frequency.
	(scan_one_insn): Likewise.
	(regclass): Likewise; set frequency according to bb->frequency.

	* flow.c (split_edge): Set frequency.

From-SVN: r43523
2001-06-22 23:27:48 +00:00
Jan Hubicka
44f498639c predict.c (block_info_def): Add nvisited.
* predict.c (block_info_def): Add nvisited.
	(propagate_freq): Count nvisited; re-queue delayed blocks; handle
	irreducible regions.

	* flow.c (dump_edge_info): Dump the probability of edge.
	(combine_predictions_for_insn): Dump the basic block.

From-SVN: r43522
2001-06-22 23:19:22 +00:00
Joseph Myers
c6922dda98 gcc.texi: Update documentation of source files of C compiler.
* doc/gcc.texi: Update documentation of source files of C
	compiler.

From-SVN: r43520
2001-06-23 00:10:33 +01:00
Richard Henderson
237b14f75b invoke.texi (-funsafe-math-optimizations): Document its possible effects at link time.
* doc/invoke.texi (-funsafe-math-optimizations): Document its
        possible effects at link time.

From-SVN: r43519
2001-06-22 15:59:44 -07:00
Diego Novillo
316dcdf683 basic-block.h (dump_edge_info): Declare.
2001-06-22  Diego Novillo  <dnovillo@redhat.com>

	* basic-block.h (dump_edge_info): Declare.
	(clear_edges): Declare.
	(mark_critical_edges): Declare.
	* flow.c (dump_edge_info): Remove static declaration.
	(clear_edges): Ditto.
	(mark_critical_edges): Ditto.
	(free_basic_block_vars): Only clear edges and free basic block
	array if basic_block_info is not NULL.
	* ssa.c (compute_dominance_frontiers): Remove static declaration.
	* ssa.h (compute_dominance_frontiers): Declare.

From-SVN: r43518
2001-06-22 18:20:42 -04:00
Toshiyasu Morita
1b28186a60 predict.c: (expected_value_to_br_prob): Check for const_true_rtx instead of const1_rtx for...
* predict.c: (expected_value_to_br_prob): Check for const_true_rtx
        instead of const1_rtx for true case.

From-SVN: r43517
2001-06-22 15:08:51 -07:00
David Mosberger
8b54e86833 crtfastmath.c: New file.
* config/ia64/crtfastmath.c: New file.
        * config/ia64/t-ia64 (EXTRA_PARTS): Include it.
        * config/ia64/linux.h (ENDFILE_SPEC): New.

From-SVN: r43515
2001-06-22 14:35:25 -07:00
Phil Edwards
41104fd541 *: Revert comment/license change from yesterday for all except libsupc++/unwind-cxx.h.
2001-06-22  Phil Edwards  <pme@sources.redhat.com>

	* include/*:  Revert comment/license change from yesterday for all
	except libsupc++/unwind-cxx.h.
	* src/bitset.cc:  Likewise.
	* src/strstream.cc:  Likewise.

From-SVN: r43513
2001-06-22 19:53:32 +00:00
Toshiyasu Morita
cda5d2b3e2 h8300.c (asm_file_start): Remove reference to "release F-1".
2001-06-22  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>

	* config/h8300/h8300.c (asm_file_start): Remove reference to
	"release F-1".

From-SVN: r43512
2001-06-22 19:42:03 +00:00
Joseph Myers
f9e1917eb3 re PR c/3259 (({ }) and -Wall)
* c-common.c (verify_tree): Check for x being NULL.
	* doc/c-tree.texi: Document COMPOUND_BODY of an empty
	COMPOUND_STMT.
	Fixes PR c/3259.

testsuite:
	* gcc.dg/20010622-1.c: New test.

From-SVN: r43508
2001-06-22 20:19:03 +01:00
DJ Delorie
9e2f7ec7e5 arm.h (struct machine_function): Remove ra_rtx.
* config/arm/arm.h (struct machine_function): Remove ra_rtx.
* config/arm/arm.c (arm_mark_machine_status): Remove ra_rtx.
(arm_return_addr): Use get_hard_reg_initial_val et al.
* config/d30v/d30v.h (struct machine_function): Remove ra_rtx.
* config/d30v/d30v.c (d30v_mark_machine_status): Remove ra_rtx.
(d30v_return_addr): Use get_hard_reg_initial_val et al.
* config/rs6000/rs6000.h (struct machine_function): Remove ra_rtx.
* config/rs6000/rs6000.c (rs6000_override_options): Don't set
mark_machine_status.
(rs6000_mark_machine_status): Remove.
(rs6000_return_addr): Use get_hard_reg_initial_val.
(rs6000_ra_ever_killed): Use has_hard_reg_initial_val.
* config/v850/v850.h (INIT_EXPANDERS): Delete.
* config/v850/v850.c (struct machine_function): Delete.
(v850_init_machine_status): Delete.
(v850_mark_machine_status): Delete.
(v850_free_machine_status): Delete.
(v850_return_addr): Use get_hard_reg_initial_val.
(v850_init_expanders): Delete.

From-SVN: r43507
2001-06-22 13:38:20 -04:00
Jan Hubicka
25c3a4ef2e predict.c (estimate_bb_frequencies): Do not handle conditional jumps jumping to fallthru basic block as conditional...
* predict.c (estimate_bb_frequencies): Do not handle conditional
	jumps jumping to fallthru basic block as conditional jumps.

	* tm.texi (GCOV_TYPE_SIZE): Document.
	* basic-block.h (gcov_type): Define.
	(struct edge_def): Use gcov_type for count field.
	(struct basic_block_def): Likewise.
	* defaults.h (GCOV_TYPE_SIZE): Define.
	* final.c (end_final): Use GCOV_TYPE_SIZE.
	* flow.c (dump_edge_info, dump_flow_info, dump_bb): Print count fields
	using HOST_WIDEST_INT_PRINT_DEC.
	* gcov-io.h (__fetch_gcov_type, __store_gcov_type, __read_gcov_type,
	__write_gcov_type): New.
	(store_long): Remove.
	* gcov.c (gcov_type): Set default.
	(struct adj_list): Use gcov_type for arc_count.
	(bb_info): Use gcov_type for succ_count, pred_count and exec_count.
	(create_program_flow_graph): Read arc_count properly.
	(solve_program_flow_graph): 'total' is gcov_type.
	(output_data): Line_counts is gcov_type, print it properly.
	* libgcc2.c (struct bb): Counts is gcov_type.
	(__bb_exit_func): Use __read_gcov_type and __write_gcov_type.
	* profile.c (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set default.
	(GCOV_TYPE_SIZE): Define.
	(struct bb_info): succ_count and pred_count is gcov_type.
	(compute_branch_probabilities): Use __read_gcov_type,
	print read edges to the dump file.
	(total): Is gcov_type.
	(gen_edge_profiler): Use GCOV_TYPE_SIZE.

From-SVN: r43506
2001-06-22 17:23:14 +00:00