Commit Graph

22223 Commits

Author SHA1 Message Date
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
Tom Tromey
a619dc1e20 * java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked.
From-SVN: r26858
1999-05-10 09:28:54 +00:00
Tom Tromey
d5dde5342a natToolkit.cc: Added copyright header.
* java/awt/natToolkit.cc: Added copyright header.
	* java/util/zip/InflaterInputStream.java: Added copyright header.
	* java/io/FilterWriter.java (FilterWriter): Removed `FIXME'
	comment.
	* java/io/SequenceInputStream.java (SequenceInputStream): Removed
	`FIXME' comment.
	(getNextStream): Likewise.

From-SVN: r26857
1999-05-10 09:23:41 +00:00
Tom Tromey
2b607265f5 ResourceBundle.java (partialGetBundle): Explicitly use locale.toString().
* java/util/ResourceBundle.java (partialGetBundle): Explicitly use
	locale.toString().
	(getBundle): Don't explicitly throw null pointer exception.

From-SVN: r26856
1999-05-10 08:58:54 +00:00
Tom Tromey
a31b081d11 RawData.java: Added copyright header.
* gnu/gcj/RawData.java: Added copyright header.
	* include/jni.h (_Jv_va_list): Always define as va_list.

From-SVN: r26855
1999-05-10 08:42:28 +00:00
Tom Tromey
79a9a529a6 configure, [...]: Rebuilt.
* configure, Makefile.in: Rebuilt.
	* Makefile.am (EXTRA_LTLIBRARIES): New macro.
	(toolexeclib_LTLIBRARIES): Use @target_all@.
	* configure.in: Recognize --with-system-zlib.  Subst target_all.

From-SVN: r26854
1999-05-10 08:05:43 +00:00
Bruce Korb
c6a1d2ffbb check for Norcroft bug ; // comment remover portability
From-SVN: r26853
1999-05-10 07:30:06 +00:00
Jeff Law
bf768f6402 Daily bump.
From-SVN: r26852
1999-05-09 18:45:03 -06:00
Craig Burley
6d9bf07436 use small single-precision values, to avoid problem on Alphas when not -mieee
From-SVN: r26851
1999-05-09 19:39:03 -04:00
Craig Burley
0e3df01383 Add some transitive closure
From-SVN: r26850
1999-05-09 18:33:09 -04:00
Donn Terry
26837cfb5b standard-conforming error check for [de]time_.c
From-SVN: r26849
1999-05-09 16:03:20 -04:00
Craig Burley
ea0f786baf Handle ERROR_MARK input
From-SVN: r26848
1999-05-09 15:56:58 -04:00
Hans-Peter Nilsson
418a84c257 Correct bug-report address and point to the FAQ
From-SVN: r26847
1999-05-09 15:52:39 -04:00
Jeff Law
6e9a3c382d gcse.c (cprop_insn): Do not try to simplify a simple jump.
8
        * gcse.c (cprop_insn): Do not try to simplify a simple jump.

From-SVN: r26846
1999-05-09 06:25:03 -06:00
Jeff Law
b0eb0fbd12 gcse.c (cprop_insn): Do not try to simplify a simple jump.
�
        * gcse.c (cprop_insn): Do not try to simplify a simple jump.

From-SVN: r26845
1999-05-09 06:25:00 -06:00
Philip Blundell
f3b2a1c901 arm.h (ASM_OUTPUT_MI_THUNK): Add (PLT) to branch if necessary.
* config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Add (PLT) to branch if
necessary.  Reported by jim@federated.com.

From-SVN: r26844
1999-05-09 11:19:34 +00:00
Jeff Law
9ac6c1aded Daily bump.
From-SVN: r26843
1999-05-08 18:45:03 -06:00
Anthony Green
e3884aeea7 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.

From-SVN: r26842
1999-05-08 22:21:50 +00:00
Jeffrey A Law
81a1c8c397 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.

From-SVN: r26841
1999-05-08 16:11:24 -06:00
Richard Henderson
a3af74c453 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.

From-SVN: r26840
1999-05-08 09:39:18 -07:00
Philip Blundell
86efdc8e6d 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.

