Commit Graph

22183 Commits

Author SHA1 Message Date
Ulrich Drepper
5dd0c182b1 (FD_ZERO): Fix operand numbers in asm input operands.
From-SVN: r26933
1999-05-14 13:33:17 +00:00
Jeff Law
4b5c9f6b57 Daily bump.
From-SVN: r26932
1999-05-13 18:45:02 -06:00
Alexandre Petit-Bianco
1fb89a4d59 parse.y (java_check_regular_methods): Warning check on not overriding methods with default access in other packages...
Thu May 13 18:30:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (java_check_regular_methods): Warning check on not
 	overriding methods with default access in other packages does not
 	apply to `<clinit>'.
	(java_complete_lhs): If block body is an empty_stmt_node, replace
 	it by NULL_TREE. This avoid gcc generating an irrelevant warning.

From-SVN: r26930
1999-05-13 12:01:19 -07:00
Per Bothner
aca1a6cbac Fix typo.
From-SVN: r26929
1999-05-13 08:45:03 -07:00
Per Bothner
6ddf32e318 class.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if we actually see `extern "C"'.
�
	* class.c (push_lang_context):  Turn off DECL_IGNORED_P for
	primitive Java types, if we actually see `extern "C"'.

From-SVN: r26928
1999-05-13 08:42:58 -07:00
Per Bothner
e229f2cdda class.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if we actually see `extern "C"'.
h
	* class.c (push_lang_context):  Turn off DECL_IGNORED_P for
	primitive Java types, if we actually see `extern "C"'.

From-SVN: r26927
1999-05-13 08:42:53 -07:00
Alexandre Petit-Bianco
ce6e914727 check-init.c (check_init): Removed code accepting to see things falling through default:, when doing xrefs.
Thu May 13 13:23:38 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* check-init.c (check_init): Removed code accepting to see things
	falling through default:, when doing xrefs.
	* java-tree.h (do_not_fold): New global variable, declared.
	* parse.y (do_not_fold): New global variable, defined.
	(java_complete_expand_method): Set `do_not_fold' to the value of
 	`flag_emit_xref'. When doing xrefs: copy the thrown exceptions,
 	and reinstall them after them have been purged; do not check for
 	initializations; do not issue missing return errors.
	(java_complete_lhs): Do not attempt to patch INSTANCEOF_EXPR nodes
 	when doing xrefs.
	(patch_binop): Skip the fold part when doing xrefs.
	(build_string_concatenation): Skip the concatenation part when
 	doing xrefs.
	(patch_synchronized_statement): Do not generate a try-finally when
 	doing xrefs.
	(patch_throw_statement): When doing xrefs, do not call BUILD_THROW
 	and keep the location where the throw was seen.
	* typeck.c (convert): When `do_not_fold' is set, do not attempt
 	any treatment on the converted node an simply return a NOP_EXPR of
 	the targeted type.
	* xref.c (xref_get_data): New function, defined.
	* xref.h (xref_get_data): New function, declared.
	(XREF_GET_DATA): Use xref_get_data.

From-SVN: r26926
1999-05-13 07:33:37 -07:00
David Edelsohn
19ba816140 rs6000.c (mask_constant): Delete.
* rs6000.c (mask_constant): Delete.
	(mask_operand): Move mask_constant() body to here.
	* rs6000.h (mask_constant): Delete declaration.
	* rs6000.md (nabsdi2): Reverse subtraction in splitter.

From-SVN: r26925
1999-05-13 08:38:44 -04:00
Kaveh R. Ghazi
1b01250dd0 gjavah.c (print_include): Cast the result of `strlen' to int when comparing against a signed value.
* gjavah.c (print_include): Cast the result of `strlen' to int
        when comparing against a signed value.
        (add_namelet): Likewise.

From-SVN: r26924
1999-05-13 12:05:02 +00:00
Kaveh R. Ghazi
6de8697e4d * gcc.dg/noreturn-1.c: New test.
From-SVN: r26923
1999-05-13 09:18:43 +00:00
Jeffrey A Law
16f322e33c * cpp.texi: Fix some typos.
From-SVN: r26922
1999-05-12 19:25:49 -06:00
Michael Hayes
348425392f * tmpnam.c (L_tmpnam): Fix typo.
From-SVN: r26921
1999-05-12 19:23:42 -06:00
Franz Sirl
bedee6f81c * gcc.dg/990513-1.c: New test.
From-SVN: r26920
1999-05-12 19:08:10 -06:00
Andreas Schwab
16481bae54 * gcc.c-torture/execute/990513-1.c: New test.
From-SVN: r26919
1999-05-12 19:03:24 -06:00
Graham Stott
ab5193833c loop.c (maybe_eliminate_biv): Check regno against max_reg_before_loop.
* loop.c (maybe_eliminate_biv): Check regno against
        max_reg_before_loop.

From-SVN: r26918
1999-05-12 18:57:05 -06:00
Graham Stott
35f43fd13c i386.c (memory_address_info): Correct the scale factor test.
* i386.c (memory_address_info): Correct the scale
        factor test.

From-SVN: r26917
1999-05-12 18:51:03 -06:00
Jeff Law
269bcf848b Fix typo.
From-SVN: r26916
1999-05-12 18:47:11 -06:00
Jeff Law
c8ae5917ca Daily bump.
From-SVN: r26915
1999-05-12 18:45:03 -06:00
Nick Burrett
f7af5035b7 arm.md (nop): Backout Apr 27 change.
* arm.md (nop): Backout Apr 27 change. Ensure REGISTER_PREFIX is
        applied to each register.
        * aof.h (ASM_FILE_START): Define register `r0'.

From-SVN: r26914
1999-05-12 18:38:09 -06:00
Jeff Law
13c07aef78 Tighten target test to avoid false errors on aix.
From-SVN: r26913
1999-05-12 18:26:52 -06:00
Marc Espie
3a08531df2 cplus-dem.c (standard_symbol_characters): Renamed from standard_symbol_alphabet.
* cplus-dem.c (standard_symbol_characters): Renamed from
        standard_symbol_alphabet.  No longer modify TABLE.
        (hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
        modify TABLE.
        (main): Corresponding changes.  Use strchr to determine if a
        character is valid.

From-SVN: r26912
1999-05-12 18:24:18 -06:00
Craig Burley
e0f0f526c9 update derived files
From-SVN: r26911
1999-05-12 16:56:21 -04:00
Per Bothner
8bb61fb953 Calendar.java (set): First call computeFields if needed.
x
	* java/util/Calendar.java (set):  First call computeFields if needed.
	* java/util/natGregorianCalendar.cc (computeTime):  Cast 1000 to jlong.

From-SVN: r26910
1999-05-12 11:01:31 -07:00
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