J"orn Rennecke [Wed, 4 Sep 2002 23:38:25 +0000 (23:38 +0000)]
loop.c (scan_loop): Don't mark separate insns out of a libcall for moving.
gcc:
* loop.c (scan_loop): Don't mark separate insns out of a libcall
for moving.
(move_movables): Abort if we see the first insn of a libcall.
gcc/testsuite
* gcc.c-torture/execute/loop-14.c: New test.
From-SVN: r56823
Jason Merrill [Wed, 4 Sep 2002 23:24:00 +0000 (19:24 -0400)]
typeck2.c (add_exception_specifier): Only pedwarn for an incomplete type.
* typeck2.c (add_exception_specifier): Only pedwarn for an
incomplete type.
(require_complete_eh_spec_types): New fn.
(cxx_incomplete_type_diagnostic): Also support pedwarning.
* typeck.c (complete_type_or_diagnostic): Likewise.
* call.c (build_call): Call require_complete_eh_spec_types.
* rtti.c (get_pseudo_ti_desc): Give an error rather than aborting
on an incomplete type.
From-SVN: r56822
Richard Henderson [Wed, 4 Sep 2002 23:22:18 +0000 (16:22 -0700)]
std_limits.h (__glibcpp_f32_infinity_bytes, [...]): Remove.
* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
__glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
__glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
__glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
__glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
__glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
__glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
__glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
__glibcpp_long_double_has_infinity): Remove.
(std::numeric_limits<float>, std::numeric_limits<double>,
std::numeric_limits<long double>): Use __builtin_huge_val
to implement has_infinity and infinity().
* src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
__glibcpp_long_double_infinity): Remove.
From-SVN: r56821
Richard Henderson [Wed, 4 Sep 2002 23:21:28 +0000 (16:21 -0700)]
builtin-types.def (BT_FN_FLOAT): New.
* builtin-types.def (BT_FN_FLOAT): New.
(BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
* builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
* builtins.c (fold_builtin_inf): New.
(fold_builtin): Call it.
* real.c (ereal_inf): New.
* real.h: Declare it.
* doc/extend.texi: Document new builtins.
From-SVN: r56820
Richard Henderson [Wed, 4 Sep 2002 23:03:31 +0000 (16:03 -0700)]
cse.c (cse_insn): Avoid subreg games if the equivalence is already in the proper mode.
* cse.c (cse_insn): Avoid subreg games if the equivalence
is already in the proper mode.
From-SVN: r56819
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
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
John David Anglin [Wed, 4 Sep 2002 22:05:43 +0000 (22:05 +0000)]
* pa.md (setccfp0, setccfp1): New patterns.
From-SVN: r56814
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
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
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
Jason Thorpe [Wed, 4 Sep 2002 18:18:37 +0000 (18:18 +0000)]
* config/sparc/t-netbsd64: Disable multilib for now.
From-SVN: r56807
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
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
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
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
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
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
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
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
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
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
Richard Henderson [Wed, 4 Sep 2002 16:09:10 +0000 (09:09 -0700)]
* enquire.c: Remove.
From-SVN: r56795
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
Jakub Jelinek [Wed, 4 Sep 2002 08:58:49 +0000 (10:58 +0200)]
* gcc.dg/typeof-2.c: New test.
From-SVN: r56792
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
GCC Administrator [Wed, 4 Sep 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56788
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
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
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
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
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
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
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
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
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
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
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
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
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
Arati Dikey [Tue, 3 Sep 2002 17:25:02 +0000 (17:25 +0000)]
* h8300.c (asm_file_start): Corrected optimization comment.
From-SVN: r56761
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
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
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
Nicola Pero [Tue, 3 Sep 2002 10:27:36 +0000 (12:27 +0200)]
New testcase
From-SVN: r56752
GCC Administrator [Tue, 3 Sep 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56751
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
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
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
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
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
GCC Administrator [Mon, 2 Sep 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56737
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
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
Nicola Pero [Sun, 1 Sep 2002 11:20:59 +0000 (13:20 +0200)]
Call [Object class], not [Object initialize]
From-SVN: r56721
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
GCC Administrator [Sun, 1 Sep 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56718
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
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
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
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
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
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
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
GCC Administrator [Sat, 31 Aug 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56702
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
Bruce Korb [Sat, 31 Aug 2002 03:33:09 +0000 (03:33 +0000)]
AAB_solaris_sys_varargs_h was misplaced
From-SVN: r56694
Richard Henderson [Sat, 31 Aug 2002 02:43:49 +0000 (19:43 -0700)]
Mark pr last change.
From-SVN: r56693
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
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
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
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
Paul Koning [Fri, 30 Aug 2002 20:02:03 +0000 (20:02 +0000)]
* MAINTAINERS: (Write After Approval): Add myself.
From-SVN: r56688
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
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
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
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
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
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
GCC Administrator [Fri, 30 Aug 2002 07:17:54 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56680
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
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
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
Nicola Pero [Thu, 29 Aug 2002 22:50:27 +0000 (00:50 +0200)]
Extended documentation on ObjC macros and flags
From-SVN: r56668
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
Geoffrey Keating [Thu, 29 Aug 2002 21:26:57 +0000 (21:26 +0000)]
* MAINTAINERS: Update Jason Eckhardt's address, remove i860.
From-SVN: r56666
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
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
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
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
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
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
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
Nick Clifton [Thu, 29 Aug 2002 14:52:35 +0000 (14:52 +0000)]
oops - fix typo in date
From-SVN: r56655
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
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
GCC Administrator [Thu, 29 Aug 2002 07:17:24 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56652
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
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
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