From-SVN: r26839
1999-05-08 09:40:05 +00:00
Donn Terry
91ab104696 Donn Terry (donn@interix.com)
Donn Terry (donn@interix.com)
        * calls.c (rtx_for_function_call): Extend function pointer being
        passed to chkr_check_exec_libfunc, if needed.

From-SVN: r26838
1999-05-07 18:58:39 -07:00
David Edelsohn
fdc829c7fa David Edelsohn <edelsohn@gnu.org>
David Edelsohn  <edelsohn@gnu.org>
        * ginclude/stdarg.h (__va_rounded_size): Use long type for
        rounding on AIX.
        * ginclude/varargs.h: Likewise.

From-SVN: r26837
1999-05-07 18:52:36 -07:00
Andreas Schwab
62a1403df3 invoke.texi: Remove duplicates in the description of -d letters.
* invoke.texi: Remove duplicates in the description of -d
letters.  Fix use of @item vs. @itemx.

From-SVN: r26836
1999-05-07 18:47:50 -07:00
Franz Sirl
bd227accac Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * rs6000.h (RS6000_VARARGS_OFFSET): Die die die.
        (CUMULATIVE_ARGS): Remove varargs_offset; update commentary.
        * rs6000.c (setup_incoming_varargs): Fix typo last change.
        (init_cumulative_args): Remove varargs_offset references.
        * rs6000/linux.h (NO_IMPLICIT_EXTERN_C): Define.
        (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Undefine.

From-SVN: r26835
1999-05-07 18:46:13 -07:00
Andreas Schwab
ccc4ae070d reload1.c (gen_mode_int): New function.
* reload1.c (gen_mode_int): New function.
        (reload_cse_move2add): Use it to generate the new constants.

From-SVN: r26834
1999-05-07 18:34:55 -07:00
Andreas Schwab
e9996db741 * varasm.c (output_constant): Do nothing if -fsyntax-only.
From-SVN: r26833
1999-05-07 18:25:41 -07:00
Jeff Law
2d9e0ce793 Daily bump.
From-SVN: r26832
1999-05-07 18:45:07 -06:00
Robert Lipe
e5a1f1d622 Update robertl's email address.
From-SVN: r26831
1999-05-07 21:50:25 +00:00
Tom Tromey
01b02b11de acconfig.h (GCJVERSION): New undef.
* acconfig.h (GCJVERSION): New undef.
	* java/lang/natSystem.cc (init_properties): Define java.version,
	java.class.version, os.name, os.arch, os.version.
	Include <sys/utsname.h> if required.
	* configure: Rebuilt.
	* configure.in: Compute and define GCJVERSION.
	* java/lang/natSystem.cc (default_file_encoding): Now static.

From-SVN: r26830
1999-05-07 18:44:38 +00:00
Tom Tromey
c59c5e9a65 * java/lang/natCharacter.cc (isLowerCase): Use a binary search.
From-SVN: r26829
1999-05-07 17:39:52 +00:00
Tom Tromey
a06fcbd464 libtool-version: New file.
* libtool-version: New file.
	* Makefile.in: Rebuilt.
	* Makefile.am (libgcj_la_LDFLAGS): Use -version-info, not
	-release.

From-SVN: r26828
1999-05-07 17:00:51 +00:00
Tom Tromey
109257e923 mauve-libgcj: Don't omit Utf8Encoding or StringTest.
* mauve-libgcj: Don't omit Utf8Encoding or StringTest.
	Comment out FieldPosition, ParsePosition, and SimpleDateFormat
	again (oops).

From-SVN: r26827
1999-05-07 16:41:11 +00:00
Tom Tromey
1040ca3d1f mauve-libgcj: Test more from java.text.
* mauve-libgcj: Test more from java.text.  Don't mention 1.1 tests
	(we pick those up already).

From-SVN: r26826
1999-05-07 16:20:48 +00:00
Vladimir Makarov
d0ae1ce326 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.

From-SVN: r26825
1999-05-07 16:20:37 +00:00
Jim Wilson
52ecdfda65 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.

From-SVN: r26824
1999-05-07 05:42:05 -07:00
Rainer Orth
e42dc60496 DESTDIR is already trimmed to the correct directory
From-SVN: r26823
1999-05-07 11:22:05 +00:00
Rainer Orth
7d032a4f63 fix memory leak in run_compiles
From-SVN: r26822
1999-05-07 11:09:31 +00:00