Commit Graph

35983 Commits

Author SHA1 Message Date
Vladimir Makarov
51da3560e0 glimits.h (USHRT_MAX): Use unsigned suffix if int can not hold it.
2001-06-26  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>

	* glimits.h (USHRT_MAX): Use unsigned suffix if int can not hold
	it.

From-SVN: r43584
2001-06-26 16:56:06 +00:00
Felix Natter
17e7554f42 porting-howto.html: Fixed some errors.
2001-06-26  Felix Natter  <f.natter@ndh.net>

	* docs/html/17_intro/porting-howto.html:  Fixed some errors.

From-SVN: r43582
2001-06-26 16:10:04 +00:00
Gabriel Dos Reis
f68fc4db62 diagnostic.h (struct diagnostic_context): Add new field.
* diagnostic.h (struct diagnostic_context): Add new field.
	(lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
	declaratons.
	(global_dc): Declare.
	* diagnostic.c (global_diagnostic_context): New variable.
	(global_output_buffer): Remove.
	(global_dc): Define.
	(lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
 	definitions.
	(initialize_diagnostics): Adjust initialization.
	(set_diagnostic_context): Adjust setting.

cp/

	* error.c (init_error): Adjust settings.

From-SVN: r43581
2001-06-26 14:06:07 +00:00
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