platform/upstream/gcc.git
23 years agosystem.h (TARGET_ESC): Move to ...
Neil Booth [Wed, 27 Jun 2001 06:55:29 +0000 (06:55 +0000)]
system.h (TARGET_ESC): Move to ...

* system.h (TARGET_ESC): Move to ...
* defaults.h (TARGET_ESC): ... here.
* target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
TARGET_VALID_TYPE_ATTRIBUTE): Default to a no-op handler.
* tree.c (default_valid_attribute_p): New.
(valid_machine_attribute): Handlers can not be NULL.
* tree.h (default_valid_attribute_p): New.
* doc/tm.texi: Document TARGET_ESC.
* cp/decl2.c (import_export_class): Update.

From-SVN: r43605

23 years agono preprocessing inside string literal
Bruce Korb [Wed, 27 Jun 2001 03:49:50 +0000 (03:49 +0000)]
no preprocessing inside string literal

From-SVN: r43604

23 years agoAdd missing documentation.
Jim Wilson [Wed, 27 Jun 2001 01:09:03 +0000 (01:09 +0000)]
Add missing documentation.

* doc/tm.texi (MAX_LONG_DOUBLE_TYPE_SIZE, INTEL_EXTENDED_IEEE_FORMAT):
Document.

From-SVN: r43603

23 years agostreambuf.tcc (__copy_streambufs): Don't set eofbit.
Benjamin Kosnik [Wed, 27 Jun 2001 01:07:29 +0000 (01:07 +0000)]
streambuf.tcc (__copy_streambufs): Don't set eofbit.

2001-06-26  Benjamin Kosnik  <bkoz@fillmore.constant.com>
                     <vakatov@ncbi.nlm.nih.gov>

libstdc++/3272
* include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
* testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
* testsuite/27_io/istream_extractor_other.cc: Fix.

From-SVN: r43602

23 years agocpp.texi, [...]: Use @: where necessary when a full stop does not end a sentence.
Joseph Myers [Wed, 27 Jun 2001 00:04:39 +0000 (01:04 +0100)]
cpp.texi, [...]: Use @: where necessary when a full stop does not end a sentence.

* doc/cpp.texi, doc/cppinternals.texi, doc/extend.texi,
doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/tm.texi: Use @: where necessary when a full stop does not end
a sentence.

From-SVN: r43600

23 years agoacinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
Zoltan Hidvegi [Tue, 26 Jun 2001 23:35:19 +0000 (23:35 +0000)]
acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.

2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>

* acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r43599

23 years agogcc.texi, [...]: Remove trailing whitespace.
Joseph Myers [Tue, 26 Jun 2001 23:23:32 +0000 (00:23 +0100)]
gcc.texi, [...]: Remove trailing whitespace.

* doc/gcc.texi, doc/install.texi, doc/invoke.texi: Remove trailing
whitespace.

From-SVN: r43597

23 years agostream_iterator.h (istream_iterator): Add copy ctor.
Benjamin Kosnik [Tue, 26 Jun 2001 23:12:45 +0000 (23:12 +0000)]
stream_iterator.h (istream_iterator): Add copy ctor.

2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
(ostream_iterator): Same.
* include/bits/stl_iterator.h (front_insert_iterator::operator=):
Change argument to const_reference.
(back_insert_iterator): Same.

From-SVN: r43596

23 years agoc-tree.texi, [...]: Use two spaces after ends of sentences.
Joseph Myers [Tue, 26 Jun 2001 22:47:11 +0000 (23:47 +0100)]
c-tree.texi, [...]: Use two spaces after ends of sentences.

* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi, doc/gcc.texi,
doc/install.texi, doc/invoke.texi, doc/objc.texi, doc/rtl.texi,
doc/tm.texi: Use two spaces after ends of sentences.

From-SVN: r43594

23 years agoalpha_mach_dep.s: Mark call-saved FP registers.
Richard Henderson [Tue, 26 Jun 2001 22:21:26 +0000 (15:21 -0700)]
alpha_mach_dep.s: Mark call-saved FP registers.

* alpha_mach_dep.s: Mark call-saved FP registers.
* include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
* configure.in (alpha*): Re-enable alpha_mach_dep.s
* configure: Rebuild.

From-SVN: r43593

23 years agosbuf_iter.h: Change to..
Benjamin Kosnik [Tue, 26 Jun 2001 21:22:57 +0000 (21:22 +0000)]
sbuf_iter.h: Change to..

2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/sbuf_iter.h: Change to..
* include/bits/streambuf_iterator.h: This.
* include/bits/stl_iterator.h: Take out of here...
* include/bits/stream_iterator.h: Add.
* src/Makefile.am (base_headers): Add streambuf_iterator,
stream_iterator.h
* src/Makefile.in: Regenerate.
* include/bits/std_string.h: Adjust includes.
* include/bits/basic_ios.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/std_iosfwd.h: Same.

* include/bits/std_iterator.h: Add istream, ostream includes.
* include/bits/stl_iterator.h: Tweak.
* testsuite/24_iterators/ostream_iterator.cc: Add test.
* testsuite/24_iterators/istream_iterator.cc: Same.
* testsuite/23_containers/multiset.cc: Add iterator include.

From-SVN: r43592

