gcc.git
21 years agore PR java/7830 (Off-by-one buffer overruns in fastjar tool)
Tom Tromey [Wed, 4 Sep 2002 22:40:55 +0000 (22:40 +0000)]
re PR java/7830 (Off-by-one buffer overruns in fastjar tool)

From greenrd@hotmail.com:
* jartool.c (list_jar): Correctly determine when new `filename'
buffer must be allocated.  Fixes PR java/7830.

From-SVN: r56818

21 years agore PR c/7102 (unsigned char divisision results in floating exception)
Eric Botcazou [Wed, 4 Sep 2002 22:24:12 +0000 (22:24 +0000)]
re PR c/7102 (unsigned char divisision results in floating exception)

        PR c/7102
        * optabs.c (expand_binop): Convert CONST_INTs in all cases.

From-SVN: r56815

21 years ago* pa.md (setccfp0, setccfp1): New patterns.
John David Anglin [Wed, 4 Sep 2002 22:05:43 +0000 (22:05 +0000)]
* pa.md (setccfp0, setccfp1): New patterns.

From-SVN: r56814

21 years agofrv-protos.h (frv_init_builtins, [...]): Delete.
Kaveh R. Ghazi [Wed, 4 Sep 2002 20:56:33 +0000 (20:56 +0000)]
frv-protos.h (frv_init_builtins, [...]): Delete.

* frv-protos.h (frv_init_builtins, frv_expand_builtin,
frv_select_section, frv_select_rtx_section,
frv_encode_section_info, frv_unique_section): Delete.
* frv.c: Update for target hooks.
* frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.

From-SVN: r56810

21 years agoip2k-protos.h (function_prologue, [...]): Update to match target hook specification.
Kaveh R. Ghazi [Wed, 4 Sep 2002 20:32:35 +0000 (20:32 +0000)]
ip2k-protos.h (function_prologue, [...]): Update to match target hook specification.

* ip2k-protos.h (function_prologue, function_epilogue,
encode_section_info): Update to match target hook specification.
* ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
(function_prologue, function_epilogue, encode_section_info):
Update to match target hook specification.
* ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
(NOTICE_UPDATE_CC): Cast to void.
* ip2k.md: Add defaults in switch statements.

From-SVN: r56809

21 years agotrouble.texi (Interoperation): Update information about C++ ABI issues.
Janis Johnson [Wed, 4 Sep 2002 20:28:38 +0000 (20:28 +0000)]
trouble.texi (Interoperation): Update information about C++ ABI issues.

2002-09-04  Janis Johnson  <janis187@us.ibm.com>

* trouble.texi (Interoperation): Update information about C++ ABI
issues.

From-SVN: r56808

21 years ago* config/sparc/t-netbsd64: Disable multilib for now.
Jason Thorpe [Wed, 4 Sep 2002 18:18:37 +0000 (18:18 +0000)]
* config/sparc/t-netbsd64: Disable multilib for now.

From-SVN: r56807

21 years agotarget-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
David Edelsohn [Wed, 4 Sep 2002 18:11:18 +0000 (18:11 +0000)]
target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.

        * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
        * target.h (gcc_target): Add have_srodata_section member.
        * varasm.c (section_category): Add SECCAT_SRODATA.
        (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
        READONLY_SDATA_SECTION defined.
        (decl_readonly_section_1): True for SECCAT_SRODATA also.
        (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
        (default_unique_section_1): Likewise.

From-SVN: r56806

21 years agoexpr.c (emit_group_load): Revise to allow splitting TCmode source into DImode pieces.
John David Anglin [Wed, 4 Sep 2002 18:09:32 +0000 (18:09 +0000)]
expr.c (emit_group_load): Revise to allow splitting TCmode source into DImode pieces.

* expr.c (emit_group_load): Revise to allow splitting TCmode source
into DImode pieces.
* pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
* pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
for floating-point register class.
* pa.c (function_arg): Fix handling of modes wider than one word for
TARGET_64BIT.

From-SVN: r56805

21 years agocombine.c (make_compound_operation): Don't generate zero / sign extensions in floatin...
J"orn Rennecke [Wed, 4 Sep 2002 17:49:58 +0000 (17:49 +0000)]
combine.c (make_compound_operation): Don't generate zero / sign extensions in floating point modes.

* combine.c (make_compound_operation): Don't generate zero / sign
extensions in floating point modes.

From-SVN: r56804

21 years agoc-tree.texi: Fix overfull hboxes.
Janis Johnson [Wed, 4 Sep 2002 17:35:59 +0000 (17:35 +0000)]
c-tree.texi: Fix overfull hboxes.

2002-09-04  Janis Johnson  <janis187@us.ibm.com>

* doc/c-tree.texi: Fix overfull hboxes.
* doc/cppopts.texi: Ditto.
* doc/extend.texi: Ditto.
* doc/gty.texi: Ditto.
* doc/invoke.texi: Ditto.
* doc/makefile.texi: Ditto.
* doc/rtl.texi: Ditto.
* doc/standards.texi: Ditto.
* doc/tm.texi: Ditto.

From-SVN: r56802

21 years ago2002-09-04 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 4 Sep 2002 17:35:22 +0000 (17:35 +0000)]
2002-09-04  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(DatagramSocket): Added documentation.
(close): Likewise.
(getLocalAddress): Likewise.
(getLocalPort): Likewise.
(receive): Likewise.
(send): Likewise.
(setSoTimeout): Likewise.
(connect): New method.
(disconnect): New method.
(getInetAddress): New method (FIXME)
(getPort): New method.
(setReuseAddress): New method.
(getReuseAddress): New method.
(setBroadcast): New method.
(getBroadcast): New method.
(setTrafficClass): New method.
(getTrafficClass): New method.
* java/net/MulticastSocket.java):
(getTTL): Added @see in documentation.
(setTTL): Added @see in documentation.
(setLoopbackMode): New method.
(getLoopbackMode): New method.
* java/net/PlainSocketImpl.java:
Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
* java/net/PlainDatagramSocketImpl.java
Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
* java/net/natPlainSocketImpl.cc
(getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
(setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
This should also fix SO_KEEPALIVE
* java/net/natPlainDatagramSocketImpl.cc
(getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
(setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS

From-SVN: r56801

21 years agoc-common.c (builtin_define_with_hex_fp_value): New.
Richard Henderson [Wed, 4 Sep 2002 17:11:32 +0000 (10:11 -0700)]
c-common.c (builtin_define_with_hex_fp_value): New.

        * c-common.c (builtin_define_with_hex_fp_value): New.
        (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.

From-SVN: r56800

21 years agoinvoke.texi (-fshort-wchar): Move to Code Generation Options.
Janis Johnson [Wed, 4 Sep 2002 16:36:45 +0000 (16:36 +0000)]
invoke.texi (-fshort-wchar): Move to Code Generation Options.

2002-09-04  Janis Johnson  <janis187@us.ibm.com>

* doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
(-fpcc-struct-return, -freg-struct-return, -fshort-enums,
-fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
Warn that these options can break ABI compatibility.

From-SVN: r56799

21 years agoreal.c (ereal_to_decimal): Add digits parameter.
Richard Henderson [Wed, 4 Sep 2002 16:24:24 +0000 (09:24 -0700)]
real.c (ereal_to_decimal): Add digits parameter.

* real.c (ereal_to_decimal): Add digits parameter.
* real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
* c-pretty-print.c (pp_c_real_literal): Update call.
* print-rtl.c (print_rtx): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* sched-vis.c (print_value): Likewise.
* config/arc/arc.c (arc_print_operand): Likewise.
* config/c4x/c4x.c (c4x_print_operand): Likewise.
* config/i370/i370.h (PRINT_OPERAND): Likewise.
* config/i386/i386.c (print_operand): Likewise.
* config/i960/i960.c (i960_print_operand): Likewise.
* config/ip2k/ip2k.c (asm_output_float): Likewise.
* config/m32r/m32r.c (m32r_print_operand): Likewise.
* config/m68hc11/m68hc11.c (print_operand): Likewise.
* config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
* config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
* config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
* config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
* config/mips/mips.c (print_operand): Likewise.
* config/ns32k/ns32k.c (print_operand): Likewise.
* config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
* config/vax/vax.h (PRINT_OPERAND): Likewise.
* doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.

        * f/target.h (ffetarget_print_real1, ffetarget_print_real2): Update
        call to REAL_VALUE_TO_DECIMAL.

From-SVN: r56798

21 years agoelf.h (TARGET_SECTION_TYPE_FLAGS): Define to xtensa_multibss_section_type_flags.
Bob Wilson [Wed, 4 Sep 2002 16:22:51 +0000 (16:22 +0000)]
elf.h (TARGET_SECTION_TYPE_FLAGS): Define to xtensa_multibss_section_type_flags.

        * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
        xtensa_multibss_section_type_flags.
        * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.

From-SVN: r56797

21 years agoinstall-old.texi: Don't mention enquire.
Richard Henderson [Wed, 4 Sep 2002 16:09:31 +0000 (09:09 -0700)]
install-old.texi: Don't mention enquire.

        * doc/install-old.texi: Don't mention enquire.
        * doc/sourcebuild.texi: Update float.h description.

From-SVN: r56796

21 years ago* enquire.c: Remove.
Richard Henderson [Wed, 4 Sep 2002 16:09:10 +0000 (09:09 -0700)]
* enquire.c: Remove.

From-SVN: r56795

21 years ago* sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
J"orn Rennecke [Wed, 4 Sep 2002 10:24:14 +0000 (10:24 +0000)]
* sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.

From-SVN: r56793

21 years ago* gcc.dg/typeof-2.c: New test.
Jakub Jelinek [Wed, 4 Sep 2002 08:58:49 +0000 (10:58 +0200)]
* gcc.dg/typeof-2.c: New test.

From-SVN: r56792

21 years agodecl.c (start_cleanup_fn): Clear interface_only before start_function, restore it...
Jakub Jelinek [Wed, 4 Sep 2002 08:50:16 +0000 (10:50 +0200)]
decl.c (start_cleanup_fn): Clear interface_only before start_function, restore it afterwards.

* decl.c (start_cleanup_fn): Clear interface_only before
start_function, restore it afterwards.

* g++.dg/other/cxa-atexit1.C: New test.

From-SVN: r56790

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

From-SVN: r56788

21 years agoSocketOptions.java: added static variables to be JDK 1.4 compatible (SO_BROADCAST...
Michael Koch [Wed, 4 Sep 2002 05:34:12 +0000 (05:34 +0000)]
SocketOptions.java: added static variables to be JDK 1.4 compatible (SO_BROADCAST...

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

       * java/net/SocketOptions.java: added static variables to be JDK 1.4
       compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
       IP_MULTICAST_LOOP, IP_TOS)

From-SVN: r56782

21 years agovarasm.c (default_section_type_flags): Append _1 to name with shlib parameter.
David Edelsohn [Wed, 4 Sep 2002 01:56:12 +0000 (01:56 +0000)]
varasm.c (default_section_type_flags): Append _1 to name with shlib parameter.

        * varasm.c (default_section_type_flags): Append _1 to name with
        shlib parameter.  Use original name to call new function with
        implicit flag_pic.
        (decl_readonly_section): Likewise.
        (default_elf_select_section): Likewise.
        (default_unique_section): Likewise.
        (default_bind_local_p): Likewise.
        (categorize_decl_for_section): Add shlib parameter to use in place
        of implicit flag_pic.
        * output.h: Declare new functions with _1 and shlib argument.

From-SVN: r56780

21 years agoinstall.texi: Fix typos, formatting problems, and obvious overfull/underfull boxes.
Janis Johnson [Tue, 3 Sep 2002 23:52:06 +0000 (23:52 +0000)]
install.texi: Fix typos, formatting problems, and obvious overfull/underfull boxes.

2002-09-03  Janis Johnson  <janis187@us.ibm.com>

* doc/install.texi: Fix typos, formatting problems, and obvious
overfull/underfull boxes.

From-SVN: r56777

21 years agoMakefile.in (TEXI_GCC_FILES): Add compat.texi.
Janis Johnson [Tue, 3 Sep 2002 22:47:41 +0000 (22:47 +0000)]
Makefile.in (TEXI_GCC_FILES): Add compat.texi.

2002-09-03  Janis Johnson  <janis187@us.ibm.com>

* Makefile.in (TEXI_GCC_FILES): Add compat.texi.
* doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
include its file, compat.texi.
* doc/compat.texi: New file with new chapter, Binary Compatibility.

From-SVN: r56774

21 years agoDebian BTS Bug #
Neil Booth [Tue, 3 Sep 2002 21:55:40 +0000 (21:55 +0000)]
Debian BTS Bug #

Debian BTS Bug #
* cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
* cpplib.c (destringize_and_run): Kludge around getting
tokens from in-progress macros.
(_cpp_do__Pragma): Simplify.
testsuite:
* gcc.dg/cpp/_Pragma4.c: New test.

From-SVN: r56773

21 years agoClass.h (_getDeclaredMethod): Declare.
Tom Tromey [Tue, 3 Sep 2002 21:33:46 +0000 (21:33 +0000)]
Class.h (_getDeclaredMethod): Declare.

* java/lang/Class.h (_getDeclaredMethod): Declare.
(_getMethod): Now private.
* java/lang/natClass.cc (_getDeclaredMethod): Renamed from
getDeclaredMethod.  Now returns NULL on failure.
* java/lang/Class.java (_getDeclaredMethod): Declare.
(getDeclaredMethod): No longer native; implements access checks.

From-SVN: r56772

21 years agoia64.h (EXTRA_SPECS): Remove cpp_cpu.
Steve Ellcey [Tue, 3 Sep 2002 21:09:54 +0000 (21:09 +0000)]
ia64.h (EXTRA_SPECS): Remove cpp_cpu.

* config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
(CPP_CPU_SPEC): Remove.
(TARGET_CPU_CPP_BUILTINS): New.
* config/ia64/hpux.h (CPP_PREDEFINES): Remove.
(CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): New.
* config/ia64/linux.h (CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): New.
* config/ia64/aix.h (CPP_SPEC): Move some stuff to
TARGET_OS_CPP_BUILTINS.
(CPP_PREDEFINES): Remove.
(CPLUSPLUS_CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): New.

From-SVN: r56771

21 years agostd_limits.h (__glibcpp_f32_min, [...]): Remove macros.
Richard Henderson [Tue, 3 Sep 2002 20:22:06 +0000 (13:22 -0700)]
std_limits.h (__glibcpp_f32_min, [...]): Remove macros.

* include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
__glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
__glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
__glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
__glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
__glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
__glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
__glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
__glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
__glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
__glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
__glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
__glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
__glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
__glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
__glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
__glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
__glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
__glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
__glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
__glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
__glibcpp_float_digits10, __glibcpp_float_radix,
__glibcpp_float_epsilon, __glibcpp_float_min_exponent,
__glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
__glibcpp_float_max_exponent10, __glibcpp_double_min,
__glibcpp_double_max, __glibcpp_double_digits,
__glibcpp_double_digits10, __glibcpp_double_radix,
__glibcpp_double_epsilon, __glibcpp_double_min_exponent,
__glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
__glibcpp_double_max_exponent10, __glibcpp_long_double_min,
__glibcpp_long_double_max, __glibcpp_long_double_digits,
__glibcpp_long_double_digits10, __glibcpp_long_double_radix,
__glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
__glibcpp_long_double_min_exponent10,
__glibcpp_long_double_max_exponent,
__glibcpp_long_double_max_exponent10): Remove macros.
(std::numeric_limits<float>, std::numeric_limits<double>,
std::numeric_limits<long double>): Use protected float.h macros.

From-SVN: r56770

21 years agoMakefile.in (USER_H): Add ginclude/float.h.
Richard Henderson [Tue, 3 Sep 2002 20:21:35 +0000 (13:21 -0700)]
Makefile.in (USER_H): Add ginclude/float.h.

        * Makefile.in (USER_H): Add ginclude/float.h.
        (FLOAT_H): Remove.
        (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
        (mostlyclean): Don't remove float.h intermediate files.
        (distclean): Don't remove float.h.
        * config.gcc: Remove all float_format references.
        * configure.in (float_format, float_h_file): Remove.

        * c-common.c: Include tree-inline.h.
        (builtin_define_with_int_value): New.
        (builtin_define_type_precision): Use it.
        (builtin_define_float_constants): New.
        (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
        __FLT_EVAL_METHOD__.
        * defaults.h (TARGET_FLT_EVAL_METHOD): New.
        * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
        * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
        * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
        (TARGET_FLT_EVAL_METHOD): New.

        * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
        config/float-i386.h, config/float-i64.h, config/float-m68k.h,
        config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
        * ginclude/float.h: New.

From-SVN: r56769

21 years agodarwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
Stan Shebs [Tue, 3 Sep 2002 20:09:18 +0000 (20:09 +0000)]
darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.

        * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
        (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
        (PREFERRED_DEBUGGING_TYPE): Ditto.
        (ASM_OUTPUT_IDENT): Remove empty definition.

From-SVN: r56768

21 years agoconfig.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and cxx_target.
Steve Ellcey [Tue, 3 Sep 2002 19:47:10 +0000 (19:47 +0000)]
config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and cxx_target.

* config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
cxx_target.
* config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
handling routine for builtin pragma.
* config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
Registered pragma handling routine.
* ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
(ia64_hpux_add_pragma_builtin) New subroutine used by above.
If builtin pragma seen for math routine and C89 conformance is
requested use different math function in order to set errno.
* t-ia64 (ia64-c.o): Add new rule for new file.

From-SVN: r56767

21 years agos390.md ("movti"): Add Q->Q alternative.
Ulrich Weigand [Tue, 3 Sep 2002 18:33:56 +0000 (18:33 +0000)]
s390.md ("movti"): Add Q->Q alternative.

* config/s390/s390.md ("movti"): Add Q->Q alternative.
("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
"movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.

("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
"*movsf_ss"): Remove.

From-SVN: r56765

21 years agopa32-regs.h (CLASS_CANNOT_CHANGE_MODE, [...]): Delete macros.
John David Anglin [Tue, 3 Sep 2002 18:01:23 +0000 (18:01 +0000)]
pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, [...]): Delete macros.

* pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
Delete macros.

From-SVN: r56764

21 years ago* h8300.c (asm_file_start): Corrected optimization comment.
Arati Dikey [Tue, 3 Sep 2002 17:25:02 +0000 (17:25 +0000)]
* h8300.c (asm_file_start): Corrected optimization comment.

From-SVN: r56761

21 years agoc-lang.c (recognize_objc_keyword): Remove, no longer used.
Stan Shebs [Tue, 3 Sep 2002 16:40:29 +0000 (16:40 +0000)]
c-lang.c (recognize_objc_keyword): Remove, no longer used.

        * c-lang.c (recognize_objc_keyword): Remove, no longer used.
        * c-tree.h (recognize_objc_keyword): Remove decl.
        * c-typeck.c (comp_target_types): Update a comment.

From-SVN: r56760

21 years agos390.c (s390_decompose_address): Remove STRICT parameter and register validity checks.
Ulrich Weigand [Tue, 3 Sep 2002 16:30:32 +0000 (16:30 +0000)]
s390.c (s390_decompose_address): Remove STRICT parameter and register validity checks.

* config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
and register validity checks.
(general_s_operand): Adapt to s390_decompose_address interface change.
(q_constraint): Likewise.
(s390_expand_plus_operand): Likewise.
(legitimiate_address_p): Likewise.
(legitimate_la_operand_p): Likewise.
(legitimize_la_operand): Likewise.
(print_operand_address): Likewise.
(print_operand): Likewise.

From-SVN: r56759

21 years agoFixed typo causing bloat when compiling ObjC programs with GNU runtime
Nicola Pero [Tue, 3 Sep 2002 10:39:40 +0000 (12:39 +0200)]
Fixed typo causing bloat when compiling ObjC programs with GNU runtime

From-SVN: r56753

21 years agoNew testcase
Nicola Pero [Tue, 3 Sep 2002 10:27:36 +0000 (12:27 +0200)]
New testcase

From-SVN: r56752

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

From-SVN: r56751

21 years ago* config/i386/i386.md ("femms"): Add "memory" attr "none".
Graham Stott [Tue, 3 Sep 2002 00:43:17 +0000 (00:43 +0000)]
* config/i386/i386.md ("femms"): Add "memory" attr "none".

From-SVN: r56745

21 years ago* expr.c (expand_expr): Remove extraneous comment and code.
Graham Stott [Tue, 3 Sep 2002 00:33:34 +0000 (00:33 +0000)]
* expr.c (expand_expr): Remove extraneous comment and code.

From-SVN: r56744

21 years agoNameFinder.java (remove_interpreter): New field.
Mark Wielaard [Mon, 2 Sep 2002 15:55:57 +0000 (15:55 +0000)]
NameFinder.java (remove_interpreter): New field.

       * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
       (sanitizeStack): Correctly reset unknown and interpreter counters,
       detect interpreter runtime frames.
       (demangleInterpreterMethod): New method.
       * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
       * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
       filling in addrs[].

From-SVN: r56741

21 years agogcj.texi: Add chapter about system properties.
Mark Wielaard [Mon, 2 Sep 2002 15:36:07 +0000 (15:36 +0000)]
gcj.texi: Add chapter about system properties.

       * gcj.texi: Add chapter about system properties.
       Fixed some typos.

From-SVN: r56740

21 years agoDatagramPacket.java, [...]: re-indented documentation.
Michael Koch [Mon, 2 Sep 2002 09:19:08 +0000 (09:19 +0000)]
DatagramPacket.java, [...]: re-indented documentation.

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

* java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
re-indented documentation.

From-SVN: r56739

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

From-SVN: r56737

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

[[Split portion of a mixed commit.]]

From-SVN: r56736.3

21 years agoMakefile.am: Use LD_RUN_PATH when linking abi_check.
Phil Edwards [Sun, 1 Sep 2002 18:09:18 +0000 (18:09 +0000)]
Makefile.am: Use LD_RUN_PATH when linking abi_check.

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

* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
Fix spelling in comment.
* testsuite/Makefile.in:  Regenerate.
* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
than 'quote' and 'bslash'.

From-SVN: r56722

21 years agoCall [Object class], not [Object initialize]
Nicola Pero [Sun, 1 Sep 2002 11:20:59 +0000 (13:20 +0200)]
Call [Object class], not [Object initialize]

From-SVN: r56721

21 years agocp-lang.c (cp_expr_size): Allow initialization from a CONSTRUCTOR.
Jason Merrill [Sun, 1 Sep 2002 07:46:38 +0000 (03:46 -0400)]
cp-lang.c (cp_expr_size): Allow initialization from a CONSTRUCTOR.

        * cp-lang.c (cp_expr_size): Allow initialization from a
        CONSTRUCTOR.

From-SVN: r56720

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

From-SVN: r56718

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

[[Split portion of a mixed commit.]]

From-SVN: r56717.3

21 years agoacinclude.m4: Minor comment tweaks.
Phil Edwards [Sun, 1 Sep 2002 00:33:53 +0000 (00:33 +0000)]
acinclude.m4: Minor comment tweaks.

2002-08-31  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4:  Minor comment tweaks.

* docs/html/makedoc.awk:  New file...
* docs/html/Makefile:  ...called from here...
* docs/html/documentation.html:  ...to help generate this.

* docs/html/21_strings/howto.html:  Prepare for new entry.
* include/bits/basic_string.h:  Initial basic_stirng hook for
doxygen.  Remove trailing whitespace.
* include/bits/char_traits.h:  Point to onlinedocs for new entry.
* include/bits/stringfwd.h:  Add doxygen hooks for string and
wstring typedefs.

From-SVN: r56711

21 years ago* expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
Richard Henderson [Sat, 31 Aug 2002 21:11:54 +0000 (14:11 -0700)]
* expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.

From-SVN: r56710

21 years ago* pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
John David Anglin [Sat, 31 Aug 2002 19:47:07 +0000 (19:47 +0000)]
* pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.

From-SVN: r56709

21 years ago20020720-1.x: Skip test on mmix-knuth-mmixware.
Roger Sayle [Sat, 31 Aug 2002 17:49:00 +0000 (17:49 +0000)]
20020720-1.x: Skip test on mmix-knuth-mmixware.

* gcc.c-torture/execute/20020720-1.x: Skip test on
mmix-knuth-mmixware.  Correct comment.

Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com>
From-SVN: r56708

21 years agocom.c: Don't set flag_finite_math_only by default.
Toon Moene [Sat, 31 Aug 2002 14:40:23 +0000 (16:40 +0200)]
com.c: Don't set flag_finite_math_only by default.

2002-08-31  Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c: Don't set flag_finite_math_only by default.
* invoke.texi: Reverse the documentation of option
-ffinite-math-only to reflect the new default.

From-SVN: r56707

21 years agore PR libf2c/6367 (multiple repeat counts confuse namelist read into array)
Toon Moene [Sat, 31 Aug 2002 14:38:57 +0000 (16:38 +0200)]
re PR libf2c/6367 (multiple repeat counts confuse namelist read into array)

2002-08-31  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/6367
* libI77/rsne.c (x_rsne): Use local variable no2 to count further
list elements to read.

From-SVN: r56706

21 years agoDaily bump.
GCC Administrator [Sat, 31 Aug 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56702

21 years agore PR libgcj/7785 (Calendar.getTimeInMillis/setTimeInMillis should be public)
Jesse Rosenstock [Sat, 31 Aug 2002 05:27:15 +0000 (05:27 +0000)]
re PR libgcj/7785 (Calendar.getTimeInMillis/setTimeInMillis should be public)

2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

* java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
public, per 1.4 spec.  Fixes PR libgcj/7785.

From-SVN: r56696

21 years agoAAB_solaris_sys_varargs_h was misplaced
Bruce Korb [Sat, 31 Aug 2002 03:33:09 +0000 (03:33 +0000)]
AAB_solaris_sys_varargs_h was misplaced

From-SVN: r56694

21 years agoMark pr last change.
Richard Henderson [Sat, 31 Aug 2002 02:43:49 +0000 (19:43 -0700)]
Mark pr last change.

From-SVN: r56693

21 years agotree.c: Include target.h.
Richard Henderson [Sat, 31 Aug 2002 02:37:09 +0000 (19:37 -0700)]
tree.c: Include target.h.

        * tree.c: Include target.h.
        (cp_cannot_inline_tree_fn): Don't auto-inline functions that
        don't bind locally.
        * Makefile.in (tree.o): Update.

From-SVN: r56692

21 years agoc-objc-common.c: Include target.h.
Richard Henderson [Sat, 31 Aug 2002 02:29:20 +0000 (19:29 -0700)]
c-objc-common.c: Include target.h.

        * c-objc-common.c: Include target.h.
        (c_cannot_inline_tree_fn): Don't auto-inline functions that
        don't bind locally.  Factor setting DECL_UNINLINABLE.
        * Makefile.in (c-objc-common.o): Update.

From-SVN: r56691

21 years agoMakefile.in: Rebuilt.
Jeff Sturm [Fri, 30 Aug 2002 23:08:52 +0000 (23:08 +0000)]
Makefile.in: Rebuilt.

2002-08-30  Jeff Sturm  <jsturm@one-point.com>

* Makefile.in: Rebuilt.
* Makefile.am (ZIP, GCJH): Remove $(EXEEXT).

From-SVN: r56690

21 years agoinstall.texi (Configuration, Building): Fix a typo and some formatting directives.
Janis Johnson [Fri, 30 Aug 2002 20:48:14 +0000 (20:48 +0000)]
install.texi (Configuration, Building): Fix a typo and some formatting directives.

2002-08-30  Janis Johnson  <janis187@us.ibm.com>

* doc/install.texi (Configuration, Building): Fix a typo and
some formatting directives.

From-SVN: r56689

21 years ago* MAINTAINERS: (Write After Approval): Add myself.
Paul Koning [Fri, 30 Aug 2002 20:02:03 +0000 (20:02 +0000)]
* MAINTAINERS: (Write After Approval): Add myself.

From-SVN: r56688

21 years agoc-tree.texi (RDIV_EXPR): Fix typo.
Paul Koning [Fri, 30 Aug 2002 19:18:51 +0000 (19:18 +0000)]
c-tree.texi (RDIV_EXPR): Fix typo.

* doc/c-tree.texi (RDIV_EXPR): Fix typo.
* doc/rtl.texi (post_modify): Remove misplaced text, remove "not
implemented" note.
* doc/md.texi (IP2K): Move machine-specific constraints before MIPS
for alphabetic order.
* doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
(VAX_HALFWORD_ORDER): Document.
(LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
IEEE float format.
(TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
(ASM_OUTPUT_LABEL_REF): Fix font.
(CASE_VECTOR_SHORTEN_MODE): Ditto.

From-SVN: r56687

21 years agoip2k.c (ip2k_set_compare): Remove all const_double stuff.
Denis Chertykov [Fri, 30 Aug 2002 18:31:44 +0000 (18:31 +0000)]
ip2k.c (ip2k_set_compare): Remove all const_double stuff.

* config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
stuff.
(ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
CONST_DOUBLE constants.

From-SVN: r56686

21 years agoJarURLConnection.java (getCertificates): New method from Classpath.
Tom Tromey [Fri, 30 Aug 2002 18:16:00 +0000 (18:16 +0000)]
JarURLConnection.java (getCertificates): New method from Classpath.

* java/net/JarURLConnection.java (getCertificates): New method
from Classpath.
* java/net/URLClassLoader.java (URLClassLoader): Extends
SecureClassLoader.
(definePackage): New method from Classpath.
(getPermissions): Likewise.
(newInstance): Likewise.
(findClass): Construct CodeSource for new class (from Classpath).
* java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
methods.
* java/net/URL.java (getUserInfo): New method.
(set(String,String,int,String,String,String,String,String)): New
method.
* java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
(shutdownInput, shutdownOutput): Declare.
* java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
Define.
* java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
(getOption): Likewise.
(shutdownInput): New method.
(shutdownOutput): Likewise.
* java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
keepalive.
(getOption): Likewise.
* java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
* java/net/Socket.java (setKeepAlive): New method.
(getKeepAlive): Likewise.
(shutdownInput, shutdownOutput): New methods.

From-SVN: r56685

21 years agoalpha.h (TARGET_CPU_CPP_BUILTINS): Move language- related defines to...
Jason Thorpe [Fri, 30 Aug 2002 15:38:48 +0000 (15:38 +0000)]
alpha.h (TARGET_CPU_CPP_BUILTINS): Move language- related defines to...

* config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
related defines to...
(SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
* config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
as a no-op.

From-SVN: r56684

21 years agotarget.c (ffetarget_memcpy_): Don't test nonexistent HOST_BYTES_BIG_ENDIAN, HOST_BITS...
Hans-Peter Nilsson [Fri, 30 Aug 2002 13:13:59 +0000 (13:13 +0000)]
target.c (ffetarget_memcpy_): Don't test nonexistent HOST_BYTES_BIG_ENDIAN, HOST_BITS_BIG_ENDIAN.

* target.c (ffetarget_memcpy_): Don't test nonexistent
HOST_BYTES_BIG_ENDIAN, HOST_BITS_BIG_ENDIAN.  Check
HOST_WORDS_BIG_ENDIAN against both WORDS_BIG_ENDIAN and
BYTES_BIG_ENDIAN.

From-SVN: r56683

21 years agoarm.c (arm_asm_output_labelref): New function.
Krister Walfridsson [Fri, 30 Aug 2002 11:26:53 +0000 (13:26 +0200)]
arm.c (arm_asm_output_labelref): New function.

* config/arm/arm.c (arm_asm_output_labelref): New function.
* config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
* config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.

From-SVN: r56682

21 years agoDaily bump.
GCC Administrator [Fri, 30 Aug 2002 07:17:54 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56680

21 years agoinstall.texi (Specific, [...]): Add "virtual memory exhausted" workarounds.
Rodney Brown [Fri, 30 Aug 2002 02:33:23 +0000 (02:33 +0000)]
install.texi (Specific, [...]): Add "virtual memory exhausted" workarounds.

        * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
        memory exhausted" workarounds.

From-SVN: r56673

21 years agotarget.h (FFETARGET_32bit_longs): Don't define for powerpc64 or mmix.
Alan Modra [Fri, 30 Aug 2002 00:40:12 +0000 (00:40 +0000)]
target.h (FFETARGET_32bit_longs): Don't define for powerpc64 or mmix.

* target.h (FFETARGET_32bit_longs): Don't define for powerpc64 or
mmix.

From-SVN: r56670

21 years agodiagnostic.c (fancy_abort): Don't repeat "internal error".
Gabriel Dos Reis [Thu, 29 Aug 2002 23:32:49 +0000 (23:32 +0000)]
diagnostic.c (fancy_abort): Don't repeat "internal error".

* diagnostic.c (fancy_abort): Don't repeat "internal error".
* toplev.c (crash_signal): Likewise.

From-SVN: r56669

21 years agoExtended documentation on ObjC macros and flags
Nicola Pero [Thu, 29 Aug 2002 22:50:27 +0000 (00:50 +0200)]
Extended documentation on ObjC macros and flags

From-SVN: r56668

21 years agochorus.h: Consistently define *_DEBUGGING_INFO with the value 1.
Jason Thorpe [Thu, 29 Aug 2002 21:40:18 +0000 (21:40 +0000)]
chorus.h: Consistently define *_DEBUGGING_INFO with the value 1.

* config/chorus.h: Consistently define *_DEBUGGING_INFO with
the value 1.  Do not undef before defining.
* config/darwin.h: Likewise.
* config/dbx.h: Likewise.
* config/dbxcoff.h: Likewise.
* config/dbxelf.h: Likewise.
* config/elfos.h: Likewise.
* config/interix.h: Likewise.
* config/lynx-ng.h: Likewise.
* config/lynx.h: Likewise.
* config/netware.h: Likewise.
* config/psos.h: Likewise.
* config/svr3.h: Likewise.
* config/alpha/alpha.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/alpha/vms.h: Likewise.
* config/arc/arc.h: Likewise.
* config/arm/aout.h: Likewise.
* config/arm/coff.h: Likewise.
* config/c4x/c4x.h: Likewise.
* config/h8300/h8300.h: Likewise.
* config/i386/cygwin.h: Likewise.
* config/i386/djgpp.h: Likewise.
* config/i386/gas.h: Likewise.
* config/i386/gstabs.h: Likewise.
* config/i386/i386-coff.h: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i386/svr3dbx.h: Likewise.
* config/i386/sysv3.h: Likewise.
* config/i386/win32.h: Likewise.
* config/i386/x86-64.h: Likewise.
* config/i960/i960.h: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/m32r/m32r.h: Likewise.
* config/m68k/3b1.h: Likewise.
* config/m68k/3b1g.h: Likewise.
* config/m68k/ccur-GAS.h: Likewise.
* config/m68k/coff.h: Likewise.
* config/m68k/hp2bsd.h: Likewise.
* config/m68k/hp310g.h: Likewise.
* config/m68k/hp320g.h: Likewise.
* config/m68k/hp3bsd.h: Likewise.
* config/m68k/hp3bsd44.h: Likewise.
* config/m68k/linux-aout.h: Likewise.
* config/m68k/m68k-aout.h: Likewise.
* config/m68k/mot3300.h: Likewise.
* config/m68k/netbsd.h: Likewise.
* config/m68k/openbsd.h: Likewise.
* config/m68k/pbb.h: Likewise.
* config/m68k/plexus.h: Likewise.
* config/m68k/sun2.h: Likewise.
* config/m68k/sun3.h: Likewise.
* config/m68k/tower-as.h: Likewise.
* config/m68k/vxm68k.h: Likewise.
* config/m88k/aout-dbx.h: Likewise.
* config/m88k/m88k-aout.h: Likewise.
* config/mcore/mcore-elf.h: Likewise.
* config/mcore/mcore-pe.h: Likewise.
* config/mips/elf.h: Likewise.
* config/mips/elf64.h: Likewise.
* config/mips/iris5gas.h: Likewise.
* config/mips/iris6.h: Likewise.
* config/mips/mips.h: Likewise.
* config/mips/sni-gas.h: Likewise.
* config/mmix/mmix.h: Likewise.
* config/ns32k/netbsd.h: Likewise.
* config/pa/pa64-hpux.h: Likewise.
* config/romp/romp.h: Likewise.
* config/rs6000/sysv4.h: Likewise.
* config/rs6000/xcoff.h: Likewise.
* config/sh/coff.h: Likewise.
* config/sh/elf.h: Likewise.
* config/sparc/linux64.h: Likewise.
* config/sparc/liteelf.h: Likewise.
* config/sparc/netbsd.h: Likewise.
* config/sparc/openbsd.h: Likewise.
* config/sparc/pbd.h: Likewise.
* config/sparc/sp64-elf.h: Likewise.
* config/sparc/sp86x-elf.h: Likewise.
* config/sparc/sparc.h: Likewise.
* config/vax/vax.h: Likewise.
* config/vax/vaxv.h: Likewise.

From-SVN: r56667

21 years ago* MAINTAINERS: Update Jason Eckhardt's address, remove i860.
Geoffrey Keating [Thu, 29 Aug 2002 21:26:57 +0000 (21:26 +0000)]
* MAINTAINERS: Update Jason Eckhardt's address, remove i860.

From-SVN: r56666

21 years agoh8300.c (shift_alg_hi): Various tweaks to improve performance of HImode shifts.
Dhananjay R. Deshpande [Thu, 29 Aug 2002 21:26:52 +0000 (15:26 -0600)]
h8300.c (shift_alg_hi): Various tweaks to improve performance of HImode shifts.

        * h8300.c (shift_alg_hi): Various tweaks to improve performance
        of HImode shifts.
        (get_shift_alg): Corresponding changes.

From-SVN: r56665

21 years ago* som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
John David Anglin [Thu, 29 Aug 2002 21:16:35 +0000 (21:16 +0000)]
* som.h (ALWAYS_STRIP_DOTDOT): Define to 1.

From-SVN: r56664

21 years agoexpr.h (enum block_op_methods): New.
Richard Henderson [Thu, 29 Aug 2002 19:20:01 +0000 (12:20 -0700)]
expr.h (enum block_op_methods): New.

        * expr.h (enum block_op_methods): New.
        (emit_block_move): Update prototype.
        * expr.c (block_move_libcall_safe_for_call_parm): New.
        (emit_block_move_via_loop): New.
        (emit_block_move): Use them.  New argument METHOD.
        (emit_push_insn): Always respect the given alignment.
        (expand_assignment): Update call to emit_block_move.
        (store_expr, store_field, expand_expr): Likewise.
        * builtins.c (expand_builtin_apply): Likewise.
        (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
        * function.c (expand_function_end): Likewise.
        * config/sh/sh.c (sh_initialize_trampoline): Likewise.
        * config/sparc/sparc.c (sparc_va_arg): Likewise.
        * calls.c (expand_call, emit_library_call_value_1): Likewise.
        (save_fixed_argument_area): Use emit_block_move with
        BLOCK_OP_CALL_PARM instead of move_by_pieces.
        (restore_fixed_argument_area): Likewise.
        (store_one_arg): Fix alignment parameter to emit_push_insn.

From-SVN: r56661

21 years ago* install.texi (hppa64-hp-hpux11*): Document installation procedure.
John David Anglin [Thu, 29 Aug 2002 19:11:37 +0000 (19:11 +0000)]
* install.texi (hppa64-hp-hpux11*): Document installation procedure.

From-SVN: r56660

21 years agoDatagramPacket.java: updated to JDK 1.4 API new methods are...
Michael Koch [Thu, 29 Aug 2002 18:44:42 +0000 (18:44 +0000)]
DatagramPacket.java: updated to JDK 1.4 API new methods are...

2002-08-29  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramPacket.java: updated to JDK 1.4 API
new methods are:
DatagramPacket(byte[] buf, int offset, int length, SocketAddress
  address),
DatagramPacket(byte[] buf, int length, SocketAddress address),
void setSocketAddress(SocketAddress address)
public SocketAddress getSocketAddress()

From-SVN: r56659

21 years agonatFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing.
Tom Tromey [Thu, 29 Aug 2002 18:05:15 +0000 (18:05 +0000)]
natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing.

* java/io/natFileDescriptorPosix.cc (setLength): Handle case where
ftruncate is missing.
* configure, include/config.h.in: Rebuilt.
* acconfig.h (HAVE_FTRUNCATE): Mention.
* configure.in: Check for ftruncate.

From-SVN: r56658

21 years agojvm.h (struct _Jv_frame_info): New structure.
Tom Tromey [Thu, 29 Aug 2002 17:53:28 +0000 (17:53 +0000)]
jvm.h (struct _Jv_frame_info): New structure.

* include/jvm.h (struct _Jv_frame_info): New structure.
* gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
java-interp.h.
(lookupInterp): New method.
(getAddrAsString): Use _Jv_frame_info.
(dladdrLookup): Likewise.
* gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
interpreted frame.
(lookupInterp): Declare.
* java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
(fillInStackTrace): Collect information on interpreted frames.
Use _Jv_frame_info.
* interpret.cc: Include Thread.h.
(run): Create and push _Jv_MethodChain object.
(_Jv_EndOfInterpreter): New global.
* java/lang/Thread.java (interp_frame): New field.
* include/java-interp.h (struct _Jv_MethodChain): New structure.
Include NameFinder.h.

From-SVN: r56657

21 years agooops - fix typo in date
Nick Clifton [Thu, 29 Aug 2002 14:52:35 +0000 (14:52 +0000)]
oops - fix typo in date

From-SVN: r56655

21 years agov850.h (MULDI3_LIBCALL, [...]): Define.
Catherine Moore [Thu, 29 Aug 2002 09:50:20 +0000 (09:50 +0000)]
v850.h (MULDI3_LIBCALL, [...]): Define.

    * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
    NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
    (PREDICATE_CODES): Include new predicates.
    (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
    (TARGET_SWITCHES):  Add strict-align.
    (TARGET_STRICT_ALIGN): New.
    (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
    * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
    Define.
    (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
    v850_muldi3.
    * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
    L_callt_save_r2_r31, L_return_r2_r31,
    L_save_all_interrupt): Change addi to add.
    (L_save_interrupt, L_return_interrupt): Rework.
    (__return_r31):  Correct .size directive.
    (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
    (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
    New routines.
    * config/v850/v850.c (expand_prologue): Call
    gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
    gen_callt_return_interrupt and gen_callt_save_all_interrupt.
    (reg_or_int9_operand): New predicate.
    (reg_or_const_operand): New routine.
    * config/v850/v850.md (return_interrupt): Changed from
    restore_interrupt.
    (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
    (callt_save_interrupt): Change save sequence.
    (callt_return_interrupt): New.
    (save_interrupt): Don't use runtime function for LONG_CALLS
    and TARGET_PROLOG_FUNCTION.
    (save_all_interrupt): Likewise.
    (mulsi3): Use new predicate.
    (moviscc): Disallow some combination of constants.
    Fix define_split for sasf insns, so that it will not generate bad
    code if operand0 and operand5 are the same.
    * config/v850/v850-protos.h: Prototype new predicates.

From-SVN: r56654

21 years agocpu_limits.h: New file.
Richard Earnshaw [Thu, 29 Aug 2002 09:14:27 +0000 (09:14 +0000)]
cpu_limits.h: New file.

* config/cpu/arm/cpu_limits.h: New file.
* configure.target: Use config/cpu/arm for XScale and StrongARM
configurations.

From-SVN: r56653

21 years agoDaily bump.
GCC Administrator [Thu, 29 Aug 2002 07:17:24 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56652

21 years agoc-common.c (builtin_define_type_precision): New function.
Gabriel Dos Reis [Wed, 28 Aug 2002 21:41:55 +0000 (21:41 +0000)]
c-common.c (builtin_define_type_precision): New function.

gcc/
 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>

 * c-common.c (builtin_define_type_precision): New function.
 (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
 wchar_t is unsigned in C++.
 * doc/cpp.texi (Common Predefined Macros): Document
 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.

libstdc++-v3/

2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>

    * include/std/std_limits.h (__glibcpp_char_bits,
    __glibcpp_short_bits, __glibcpp_int_bits,
    __glibcpp_long_bits,
    __glibcpp_long_long_bits, __glibcpp_float_bits,
    __glibcpp_double_bits, __glibcpp_long_double_bits):
    Remove.  Use
    compiler predifined macros.
    (__glibcpp_wchar_t_is_signed): Define based on compiler
    predefined
    __WCHAR_UNSIGNED__.

From-SVN: r56646

21 years agoupdate_web_docs: Remove support for generating g77_news.html and g77_bugs.html.
Joseph Myers [Wed, 28 Aug 2002 21:11:19 +0000 (22:11 +0100)]
update_web_docs: Remove support for generating g77_news.html and g77_bugs.html.

* update_web_docs: Remove support for generating g77_news.html and
g77_bugs.html.
* update_web_docs_old: Likewise.  Remove support for generating
thanks.html.

From-SVN: r56644

21 years agoinvoke.texi (-Wreorder): Remove remaining pieces from the generic section.
Sylvain Pion [Wed, 28 Aug 2002 21:07:09 +0000 (21:07 +0000)]
invoke.texi (-Wreorder): Remove remaining pieces from the generic section.

2002-08-28  Sylvain Pion <pion@cs.nyu.edu>

* doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
section.  Mention that it is enabled by -Wall.
(-Wall): Mention that there can be language-specific warnings as well.
(-Wctor-dtor-privacy): Mention that it is enabled by default.
(-Wnon-virtual-dtor): Mention that it is enabled by -Wall.

From-SVN: r56643

21 years agoClass.h: Include Package.h.
Tom Tromey [Wed, 28 Aug 2002 20:05:34 +0000 (20:05 +0000)]
Class.h: Include Package.h.

* java/lang/Class.h: Include Package.h.
(Class::getProtectionDomain): Declare.
(Class::getPackage): Declare.

From-SVN: r56640

21 years agoInetSocketAddress.java: Added some documentation and argument checks for the port...
Michael Koch [Wed, 28 Aug 2002 19:23:50 +0000 (19:23 +0000)]
InetSocketAddress.java: Added some documentation and argument checks for the port numbers.

2002-08-28  Michael Koch <konqueror@gmx.de>

* java/net/InetSocketAddress.java: Added some documentation and argument
checks for the port numbers.
* java/net/DatagramSocketImplFactory.java: New file.

From-SVN: r56638

21 years agosh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler if it is ever live.
J"orn Rennecke [Wed, 28 Aug 2002 17:37:54 +0000 (17:37 +0000)]
sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler if it is ever live.

* sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
if it is ever live.

* sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
attribute for SHCOMPACT.

* sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
appropriately.
(FUNCTION_BOUNDARY): Specify only the minimum alignment required
by the ABI.

* sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.

From-SVN: r56637

21 years agobugs.texi, news.texi: Update URLs for online news and bugs lists.
Joseph Myers [Wed, 28 Aug 2002 15:40:37 +0000 (16:40 +0100)]
bugs.texi, news.texi: Update URLs for online news and bugs lists.

* bugs.texi, news.texi: Update URLs for online news and bugs
lists.

From-SVN: r56635

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

From-SVN: r56634