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
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
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
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
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
GCC Administrator [Wed, 28 Aug 2002 07:17:28 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56634
Michael Koch [Wed, 28 Aug 2002 05:24:10 +0000 (05:24 +0000)]
Authenticator.java: added some documentation.
2002-08-28 Michael Koch <konqueror@gmx.de>
* java/net/Authenticator.java: added some documentation.
From-SVN: r56628
Jason Thorpe [Wed, 28 Aug 2002 05:23:43 +0000 (05:23 +0000)]
config.gcc (mips*-*-netbsd*): Set target_cpu_default to "MASK_GAS|MASK_ABICALLS".
* config.gcc (mips*-*-netbsd*): Set target_cpu_default to
"MASK_GAS|MASK_ABICALLS".
* config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
(TARGET_DEFAULT): Remove.
(MACHINE_TYPE): Undefine before defining.
(DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
From-SVN: r56627
Tom Tromey [Tue, 27 Aug 2002 23:57:17 +0000 (23:57 +0000)]
natConstructor.cc (newInstance): Initialize class.
* java/lang/reflect/natConstructor.cc (newInstance): Initialize
class.
* java/lang/reflect/natMethod.cc (invoke): Initialize class.
From-SVN: r56624
Mark Mitchell [Tue, 27 Aug 2002 22:23:57 +0000 (22:23 +0000)]
Fix typo
From-SVN: r56619
Mark Mitchell [Tue, 27 Aug 2002 22:14:51 +0000 (22:14 +0000)]
c-common.c (warn_abi): New variable.
* c-common.c (warn_abi): New variable.
* c-common.h (warn_abi): Likewise.
* c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
(c_common_decode_option): Handle it.
* doc/invoke.texi:P Document -Wabi.
* class.c (layout_virtual_bases): Warn about bugs in G++ that
result in incorrect object layouts.
(layout_class_type): Likewise.
* testsuite/g++.dg/abi/bitfield5.C: New test.
* testsuite/g++.dg/abi/vbase10.C: Likewise.
From-SVN: r56618
Nicola Pero [Tue, 27 Aug 2002 22:03:30 +0000 (00:03 +0200)]
New objc.dg test for new -Wundeclared-selector ObjC option
From-SVN: r56616
Nicola Pero [Tue, 27 Aug 2002 21:57:47 +0000 (23:57 +0200)]
Added -Wundeclared-selector ObjC command line option
From-SVN: r56615
Nathan Sidwell [Tue, 27 Aug 2002 20:55:17 +0000 (20:55 +0000)]
* g++.dg/other/offsetof1.C: Avoid cast warning.
From-SVN: r56614
Gabriel Dos Reis [Tue, 27 Aug 2002 20:30:26 +0000 (20:30 +0000)]
std_limits.h (__glibcpp_f32_infinity_bytes, [...]): New macros.
* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
__glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
__glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
__glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
__glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
__glibcpp_f64_infinity_bytes,
__glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
__glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
__glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
__glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
__glibcpp_f80_infinity_bytes,
__glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
__glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
__glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
__glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
__glibcpp_f96_infinity_bytes,
__glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
__glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
__glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
__glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
__glibcpp_f128_infinity_bytes,
__glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
__glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
__glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
__glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
__glibcpp_float_infinity_bytes,
__glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
__glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
__glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
__glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
__glibcpp_double_infinity_bytes,
__glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
__glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
__glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
__glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
__glibcpp_long_double_infinity_bytes,
__glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
__glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
__glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
__glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
New macros.
(__glibcpp_word_bits, __glibcpp_word): Likewise.
(__glibcpp_byte): New typedef.
(__float_storage, __double_storage, __long_double_storage): New types.
(__glibcpp_float_infinity, __glibcpp_float_QNaN,
__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
objects. Declare.
(__glibcpp_double_infinity, __glibcpp_double_QNaN,
__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
Likewise.
* src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
(__glibcpp_double_infinity, __glibcpp_double_QNaN,
__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
Likewise.
From-SVN: r56613
Nick Clifton [Tue, 27 Aug 2002 20:01:17 +0000 (20:01 +0000)]
config.gcc: Add v850e-*-* target.
2002-08-27 Nick Clifton <nickc@redhat.com>
Catherine Moore <clm@redhat.com>
Jim Wilson <wilson@cygnus.com>
* config.gcc: Add v850e-*-* target.
Add --with-cpu= support for v850.
* config/v850/lib1funcs.asm: Add v850e callt functions.
* config/v850/v850.h: Add support for v850e target.
* config/v850/v850.c: Add functions to support v850e target.
* config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
* config/v850/v850.md: Add patterns for v850e instructions.
* doc/invoke.texi: Document new v850e command line switches.
Co-Authored-By: Catherine Moore <clm@redhat.com>
Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r56612
Matt Austern [Tue, 27 Aug 2002 19:34:17 +0000 (19:34 +0000)]
* MAINTAINERS (Write After Approval): Add self.
From-SVN: r56611
J"orn Rennecke [Tue, 27 Aug 2002 18:12:24 +0000 (18:12 +0000)]
Aldy Hernandez <aldyh at redhat dot com>
Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
Aldy Hernandez <aldyh at redhat dot com>
* doc/tm.texi: Applied numerous fixes to the automaton based
scheduler descrition.
Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r56610
Jan Hubicka [Tue, 27 Aug 2002 17:52:41 +0000 (19:52 +0200)]
* i386.c (classify_argument): Handle variable sized objects.
From-SVN: r56609
Michael Koch [Tue, 27 Aug 2002 17:47:27 +0000 (17:47 +0000)]
BindException.java, [...]: add/update of some @since/@deprecated
2002-08-27 Michael Koch <konqueror@gmx.de>
* java/net/BindException.java,
java/net/JarURLConnection.java,
java/net/FileNameMap.java,
java/net/HttpURLConnection.java,
java/net/InetSocketAddress.java,
java/net/DatagramPacket.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/MulticastSocket.java,
java/net/PasswordAuthentication.java,
java/net/ServerSocket.java,
java/net/Socket.java,
java/net/URLClassLoader.java,
java/net/URLConnection.java: add/update of some @since/@deprecated
From-SVN: r56608
Jan Hubicka [Tue, 27 Aug 2002 17:19:45 +0000 (19:19 +0200)]
* i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
From-SVN: r56607
Tony Kimball [Tue, 27 Aug 2002 16:08:31 +0000 (16:08 +0000)]
natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New define.
2002-08-27 Tony Kimball <alk@pobox.com>
Tom Tromey <tromey@redhat.com>
* java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
define.
(::close): Removed.
(PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
* java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
(::close): Removed.
(PlainSocketImpl::close): Use NATIVE_CLOSE.
* include/win32.h (getcwd): Removed declaration. Include io.h.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r56605
Tom Tromey [Tue, 27 Aug 2002 16:07:02 +0000 (16:07 +0000)]
* libjava.compile/narrow_case.java: New file.
From-SVN: r56604
Jan Hubicka [Tue, 27 Aug 2002 16:02:29 +0000 (18:02 +0200)]
* libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
From-SVN: r56603
Jan Hubicka [Tue, 27 Aug 2002 16:01:34 +0000 (18:01 +0200)]
* i386.c (classify_argument): Properly compute word size of the analyzed object.
From-SVN: r56602
J"orn Rennecke [Tue, 27 Aug 2002 15:31:02 +0000 (15:31 +0000)]
Scheduling revamp:
* sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
accordingly.
(attribute insn_class): Provide default definitions based on type.
Remove all insn-specific settings.
(various function units): Remove old SH4 scheduling.
(branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
New attributes. Set them where appropriate.
(cpu unit FS): Don't define / use.
(F3, load_store): New cpu units.
(F01): New reservation.
(all insn_reservations): Make dependent on sh4 pipeline model.
Fix latencies.
(nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
(sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
(mt insn_reservation): Use type mt_group.
(insn_reservation load_store): Split into sh4_load, sh4_load_si,
sh4_fload and sh4_store.
(insn_reservation branch_zero and branch): Replace with sh4_branch.
(insn_reservation branch_far): Replace with sh4_return.
(insn_reservation return_from_exp): Rename to:
(sh4_return_from_exp). Change to be just d_lock*5.
(insn_reservation lds_to_pr): Rename to:
(sh4_lds_to_pr). Change to be just d_lock*2.
(insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
d_lock*2.
(insn_reservation prload_mem): Rename to:
(sh4_prstore_mem). Change to d_lock*2,nothing,memory.
(insn_reservation fpscr_store): Rename to:
(fpscr_load). Change to d_lock,nothing,F1*3.
(insn_reservation fpscr_store_mem): Rename to:
(fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
(insn_reservation multi): Change to
d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
(insn_reservation fp_arith): Change to issue,F01,F2.
(insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
(insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
(insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
(insn_reservation fp_double_cmp): Change to
d_lock,(d_lock+F01),F1+F2,F2.
(insn_reservation dp_div): Change to
issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
* sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
(sh_adjust_cost, SHcompact): Differentiate between different
kinds of dependencies. Drop factor of ten for superscalar.
Use new instruction types. Add new exception rules.
Two small bug fixes:
* sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
* sh.md (mperm_w): Add DONE.
From-SVN: r56601
David Edelsohn [Tue, 27 Aug 2002 14:55:42 +0000 (14:55 +0000)]
longlong.h: Import current PowerPC defintion from GMP-4.1.
* longlong.h: Import current PowerPC defintion from GMP-4.1.
* config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
From-SVN: r56600
J"orn Rennecke [Tue, 27 Aug 2002 13:05:08 +0000 (13:05 +0000)]
* sh.h (MAX_FIXED_MODE_SIZE): Define.
From-SVN: r56599
Gabriel Dos Reis [Tue, 27 Aug 2002 10:53:06 +0000 (10:53 +0000)]
cpp.texi (Common Predefined Macros): Don't mess with table delimiter.
* doc/cpp.texi (Common Predefined Macros): Don't mess with
table
delimiter.
From-SVN: r56598
Gabriel Dos Reis [Tue, 27 Aug 2002 09:38:05 +0000 (09:38 +0000)]
c-common.c (cpp_define_data_format): New function.
* c-common.c (cpp_define_data_format): New function.
(cb_register_builtins): Call it.
* doc/cpp.texi (Common Predefined Macros): Document
__TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
__TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
__TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
__TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
__TARGET_USES_VAX_H_FLOAT__.
From-SVN: r56597
GCC Administrator [Tue, 27 Aug 2002 07:17:16 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56596
Tom Tromey [Mon, 26 Aug 2002 23:30:02 +0000 (23:30 +0000)]
parse.y (try_builtin_assignconv): Allow narrowing primitive conversion if RHS_TYPE is byte, short, or char.
* parse.y (try_builtin_assignconv): Allow narrowing primitive
conversion if RHS_TYPE is byte, short, or char.
From-SVN: r56589
Ziemowit Laski [Mon, 26 Aug 2002 21:17:20 +0000 (21:17 +0000)]
objc-act.c (get_super_receiver): If inside a class method of a category...
[gcc]
2002-08-26 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (get_super_receiver): If inside a class method
of a category, cast the receiver to 'id' before accessing the 'isa'
field so that <objc/objc-class.h> is not needed. For NeXT runtime.
[gcc/testsuite]
2002-08-26 Ziemowit Laski <zlaski@apple.com>
* objc.dg/super-class-2.m: New test.
From-SVN: r56587
Ulrich Weigand [Mon, 26 Aug 2002 18:18:19 +0000 (18:18 +0000)]
s390-protos.h (s390_function_prologue, [...]): Remove.
* config/s390/s390-protos.h (s390_function_prologue,
s390_function_epilogue): Remove.
config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
config/s390/s390.c (s390_machine_dependent_recorg): New function.
config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
assume BASE_REGISTER and RETURN_REGNUM need to be saved.
(s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
function is not a leaf function. Use save_gprs and restore_gprs.
(s390_emit_epilogue): Likewise.
(save_gprs, restore_gprs): New functions.
(struct s390_frame): Remove return_reg_saved_p member.
(save_fprs_p): Remove.
(s390_optimize_prolog): New function.
(s390_legitimate_reload_constant): Remove now unnecessary check.
(s390_function_count): Remove.
(s390_output_symbolic_const): Replace s390_function_count by
current_function_funcdef_no.
(s390_output_constant_pool): Likewise.
(legitimize_pic_address): Use regs_ever_live to track PIC register
instead of current_function_uses_pic_offset_table.
(s390_emit_prologue): Likewise.
config/s390/s390.md ("call", "call_value"): Likewise.
From-SVN: r56584
Neil Booth [Mon, 26 Aug 2002 17:44:08 +0000 (17:44 +0000)]
c-opts.c (find_opt): Don't complain about wrong languages here.
* c-opts.c (find_opt): Don't complain about wrong languages
here. Return exact matches even for wrong language.
(c_common_decode_option): Complain about wrong languages
here.
From-SVN: r56583
GCC Administrator [Mon, 26 Aug 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56581
Adam Megacz [Mon, 26 Aug 2002 05:29:59 +0000 (05:29 +0000)]
win32.h (getcwd): copied function declaration as temporary fix for header confusion.
2002-08-25 Adam Megacz <adam@xwt.org>
* include/win32.h (getcwd): copied function declaration as
temporary fix for header confusion.
From-SVN: r56574
Adam Megacz [Mon, 26 Aug 2002 05:26:32 +0000 (05:26 +0000)]
libjava.exp: don't apply -no-install when platform is mingw.
2002-08-25 Adam Megacz <adam@xwt.org>
* lib/libjava.exp: don't apply -no-install when platform is mingw.
From-SVN: r56573
Gabriel Dos Reis [Sun, 25 Aug 2002 20:17:01 +0000 (20:17 +0000)]
std_limits.h: Indent conditional macro definitions.
* include/std/std_limits.h: Indent conditional macro
definitions.
From-SVN: r56570
GCC Administrator [Sun, 25 Aug 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56568
Stuart Hastings [Sun, 25 Aug 2002 05:21:11 +0000 (05:21 +0000)]
function.h (struct function): Add flag all_throwers_are_sibcalls.
2002-08-24 Stuart Hastings <stuart@apple.com>
* function.h (struct function): Add flag
all_throwers_are_sibcalls.
* except.c (set_nothrow_function_flags): Replaces
nothrow_function_p. Set new flag.
* except.h (set_nothrow_function_flags): Replaces
nothrow_function_p.
* dwarf2out.c (struct dw_fde_struct): Add flag
all_throwers_are_sibcalls.
(output_call_frame_info): Test it.
(dwarf2out_begin_prologue) Propagate it from cfun to
dw_fde_struct.
* toplev.c (rest_of_compilation): Update calls to
nothrow_function_p.
From-SVN: r56561
Matt Austern [Sun, 25 Aug 2002 04:57:16 +0000 (04:57 +0000)]
tree.c (lvalue_p_1): Add argument for whether casts of lvalues are allowable.
2002-08-24 Matt Austern <austern@apple.com>
* tree.c (lvalue_p_1): Add argument for whether casts of lvalues
are allowable.
(real_lvalue_p): Update caller.
(lvalue_p): Ditto.
(non_cast_lvalue_or_else): New.
* tree.h: Declare it.
* typeck.c (build_unary_op): Use non_cast_lvalue_or_else.
2002-08-24 Matt Austern <austern@apple.com>
* g++.dg/ext/lvaddr.C: New test.
* g++.dg/ext/lvcast.C: New test.
From-SVN: r56560
Andre Leis [Sun, 25 Aug 2002 00:59:31 +0000 (00:59 +0000)]
David Billinghurst (David.Billinghurst@riotinto.com>
2002-08-25 Andre Leis <a.leis@gmx.net>
David Billinghurst (David.Billinghurst@riotinto.com>
* sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>
From-SVN: r56558
Mark Wielaard [Sat, 24 Aug 2002 22:46:19 +0000 (22:46 +0000)]
Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
* Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
(core_java_source_files): Add VMThrowable.java and NameFinder.java
(nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
and natNameFinder.cc.
* Makefile.in: Regenerate.
* prims.cc: Use trace_enabled from VMThrowable.
* name-finder.cc: Removed.
* gcj/javaprims.h: Add class VMThrowable.
* gnu/gcj/runtime/NameFinder.java: New file.
* gnu/gcj/runtime/natNameFinder.cc: Likewise.
* include/name-finder.h: Removed.
* java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
method stackTraceString().
(printStackTrace (PrintWriter)): Likewise.
(stackTraceString): Complete rewrite of old printStackTrace using
StringBuffer.
(stackTraceStringBuffer): New helper method for stackTraceString().
(fillInStackTrace): Delegate to VMTrowable.
(getStackTrace): Likewise.
(getStackTrace0): Removed.
(trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
(setStackTrace): Copy given array.
* java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
* java/lang/VMThrowable.java: New class.
* java/lang/natVMThrowable.cc: New file.
From-SVN: r56556
Geoffrey Keating [Sat, 24 Aug 2002 22:30:51 +0000 (22:30 +0000)]
* MAINTAINERS: Change my mailing address.
From-SVN: r56555
GCC Administrator [Sat, 24 Aug 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56554
Zack Weinberg [Sat, 24 Aug 2002 03:20:33 +0000 (03:20 +0000)]
ggc-page.c (compute_inverse): Short circuit calculation for object sizes larger than half a page.
* ggc-page.c (compute_inverse): Short circuit calculation for
object sizes larger than half a page.
From-SVN: r56548
Phil Edwards [Fri, 23 Aug 2002 19:33:41 +0000 (19:33 +0000)]
Makefile.am (check-abi): Specify current directory.
2002-08-23 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (check-abi): Specify current directory.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
abi_baseline_triplet in baseline_file.
* Makefile.in, aclocal.m4, configure: Regenerate.
* configure.target: Add abi_baseline_triplet with default.
* testsuite/abi_check.cc: More error checking.
From-SVN: r56545
David Edelsohn [Fri, 23 Aug 2002 18:02:22 +0000 (18:02 +0000)]
rs6000.c (rs6000_elf_select_section): Treat DEFAULT_ABI == ABI_AIX like PIC.
* config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
default.
(rs6000_elf_unique_section): Likewise.
From-SVN: r56544
Kaveh R. Ghazi [Fri, 23 Aug 2002 17:35:23 +0000 (17:35 +0000)]
ns32k.c (ns32k_globalize_label): Delete.
* ns32k.c (ns32k_globalize_label): Delete.
* ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
From-SVN: r56543
Phil Edwards [Fri, 23 Aug 2002 16:52:29 +0000 (16:52 +0000)]
linker-map.gnu: Verbose comments, clean up spacing.
2002-08-23 Phil Edwards <pme@gcc.gnu.org>
* config/linker-map.gnu: Verbose comments, clean up spacing.
* include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
statements.
__allocator: Change class declaration to struct.
* docs/html/17_intro/C++STYLE: Fix typo.
* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_vector.h: Fix fallout from typo.
From-SVN: r56540
GCC Administrator [Fri, 23 Aug 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56538
Michael Koch [Fri, 23 Aug 2002 04:54:03 +0000 (04:54 +0000)]
URLConnection.java, [...]: Added implementation of getHeaderFields().
2003-08-23 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java,
java/netJarURLConnection.java,
gnu/gcj/protocol/core/Connection.java,
gnu/gcj/protocol/file/Connection.java,
gnu/gcj/protocol/http/Connection.java: Added implementation of
getHeaderFields().
From-SVN: r56532
Benjamin Kosnik [Fri, 23 Aug 2002 03:39:51 +0000 (03:39 +0000)]
acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host variables.
2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
variables.
* aclocal.m4: Regenerate.
* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
native compiling.
* testsuite/Makefile.in: Regenerate.
From-SVN: r56531
Loren J. Rittle [Fri, 23 Aug 2002 02:57:11 +0000 (02:57 +0000)]
* testsuite/abi_check.cc: Support older binutils/readelf.
From-SVN: r56530
Loren J. Rittle [Fri, 23 Aug 2002 01:50:15 +0000 (01:50 +0000)]
abi_check.cc: Enhance shell portability.
* testsuite/abi_check.cc: Enhance shell portability.
* config/abi/i386-unknown-freebsd4.6: Add.
* config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
From-SVN: r56527
Alan Modra [Fri, 23 Aug 2002 01:18:06 +0000 (01:18 +0000)]
rs6000.c (output_mi_thunk): Don't determine insns for loading delta with num_insns_constant_wide.
* config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
for loading delta with num_insns_constant_wide. Calculate
delta_low, delta_high without using a conditional.
From-SVN: r56525
Mark Mitchell [Fri, 23 Aug 2002 00:28:29 +0000 (00:28 +0000)]
typeck.c (build_class_member_access_expr): Handle COMPOUND_EXPR and COND_EXPR specially; fix error message output.
* typeck.c (build_class_member_access_expr): Handle COMPOUND_EXPR
and COND_EXPR specially; fix error message output.
* testsuite/g++.dg/inherit/cond1.C: New test.
From-SVN: r56524
Jason Merrill [Thu, 22 Aug 2002 23:22:53 +0000 (19:22 -0400)]
c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
* c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
* c-common.def: Adjust.
* c-dump.c (c_dump_tree): Adjust.
* c-semantics.c (genrtl_return_stmt): Adjust.
* c-pretty-print.c (pp_c_statement): Adjust.
* tree-inline.c (copy_body_r): Adjust.
2002-08-22 Jason Merrill <jason@redhat.com>
* pt.c (tsubst_expr): RETURN_EXPR is now RETURN_STMT_EXPR.
* semantics.c (nullify_returns_r): Likewise.
From-SVN: r56523
Tom Tromey [Thu, 22 Aug 2002 22:44:26 +0000 (22:44 +0000)]
gij.cc (help): Document -cp and -classpath.
* gij.cc (help): Document -cp and -classpath.
(main): Handle -classpath.
From-SVN: r56522
Tom Tromey [Thu, 22 Aug 2002 22:44:20 +0000 (22:44 +0000)]
* gcj.texi (Invoking gij): Document -cp and -classpath.
From-SVN: r56521
Paolo Carlini [Thu, 22 Aug 2002 20:30:13 +0000 (22:30 +0200)]
index.html: Add Loren James Rittle and Paolo Carlini to the list of v3 maintainers.
2002-08-22 Paolo Carlini <pcarlini@unitus.it>
* docs/html/faq/index.html: Add Loren James Rittle and
Paolo Carlini to the list of v3 maintainers.
* docs/html/faq/index.txt: Ditto.
* docs/html/17_intro/RELEASE-NOTES: Ditto.
From-SVN: r56516
Benjamin Kosnik [Thu, 22 Aug 2002 20:06:01 +0000 (20:06 +0000)]
Makefile.am (check-abi): New rule.
2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
Phil Edwards <pme@gcc.gnu.org>
Ulrich Drepper <drepper@redhat.com>
* Makefile.am (check-abi): New rule.
* Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
(abi_check_SOURCES): Add.
* testsuite/Makefile.in: Regenerate.
* testsuite/abi_check.cc: New file.
* config/abi: Add.
* config/abi/i686-pc-linux-gnu: Add.
* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
Co-Authored-By: Ulrich Drepper <drepper@redhat.com>
From-SVN: r56515
Geoffrey Keating [Thu, 22 Aug 2002 20:05:52 +0000 (20:05 +0000)]
* gcc.dg/noncompile/incomplete-1.c: New test.
From-SVN: r56514
Zack Weinberg [Thu, 22 Aug 2002 19:17:04 +0000 (19:17 +0000)]
ggc-page.c: Avoid division in ggc_set_mark.
* ggc-page.c: Avoid division in ggc_set_mark.
(DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
compute_inverse): New.
(ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
(init_ggc): Initialize inverse_table.
From-SVN: r56512
Tom Tromey [Thu, 22 Aug 2002 17:46:35 +0000 (17:46 +0000)]
* doc/install.texi (Configuration): Document --datadir.
From-SVN: r56511
GCC Administrator [Thu, 22 Aug 2002 07:17:37 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56509
Alexandre Oliva [Thu, 22 Aug 2002 04:29:34 +0000 (04:29 +0000)]
* Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
From-SVN: r56503
Hans-Peter Nilsson [Thu, 22 Aug 2002 02:20:43 +0000 (02:20 +0000)]
where.h (struct _ffewhere_file_): Mark GTY.
* where.h (struct _ffewhere_file_): Mark GTY.
(ffewhere_file_kill): Remove prototype.
* where.c: Include ggc.h.
(struct _ffewhere_ll_, struct _ffewhere_root_ll_): Mark GTY.
(ffewhere_root_ll_): Ditto. Change type from struct
_ffewhere_root_ll_ to struct _ffewhere_root_ll_*. All uses
changed.
(ffewhere_file_kill): Remove.
(ffewhere_file_new): Use GC to allocate ffewhereFile objects.
(ffewhere_file_set): Use GC to allocate ffewhereLL_ objects.
(ffewhere_init_1): Use GC to allocate ffewhere_root_ll_ sentinel.
Include gt-f-where.h.
* lex.c (ffelex_current_wf_, ffelex_include_wherefile_): Mark GTY.
Include gt-f-lex.h.
* std.c (ffestd_S3P4): Don't call ffewhere_file_kill.
* config-lang.in (gtfiles): Add f/where.h f/where.c and f/lex.c.
* Make-lang.in (gt-f-lex.h gt-f-where.h): Add to dependents of
s-gtype.
(f/lex.o): Depend on gt-f-lex.h.
(f/where.o): Depend on gt-f-where.h.
From-SVN: r56502
Hans-Peter Nilsson [Thu, 22 Aug 2002 02:17:08 +0000 (02:17 +0000)]
* gengtype-lex.l (ID): Allow underscore as first character.
From-SVN: r56501
David Edelsohn [Thu, 22 Aug 2002 01:53:30 +0000 (01:53 +0000)]
rs6000.c (rs6000_xcoff_asm_globalize_label): New function.
* config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
function.
(rs6000_xcoff_asm_named_section): Rename.
* config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
From-SVN: r56500
Tom Tromey [Thu, 22 Aug 2002 00:52:20 +0000 (00:52 +0000)]
re PR libgcj/7633 ($(prefix)/share used rather than $(datadir))
* Make-lang.in (java/jcf-path.o): Use $(datadir), not
$(prefix)/share. For PR libgcj/7633.
From-SVN: r56499
Tom Tromey [Thu, 22 Aug 2002 00:42:40 +0000 (00:42 +0000)]
For PR java/6005 and PR java/7611:
* fold-const.c (fold_truthop): Use can_use_bit_fields_p.
(fold): Likewise.
* langhooks.c (lhd_can_use_bit_fields_p): New function.
* langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
(LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
(LANG_HOOKS_INITIALIZER): Use it.
* langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
field.
From-SVN: r56498
Tom Tromey [Thu, 22 Aug 2002 00:41:28 +0000 (00:41 +0000)]
For PR java/6005 and PR java/7611:
* lang.c (LANG_HOOKS_CAN_USE_BITFIELDS_P): New define.
(java_can_use_bit_fields_p): New function.
From-SVN: r56497
Stan Shebs [Wed, 21 Aug 2002 23:24:14 +0000 (23:24 +0000)]
tree.c (finish_vector_type): Fix a typo in a comment.
* tree.c (finish_vector_type): Fix a typo in a comment.
* Makefile.in: Fix "the the" stutters in comments.
* genautomata.c: Ditto.
* ifcvt.c: Ditto.
* regrename.c: Ditto.
* config/alpha/alpha.c: Ditto.
* config/alpha/vms-crt0-64.c: Ditto.
* config/alpha/vms-crt0.c: Ditto.
* config/alpha/vms-psxcrt0-64.c: Ditto.
* config/alpha/vms-psxcrt0.c: Ditto.
* config/d30v/d30v.h: Ditto.
* config/fr30/fr30.h: Ditto.
* config/rs6000/rs6000.c: Ditto.
* config/stormy16/stormy16.h: Ditto.
* doc/md.texi: Ditto.
From-SVN: r56496
Tom Tromey [Wed, 21 Aug 2002 18:54:07 +0000 (18:54 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added
SocketAddress.java, InetSocketAddress.java.
* java/net/PortUnreachableException.java: Merged with Classpath.
* java/net/SocketTimeoutException.java: Likewise.
* java/net/URISyntaxException.java: Likewise.
* java/net/SocketAddress.java: New class from Classpath.
* java/net/InetSocketAddress.java: Likewise.
From-SVN: r56494