23 years agoacinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
Phil Edwards [Tue, 26 Jun 2001 20:52:23 +0000 (20:52 +0000)]
acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.

2001-06-26  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.

From-SVN: r43591

23 years agotoplev.c (display_help): Fix param thinko.
Daniel Berlin [Tue, 26 Jun 2001 19:24:09 +0000 (19:24 +0000)]
toplev.c (display_help): Fix param thinko.

2001-06-26  Daniel Berlin  <dan@cgsoftware.com>

* toplev.c (display_help): Fix param thinko.
* Makefile.in: Fix params.h dependencies.

From-SVN: r43589

23 years agotoplev.c (decode_f_option): Adjust setting.
Gabriel Dos Reis [Tue, 26 Jun 2001 19:18:37 +0000 (19:18 +0000)]
toplev.c (decode_f_option): Adjust setting.

* toplev.c (decode_f_option): Adjust setting.
(toplev_main): Call diagnostic_initialize.  Remove call to
reshape_diagnostic_buffer._

* diagnostic.h (struct output_buffer): Add new field format_decoder.
(diagnostic_format_decoder): New macro.
(diagnostic_prefixing_rule): Likewise.
(diagnostic_line_cutoff): Likewise.
(set_message_prefixing_rule): Remove.

* diagnostic.c (lang_printer): Remove.
(diagnostic_message_length_per_line): Likewise.
(current_prefixing_rule): Likewise.
(initialize_diagnostics): Rename to...
(diagnostic_initialize): ...this. Tweak.
(default_initialize_buffer): Remove.
(reshape_diagnostic_buffer): Likewise.
(init_output_buffer): Adjust prefixing rule setting.
(output_format): Use format_decoder from the output_buffer.

* c-lang.c (c_init): Adjust tree formatter setting.

cp/
   * error.c (init_error): Adjust settings.

From-SVN: r43588

23 years ago* config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.
Rainer Orth [Tue, 26 Jun 2001 18:27:01 +0000 (18:27 +0000)]
* config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.

From-SVN: r43587

23 years agoMakefile.in (TARGET_H, [...]): New.
Neil Booth [Tue, 26 Jun 2001 18:09:27 +0000 (18:09 +0000)]
Makefile.in (TARGET_H, [...]): New.

* Makefile.in (TARGET_H, TARGET_DEF_H): New.
(c-decl.o, tree.o, c-typeck.o, $(out_object_file)): Update.
* c-decl.c (duplicate_decls): Use function pointer.
* c-typeck.c (common_type): Similarly.
* tree.c (valid_machine_attribute): Similarly.
(merge_machine_type_attributes): Rename merge_type_attributes.
(merge_machine_decl_attributes): Rename merge_decl_attributes.
(merge_dllimport_decl_attributes): New function.
* tree.h (merge_machine_type_attributes): Rename merge_type_attributes.
(merge_machine_decl_attributes): Rename merge_decl_attributes.
(merge_dllimport_decl_attributes): New prototype.
* target.h: New.
* target-def.h: New.

doc: (Joseph Myers)
* doc/gcc.texi, doc/tm.texi: Update documentation.

cp: Make-lang.in: Update dependencies.
* spew.c: Include target.h.
(duplicate_decls): Call target function.
* decl2.c: include target.h
(import_export_class): Use existence of target function pointer.
* typeck.c: Include target.h.
(qualify_type_recursive): Rename variable.  Call target function.
(type_after_usual_arithmetic_conversions): Similarly.
(common_type): Similarly.

config: * 1750a/1750a.c, a29k/29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
avr/avr.c, c4x/c4x.c, clipper/clipper.c, convex/convex.c,
d30v/d30v.c, dsp16xx/dsp16xx.c, elxsi/elxsi.c, fr30/fr30.c,
i370/i370.c, i386/i386.c, i860/i860.c, i960/i960.c, ia64/ia64.c,
m32r/m32r.c, m68hc11/m68hc11.c, m68k/m68k.c, m88k/m88k.c,
mips/mips.c, mn10200/mn10200.c, mn10300/mn10300.c, ns32k/ns32k.c,
pa/pa.c, pdp11/pdp11.c, pj/pj.c, romp/romp.c, rs6000/rs6000.c,
sh/sh.c, sparc/sparc.c, v850/v850.c, vax/vax.c, we32k/we32k.c)
: Include target.h and target-def.h.  Define target.

