platform/upstream/gcc.git
21 years agoMatcher.java, [...]: Merge with classpath, new files.
Michael Koch [Wed, 18 Sep 2002 10:15:52 +0000 (10:15 +0000)]
Matcher.java, [...]: Merge with classpath, new files.

2002-09-18  Michael Koch  <konqueror@gmx.de>

* java/util/regex/Matcher.java, java/util/regex/Pattern.java,
java/util/regex/PatternSyntaxException.java:
Merge with classpath, new files.
* Makefile.am (core_java_source_files):
Added java/util/regex/Matcher.java,
java/util/regex/Pattern.java,
java/util/regex/PatternSyntaxException.java
* Makefile.in: Regenerated.
* include/config.h.in: Added HAVE_NET_IF_H.
* java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
Removed #if 0 ... #endif.

From-SVN: r57275

21 years agors6000.c (rs6000_emit_move): Handle V1DImode moves.
Nick Clifton [Wed, 18 Sep 2002 07:54:57 +0000 (07:54 +0000)]
rs6000.c (rs6000_emit_move): Handle V1DImode moves.

* config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
* config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
* config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.

From-SVN: r57274

21 years agoDaily bump.
GCC Administrator [Wed, 18 Sep 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57273

21 years agoDaily bump.
GCC Administrator [Wed, 18 Sep 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r57272.3

21 years agoABOUT-GCC-NLS: Remove reference to enquire...
Zack Weinberg [Wed, 18 Sep 2002 05:07:02 +0000 (05:07 +0000)]
ABOUT-GCC-NLS: Remove reference to enquire...

* ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
statement that the only translation is to en_UK.

From-SVN: r57267

21 years agoalpha.c: Follow spelling conventions.
Kazu Hirata [Tue, 17 Sep 2002 23:10:04 +0000 (23:10 +0000)]
alpha.c: Follow spelling conventions.

* config/alpha/alpha.c: Follow spelling conventions.
* config/alpha/alpha.h: Likewise.
* config/alpha/alpha.md: Likewise.
* config/arc/arc.h: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.h: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/pe.c: Likewise.
* config/arm/unknown-elf.h: Likewise.
* config/avr/avr.c: Likewise.
* config/avr/avr.h: Likewise.
* config/c4x/c4x.c: Likewise.
* config/cris/cris.c: Likewise.
* config/cris/cris.h: Likewise.

From-SVN: r57266

21 years agoSam Figueroa's change to add ASM_OUTPUT_ALIGN_WITH_NOP.
Samuel Figueroa [Tue, 17 Sep 2002 21:36:29 +0000 (21:36 +0000)]
Sam Figueroa's change to add ASM_OUTPUT_ALIGN_WITH_NOP.

From-SVN: r57261

21 years agoDo not foward a branch to just after a loop exit before
Dale Johannesen [Tue, 17 Sep 2002 21:25:13 +0000 (21:25 +0000)]
Do not foward a branch to just after a loop exit before
loop optimization; this broke doloop detection.

From-SVN: r57260

21 years agore PR java/7950 (jc1 parses files ending in 0x0d incorrectly)
Tom Tromey [Tue, 17 Sep 2002 20:59:53 +0000 (20:59 +0000)]
re PR java/7950 (jc1 parses files ending in 0x0d incorrectly)

* lex.c (java_read_unicode_collapsing_terminators): Handle case
where \r appears at EOF.  Fixes PR java/7950.

From-SVN: r57258

21 years ago(output_return_instruction): Do not writeback the stack pointer when it is being...
Nick Clifton [Tue, 17 Sep 2002 19:29:12 +0000 (19:29 +0000)]
(output_return_instruction): Do not writeback the stack pointer when it is being loaded.

(output_return_instruction): Do not writeback the stack pointer when it is
being loaded.  (arm_output_epilogue): Likewise.

From-SVN: r57256

21 years agooptabs.c (prepare_cmp_insn): Let emit_library_call_value generate a pseudo reg that...
Kazu Hirata [Tue, 17 Sep 2002 19:02:58 +0000 (19:02 +0000)]
optabs.c (prepare_cmp_insn): Let emit_library_call_value generate a pseudo reg that receives the result of a...

* optabs.c (prepare_cmp_insn): Let emit_library_call_value
generate a pseudo reg that receives the result of a libcall.
(prepare_float_lib_cmp): Likewise.

From-SVN: r57255

21 years ago* update_web_docs (MANUALS): Add fastjar.
Joseph Myers [Tue, 17 Sep 2002 18:14:37 +0000 (19:14 +0100)]
* update_web_docs (MANUALS): Add fastjar.

From-SVN: r57254

21 years ago* config/ia64/elf.h: Remove CPP_PREDEFINES.
Steve Ellcey [Tue, 17 Sep 2002 15:50:08 +0000 (15:50 +0000)]
* config/ia64/elf.h: Remove CPP_PREDEFINES.

From-SVN: r57253

21 years agoNew tests for ObjC typechecking
Nicola Pero [Tue, 17 Sep 2002 14:00:15 +0000 (16:00 +0200)]
New tests for ObjC typechecking

From-SVN: r57251

21 years agoFixed ObjC typechecking, particularly case with protocols
Nicola Pero [Tue, 17 Sep 2002 13:59:30 +0000 (15:59 +0200)]
Fixed ObjC typechecking, particularly case with protocols

From-SVN: r57250

21 years agomachmode.def (V1DImode): New mode.
Nick Clifton [Tue, 17 Sep 2002 13:03:40 +0000 (13:03 +0000)]
machmode.def (V1DImode): New mode.

* machmode.def (V1DImode): New mode.  A single element vector.
* tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
  (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
* tree.c (build_common_tree_nodes_2): Build
  unsigned_V1DI_type_node and V1D1_type_node.
* c-common.c (c_common_type_for_mode): Return
  unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
* rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.

From-SVN: r57248

21 years agoExtended/updated objc documentation on constant string classes
Nicola Pero [Tue, 17 Sep 2002 11:51:40 +0000 (13:51 +0200)]
Extended/updated objc documentation on constant string classes

From-SVN: r57247

21 years agonatNetworkInterface.cc: Removed unneed and yet wrong includes.
Michael Koch [Tue, 17 Sep 2002 10:57:14 +0000 (10:57 +0000)]
natNetworkInterface.cc: Removed unneed and yet wrong includes.

2002-09-17  Michael Koch  <konqueror@gmx.de>

* java/net/natNetworkInterface.cc:
Removed unneed and yet wrong includes.

From-SVN: r57246

21 years agotrans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
Richard Henderson [Tue, 17 Sep 2002 09:30:47 +0000 (02:30 -0700)]
trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.

        * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
        * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
        * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
        (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
        * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
        and real_2expN instead of a loop.
        * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
        (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.

From-SVN: r57245

21 years agoFix typo.
Richard Henderson [Tue, 17 Sep 2002 09:26:05 +0000 (02:26 -0700)]
Fix typo.

From-SVN: r57244

21 years agocfgrtl.c (flow_delete_block_noexpunge): Delete orphaned NOTE_INSN_LOOP_CONT notes...
Roger Sayle [Tue, 17 Sep 2002 09:03:57 +0000 (09:03 +0000)]
cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned NOTE_INSN_LOOP_CONT notes when deleting basic blocks.

* cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
NOTE_INSN_LOOP_CONT notes when deleting basic blocks.

From-SVN: r57243

21 years agoAdd expected error
Nathan Sidwell [Tue, 17 Sep 2002 08:36:04 +0000 (08:36 +0000)]
Add expected error

From-SVN: r57242

21 years agoDaily bump.
GCC Administrator [Tue, 17 Sep 2002 07:17:45 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57241

21 years agoMakefile.am (CFILES): Add cxxfilt.c.
Zack Weinberg [Tue, 17 Sep 2002 07:09:50 +0000 (07:09 +0000)]
Makefile.am (CFILES): Add cxxfilt.c.

binutils:
* Makefile.am (CFILES): Add cxxfilt.c.
(cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
(cxxfilt_LDADD): Delete.
Remove all references to underscore.c.
Regen dependencies.
* configure.in: Define TARGET_PREPENDS_UNDERSCORE in
config.h from $UNDERSCORE, rather than AC_SUBSTing it.
* binutils/cxxfilt.c: Moved here from gcc/cp, minor
adjustments to fit into binutils framework.
* configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.

gcc/cp:
* Make-lang.in: Remove all references to the demangler.
* cxxfilt.c: Moved to binutils.

From-SVN: r57235

21 years agoNetworkInterface.java: New file.
Michael Koch [Tue, 17 Sep 2002 06:58:40 +0000 (06:58 +0000)]
NetworkInterface.java: New file.

2002-09-17  Michael Koch  <konqueror@gmx.de>

* java/net/NetworkInterface.java: New file.
* java/net/natNetworkInterface.java: New file.
* configure.in: Added check for net/if.h.
* configure: Regenerated.
* Makefile.am
(ordinary_java_source_files): Added NetworkInterface.java.
(nat_source_files): Added natNetworkInterface.cc.
* Makefile.in: Regenerated.

From-SVN: r57234

21 years agoexpr.c (emit_block_move): Set memory block size as appropriate for the copy.
Richard Henderson [Tue, 17 Sep 2002 06:56:47 +0000 (23:56 -0700)]
expr.c (emit_block_move): Set memory block size as appropriate for the copy.

        * expr.c (emit_block_move): Set memory block size as appropriate
        for the copy.

From-SVN: r57233

21 years agore PR fortran/3924 (g77 generates code which is rejected by GAS if COFF debugging...
Richard Henderson [Tue, 17 Sep 2002 06:05:53 +0000 (23:05 -0700)]
re PR fortran/3924 (g77 generates code which is rejected by GAS if COFF debugging info is requested)

        PR fortran/3924
        * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.

From-SVN: r57232

21 years agoc_shadow: Remove.
Benjamin Kosnik [Tue, 17 Sep 2002 05:50:44 +0000 (05:50 +0000)]
c_shadow: Remove.

2002-09-16  Benjamin Kosnik  <bkoz@redhat.com>

        * include/c_shadow: Remove.
        * include/bits/generic_shadow.h: Remove.
        * include/Makefile.am: Remove generic_shadow.h.
        * acinclude.m4: Remove c_shadow references.
        * aclocal.m4: Regenerate.
        * configure: Regenerate.
        * mkcshadow: Remove.
        * mkinclosure: Remove.

From-SVN: r57231

21 years ago* gcc.c-torture/execute/strct-stdarg-1.x: Remove file.
John David Anglin [Tue, 17 Sep 2002 04:17:56 +0000 (04:17 +0000)]
* gcc.c-torture/execute/strct-stdarg-1.x: Remove file.

From-SVN: r57229

21 years agoemit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE as well as OFFSET for BITPOS.
Richard Henderson [Tue, 17 Sep 2002 04:15:12 +0000 (21:15 -0700)]
emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE as well as OFFSET for BITPOS.

        * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
        as well as OFFSET for BITPOS.

From-SVN: r57228

21 years agoconfig.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
Jeff Garzik [Tue, 17 Sep 2002 03:35:34 +0000 (03:35 +0000)]
config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.

        * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
        * config/i386/i386.c (processor_alias_table): Add winchip-c6,
        winchip2 and c3.
        * doc/invoke.texi: Mention new aliases.

From-SVN: r57227

21 years agocalls.c (store_one_arg): Set default alignment for BLKmode arguments to BITS_PER_UNIT...
John David Anglin [Tue, 17 Sep 2002 03:30:37 +0000 (03:30 +0000)]
calls.c (store_one_arg): Set default alignment for BLKmode arguments to BITS_PER_UNIT when...

* calls.c (store_one_arg): Set default alignment for BLKmode arguments
to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
downward.
* function.c (pad_below):  Always compile.
(locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
Pad below when the argument is not in a register and the padding
direction is downward.
* pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
(PAD_VARARGS_DOWN): Define.
* pa.c (function_arg_padding): Revise padding directions to make them
compatible with the 32 and 64-bit runtime architecture documentation.
(hppa_va_arg):  Add code to handle variable and size zero arguments
passed by reference on TARGET_64BIT.  Reformat.
(function_arg): Use a PARALLEL for BLKmode and aggregates args on
TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
Add comments.
* pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
(RETURN_IN_MEMORY): Return size zero types in memory.
(FUNCTION_VALUE): Return TFmode in general registers.
(MUST_PASS_IN_STACK): Define.
(FUNCTION_ARG_BOUNDARY): Simplify.
(FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
by reference.
(FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.

From-SVN: r57226

21 years agoreal.c (do_fix_trunc): New.
Richard Henderson [Tue, 17 Sep 2002 02:02:08 +0000 (19:02 -0700)]
real.c (do_fix_trunc): New.

        * real.c (do_fix_trunc): New.
        (real_arithmetic): Call it.
        * simplify-rtx.c (simplify_unary_operation): Handle FIX
        with a floating-point result mode.

From-SVN: r57223

21 years agostl_rope.h (rope<>): Qualify dependent names with `typename'.
Loren J. Rittle [Tue, 17 Sep 2002 01:56:06 +0000 (01:56 +0000)]
stl_rope.h (rope<>): Qualify dependent names with `typename'.

libstdc++/7922
* include/ext/stl_rope.h (rope<>): Qualify dependent names
with `typename'.

From-SVN: r57222

21 years agobuiltin-types.def (BT_FN_FLOAT_CONST_STRING): New.
Richard Henderson [Tue, 17 Sep 2002 01:28:50 +0000 (18:28 -0700)]
builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.

gcc/
        * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
        (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
        * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
        (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
        * builtins.c (fold_builtin_nan): New.
        (fold_builtin): Call it.
        * real.c (real_nan): Parse a non-empty string.
        (round_for_format): Fix NaN significand truncation.
        * real.h (real_nan): Return bool.
        * doc/extend.texi: Document new builtins.

libstdc++/
        * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
        __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
        __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
        __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
        __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
        __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
        __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
        __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
        __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
        __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
        __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
        __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
        __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
        __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
        __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
        __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
        __glibcpp_long_double_has_SNaN): Remove.
        (__glibcpp_f128_is_iec559): True if IEEE.
        (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
        (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
        (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
        (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
        (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
        (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
        (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
        (std::numeric_limits<double>): Similarly.
        (std::numeric_limits<long double>): Similarly.
        * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
        (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
        (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.

        * testsuite/18_support/numeric_limits.cc (test_infinity): New.
        (test_denorm_min, test_qnan, test_is_iec559): New.

From-SVN: r57221

21 years agowinnt.c (ix86_handle_dll_attribute): Set DECL_EXTERN and TREE_PUBLIC for dllimported...
Jason Merrill [Mon, 16 Sep 2002 22:17:31 +0000 (18:17 -0400)]
winnt.c (ix86_handle_dll_attribute): Set DECL_EXTERN and TREE_PUBLIC for dllimported variables here...

* config/i386/winnt.c (ix86_handle_dll_attribute): Set
DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
(i386_pe_mark_dllimport): Not here.

Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net>
From-SVN: r57215

21 years agoURLClassLoader.java (findClass): Code source for a class from a jar is not necessaril...
Tom Tromey [Mon, 16 Sep 2002 21:40:40 +0000 (21:40 +0000)]
URLClassLoader.java (findClass): Code source for a class from a jar is not necessarily a jar: URL.

* java/net/URLClassLoader.java (findClass): Code source for a
class from a jar is not necessarily a jar: URL.

From-SVN: r57214

21 years agore PR c++/7640 (g++ 3.3 ICE: SEGV in integer_zerop)
Nathan Sidwell [Mon, 16 Sep 2002 20:13:07 +0000 (20:13 +0000)]
re PR c++/7640 (g++ 3.3 ICE: SEGV in integer_zerop)

.: PR c++/7640
* c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
testsuite:
* g++.dg/other/do1.C: New test.

From-SVN: r57212

21 years agore PR c++/7718 ('complex' template instantiation causes internal compiler error ...
Nathan Sidwell [Mon, 16 Sep 2002 19:57:33 +0000 (19:57 +0000)]
re PR c++/7718 ('complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2))

cp:
PR c++/7718
* pt.c (tsubst_decl): Remove assert.
testsuite:
* g++.dg/template/subst1.C: New test.

From-SVN: r57211

21 years agors6000.c (build_mask64_2_operands): Suppress warnings about unused operands when...
Geoffrey Keating [Mon, 16 Sep 2002 19:48:19 +0000 (19:48 +0000)]
rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when HOST_BITS_PER_WIDE_INT is < 64.

* config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
warnings about unused operands when HOST_BITS_PER_WIDE_INT is
< 64.
(rs6000_emit_cmove): Use real_isinf not target_isinf.

From-SVN: r57210

21 years agoRemove DR 295 implementation.
Nathan Sidwell [Mon, 16 Sep 2002 19:09:05 +0000 (19:09 +0000)]
Remove DR 295 implementation.

cp:
Remove DR 295 implementation.
* pt.c (check_cv_quals_for_unify): Disable function & method cases.
* tree.c (cp_build_qualified_type_real): Likewise. Don't warn
about ignoring volatile qualifiers.

* search.c (lookup_member): Correct documentation.
testsuite:
* g++.dg/template/qualttp20.C: Adjust expected errors.
* g++.old-deja/g++.jason/report.C: Likewise.
* g++.old-deja/g++.other/qual1.C: Likewise.

From-SVN: r57209

21 years agoabi_check.cc: Pull shell fragments out into...
Phil Edwards [Mon, 16 Sep 2002 18:58:48 +0000 (18:58 +0000)]
abi_check.cc: Pull shell fragments out into...

2002-09-16  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/abi_check.cc:  Pull shell fragments out into...
* config/abi/extract_symvers:  ...here.  New file.
* Makefile.am (check_abi):  Change to match.
(new-abi-baseline):  New target.
* Makefile.in:  Regenerated.

From-SVN: r57208

21 years agocalls.c (emit_library_call_value_1): Don't refer to hard_libcall_value.
Kazu Hirata [Mon, 16 Sep 2002 18:47:59 +0000 (18:47 +0000)]
calls.c (emit_library_call_value_1): Don't refer to hard_libcall_value.

* calls.c (emit_library_call_value_1): Don't refer to
hard_libcall_value.
* optabs.c (prepare_float_lib_cmp): Likewise.

From-SVN: r57207

21 years agoIndex: gcc/ChangeLog
Geoffrey Keating [Mon, 16 Sep 2002 18:33:23 +0000 (18:33 +0000)]
Index: gcc/ChangeLog
2002-09-12  Geoffrey Keating  <geoffk@apple.com>

* ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
mangling.

The following changes are merged from pch-branch:

* doc/gty.texi (GTY Options): Document %a.
* gengtype.c (do_scalar_typedef): New function.
(process_gc_options): Handle `length' option.
(set_gc_used_type): A pointer to an array of structures doesn't
qualify as a pointer to a structure.
(output_escaped_param): Add `%a' escape.
(write_gc_structure_fields): Allow 'desc' on array of unions.
(main): Define `uint8', `jword' and `JCF_u2' as scalars; use
do_scalar_typedef.

* gengtype.c (enum rtx_code): Make global.
(rtx_format): Make global.
(rtx_next): New.
(gen_rtx_next): New.
(write_rtx_next): New.
(adjust_field_rtx_def): Skip fields marked by chain_next.
(open_base_files): Delete redundant prototype.
(write_enum_defn): New.
(output_mangled_typename): Correct abort call.
(write_gc_marker_routine_for_structure): Handle chain_next and
chain_prev options.
(finish_root_table): Don't output redundant \n.
(main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
* c-tree.h (union lang_tree_node): Add chain_next option.

* gengtype.h (NUM_PARAM): New definition.
(struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
* gengtype.c (find_param_structure): New.
(adjust_field_type): Handle param<n>_is option.
(process_gc_options): Detect use_params option.  Update callers.
(set_gc_used_type): Add 'param' parameter, update callers.  Handle
'use_params' option.
(open_base_files): Add splay-tree.h to list of files included.
(output_mangled_typename): New.
(write_gc_structure_fields): Update 'param' parameter to support
multiple parameters.  Change name mangling.  Allow parameterized
fields to have an apparent scalar type.  Handle param<n>_is options,
use_param option.
(write_gc_marker_routine_for_structure): Update for change to name
mangling.  Better guess the output file for parameterized types.
(write_gc_types): Update for change to name mangling.
(write_gc_root): Update for change to name mangling.  Handle (ignore)
param<n>_is options.
* doc/gty.texi (GTY Options): Add description of param<n>_is
options, use_params option.
* ggc.h (ggc_mark_rtx): Update for changed name mangling.
* gengtype-lex.l: Produce token for param<n>_is.
* gengtype-yacc.y: Parse param<n>_is.

* gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.

* rtl.c: Update comment describing rtx_format.
* rtl.h (union rtunion): Separate definition and typedef.
(struct rtx_def): Use gengtype to mark.
* Makefile.in (gengtype.o): Also depend on rtl.def.
* ggc.h (ggc_mark_rtx_children): Delete prototype.
(ggc_mark_rtx): Change to alias of gengtype-generated routine.
* ggc-common.c (ggc_mark_rtx_children): Delete.
(ggc_mark_rtx_children_1): Delete.
(gt_ggc_m_rtx_def): Delete.
* gengtype.c (adjust_field_rtx_def): New.
(adjust_field_type): Call adjust_field_rtx_def.
(write_gc_structure_fields): Add 'default' case to switch if none
is specified; remove unused code.

* tree.h (struct tree_exp): Update for change to meaning
of special.
* gengtype.c (adjust_field_tree_exp): New function.
(adjust_field_type): Handle `tree_exp' special here.
(write_gc_structure_fields): Don't handle `tree_exp' special here.
Handle new `dot' option.

* gengtype.h: Make `info' a pointer-to-const.
* gengtype-yacc.y (yacc_ids): Use xasprintf.

* gengtype.c (write_gc_structure_fields): Remove implementation
of `always' option, add `default' option.
* doc/gty.texi (GTY Options): Remove documentation of `always',
add `default'.

Index: gcc/cp/ChangeLog
2002-09-12  Geoffrey Keating  <geoffk@apple.com>

* cp-tree.h (union lang_tree_node): Add chain_next option.

Index: gcc/f/ChangeLog
2002-09-12  Geoffrey Keating  <geoffk@apple.com>

* com.c (union lang_tree_node): Add chain_next option.

Index: gcc/java/ChangeLog
2002-09-12  Geoffrey Keating  <geoffk@apple.com>

* java-tree.h (union lang_tree_node): Add chain_next option.

From-SVN: r57206

21 years ago* output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
Hans-Peter Nilsson [Mon, 16 Sep 2002 18:12:36 +0000 (18:12 +0000)]
* output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.

From-SVN: r57205

21 years ago* m68hc11.md (addhi_sp): Fix uninitialized variable bug.
Kaveh R. Ghazi [Mon, 16 Sep 2002 17:24:41 +0000 (17:24 +0000)]
* m68hc11.md (addhi_sp): Fix uninitialized variable bug.

From-SVN: r57202

21 years agoc4x-c.c, [...]: Include tm_p.h instead of the *-protos.h file directly.
Kaveh R. Ghazi [Mon, 16 Sep 2002 17:22:14 +0000 (17:22 +0000)]
c4x-c.c, [...]: Include tm_p.h instead of the *-protos.h file directly.

* c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
instead of the *-protos.h file directly.
* t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
* darwin.c (machopic_output_stub): Move prototype ...
* darwin-protos.h (machopic_output_stub): ... here.
* rs6000-protos.h (machopic_output_stub): Don't declare.

From-SVN: r57201

21 years agoc-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
Richard Henderson [Mon, 16 Sep 2002 16:58:42 +0000 (09:58 -0700)]
c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.

gcc/
        * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.

libstdc++/
        * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
        __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
        __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
        __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
        __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
        __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
        __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
        __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
        __glibcpp_long_double_has_denorm): Remove.
        (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
        __glibcpp_long_double_denorm_min): Remove.
        (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
        (std::numeric_limits<float>::denorm_min): Likewise.
        (std::numeric_limits<double>): Similarly.
        (std::numeric_limits<long double>): Similarly.
        * src/limits.cc (__glibcpp_float_denorm_min,
        __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.

From-SVN: r57200

21 years agonatPlainSocketImpl.cc: fixed typo.
Adam Megacz [Mon, 16 Sep 2002 16:42:40 +0000 (16:42 +0000)]
natPlainSocketImpl.cc: fixed typo.

2002-09-15  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: fixed typo.

From-SVN: r57199

21 years agoreal.c, real.h: Rewrite from scratch.
Richard Henderson [Mon, 16 Sep 2002 16:36:39 +0000 (09:36 -0700)]
real.c, real.h: Rewrite from scratch.

gcc/
* real.c, real.h: Rewrite from scratch.

* Makefile.in (simplify-rtx.o): Depend on TREE_H.
(paranoia): New target.
* builtins.c (fold_builtin_inf): Use new real.h interface.
* c-common.c (builtin_define_with_hex_fp_value): Likewise.
* c-lex.c (interpret_float): Likewise.
* emit-rtl.c (gen_lowpart_common): Likewise.
* optabs.c (expand_float): Use real_2expN.
* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
(FLOAT_WORDS_BIG_ENDIAN): New.
* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
directly to REAL_VALUE_NEGATIVE.
* loop.c (canonicalize_condition): Likewise.
* simplify-rtx.c: Include tree.h.
(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
with floating-point result modes.
* toplev.c (backend_init): Call init_real_once.

* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
* tree.c (build_real): Likewise.
* config/alpha/alpha.c, config/vax/vax.c (float_strings,
float_values, inited_float_values, check_float_value): Remove.
* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.

gcc/f/
* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
directly to ffetarget_make_real1.
(ffetarget_real2): Similarly.
* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.

gcc/java/
* jcf-parse.c (get_constant): Runtime check for IEEE format;
use new real.h interface.
* jcf-write.c (find_constant_index): Use new real.h interface.
* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.

contrib/
* paranoia.cc: New file.

From-SVN: r57198

21 years ago* gcc.dg/20020312-2.c: Change __parisc__ to __hppa__.
Steve Ellcey [Mon, 16 Sep 2002 16:25:22 +0000 (16:25 +0000)]
* gcc.dg/20020312-2.c: Change __parisc__ to __hppa__.

From-SVN: r57196

21 years agoparse.y (parse_finish_call_expr): Check lookup_member result.
Nathan Sidwell [Mon, 16 Sep 2002 15:15:36 +0000 (15:15 +0000)]
parse.y (parse_finish_call_expr): Check lookup_member result.

cp:
* parse.y (parse_finish_call_expr): Check lookup_member result.
testsuite:
* g++.dg/lookup/scoped2.C: New test.

From-SVN: r57195

21 years agore PR c++/7015 (certain __asm__ constructs rejected)
Nathan Sidwell [Mon, 16 Sep 2002 14:34:02 +0000 (14:34 +0000)]
re PR c++/7015 (certain __asm__ constructs rejected)

cp:
2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>

PR c++/7015
* semantic.c (finish_asm_stmt): Fix operand/output_operands
thinko.
* typeck.c (c_expand_asm_operands): Protect from error_mark_node.
testsuite
* g++.dg/ext/asm3.C: New test.

From-SVN: r57192

21 years agos390.c: (legitimize_la_operand): Remove, replace by ...
Ulrich Weigand [Mon, 16 Sep 2002 14:13:12 +0000 (14:13 +0000)]
s390.c: (legitimize_la_operand): Remove, replace by ...

* config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
(s390_load_address): ... this new function.
(s390_decompose_address): Allow the argument pointer and all
virtual registers as 'pointer' registers.
(s390_expand_plus_operand): Use s390_load_address.
config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
("force_la_31"): New insn pattern.
config/s390/s390-protos.h (legitimize_la_operand): Remove.
(s390_load_address): Add prototype.

* config/s390/s390.c: Include "optabs.h".
(s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
s390_expand_cmpstr): Add prototypes.
config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
for operands 0 and 1 to "memory_operand".  Add type attribute.
("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
for operands 0 and 1 to "memory_operand".  Add type attribute.
("movstrdi_long", "movstrsi_long"): Remove.
("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
("clrstrsico"): Remove, replace by ...
("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
("clrstrsi_64"): Rename to "clrstr_long_64".
("clrstrsi_31"): Rename to "clrstr_long_31".
("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
("cmpstr_const"): Remove, replace by ...
("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
("cmpstr_64"): Rename to "cmpstr_long_64".
("cmpstr_31"): Rename to "cmpstr_long_31".

From-SVN: r57191

21 years ago* objc.dg/bitfield-2.m (dg-options): Add -fsigned-char.
Richard Earnshaw [Mon, 16 Sep 2002 13:38:53 +0000 (13:38 +0000)]
* objc.dg/bitfield-2.m (dg-options): Add -fsigned-char.

From-SVN: r57190

21 years agoChangeLog: follow spelling conventions.
Kazu Hirata [Mon, 16 Sep 2002 13:29:51 +0000 (13:29 +0000)]
ChangeLog: follow spelling conventions.

* ChangeLog: follow spelling conventions.
* g++.old-deja/g++.abi/ptrmem.C: Likewise.
* g++.old-deja/g++.bugs/900210_05.C: Likewise.
* g++.old-deja/g++.bugs/900211_04.C: Likewise.
* g++.old-deja/g++.bugs/900321_02.C: Likewise.
* g++.old-deja/g++.bugs/900404_02.C: Likewise.
* g++.old-deja/g++.bugs/900520_06.C: Likewise.
* g++.old-deja/g++.law/global-init1.C: Likewise.
* g++.old-deja/g++.other/delete4.C: Likewise.
* g++.old-deja/g++.other/inline21.C: Likewise.
* g++.old-deja/g++.other/singleton.C: Likewise.
* g77.dg/strlen0.f: Likewise.
* g77.f-torture/compile/20010519-1.f: Likewise.
* g77.f-torture/compile/980310-4.f: Likewise.
* gcc.c-torture/compile/20000605-1.c: Likewise.
* gcc.c-torture/execute/20020225-1.c: Likewise.
* gcc.dg/c90-hexfloat-2.c: Likewise.
* gcc.dg/c99-bool-1.c: Likewise.
* gcc.dg/c99-hexfloat-2.c: Likewise.
* gcc.dg/dll-2.c: Likewise.
* gcc.dg/wtr-union-init-1.c: Likewise.
* gcc.dg/wtr-union-init-2.c: Likewise.
* gcc.dg/wtr-union-init-3.c: Likewise.
* gcc.dg/cpp/avoidpaste1.c: Likewise.
* gcc.dg/cpp/defined.c: Likewise.
* gcc.dg/cpp/macsyntx.c: Likewise.
* gcc.dg/cpp/paste2.c: Likewise.
* gcc.dg/cpp/trad/defined.c: Likewise.
* gcc.dg/format/c90-printf-1.c: Likewise.
* gcc.dg/format/c90-scanf-1.c: Likewise.
* gcc.dg/format/c99-printf-1.c: Likewise.
* gcc.dg/format/c99-scanf-1.c: Likewise.
* gcc.misc-tests/gcov-8.c: Likewise.
* lib/profopt.exp: Likewise.

From-SVN: r57189

21 years agoABOUT-NLS: Follow spelling conventions.
Kazu Hirata [Mon, 16 Sep 2002 11:42:00 +0000 (11:42 +0000)]
ABOUT-NLS: Follow spelling conventions.

* ABOUT-NLS: Follow spelling conventions.
* ChangeLog: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* FSFChangeLog.11: Likewise.
* c-common.c: Likewise.
* c-lex.c: Likewise.
* c-objc-common.c: Likewise.
* cppexp.c: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* doloop.c: Likewise.
* flow.c: Likewise.
* function.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* reg-stack.c: Likewise.
* reload.h: Likewise.
* ssa.c: Likewise.

From-SVN: r57188

21 years agoAssertionError.java: Merge with classpath, fixes HTML.
Michael Koch [Mon, 16 Sep 2002 09:46:37 +0000 (09:46 +0000)]
AssertionError.java: Merge with classpath, fixes HTML.

2002-09-16  Michael Koch  <konqueror@gmx.de>

* java/lang/AssertionError.java:
Merge with classpath, fixes HTML.
* java/rmi/server/LogStream.java:
Merge with classpath, fixes some constants.
* java/net/server/RemoteServer.java:
Merge with classpath, adds serialVersionUID.
* javax/naming/BinaryRefAddr.java:
Merge with classpath, s/equal/equals/.
* javax/naming/NamingException.java:
Merge with classpath, fixed typo.
* javax/naming/RefAddr.java:
Merge with classpath, s/equal/equals/.
* java/awt/Toolkit.java:
s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
and typo fixed.

From-SVN: r57187

21 years agoDaily bump.
GCC Administrator [Mon, 16 Sep 2002 07:17:41 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57186

21 years agonatPlainSocketImpl.cc: #ifdef-shielded socket timeouts, which don't work on Win32...
Adam Megacz [Mon, 16 Sep 2002 01:44:02 +0000 (01:44 +0000)]
natPlainSocketImpl.cc: #ifdef-shielded socket timeouts, which don't work on Win32 (yet).

2002-09-15  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
        which don't work on Win32 (yet).

From-SVN: r57180

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 22:48:06 +0000 (22:48 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.6: Likewise.
* config.gcc: Likewise.
* dwarfout.c: Likewise.
* reload1.c: Likewise.
* simplify-rtx.c: Likewise.
* unwind-sjlj.c: Likewise.
* config/avr/avr.h: Likewise.
* config/d30v/d30v.h: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/m88k/m88k-move.sh: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.
* doc/extend.texi: Likewise.
* doc/interface.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/tm.texi: Likewise.
* doc/trouble.texi: Likewise.
* ginclude/float.h: Likewise.
* treelang/treelang.texi: Likewise.

From-SVN: r57179

21 years ago* intdoc.texi: Regenerate.
Kazu Hirata [Sun, 15 Sep 2002 21:59:33 +0000 (21:59 +0000)]
* intdoc.texi: Regenerate.

From-SVN: r57178

21 years agos/Fix/Follow/
Kazu Hirata [Sun, 15 Sep 2002 21:53:35 +0000 (21:53 +0000)]
s/Fix/Follow/

From-SVN: r57177

21 years agoi386-protos.h (i386_pe_dllexport_name_p, [...]): Add prototype.
Kaveh R. Ghazi [Sun, 15 Sep 2002 21:47:42 +0000 (21:47 +0000)]
i386-protos.h (i386_pe_dllexport_name_p, [...]): Add prototype.

* i386-protos.h (i386_pe_dllexport_name_p,
i386_pe_dllimport_name_p, i386_pe_unique_section,
i386_pe_declare_function_type, i386_pe_record_external_function,
i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
prototype.
* i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
* i386/t-interix (winnt.o): Likewise.

From-SVN: r57176

21 years ago* lang.c: Fix spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 21:46:12 +0000 (21:46 +0000)]
* lang.c: Fix spelling conventions.

From-SVN: r57175

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 21:40:40 +0000 (21:40 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* intdoc.in: Likewise.

From-SVN: r57174

21 years ago* v850-protos.h (v850_output_addr_const_extra): Prototype.
Kaveh R. Ghazi [Sun, 15 Sep 2002 20:44:01 +0000 (20:44 +0000)]
* v850-protos.h (v850_output_addr_const_extra): Prototype.

From-SVN: r57173

21 years agonetbsd.h (TARGET_OS_CPP_BUILTINS): Add MIPS ABI CPP macros.
Jason Thorpe [Sun, 15 Sep 2002 19:15:28 +0000 (19:15 +0000)]
netbsd.h (TARGET_OS_CPP_BUILTINS): Add MIPS ABI CPP macros.

* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
MIPS ABI CPP macros.
(TARGET_CPU_CPP_BUILTINS): Redefine.
(SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
(SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.

From-SVN: r57171

21 years ago* ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
Kaveh R. Ghazi [Sun, 15 Sep 2002 19:10:12 +0000 (19:10 +0000)]
* ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.

From-SVN: r57170

21 years ago2002-09-15 Krister Walfridsson <cato@df.lth.se>
Krister Walfridsson [Sun, 15 Sep 2002 18:54:43 +0000 (20:54 +0200)]
2002-09-15  Krister Walfridsson  <cato@df.lth.se>

* lib/old-dejagnu.exp (old-dejagnu) Improve test for ICE.

From-SVN: r57169

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 18:24:08 +0000 (18:24 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* FSFChangeLog.11: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-format.c: Likewise.
* c-opts.c: Likewise.
* cpplib.c: Likewise.
* langhooks.h: Likewise.
* real.c: Likewise.
* reg-stack.c: Likewise.
* toplev.c: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/linux-gas.h: Likewise.
* config/arm/netbsd.h: Likewise.
* config/c4x/c4x.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/c4x/libgcc.S: Likewise.
* config/fr30/fr30.md: Likewise.
* config/frv/frv.md: Likewise.
* config/ia64/ia64.md: Likewise.
* config/mips/mips.h: Likewise.
* config/mn10300/mn10300.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/v850/v850.md: Likewise.
* doc/extend.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.

From-SVN: r57166

21 years agore PR c++/7919 (using declarations screw this pointer)
Nathan Sidwell [Sun, 15 Sep 2002 18:16:11 +0000 (18:16 +0000)]
re PR c++/7919 (using declarations screw this pointer)

cp:
PR c++/7919
* call.c (build_over_call): Convert this pointer for fns found by
using decls.
testsuite:
* g++.dg/inherit/using2.C: New test.

From-SVN: r57165

21 years agonetbsd.h (LIB_SPEC): Include the appropriate pthread library if -pthread is specified.
Jason Thorpe [Sun, 15 Sep 2002 18:14:18 +0000 (18:14 +0000)]
netbsd.h (LIB_SPEC): Include the appropriate pthread library if -pthread is specified.

* config/netbsd.h (LIB_SPEC): Include the appropriate pthread
library if -pthread is specified.

From-SVN: r57164

21 years agoconfig.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and...
Jason Thorpe [Sun, 15 Sep 2002 18:07:13 +0000 (18:07 +0000)]
config.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and --enable-threads=posix.

* config.gcc (*-*-netbsd*): Set thread_file to 'posix'
for --enable-threads=yes and --enable-threads=posix.

From-SVN: r57163

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 17:55:36 +0000 (17:55 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.1: Likewise.

From-SVN: r57162

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 17:51:50 +0000 (17:51 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* g++.dg/template/friend4.C: Likewise.
* g++.old-deja/g++.pt/crash67.C: Likewise.
* gcc.c-torture/execute/20000801-4.c: Likewise.
* gcc.dg/c90-digraph-1.c: Likewise.
* gcc.dg/c94-digraph-1.c: Likewise.
* gcc.dg/c99-digraph-1.c: Likewise.
* gcc.dg/cpp/line5.c: Likewise.
* gcc.dg/cpp/multiline.c: Likewise.
* gcc.dg/cpp/trad/literals-1.c: Likewise.
* gcc.dg/format/attr-3.c: Likewise.
* gcc.dg/format/c90-scanf-3.c: Likewise.
* gcc.dg/format/ext-4.c: Likewise.

From-SVN: r57161

21 years agocypress.md: Replace Sparc with SPARC.
Kazu Hirata [Sun, 15 Sep 2002 12:03:42 +0000 (12:03 +0000)]
cypress.md: Replace Sparc with SPARC.

* config/sparc/cypress.md: Replace Sparc with SPARC.
* config/sparc/freebsd.h: Likewise.
* config/sparc/gmon-sol2.c: Likewise.
* config/sparc/hypersparc.md: Likewise.
* config/sparc/lb1spc.asm: Likewise.
* config/sparc/lb1spl.asm: Likewise.
* config/sparc/linux.h: Likewise.
* config/sparc/linux64.h: Likewise.
* config/sparc/lynx.h: Likewise.
* config/sparc/sol2.h: Likewise.
* config/sparc/sparc-modes.def: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/sparc.h: Likewise.
* config/sparc/sparc.md: Likewise.
* config/sparc/sparclet.md: Likewise.
* config/sparc/supersparc.md: Likewise.
* config/sparc/sysv4.h: Likewise.
* config/sparc/vxsim.h: Likewise.
* config/sparc/vxsparc64.h: Likewise.

From-SVN: r57160

21 years agoDaily bump.
GCC Administrator [Sun, 15 Sep 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57159

21 years agore PR c++/7768 (__PRETTY_FUNCTION__ for template destructor is wrong)
Nathan Sidwell [Sat, 14 Sep 2002 23:19:48 +0000 (23:19 +0000)]
re PR c++/7768 (__PRETTY_FUNCTION__ for template destructor is wrong)

cp:
PR c++/7768
* pt.c (build_template_decl): Copy DECL_DESTRUCTOR_P.
testsuite:
* g++.dg/template/pretty1.C: New test

From-SVN: r57152

21 years agonatPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken...
Adam Megacz [Sat, 14 Sep 2002 21:56:44 +0000 (21:56 +0000)]
natPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken (conflicts with itself).

2002-09-14  Adam Megacz <adam@xwt.org>

        * java/net/natPlainDatagramSocket.cc: removed #include
        <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
        * include/win32.h: included definition for IP_TOS to satisfy
        natPlainDatagramSocket.cc

From-SVN: r57151

21 years ago* config/avr/avr.c (output.h): Move after inclusion of tree.h.
Marek Michalkiewicz [Sat, 14 Sep 2002 20:24:49 +0000 (22:24 +0200)]
* config/avr/avr.c (output.h): Move after inclusion of tree.h.

From-SVN: r57149

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sat, 14 Sep 2002 15:51:45 +0000 (15:51 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* cppfiles.c: Likewise.
* cppinit.c: Likewise.
* cpplib.h: Likewise.
* cse.c: Likewise.
* debug.h: Likewise.
* df.c: Likewise.
* dominance.c: Likewise.
* hashtable.c: Likewise.
* hashtable.h: Likewise.
* loop.c: Likewise.
* config/arm/README-interworking: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.h: Likewise.
* config/arm/arm.md: Likewise.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/stormy16/stormy-abi: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/v850/v850.c: Likewise.

From-SVN: r57146

21 years ago* loop.c: Fix a comment typo.
Kazu Hirata [Sat, 14 Sep 2002 14:00:16 +0000 (14:00 +0000)]
* loop.c: Fix a comment typo.

From-SVN: r57145

21 years agofr30.h: Fix comment typos.
Kazu Hirata [Sat, 14 Sep 2002 13:39:55 +0000 (13:39 +0000)]
fr30.h: Fix comment typos.

* config/fr30/fr30.h: Fix comment typos.
* config/frv/frv.c: Likewise.
* config/i386/xmmintrin.h: Likewise.
* config/mips/mips.c: Likewise.
* config/sh/sh.c: Likewise.

From-SVN: r57144

21 years agohaifa-sched.c: Follow spelling conventions.
Kazu Hirata [Sat, 14 Sep 2002 13:12:56 +0000 (13:12 +0000)]
haifa-sched.c: Follow spelling conventions.

* haifa-sched.c: Follow spelling conventions.
* regclass.c: Likewise.
* regrename.c: Likewise.
* config/fp-bit.c: Likewise.
* config/frv/frv.h: Likewise.
* config/m88k/m88k.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/gnu.h: Likewise.
* config/rs6000/linux.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/ultra1_2.md: Likewise.

From-SVN: r57143

21 years agore PR libf2c/7384 (DATE_AND_TIME milliseconds field inactive on Windows)
Tim Prince [Sat, 14 Sep 2002 12:50:40 +0000 (12:50 +0000)]
re PR libf2c/7384 (DATE_AND_TIME milliseconds field inactive on Windows)

2002-09-14  Tim Prince  <tprince@computer.org>

PR libf2c/7384
* libU77/datetime_.c: Use GetLocalTime on MS-Windows.

From-SVN: r57142

21 years ago* MAINTAINERS: Update my email address.
Kazu Hirata [Sat, 14 Sep 2002 12:21:49 +0000 (12:21 +0000)]
* MAINTAINERS: Update my email address.

From-SVN: r57140

21 years agoerror.c: Fix comment formatting.
Kazu Hirata [Sat, 14 Sep 2002 12:07:44 +0000 (12:07 +0000)]
error.c: Fix comment formatting.

* error.c: Fix comment formatting.
* except.c: Likewise.
* expr.c: Likewise.
* friend.c: Likewise.
* g++spec.c: Likewise.
* init.c: Likewise.
* lex.c: Likewise.
* mangle.c: Likewise.
* method.c: Likewise.
* optimize.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* spew.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.

From-SVN: r57138

21 years agom68hc11.md ("movdi_internal"): Allow any offsetable memory operand when source is...
Stephane Carrez [Sat, 14 Sep 2002 12:04:45 +0000 (14:04 +0200)]
m68hc11.md ("movdi_internal"): Allow any offsetable memory operand when source is 0 (K constraint).

* config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
memory operand when source is 0 (K constraint).
("movsi_internal"): Likewise.
("movdf_internal"): Likewise.
("movsf_internal"): Likewise.

From-SVN: r57136

21 years agors6000.c (rs6000_elf_encode_section_info): Use targetm.binds_local_p to set SYMBOL_RE...
Alan Modra [Sat, 14 Sep 2002 08:07:58 +0000 (08:07 +0000)]
rs6000.c (rs6000_elf_encode_section_info): Use targetm.binds_local_p to set SYMBOL_REF_FLAG.

* config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
targetm.binds_local_p to set SYMBOL_REF_FLAG.
(rs6000_xcoff_encode_section_info): Likewise.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.

From-SVN: r57135

21 years ago* gcc/config/avr/avr.h: Set default options for C++ for avr.
Theodore A. Roth [Sat, 14 Sep 2002 08:03:16 +0000 (08:03 +0000)]
* gcc/config/avr/avr.h: Set default options for C++ for avr.

From-SVN: r57134

21 years agoDaily bump.
GCC Administrator [Sat, 14 Sep 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57133

21 years ago* gcc.c-torture/execute/struct-cpy-1.c: New test.
Alan Modra [Sat, 14 Sep 2002 00:44:22 +0000 (00:44 +0000)]
* gcc.c-torture/execute/struct-cpy-1.c: New test.

From-SVN: r57126

21 years ago[multiple changes]
Phil Edwards [Sat, 14 Sep 2002 00:35:18 +0000 (00:35 +0000)]
[multiple changes]

2002-09-13  Andy Felt  <afelt@uwsp.edu>

* docs/html/17_intro/howto.html:  Update link.

2002-09-13  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/run_doxygen:  Massage man page for Iterator_types.3.
* docs/html/faq/index.html:  Whitespace fixes.

From-SVN: r57125

21 years agoMakefile.in (toplev.o): Depend on real.h.
Richard Henderson [Fri, 13 Sep 2002 23:40:27 +0000 (16:40 -0700)]
Makefile.in (toplev.o): Depend on real.h.

        * Makefile.in (toplev.o): Depend on real.h.
        (print-rtl.o, varasm.o, ifcvt.o): Likewise.

From-SVN: r57123

21 years agotm.texi (DBX_OUTPUT_NFUN): Describe.
Alan Modra [Fri, 13 Sep 2002 23:29:58 +0000 (23:29 +0000)]
tm.texi (DBX_OUTPUT_NFUN): Describe.

* doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
* dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
* config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.

From-SVN: r57122

21 years ago* ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
Nathan Sidwell [Fri, 13 Sep 2002 21:54:10 +0000 (21:54 +0000)]
* ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.

From-SVN: r57121

21 years agopt.c (unify, ARRAY_TYPE): Element type can be more qualified.
Nathan Sidwell [Fri, 13 Sep 2002 21:47:22 +0000 (21:47 +0000)]
pt.c (unify, ARRAY_TYPE): Element type can be more qualified.

cp:
* pt.c (unify, ARRAY_TYPE): Element type can be more qualified.
testsuite:
* g++.dg/template/deduce1.C: New test.

From-SVN: r57120

21 years agoconfig.gcc (ia64*-*-aix*, [...]): Set extra_parts.
Steve Ellcey [Fri, 13 Sep 2002 21:12:18 +0000 (21:12 +0000)]
config.gcc (ia64*-*-aix*, [...]): Set extra_parts.

* config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
ia64*-*-linux*): Set extra_parts.
* config/ia64/t-aix (EXTRA_PARTS): Remove.
* config/ia64/t-ia64 (EXTRA_PARTS): Remove.

From-SVN: r57119

21 years agofixunssfsi.c: Replace H8/S with H8S.
Kazu Hirata [Fri, 13 Sep 2002 20:35:07 +0000 (20:35 +0000)]
fixunssfsi.c: Replace H8/S with H8S.

* config/h8300/fixunssfsi.c: Replace H8/S with H8S.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* doc/invoke.texi: Likewise.

From-SVN: r57118