Jeffrey A Law [Tue, 11 May 1999 23:06:49 +0000 (23:06 +0000)]
inclhack.def (io_def_quotes): Consistently allow multiple whitespace characters between the "define" and the...
* fixinc/inclhack.def (io_def_quotes): Consistently allow multiple
whitespace characters between the "define" and the name of the macro.
* fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
Tom Tromey [Tue, 11 May 1999 13:03:47 +0000 (13:03 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec.
* libgcj.spec.in: Don't use `+'. Instead, put old lib spec after
our libraries.
Jim Blandy [Tue, 11 May 1999 12:39:46 +0000 (12:39 +0000)]
cplus-dem.c (main): Use table lookup to distinguish identifier characters from non-identifier...
* cplus-dem.c (main): Use table lookup to distinguish identifier
characters from non-identifier characters.
(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
Andrew Haley [Tue, 11 May 1999 12:09:13 +0000 (12:09 +0000)]
parse.y (source_end_java_method): If the current method contains any exception handlers...
1999-05-11 Andrew Haley <aph@cygnus.com>
* parse.y (source_end_java_method): If the current method contains
any exception handlers, force asynchronous_exceptions: this is
necessary because signal handlers in libjava may throw exceptions.
* decl.c (end_java_method): Ditto.
Dave Brolley [Tue, 11 May 1999 08:49:39 +0000 (08:49 +0000)]
toplev.c (documented_lang_options): Add -MD, -MMD, -M and -MM for cpplib-enabled compilers.
Tue May 11 11:45:16 1999 Dave Brolley <brolley@cygnus.com>
* toplev.c (documented_lang_options): Add -MD, -MMD, -M and -MM for
cpplib-enabled compilers.
Zack Weinberg [Mon, 10 May 1999 15:31:28 +0000 (15:31 +0000)]
cppspec.c: Treat two non-option arguments as input and output file.
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cppspec.c: Treat two non-option arguments as input and
output file. Three or more non-option args is an error.
Clean up.
* gcc.c (default_compilers): Pass -$ to the preprocessor.
* objc/lang-specs.h: Likewise.
Dave Brolley [Mon, 10 May 1999 15:25:49 +0000 (11:25 -0400)]
cppspec.c: Treat two non-option arguments as input and output file.
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cppspec.c: Treat two non-option arguments as input and
output file. Three or more non-option args is an error.
Clean up.
* gcc.c (default_compilers): Pass -$ to the preprocessor.
* cp/lang-specs.h,ch/lang-specs.h,f/lang-specs.h,
objc/lang-specs.h: Likewise.
Zack Weinberg [Mon, 10 May 1999 15:24:36 +0000 (11:24 -0400)]
cppfiles.c (initialize_input_buffer): New function.
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cppfiles.c (initialize_input_buffer): New function.
(finclude): Call it, if pfile->input_buffer is NULL. Accept
any character device as an input file.
(read_and_prescan): Use pfile->input_buffer and
pfile->input_speccase.
* cppinit.c (cpp_cleanup): Free pfile->input_buffer and
pfile->input_speccase.
* cpplib.h (cpp_reader): Add input_buffer, input_speccase, and
input_buffer_len members. Use memcpy in CPP_PUTS_Q.
* cppmain.c: Buffer output in the token_buffer; throttle
number of calls to fwrite; check for errors from fwrite.
Tom Tromey [Mon, 10 May 1999 12:33:07 +0000 (12:33 +0000)]
InputStreamReader.java (read): If length is 0, return 0.
* java/io/InputStreamReader.java (read): If length is 0, return
0. Reset `wpos' and `wcount' when buffer has been filled and
emptied.
* java/util/Properties.java (save): Removed `FIXME' comment.
(load): Invalid characters in \u now treated as terminators.
Make sure to append character resulting from `\' handling.
Cast to `char' when appending to key or value.
(skip_ws): Inverted test for whitespace.
Anthony Green [Sat, 8 May 1999 22:21:50 +0000 (22:21 +0000)]
DateFormat.java (computeInstance): Separate time and date styles.
* java/text/DateFormat.java (computeInstance): Separate time
and date styles.
(getDateTimeInstance): Ditto.
(getDateTimeInstance(int,int)): New method.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add new classes.
* java/util/PropertyResourceBundle.java: New file.
* gnu/gcj/util/EnumerationChain.java: New file.
Jeffrey A Law [Sat, 8 May 1999 22:11:24 +0000 (22:11 +0000)]
pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the base register in an absolute memory address.
* pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the
base register in an absolute memory address.
* pa.md (conditional moves): Avoid using immediate zero for
register zero.
p12475.C: Use LONG_MAX to find the constant to test.
* g++.old-deja/g++.benjamin/p12475.C: Use LONG_MAX to find
the constant to test. Don't XFAIL 64-bit targets.
* g++.old-deja/g++.jason/thunk3.C: Don't XFAIL Alpha.
* g++.old-deja/g++.law/profile1.C: Likewise.
* g++.old-deja/g++.other/delete4.C: Define size_t; use it in all
operator new instances.
* g++.old-deja/g++.other/delete5.C: Likewise.
Philip Blundell [Sat, 8 May 1999 09:40:05 +0000 (09:40 +0000)]
arm.h (NEED_PLT_GOT): New macro.
* config/arm/arm.h (NEED_PLT_GOT): New macro. Set to 0 if not
already defined.
* config/arm/elf.h (NEED_PLT_GOT): Define to flag_pic.
* config/arm/arm.md (call_symbol, call_value_symbol et al.): If
NEED_PLT_GOT is true, add explicit "(PLT)" to generated branches.
* config/arm/arm.c (output_func_epilogue,
output_return_instruction): Likewise for calls to abort.
sparc.h (GO_IF_LEGITIMATE_ADDRESS): Prohibit REG+REG addressing for TFmode when there are no instructions which...
Fri May 7 19:10:15 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
* sparc.h (GO_IF_LEGITIMATE_ADDRESS): Prohibit REG+REG addressing
for TFmode when there are no instructions which accept REG+REG
instructions.
Jim Wilson [Fri, 7 May 1999 12:42:05 +0000 (12:42 +0000)]
Fix mips16 libstdc++ builds. Fix inconsistency from Apr 7 change.
* mips/elf64.h (MAKE_DECL_ONE_ONLY, UNIQUE_SECTION_P): Define.
* mips/mips.c (mips_select_rtx_section): When TARGET_MIPS16, use
function_section instead of text_section.
* mips/mips.h (ENCODE_SECTION_INFO): Add check for UNIQUE_SECTION_P
in TARGET_MIPS16 STRING_CST handling.
Jason Merrill [Fri, 7 May 1999 09:47:57 +0000 (09:47 +0000)]
init.c (resolve_offset_ref): Don't return a raw method.
* init.c (resolve_offset_ref): Don't return a raw method.
Use BASELINK_P.
* typeck.c (decay_conversion): Don't handle a raw method.
Resolve all OFFSET_REFs.
(get_member_function_from_ptrfunc): 0 is a valid vtable index.
(build_binary_op_nodefault): Handle resolving overloaded fns. Use
same_type_p for pmf bits. Don't use build_binary_op to compare
raw pointers to methods.
(convert_for_assignment): Check for OFFSET_REF, not OFFSET_TYPE,
to decide when to call resolve_offset_ref.
(build_c_cast, convert_for_initialization): Likewise.
* cvt.c (build_expr_type_conversion): Likewise.
Fred Fish [Thu, 6 May 1999 20:57:01 +0000 (20:57 +0000)]
Fred Fish <fnf@be.com>
Fred Fish <fnf@be.com>
* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
* getruntime.c: Only attempt to include sys/resource.h and
use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
are defined.