Per Bothner
68ca6de40d
Calendar.java (set): First call computeFields if needed.
...
d
* java/util/Calendar.java (set): First call computeFields if needed.
* java/util/natGregorianCalendar.cc (computeTime): Cast 1000 to jlong.
From-SVN: r26909
1999-05-12 11:01:29 -07:00
Zack Weinberg
3ecc3258ed
configure.in: Make --enable-cpp and --with-cpp-install-dir documented options.
...
1999-05-12 20:22 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* configure.in: Make --enable-cpp and --with-cpp-install-dir
documented options. Enable the cpp driver by default.
* configure: Rebuilt.
From-SVN: r26908
1999-05-12 17:38:28 +00:00
Kaveh R. Ghazi
b4b63e32e6
expr.c (expand_invoke): Mark parameter `nargs' with ATTRIBUTE_UNUSED.
...
* expr.c (expand_invoke): Mark parameter `nargs' with
ATTRIBUTE_UNUSED.
(PRE_LOOKUP_SWITCH): Likewise for variable `match'.
* jcf-io.c (jcf_unexpected_eof): Mark parameter `count' with
ATTRIBUTE_UNUSED.
* jcf-reader.c (get_attribute): Cast a value to long
when comparing against a signed expression. Likewise.
From-SVN: r26907
1999-05-12 17:04:30 +00:00
Kaveh R. Ghazi
34ba56fa81
lex.h: Never define HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT or HOST_BITS_PER_CHAR.
...
* lex.h: Never define HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT or
HOST_BITS_PER_CHAR.
From-SVN: r26906
1999-05-12 16:52:35 +00:00
Tom Tromey
4b7f154fb2
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Look for -ldl when using the Boehm collector.
Look for sched_yield in -lposix4.
From-SVN: r26905
1999-05-12 16:22:58 +00:00
David Edelsohn
9615f23975
rs6000.c (print_operand): Calculate signed constant more clearly.
...
* rs6000.c (print_operand) [w]: Calculate signed constant more clearly.
(rs6000_allocate_stack_space): Print as hexadecimal value.
* rs6000.h (CONST_OK_FOR_LETTER_P): 'L' checks for a signed,
16-bit shifted constant. Fix typo for 'P'.
(EXTRA_CONSTARINT): 'T' checks for a 32-bit mask operand.
* rs6000.md (movsi, addsi3_internal1, movdi, adddi3_internal1):
Use 'L' for shifted constant.
(anddi3_internal3): Fix typo.
(32-bit mask patterns): Use 'T'.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r26904
1999-05-12 11:10:54 -04:00
Per Bothner
7f8e55a0b9
File.java (mkdirs): Handle a null parent directory.
...
h
* java/io/File.java (mkdirs): Handle a null parent directory.
From-SVN: r26903
1999-05-12 07:41:17 -07:00
Per Bothner
c41dc2ffe9
File.java (mkdirs): Handle a null parent directory.
...
�
* java/io/File.java (mkdirs): Handle a null parent directory.
From-SVN: r26902
1999-05-12 07:41:16 -07:00
Tom Tromey
42962a480a
javaprims.h: Updated namespace declarations.
...
* include/javaprims.h: Updated namespace declarations.
* classes.pl (scan): Uniquify class list.
* Makefile.in, configure: Rebuilt.
* Makefile.am (nat_source_files): Added natConcreteProcess.cc.
(built_java_source_files): New macro.
(nat_headers): Added built_java_source_files.
(javao_files): Likewise.
(EXTRA_libgcj_la_SOURCES): Likewise.
(libgcj.zip): Create built class files.
($(built_java_source_files:.java=.class)): New target.
(jv_convert_LDADD): Added -L$(here)/.libs.
* configure.in: Create links for ConcreteProcess.java and
natConcreteProcess.cc.
* java/lang/Runtime.java (exec): Create a ConcreteProcess.
* java/lang/natEcosProcess.cc: New file.
* java/lang/EcosProcess.java: New file.
* java/lang/PosixProcess.java: New file.
* java/lang/natPosixProcess.cc: New file.
From-SVN: r26901
1999-05-12 11:23:44 +00:00
Andrew Haley
3b551e09f1
Invoke_2.java: New file.
...
1999-05-12 Andrew Haley <aph@cygnus.com>
* libjava.lang/Invoke_2.java: New file.
From-SVN: r26900
1999-05-12 11:17:09 +00:00
Jason Merrill
d960c105fc
configure.in (compiler_name): Don't do the skip-this-dir thing if we're reconfiguring.
...
* configure.in (compiler_name): Don't do the skip-this-dir thing
if we're reconfiguring.
From-SVN: r26899
1999-05-12 04:39:23 -04:00
Bruce Korb
94db2f7184
verify a file's existence before copying it
...
From-SVN: r26898
1999-05-12 07:32:58 +00:00
Craig Burley
41af162ca7
disable maintenance of errno
...
From-SVN: r26897
1999-05-12 00:38:14 -04:00
Warren Levy
7d9a55eb5b
PlainSocketImpl.java: Corrected copyright & header comments.
...
* java/net/PlainSocketImpl.java: Corrected copyright & header comments.
* java/net/SocketImpl.java: Added marker for JDK 1.2 work.
* java/net/natPlainSocketImpl.cc (bind): Throw BindException.
(connect): Throw ConnectException.
From-SVN: r26896
1999-05-12 01:51:23 +00:00
Jeff Law
3f281ce6f5
Daily bump.
...
From-SVN: r26895
1999-05-11 18:45:03 -06:00
Jeffrey A Law
fa27306655
* fixproto: Change "mkdir" calls to "mkdir -p"
...
From-SVN: r26894
1999-05-11 17:45:59 -06:00
Jeffrey A Law
49da3efb1d
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.
From-SVN: r26893
1999-05-11 17:06:49 -06:00
Richard Henderson
c576fce78d
alpha.c (alpha_expand_block_move): Handle TImode registers used with ADDRESSOF.
...
* alpha.c (alpha_expand_block_move): Handle TImode registers
used with ADDRESSOF.
(alpha_expand_block_clear): Handle ADDRESSOF specially.
From-SVN: r26892
1999-05-11 13:48:40 -07:00
Ulrich Drepper
a575e5d377
Update.
...
From-SVN: r26891
1999-05-11 15:11:55 +00:00
Ulrich Drepper
aa85c7f7e1
(FD_ZERO): Remove unneccessary memory output operand which irritates gcc.
...
From-SVN: r26890
1999-05-11 15:11:30 +00:00
Tom Tromey
81d4a0726c
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.
From-SVN: r26889
1999-05-11 13:03:47 +00:00
Jim Blandy
8db9d08ba1
*** empty log message ***
...
From-SVN: r26888
1999-05-11 12:40:31 +00:00
Jim Blandy
3eca405bd9
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.
From-SVN: r26887
1999-05-11 12:39:46 +00:00
Tom Tromey
fc9527b301
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (jv_convert_LDADD): Removed `-L.'; it is not needed
and it causes problems with libtool.
From-SVN: r26886
1999-05-11 12:33:49 +00:00
Tom Tromey
f994389bf8
Makefile.in, configure: Rebuilt.
...
* Makefile.in, configure: Rebuilt.
* Makefile.am (jv_convert_LDFLAGS): Removed -nodefaultlibs.
(jv_convert_LDADD): Added ZLIBS. Removed -lm, -lc, -lgcc.
(jv_convert_DEPENDENCIES): Added ZDEPS.
* configure.in (GCSPEC): Added `-L' to point to boehm-gc build
directory.
(THREADSPEC): Added `-L' to point to qthreads build directory.
(ZLIBS): New subst.
(ZDEPS): New subst.
* configure, Makefile.in: Rebuilt.
* Makefile.am (toolexeclib_DATA): New macro.
* configure.in: Create libgcj.spec. Look for -lsocket and -lnsl.
Recognize --with-system-zlib.
(GCSPEC): New subst.
(THREADSPEC): New subst.
(SYSTEMSPEC): New subst.
(ZLIBSPEC): New subst.
* libgcj.spec.in: New file.
From-SVN: r26885
1999-05-11 12:11:09 +00:00
Andrew Haley
138657ecb0
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.
From-SVN: r26884
1999-05-11 12:09:13 +00:00
Tom Tromey
6a09296d7a
Make-lang.in (jvspec.o): Don't define WITH_THREAD_x or WITH_GC_x flags.
...
* Make-lang.in (jvspec.o): Don't define WITH_THREAD_x or WITH_GC_x
flags.
* jvspec.c (THREAD_NAME): Removed.
(GC_NAME): Likewise.
(MATHLIB): Likewise.
(WITHLIBC): Likewise.
(GCLIB): Likewise.
(THREADLIB): Likewise.
(MATH_LIBRARY): Likewise.
(lang_specific_driver): Don't add `-l' options to command line.
Instead, add a single --specs option. Recognize `-L' options and
use them to search for spec file.
(find_spec_file): New function.
(SPEC_FILE): New define.
From-SVN: r26883
1999-05-11 12:00:35 +00:00
Dave Brolley
b8b8bc0348
lang-options.h: -MD, -MMD, -M and -MM not needed here for cpplib-enabled build.
...
Tue May 11 11:46:36 1999 Dave Brolley <brolley@cygnus.com>
* lang-options.h: -MD, -MMD, -M and -MM not needed here for
cpplib-enabled build.
From-SVN: r26882
1999-05-11 04:50:13 -04:00
Dave Brolley
593d78538d
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.
From-SVN: r26881
1999-05-11 04:49:39 -04:00
Vladimir Makarov
54e7fb26d5
sparc.h (GO_IF_LEGITIMATE_ADDRESS): Add parentheses around &&.
...
Tue May 11 11:34:56 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
* config/sparc/sparc.h (GO_IF_LEGITIMATE_ADDRESS): Add parentheses
around &&.
From-SVN: r26880
1999-05-11 08:38:56 +00:00
Nick Clifton
f797c10bb0
(FUNCTION_ARG): Stack element of PARALLEL must come first
...
From-SVN: r26879
1999-05-11 06:27:30 +00:00
Jeffrey A Law
ef16b5e5dd
inclhack.def (sun_auth_proto): Apply to all targets.
...
* fixinc/inclhack.def (sun_auth_proto): Apply to all targets.
(sysz_stdlib_for_sun): Similarly.
* fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
From-SVN: r26878
1999-05-10 18:47:31 -06:00
Jeff Law
ac65c2d785
Daily bump.
...
From-SVN: r26877
1999-05-10 18:45:06 -06:00
Jeff Law
39307b62ad
Add some missing folks.
...
From-SVN: r26876
1999-05-10 17:35:34 -06:00
Jim Wilson
45e7144ad3
Fix irix5 native build failure resulting from my previous patch.
...
* config/mips/elf.h (UNIQUE_SECTION_P): Undef.
* config/mips/elf64.h (UNIQUE_SECTION_P): Undef.
* config/mips/mips.h (UNIQUE_SECTION_P): Define to 0.
From-SVN: r26875
1999-05-10 13:35:34 -07:00
Jason Merrill
4592123b2a
fix typo
...
From-SVN: r26874
1999-05-10 15:48:13 -04:00
Richard Henderson
b6181dbb42
* g++.old-deja/g++.other/null1.C (g): Add overload for long.
...
From-SVN: r26873
1999-05-10 10:42:01 -07:00
Zack Weinberg
9234f99569
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.
From-SVN: r26872
1999-05-10 11:31:28 -04:00
Zack Weinberg
5f4609821f
lang-specs.h: Pass -$ to the preprocessor.
...
1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* lang-specs.h: Pass -$ to the preprocessor.
From-SVN: r26871
1999-05-10 11:30:04 -04:00
Dave Brolley
54ff00f60b
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.
From-SVN: r26870
1999-05-10 11:25:49 -04:00
Zack Weinberg
2c826217f4
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.
From-SVN: r26869
1999-05-10 11:24:36 -04:00
Craig Burley
4338f578a7
Update derived files
...
From-SVN: r26868
1999-05-10 11:21:11 -04:00
Craig Burley
17fd0b3077
fix various @xref's per proper style
...
From-SVN: r26867
1999-05-10 11:20:39 -04:00
Craig Burley
6f26283ae9
Update derived files
...
From-SVN: r26866
1999-05-10 10:45:17 -04:00
Craig Burley
2729076adc
Doc upgrade to netlib libf2c as of today
...
From-SVN: r26865
1999-05-10 10:42:40 -04:00
Craig Burley
8e2b8d136c
Update to Netlib version of 1999-05-10
...
From-SVN: r26864
1999-05-10 10:40:59 -04:00
Tom Tromey
9733e4ee31
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.
From-SVN: r26862
1999-05-10 12:33:07 +00:00
Jason Merrill
05e0b2f47c
init.c (build_offset_ref): Wrap baselinks in OFFSET_REF, too.
...
* init.c (build_offset_ref): Wrap baselinks in OFFSET_REF, too.
Don't bother wrapping an OFFSET_TYPE around unknown_type_node.
(resolve_offset_ref): Don't handle a raw baselink.
* cvt.c (build_expr_type_conversion): Likewise.
* typeck.c (decay_conversion, build_c_cast, convert_for_assignment,
convert_for_initialization): Likewise.
* class.c (instantiate_type): Handle seeing a baselink under an
OFFSET_REF.
* error.c (dump_expr): Likewise.
* pt.c (for_each_template_parm): Likewise.
(resolve_overloaded_unification): Likewise.
* tree.c (is_overloaded_fn, really_overloaded_fn): Likewise.
* typeck.c (expr_sizeof): Also complain about other permutations
of overloaded functions.
From-SVN: r26861
1999-05-10 08:12:58 -04:00
Jeffrey A Law
0ca40216d7
optabs.c (emit_cmp_and_jump_insns): Handle the case where both operands to the comparison are constants.
...
* optabs.c (emit_cmp_and_jump_insns): Handle the case where both
operands to the comparison are constants.
From-SVN: r26860
1999-05-10 06:05:24 -06:00
Tom Tromey
f2646f9c9a
RandomAccessFile.java (RandomAccessFile): Removed `FIXME' comment.
...
* java/io/RandomAccessFile.java (RandomAccessFile): Removed
`FIXME' comment.
(readLine): Likewise.
(readFully): Implemented.
From-SVN: r26859
1999-05-10 10:37:16 +00:00