* arc/arc-protos.h (arc_valid_machine_decl_attribute): Remove.
* arc/arc.c (arc_valid_machine_decl_attribute): Rename
arc_valid_decl_attribute, make static.
* arc/arc.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* arm/arm-protos.h (arm_valid_machine_decl_attribute,
arm_valid_type_attribute_p, arm_pe_valid_machine_decl_attribute,
arm_pe_merge_machine_decl_attributes): Remove.
* arm/arm.c (arm_valid_machine_decl_attribute_p): Rename
arm_valid_decl_attribute_p, make static.
(arm_pe_valid_decl_attribute_p): Move from pe.c.
* arm/pe.c (arm_pe_valid_machine_decl_attribute_p): Move to arm.c.
(arm_pe_merge_machine_decl_attributes): Move to tree.c.
* arm/arm.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): New.
(VALID_MACHINE_TYPE_ATTRIBUTE, VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* avr/avr-protos.h (valid_machine_type_attribute,
valid_machine_decl_attribute): Remove.
* avr/avr.c (valid_machine_type_attribute,
valid_machine_decl_attribute): Rename and make static.
* avr/avr.h (VALID_MACHINE_TYPE_ATTRIBUTE,
VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* c4x/c4x-protos.h (c4x_valid_type_attribute_p): Remove.
* c4x/c4x.c (c4x_valid_type_attribute_p): Make static.
* c4x/c4x.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* d30v/d30v.h: Remove obsolete comments.
* h8300/h8300-protos.h (h8300_valid_machine_decl_attribute): Remove.
* h8300/h8300.c (h8300_valid_machine_decl_attribute): Rename, make
static.
* h8300/h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* i386/cygwin.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
(i386_pe_merge_decl_attributes, MERGE_MACHINE_DECL_ATTRIBUTES,
i386_pe_valid_type_attributes_p): Remove.
* i386/i386-protos.h (ix86_valid_decl_attribute_p,
ix86_valid_type_attribute_p): Remove.
* i386/i386.c (ix86_valid_decl_attribute_p): Remove.
(ix86_valid_type_attribute_p): Make static.
* i386/i386.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* i386/winnt.c (i386_pe_merge_decl_attributes): Move to tree.c.
* ia64/ia64-protos.h (ia64_valid_type_attribute): Remove.
* ia64/ia64.c (ia64_valid_type_attribute): Make static.
* ia64/ia64.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* m32r/m32r-protos.h (m32r_valid_machine_decl_attribute): Remove.
* m32r/m32r.c (m32r_valid_decl_attribute): Make static.
* m32r/m32r.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* m68hc11/m68hc11-protos.h (m68hc11_valid_decl_attribute_p,
m68hc11_valid_type_attribute_p): Remove.
* m68hc11/m68hc11.c (m68hc11_valid_decl_attribute_p): Remove.
(m68hc11_valid_type_attribute_p): Make static.
* m68hc11/m68hc11.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* mcore/mcore-protos.h (mcore_valid_machine_decl_attribute,
mcore_merge_machine_decl_attribute): Remove.
* mcore/mcore.c (mcore_valid_machine_decl_attribute): Rename,
make static.
(mcore_merge_machine_decl_attributes): Move to tree.c.
* mcore/mcore.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
(TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
* ns32k/ns32k-protos.h (ns32k_valid_decl_attribute_p,
ns32k_valid_type_attribute_p): Remove.
* ns32k/ns32k.c (ns32k_valid_decl_attribute_p): Remove.
(ns32k_valid_type_attribute_p): Make static.
* ns32k/ns32k.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* rs6000/rs6000-protos.h (rs6000_valid_decl_attribute_p,
rs6000_valid_type_attribute_p): Remove.
* rs6000/rs6000.c (rs6000_valid_decl_attribute_p): Remove.
(rs6000_valid_type_attribute_p): Make static.
* rs6000/rs6000.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* sh/sh-protos.h (sh_valid_machine_decl_attribute): Remove.
* sh/sh.c (sh_valid_machine_decl_attribute): Rename, make static.
* sh/sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* v850/v850-protos.h (v850_valid_machine_decl_attribute): Remove.
* v850/v850.c (v850_valid_machine_decl_attribute): Rename, make static.
* v850/v850.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.

From-SVN: r43585

23 years agoglimits.h (USHRT_MAX): Use unsigned suffix if int can not hold it.
Vladimir Makarov [Tue, 26 Jun 2001 16:56:06 +0000 (16:56 +0000)]
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

23 years agoporting-howto.html: Fixed some errors.
Felix Natter [Tue, 26 Jun 2001 16:10:04 +0000 (16:10 +0000)]
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

23 years agodiagnostic.h (struct diagnostic_context): Add new field.
Gabriel Dos Reis [Tue, 26 Jun 2001 14:06:07 +0000 (14:06 +0000)]
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

23 years agoiris5.h (UNALIGNED_INT_ASM_OP, [...]): Define.
Rainer Orth [Tue, 26 Jun 2001 12:12:32 +0000 (12:12 +0000)]
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

23 years ago* src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
Rainer Orth [Tue, 26 Jun 2001 12:04:29 +0000 (12:04 +0000)]
* src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.

From-SVN: r43578

23 years agoi386.md (float_truncate splitter, [...]): Add reload_completted; fix operand predicate.
Jan Hubicka [Tue, 26 Jun 2001 10:47:33 +0000 (12:47 +0200)]
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

23 years agostl_iterator.h (istream_iterator::operator->): Fix return values.
Benjamin Kosnik [Tue, 26 Jun 2001 09:41:53 +0000 (09:41 +0000)]
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

23 years agodiagnostic.h (diagnostic_prefixing_rule_t): New enum type.
Gabriel Dos Reis [Tue, 26 Jun 2001 07:53:50 +0000 (07:53 +0000)]
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

23 years agoDaily bump.
GCC Administrator [Tue, 26 Jun 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43571

23 years agostd_iterator.h: Include sbuf_iter.h via std_ios.h.
Benjamin Kosnik [Tue, 26 Jun 2001 07:01:09 +0000 (07:01 +0000)]
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

23 years agodefaults.h: Default escape sequences to ASCII.
Neil Booth [Tue, 26 Jun 2001 06:36:44 +0000 (06:36 +0000)]
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

23 years agostl_iterator.h (__normal_iterator<>): Qualify dependent names with `typename'.
Gabriel Dos Reis [Tue, 26 Jun 2001 06:36:33 +0000 (06:36 +0000)]
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

23 years agodiagnostic.c (digit_buffer): Remove as global.
Gabriel Dos Reis [Tue, 26 Jun 2001 05:42:06 +0000 (05:42 +0000)]
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

23 years agoencodings.pl: Generate lower-case names.
Tom Tromey [Tue, 26 Jun 2001 04:36:47 +0000 (04:36 +0000)]
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

23 years agoAdd ia64-hpux 128-bit long double support.
Steve Ellcey [Tue, 26 Jun 2001 03:50:48 +0000 (03:50 +0000)]
Add ia64-hpux 128-bit long double support.

From-SVN: r43565

23 years agonatFileDescriptorPosix.cc (open): Change error message formatting.
Tom Tromey [Tue, 26 Jun 2001 03:27:57 +0000 (03:27 +0000)]
natFileDescriptorPosix.cc (open): Change error message formatting.

* java/io/natFileDescriptorPosix.cc (open): Change error message
formatting.  From David Brownell.

From-SVN: r43564

23 years agoMake parallel builds work.
Jim Wilson [Tue, 26 Jun 2001 02:11:06 +0000 (02:11 +0000)]
Make parallel builds work.

* config/i960/t-960bare (i960-c.o): Add missing header dependencies.
* config/i960/t-vxworks960: Likewise.

From-SVN: r43563

23 years agore PR libstdc++/3377 (missing std::__cmath_power<double>(double,unsigned))
Phil Edwards [Mon, 25 Jun 2001 20:57:51 +0000 (20:57 +0000)]
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

23 years ago* libjava.lang/stub.xfail: Removed.
Tom Tromey [Mon, 25 Jun 2001 20:36:16 +0000 (20:36 +0000)]
* libjava.lang/stub.xfail: Removed.

From-SVN: r43558

23 years agoconfigure.in: Recognize sparc*-sun-* host.
Rainer Orth [Mon, 25 Jun 2001 20:04:56 +0000 (20:04 +0000)]
configure.in: Recognize sparc*-sun-* host.

* configure.in: Recognize sparc*-sun-* host.
* configure: Regenerate.

From-SVN: r43557

23 years agoupdate_version: Add command-line argument capability...
Phil Edwards [Mon, 25 Jun 2001 19:26:25 +0000 (19:26 +0000)]
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

23 years agobitmap.c (bitmap_last_bit_set): Fix a non-c89 usage (null actual argument to macro).
Dale Johannesen [Mon, 25 Jun 2001 18:32:24 +0000 (18:32 +0000)]
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

23 years ago* i386.md (movsi_insv_1, movsi_insv_1_rex64): Fix constraints.
Jan Hubicka [Mon, 25 Jun 2001 09:16:37 +0000 (11:16 +0200)]
* i386.md (movsi_insv_1, movsi_insv_1_rex64): Fix constraints.

From-SVN: r43552

23 years agoDaily bump.
GCC Administrator [Mon, 25 Jun 2001 07:16:54 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43551

23 years agojni.exp (gcj_jni_compile_c_to_so): Fix path for jni.h.
Andreas Jaeger [Mon, 25 Jun 2001 04:48:55 +0000 (06:48 +0200)]
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

23 years agoc-tree.texi, [...]: Be more consistent about the use of "GCC" and related terms.
Joseph Myers [Mon, 25 Jun 2001 00:21:28 +0000 (01:21 +0100)]
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

23 years agoextend.texi, [...]: Remove uses of @refill.
Joseph Myers [Sun, 24 Jun 2001 23:04:49 +0000 (00:04 +0100)]
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

23 years ago* (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.
Jan Hubicka [Sun, 24 Jun 2001 19:23:47 +0000 (21:23 +0200)]
* (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.

From-SVN: r43544

23 years agobuiltins.c (expand_builtin_expect_jump): Disable if the expression can't be re-evaluated.
Richard Henderson [Sun, 24 Jun 2001 16:09:29 +0000 (09:09 -0700)]
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

23 years agoFix oinitialisation of frame pointer in interrupt functions.
Nick Clifton [Sun, 24 Jun 2001 09:46:02 +0000 (09:46 +0000)]
Fix oinitialisation of frame pointer in interrupt functions.

Fix compile time warnings

From-SVN: r43540

23 years agoDaily bump.
GCC Administrator [Sun, 24 Jun 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43538

23 years agocrtfastmath.c: New file.
Richard Henderson [Sun, 24 Jun 2001 02:05:06 +0000 (19:05 -0700)]
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

23 years ago* libmath/stubs.c: Fix thinko.
Gabriel Dos Reis [Sat, 23 Jun 2001 23:47:39 +0000 (23:47 +0000)]
* libmath/stubs.c: Fix thinko.

From-SVN: r43536

23 years agoinstall-old.texi: Remove more documentation of configure options.
Joseph Myers [Sat, 23 Jun 2001 23:41:59 +0000 (00:41 +0100)]
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

23 years agostubs.c (sqrtf): Define.
David Edelsohn [Sat, 23 Jun 2001 22:45:52 +0000 (22:45 +0000)]
stubs.c (sqrtf): Define.

2001-06-24  David Edelsohn <dje@watson.ibm.com>

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

From-SVN: r43532

23 years agoi386-protos.h (emit_i387_cw_initialization): Declare.
Jan Hubicka [Sat, 23 Jun 2001 17:41:33 +0000 (19:41 +0200)]
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

23 years agozipfile.h: Use GCC_JCF_H instead of JCF_H.
Jan van Male [Sat, 23 Jun 2001 16:22:20 +0000 (18:22 +0200)]
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

23 years agocppmacro.c (make_string_token): Avoid warning.
Neil Booth [Sat, 23 Jun 2001 11:34:41 +0000 (11:34 +0000)]
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

23 years ago* flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.
Jan Hubicka [Sat, 23 Jun 2001 08:22:52 +0000 (10:22 +0200)]
* flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.

From-SVN: r43527

23 years agoDaily bump.
GCC Administrator [Sat, 23 Jun 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43525

23 years agostl_iterator.h (reverse_iterator): Inherit from iterator.
Benjamin Kosnik [Sat, 23 Jun 2001 00:08:47 +0000 (00:08 +0000)]
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

23 years agoflow.c (mark_set_1, [...]): compute REG_FREQ using bb->frequency.
Jan Hubicka [Fri, 22 Jun 2001 23:27:48 +0000 (01:27 +0200)]
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

23 years agopredict.c (block_info_def): Add nvisited.
Jan Hubicka [Fri, 22 Jun 2001 23:19:22 +0000 (01:19 +0200)]
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

23 years agogcc.texi: Update documentation of source files of C compiler.
Joseph Myers [Fri, 22 Jun 2001 23:10:33 +0000 (00:10 +0100)]
gcc.texi: Update documentation of source files of C compiler.

* doc/gcc.texi: Update documentation of source files of C
compiler.

From-SVN: r43520

23 years agoinvoke.texi (-funsafe-math-optimizations): Document its possible effects at link...
Richard Henderson [Fri, 22 Jun 2001 22:59:44 +0000 (15:59 -0700)]
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

23 years agobasic-block.h (dump_edge_info): Declare.
Diego Novillo [Fri, 22 Jun 2001 22:20:42 +0000 (22:20 +0000)]
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

23 years agopredict.c: (expected_value_to_br_prob): Check for const_true_rtx instead of const1_rt...
Toshiyasu Morita [Fri, 22 Jun 2001 22:08:51 +0000 (22:08 +0000)]
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

23 years agocrtfastmath.c: New file.
David Mosberger [Fri, 22 Jun 2001 21:35:25 +0000 (21:35 +0000)]
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

23 years ago*: Revert comment/license change from yesterday for all except libsupc++/unwind-cxx.h.
Phil Edwards [Fri, 22 Jun 2001 19:53:32 +0000 (19:53 +0000)]
*: 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

23 years agoh8300.c (asm_file_start): Remove reference to "release F-1".
Toshiyasu Morita [Fri, 22 Jun 2001 19:42:03 +0000 (19:42 +0000)]
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

23 years agore PR c/3259 (({ }) and -Wall)
Joseph Myers [Fri, 22 Jun 2001 19:19:03 +0000 (20:19 +0100)]
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

23 years agoarm.h (struct machine_function): Remove ra_rtx.
DJ Delorie [Fri, 22 Jun 2001 17:38:20 +0000 (13:38 -0400)]
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

23 years agopredict.c (estimate_bb_frequencies): Do not handle conditional jumps jumping to fallt...
Jan Hubicka [Fri, 22 Jun 2001 17:23:14 +0000 (19:23 +0200)]
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

23 years agoregs.h (struct reg_info_def): Add freq field.
Jan Hubicka [Fri, 22 Jun 2001 17:18:23 +0000 (19:18 +0200)]
regs.h (struct reg_info_def): Add freq field.

* regs.h (struct reg_info_def): Add freq field.
(REG_N_REFS): Update comment.
(REG_FREQ): New.
* regclass.c (scan_one_insn): Update REG_FREQ.
* flow.c (mark_set_1): Update REG_FREQ, make REG_N_SETS unweighted.
(attempt_auto_inc): Likewise.
(mark_used_reg): Likewise.
(try_pre_increment_1): Likewise.
* local-alloc.c (struct qty): Add freq field.
(alloc_qty): Set freq.
(update_equiv_regs): Set REG_FREQ.
(QTY_CMP_PRI): Use freq.
(combine_regs): Update qty->freq.
* global.c (struct allocno): Update comment for n_refs;
add freq field.
(local_reg_freq): New array.
(global_alloc): Update freq field;
allocate and initialize local_reg_freq.
(allocno_compare): Use freq field.
(find_reg): Likewise.
* reload1.c (count_pseudo): Use freq isntead of n_refs.
(count_spilled_pseudo): Likewise.

* 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: r43505

23 years agooptabs.c (emit_libcall_block): When using non-call exceptions, don't mark libcalls...
Andrew Haley [Fri, 22 Jun 2001 16:42:33 +0000 (16:42 +0000)]
optabs.c (emit_libcall_block): When using non-call exceptions, don't mark libcalls never throwing.

2001-06-14  Andrew Haley  <aph@cambridge.redhat.com>

        * optabs.c (emit_libcall_block): When using non-call exceptions,
        don't mark libcalls never throwing.

From-SVN: r43504

23 years ago* libmath/stubs.c (powf): Fix typo.
Gabriel Dos Reis [Fri, 22 Jun 2001 08:57:02 +0000 (08:57 +0000)]
* libmath/stubs.c (powf): Fix typo.

From-SVN: r43503

23 years ago* libmath/stubs.c (tanhf): Fix typo.
Gabriel Dos Reis [Fri, 22 Jun 2001 07:53:41 +0000 (07:53 +0000)]
* libmath/stubs.c (tanhf): Fix typo.

From-SVN: r43502

23 years agoDaily bump.
GCC Administrator [Fri, 22 Jun 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43501

23 years agostubs.c: New file.
Gabriel Dos Reis [Fri, 22 Jun 2001 03:43:48 +0000 (03:43 +0000)]
stubs.c: New file.

        * libmath/stubs.c: New file.
        * libmath/Makefile.am (libmath_la_SOURCES): Add.
        * libmath/Makefile.in.  Regenerate.

From-SVN: r43499

23 years ago* objc/objc-act.c (hash_init): Use xcalloc.
Stan Shebs [Fri, 22 Jun 2001 02:38:22 +0000 (02:38 +0000)]
* objc/objc-act.c (hash_init): Use xcalloc.

From-SVN: r43498

23 years agoalgo.h: Add "GPL plus runtime exception" comment.
Phil Edwards [Thu, 21 Jun 2001 23:03:00 +0000 (23:03 +0000)]
algo.h: Add "GPL plus runtime exception" comment.

2001-06-21  Phil Edwards  <pme@sources.redhat.com>

* include/backward/algo.h:  Add "GPL plus runtime exception" comment.
* include/backward/algobase.h:  Likewise.
* include/backward/alloc.h:  Likewise.
* include/backward/bvector.h:  Likewise.
* include/backward/defalloc.h:  Likewise.
* include/backward/deque.h:  Likewise.
* include/backward/function.h:  Likewise.
* include/backward/hash_map.h:  Likewise.
* include/backward/hash_set.h:  Likewise.
* include/backward/hashtable.h:  Likewise.
* include/backward/heap.h:  Likewise.
* include/backward/iterator.h:  Likewise.
* include/backward/list.h:  Likewise.
* include/backward/map.h:  Likewise.
* include/backward/multimap.h:  Likewise.
* include/backward/multiset.h:  Likewise.
* include/backward/pair.h:  Likewise.
* include/backward/rope.h:  Likewise.
* include/backward/set.h:  Likewise.
* include/backward/slist.h:  Likewise.
* include/backward/stack.h:  Likewise.
* include/backward/strstream:  Likewise.
* include/backward/tempbuf.h:  Likewise.
* include/backward/tree.h:  Likewise.
* include/backward/vector.h:  Likewise.
* include/bits/pthread_allocimpl.h:  Likewise.
* include/bits/std_algorithm.h:  Likewise.
* include/bits/std_bitset.h:  Likewise.
* include/bits/std_deque.h:  Likewise.
* include/bits/std_functional.h:  Likewise.
* include/bits/std_iterator.h:  Likewise.
* include/bits/std_list.h:  Likewise.
* include/bits/std_map.h:  Likewise.
* include/bits/std_memory.h:  Likewise.
* include/bits/std_numeric.h:  Likewise.
* include/bits/std_queue.h:  Likewise.
* include/bits/std_set.h:  Likewise.
* include/bits/std_stack.h:  Likewise.
* include/bits/std_utility.h:  Likewise.
* include/bits/std_vector.h:  Likewise.
* include/bits/stl_algo.h:  Likewise.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_alloc.h:  Likewise.
* include/bits/stl_bvector.h:  Likewise.
* include/bits/stl_construct.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_function.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator.h:  Likewise.
* include/bits/stl_iterator_base_funcs.h:  Likewise.
* include/bits/stl_iterator_base_types.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* include/bits/stl_pthread_alloc.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_raw_storage_iter.h:  Likewise.
* include/bits/stl_relops.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_tempbuf.h:  Likewise.
* include/bits/stl_threads.h:  Likewise.
* include/bits/stl_tree.h:  Likewise.
* include/bits/stl_uninitialized.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/bits/type_traits.h:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/rope:  Likewise.
* include/ext/ropeimpl.h:  Likewise.
* include/ext/slist:  Likewise.
* include/ext/stl_hash_fun.h:  Likewise.
* include/ext/stl_hashtable.h:  Likewise.
* include/ext/stl_rope.h:  Likewise.
* libsupc++/unwind-cxx.h:  Likewise.
* src/bitset.cc:  Likewise.
* src/strstream.cc:  Likewise.

From-SVN: r43496

23 years agoflow.c (entry_exit_blocks): Initialize frequency.
Richard Henderson [Thu, 21 Jun 2001 21:33:33 +0000 (14:33 -0700)]
flow.c (entry_exit_blocks): Initialize frequency.

        * flow.c (entry_exit_blocks): Initialize frequency.
        (split_block): Copy it.
        (dump_flow_info): Dump it.

From-SVN: r43494

23 years agosh.c (barrier_align): Also recognize branch-around-a-jump-sequence from machine-deped...
J"orn Rennecke [Thu, 21 Jun 2001 21:17:51 +0000 (21:17 +0000)]
sh.c (barrier_align): Also recognize branch-around-a-jump-sequence from machine-depedent_reorg for...

* sh.c (barrier_align): Also recognize branch-around-a-jump-sequence
from machine-depedent_reorg for purposes of alignment supression
when no delay slot insn has been added.

From-SVN: r43493

23 years agore PR preprocessor/3260 (#include __FILE__ broken)
Neil Booth [Thu, 21 Jun 2001 20:56:07 +0000 (20:56 +0000)]
re PR preprocessor/3260 (#include __FILE__ broken)

PR preprocessor/3260
* cppmacro.c (make_string_token): Null terminate.

From-SVN: r43492

23 years agoalpha.h (struct machine_function): Remove.
DJ Delorie [Thu, 21 Jun 2001 20:34:39 +0000 (16:34 -0400)]
alpha.h (struct machine_function): Remove.

* config/alpha/alpha.h (struct machine_function): Remove.
* config/alpha/alpha.c (integrate.h): Include.
(override_options): Don't set up machine_status hooks.
(alpha_init_machine_status): Remove.
(alpha_mark_machine_status): Remove.
(alpha_free_machine_status): Remove.
(alpha_return_addr): Use get_hard_reg_initial_val.
(alpha_gp_save_rtx): Likewise.
(alpha_ra_ever_killed): Use has_hard_reg_initial_val.

From-SVN: r43491

23 years agohandle interrupt_handler correctly
Aldy Hernandez [Thu, 21 Jun 2001 19:37:35 +0000 (19:37 +0000)]
handle interrupt_handler correctly

From-SVN: r43490

23 years agoFix massive typo/thinko in previous ChangeLog entry.
Phil Edwards [Thu, 21 Jun 2001 19:32:19 +0000 (19:32 +0000)]
Fix massive typo/thinko in previous ChangeLog entry.

From-SVN: r43489

23 years agoinstall.texi: Add 'c' to list of --enable-languages choices.
Phil Edwards [Thu, 21 Jun 2001 19:00:08 +0000 (19:00 +0000)]
install.texi: Add 'c' to list of --enable-languages choices.

2001-06-21  Phil Edwards  <pme@sources.redhat.com>

* doc/install.texi:  Add 'c' to list of --enable-languages choices.

Index: doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.31
diff -u -3 -p -r1.31 install.texi
--- install.texi 2001/06/21 15:25:54 1.31
+++ install.texi 2001/06/21 18:59:08
@@ -546,7 +546,7 @@ their runtime libraries should be built.
 @var{langN} you can issue the following command in the
 @file{gcc} directory of your GCC source tree:@* @samp{grep language=
 */config-lang.in}@* Currently, you can use any of the following:
-@code{c++}, @code{f77}, @code{java} and @code{objc}.
+@code{c}, @code{c++}, @code{f77}, @code{java} and @code{objc}.
 @code{CHILL} is not currently maintained, and will almost
 certainly fail to compile.  Note that this switch does not work with
 EGCS 1.1.2 or older versions of egcs.  It is supported in GCC 2.95

From-SVN: r43488

23 years ago* integrate.c (mark_hard_reg_initial_vals): Check for NULL.
DJ Delorie [Thu, 21 Jun 2001 17:55:00 +0000 (13:55 -0400)]
* integrate.c (mark_hard_reg_initial_vals): Check for NULL.

From-SVN: r43487

23 years agointegrate.c (ggc.h): Include.
DJ Delorie [Thu, 21 Jun 2001 16:50:56 +0000 (12:50 -0400)]
integrate.c (ggc.h): Include.

* integrate.c (ggc.h): Include.
(initial_value_pair, initial_value_struct,
setup_initial_hard_reg_value_integration): Add prototypes.
(expand_inline_function): Call
setup_initial_hard_reg_value_integration.
(has_func_hard_reg_initial_val, get_func_hard_reg_initial_val,
get_hard_reg_initial_val, has_hard_reg_initial_val): New functions
to keep track of values present at the start of a function.
(mark_hard_reg_initial_vals): New, for gc.
(setup_initial_hard_reg_value_integration): New.  Sets up pseudo
mappings for initial values.
(emit_initial_value_sets): New.  Emits code to set initial value
pseudos.
* integrate.h: Add prototypes for new functions.
* function.h (struct function): Add hard_reg_initial_vals field.
* function.c (integrate.h): Include.
(mark_function_status): Call
mark_hard_reg_initial_vals.
* toplev.c (integrate.h): Include.
(rest_of_compilation): Call emit_initial_value_sets.

From-SVN: r43486

23 years agocontrib.texi, [...]: Use the correct name "Objective-C" everywhere instead of "Object...
Stan Shebs [Thu, 21 Jun 2001 15:25:56 +0000 (15:25 +0000)]
contrib.texi, [...]: Use the correct name "Objective-C" everywhere instead of "Objective C".

* doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi,
doc/objc.texi, doc/tm.texi: Use the correct name "Objective-C"
everywhere instead of "Objective C".

From-SVN: r43485

23 years agojava-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
Tom Tromey [Thu, 21 Jun 2001 15:17:21 +0000 (15:17 +0000)]
java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.

* include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
From Corey Minyard.

From-SVN: r43484

23 years agoindirect_array.h (indirect_array<>::operator=): Make copy and assignment operator...
Gabriel Dos Reis [Thu, 21 Jun 2001 12:01:09 +0000 (12:01 +0000)]
indirect_array.h (indirect_array<>::operator=): Make copy and assignment operator public.

* include/bits/indirect_array.h (indirect_array<>::operator=):
Make copy and assignment operator public.  Implement.  Format.

* include/bits/valarray_array.h (__valarray_copy): Add overloads
for copy between index arrays.  Format.

From-SVN: r43483

23 years agoDaily bump.
GCC Administrator [Thu, 21 Jun 2001 07:16:54 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43482

23 years agoclass.c (java_hash_tree_node): Fixed indentation in leading comment.
Alexandre Petit-Bianco [Thu, 21 Jun 2001 03:20:04 +0000 (20:20 -0700)]
class.c (java_hash_tree_node): Fixed indentation in leading comment.

2001-06-20  Alexandre Petit-Bianco  <apbianco@redhat.com>

* class.c (java_hash_tree_node): Fixed indentation in leading comment.
* parse.y (do_resolve_class): Moved comments out to leading comment
section. Removed local `start', New local `_ht' and
`circularity_hash.'  Record `enclosing' in hash table and search
it to detect circularity.  Use `enclosing' as an argument to
`lookup_cl.' Free the hash table when done.

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

From-SVN: r43480

23 years agoc-tree.texi, [...]: Consistently use "front end" and "back end" as nouns and "front...
Joseph Myers [Thu, 21 Jun 2001 00:03:48 +0000 (01:03 +0100)]
c-tree.texi, [...]: Consistently use "front end" and "back end" as nouns and "front-end" and...

* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/rtl.texi: Consistently use "front end" and
"back end" as nouns and "front-end" and "back-end" as adjectives.

From-SVN: r43479

23 years ago* predict.c (estimate_probability): Fix loop bounds.
Jan Hubicka [Wed, 20 Jun 2001 19:55:43 +0000 (21:55 +0200)]
* predict.c (estimate_probability): Fix loop bounds.

From-SVN: r43478

23 years agotoplev.c (rest_of_compilation): Run mark_constant_function before profile-arcs.
Jan Hubicka [Wed, 20 Jun 2001 17:12:34 +0000 (19:12 +0200)]
toplev.c (rest_of_compilation): Run mark_constant_function before profile-arcs.

* toplev.c (rest_of_compilation): Run mark_constant_function
before profile-arcs.

From-SVN: r43477

23 years agopredict.c (estimate_loops_at_level, [...]): New functions.
Jan Hubicka [Wed, 20 Jun 2001 17:10:11 +0000 (19:10 +0200)]
predict.c (estimate_loops_at_level, [...]): New functions.

* predict.c (estimate_loops_at_level, propagate_freq
estimate_bb_frequencies, count_to_freqs): New functions.
(estimate_probability): Call estimate_bb_frequencies.
* basic-block.h (basic_block_def): Add field "freq".
(BB_FREQ_MAX): New constant.

From-SVN: r43476

23 years agore PR java/2319 (invalid UTF-8 sequences should be rejected)
Tom Tromey [Wed, 20 Jun 2001 16:21:24 +0000 (16:21 +0000)]
re PR java/2319 (invalid UTF-8 sequences should be rejected)

* lex.c (java_read_char): Disallow invalid and overlong
sequences.  Fixes PR java/2319.

From-SVN: r43475

23 years agosh.c (barrier_align): Don't ask for alignment when seeing a branch-around-a-jump...
J"orn Rennecke [Wed, 20 Jun 2001 16:04:31 +0000 (16:04 +0000)]
sh.c (barrier_align): Don't ask for alignment when seeing a branch-around-a-jump from...

* sh.c (barrier_align): Don't ask for alignment when seeing a
branch-around-a-jump from machine_dependent_reorg.

From-SVN: r43474

23 years agossa.c (rename_block): Update parameter to remove_phi_alternative
Jeffrey A Law [Wed, 20 Jun 2001 14:44:04 +0000 (14:44 +0000)]
ssa.c (rename_block): Update parameter to remove_phi_alternative

        * ssa.c (rename_block): Update parameter to remove_phi_alternative
        (convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when
        re-running life analysis.

From-SVN: r43473

23 years agoobjc-act.c (hash_init): Assume xmalloc always succeeds, also use memset to clear...
Stan Shebs [Wed, 20 Jun 2001 13:51:19 +0000 (13:51 +0000)]
objc-act.c (hash_init): Assume xmalloc always succeeds, also use memset to clear the hash tables.

* objc/objc-act.c (hash_init): Assume xmalloc always succeeds,
also use memset to clear the hash tables.
(hash_enter): Assume xmalloc always succeeds.
(hash_add_attr): Ditto.
(continue_class): Ditto.

From-SVN: r43472

23 years agoFix __builtin_expect on PowerPCs
Michael Meissner [Wed, 20 Jun 2001 07:18:18 +0000 (07:18 +0000)]
Fix __builtin_expect on PowerPCs

From-SVN: r43470