Commit Graph

22891 Commits

Author SHA1 Message Date
Jeff Law d3d5cc971d system.h (strstr): New external function declaration.
�
        * system.h (strstr): New external function declaration.
        * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
        * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
        * config.in, configure: Rebuilt.

From-SVN: r27746
1999-06-24 15:48:29 -06:00
Tom Tromey 8607048d69 gcc.c (main): Read user-specified specs files after computing additional startfile_prefixes.
h
        * gcc.c (main): Read user-specified specs files after computing
        additional startfile_prefixes.

From-SVN: r27742
1999-06-24 15:33:54 -06:00
Tom Tromey a5ac753387 gcc.c (main): Read user-specified specs files after computing additional startfile_prefixes.
�
        * gcc.c (main): Read user-specified specs files after computing
        additional startfile_prefixes.

From-SVN: r27741
1999-06-24 15:33:51 -06:00
Jeff Law e8bb250c8d Whoops. Revert patch applied to the wrong tre.
From-SVN: r27737
1999-06-24 15:30:38 -06:00
Philippe De Muyter 4ef877d9fb setenv.c (sys/types.h, stdio.h): Files included.
* setenv.c (sys/types.h, stdio.h): Files included.
        * xstrdup.c (sys/types.h): File included.
For the gcc-2.95 branch only.  Not to be migrated into the mainline tree
because it is incomplete.

From-SVN: r27736
1999-06-24 15:28:22 -06:00
Tom Tromey 2dc130a72e [multiple changes]
1999-06-24  Tom Tromey  <tromey@cygnus.com>
	* java/lang/e_asin.c: Don't use __int32_t or __uint32_t.
	* java/lang/fdlibm.h (HUGE): Conditionally define.
Fri May 28 22:20:03 1999  Anthony Green  <green@cygnus.com>
	* java/lang/fdlibm.h: Don't use __uint32_t.  Include mprec.h.
	* java/lang/e_log.c: Don't use __uint32_t.

From-SVN: r27733
1999-06-24 20:41:47 +00:00
Tom Tromey 0d16618c58 [multiple changes]
Fri May 28 22:20:03 1999  Anthony Green  <green@cygnus.com>
	* java/lang/fdlibm.h: Don't use __uint32_t.  Include mprec.h.
	* java/lang/e_log.c: Don't use __uint32_t.
1999-05-27  Eric Christopher <echristo@cygnus.com>
	* configure: Rebuilt
	* configure.in: Fixed ISO C9X and namespace collision with __uint32_t
	* acconfig.h: Rebuilt
	* include/config.h.in: Rebuilt
	* java/lang/mprec.h, java/lang/e_acos.c, java/lang/e_asin.c,
 	java/lang/e_atan2.c, java/lang/e_exp.c, java/lang/e_fmod.c,
 	e_log.c, java/lang/e_pow.c, java/lang/e_rem_pio2.c,
 	java/lang/e_remainder.c, java/lang/e_sqrt.c, java/lang/fdlibm.h,
 	k_tan.c, java/lang/mprec.h, java/lang/s_atan.c,
 	java/lang/s_ceil.c, java/lang/s_copysign.c, java/lang/s_fabs.c,
 	s_floor.c, java/lang/s_rint.c, java/lang/sf_rint.c: Fixed ISO C9X
 	and namespace collision with __uint32_t

From-SVN: r27729
1999-06-24 20:06:09 +00:00
Tom Tromey fe574d5d92 libjava.exp (libjava_arguments): If `libtool' not found in build tree, just use $GCJ_UNDER_TEST as compiler.
* lib/libjava.exp (libjava_arguments): If `libtool' not found in
	build tree, just use $GCJ_UNDER_TEST as compiler.

From-SVN: r27728
1999-06-24 19:06:28 +00:00
Mark Mitchell e04ea7d3eb Revert these two patches:
Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
	* loop.c (strength_reduce): When doing biv->giv conversion, update
	reg note of NEXT->insn.
	Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
	* loop.c (strength_reduce): When doing biv->giv conversion, fix up
	reg_biv_class.
	(recombine_givs): Set ix field after sorting.

From-SVN: r27727
1999-06-24 14:59:23 +00:00
Jeff Law 50cba6ed13 Daily bump.
From-SVN: r27723
1999-06-23 18:45:03 -06:00
Tom Tromey 09dd71fc3e * lib/libjava.exp (libjava_arguments): Handle -lzgcj.
From-SVN: r27721
1999-06-23 15:14:36 +00:00
J"orn Rennecke 2f9fb4c226 rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p for the parts of an UNSPEC / UNSPEC_VOLATILE.
* rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
	for the parts of an UNSPEC / UNSPEC_VOLATILE.

From-SVN: r27720
1999-06-23 16:05:18 +01:00
Tom Tromey 34043bd2e9 InflaterInputStream.java (read): Throw ZipException if inflater throws a DataFormatException.
* java/util/zip/InflaterInputStream.java (read): Throw
	ZipException if inflater throws a DataFormatException.

From-SVN: r27719
1999-06-23 14:57:14 +00:00
Bruce Korb d71ef9d4a6 inclhack.def: Add fix development commentary
1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
	*fixinc/inclhack.def:  Add fix development commentary
	(read_ret_type): reactivate and add selection clause
	(zzz_*): tweak output file name to match what is used in hackshell.tpl
	*fixinc/{fixincl.x|inclhack.sh}: regen

From-SVN: r27718
1999-06-23 12:29:01 +00:00
Warren Levy 05dfd09c0c DatagramSocketImpl.java (localPort): Fixed typo to match JDK.
* java/net/DatagramSocketImpl.java (localPort): Fixed typo to match JDK.
	* java/net/natPlainDatagramSocketImpl.cc (bind): ditto.
	* java/text/ChoiceFormat.java (nextDouble(double, boolean)): Method
	is not final per JDK.
	* java/util/PropertyResourceBundle.java (handleGetObject): Method is
	public per JDK.
	* java/util/zip/DataFormatException.java: Class extends Exception.
	* java/util/zip/Deflater.java (finalize): Method is protected per JDK.
	* java/util/zip/ZipEntry.java: Class implements ZipConstants.
	* java/util/zip/ZipInputStream.java: ditto.
	(closeEntry): Changed method name to match JDK spec.

From-SVN: r27717
1999-06-23 12:24:59 +00:00
Mark Mitchell 25e1e04927 libio.exp (test_libio): Use additional_flags, not additional_options.
* lib/libio.exp (test_libio): Use additional_flags, not
	additional_options.

From-SVN: r27716
1999-06-23 12:10:00 +00:00
Jason Merrill 5f652c070f expr.c (expand_expr): STRIP_NOPS before checking against MAX_INTEGER_COMPUTATION_MODE
* expr.c (expand_expr): STRIP_NOPS before checking against
	MAX_INTEGER_COMPUTATION_MODE
	(check_max_integer_computation_mode): Likewise.

From-SVN: r27715
1999-06-22 20:49:46 -04:00
Jeff Law 49208cca8d Daily bump.
From-SVN: r27712
1999-06-22 18:45:02 -06:00
Andrew Haley 45b0aa3189 verify.c (verify_jvm_instructions): Check for pending blocks before invalid PC test and opcode switch, not after.
1999-06-22  Andrew Haley  <aph@cygnus.com>
	* verify.c (verify_jvm_instructions): Check for pending blocks
	before invalid PC test and opcode switch, not after.

From-SVN: r27710
1999-06-22 23:22:13 +00:00
Tom Tromey 99d6050802 configure.in (target_libs): Added target-zlib.
d
	* configure.in (target_libs): Added target-zlib.
	* Makefile.in (ALL_TARGET_MODULES): Added zlib.
	(CONFIGURE_TARGET_MODULES): Likewise.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(configure-target-zlib): New target.
	(all-target-zlib): Likewise.
	(all-target-libjava): Depend on all-target-zlib.
	(configure-target-libjava): Depend on configure-target-zlib.
	* Makefile.in (configure-target-libjava): Depend on
	configure-target-newlib.
	(configure-target-boehm-gc): New target.
	(configure-target-qthreads): New target.
        * configure.in (host_tools): Added zip.
        * Makefile.in (all-target-libjava): Depend on all-zip.
        (all-zip): New target.
        (ALL_MODULES): Added all-zip.
        (NATIVE_CHECK_MODULES): Added check-zip.
        (INSTALL_MODULES): Added install-zip.
        (CLEAN_MODULES): Added clean-zip.
        * configure.in (target_libs): Added target-qthreads.
        * Makefile.in (ALL_TARGET_MODULES): Added qthreads.
        (CONFIGURE_TARGET_MODULES): Likewise.
        (CHECK_TARGET_MODULES): Likewise.
        (INSTALL_TARGET_MODULES): Likewise.
        (CLEAN_TARGET_MODULES): Likewise.
        (all-target-qthreads): New target.
        (configure-target-libjava): Depend on configure-target-qthreads.
        (all-target-libjava): Depend on all-target-qthreads.
	* Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
	(CONFIGURE_TARGET_MODULES): Likewise.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(all-target-libjava): New target.
	(all-target-boehm-gc): Likewise.
	* configure.in (target_libs): Added libjava, boehm-gc.

From-SVN: r27709
1999-06-22 16:46:19 -06:00
Tom Tromey cd1f4c2c36 configure.in (target_libs): Added target-zlib.
�
	* configure.in (target_libs): Added target-zlib.
	* Makefile.in (ALL_TARGET_MODULES): Added zlib.
	(CONFIGURE_TARGET_MODULES): Likewise.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(configure-target-zlib): New target.
	(all-target-zlib): Likewise.
	(all-target-libjava): Depend on all-target-zlib.
	(configure-target-libjava): Depend on configure-target-zlib.
	* Makefile.in (configure-target-libjava): Depend on
	configure-target-newlib.
	(configure-target-boehm-gc): New target.
	(configure-target-qthreads): New target.
        * configure.in (host_tools): Added zip.
        * Makefile.in (all-target-libjava): Depend on all-zip.
        (all-zip): New target.
        (ALL_MODULES): Added all-zip.
        (NATIVE_CHECK_MODULES): Added check-zip.
        (INSTALL_MODULES): Added install-zip.
        (CLEAN_MODULES): Added clean-zip.
        * configure.in (target_libs): Added target-qthreads.
        * Makefile.in (ALL_TARGET_MODULES): Added qthreads.
        (CONFIGURE_TARGET_MODULES): Likewise.
        (CHECK_TARGET_MODULES): Likewise.
        (INSTALL_TARGET_MODULES): Likewise.
        (CLEAN_TARGET_MODULES): Likewise.
        (all-target-qthreads): New target.
        (configure-target-libjava): Depend on configure-target-qthreads.
        (all-target-libjava): Depend on all-target-qthreads.
	* Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
	(CONFIGURE_TARGET_MODULES): Likewise.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(all-target-libjava): New target.
	(all-target-boehm-gc): Likewise.
	* configure.in (target_libs): Added libjava, boehm-gc.

From-SVN: r27708
1999-06-22 16:46:17 -06:00
Jim Wilson 759c58af50 Correct typo in smul@var{m}3_highpart documentation.
From-SVN: r27706
1999-06-22 13:33:23 -07:00
Jim Wilson 3dbecef9bc Fix for abort when PROMOTE_MODES defined but PROMOTE_FUNCTION_{ARG,RETURN} not.
* expr.c (store_expr): When target is a promoted subreg, return a
	promoted subreg as a result.

From-SVN: r27705
1999-06-22 07:39:07 -07:00
Michael Meissner 2618f95598 Retabify
From-SVN: r27704
1999-06-22 14:31:38 +00:00
Bruce Korb 15b183364a inclhack.def (end_else_label): combined else_label and endif_label and fixed the sed expression.
*fixinc/inclhack.def(end_else_label): combined else_label
	and endif_label and fixed the sed expression.
	*fixinc/{fixincl.x|inclhack.sh}: regen

From-SVN: r27703
1999-06-22 09:39:06 +00:00
Mark Mitchell 69f00f0151 init.c (expand_aggr_vbase_init): Rename to construct_virtual_bases.
* init.c (expand_aggr_vbase_init): Rename to
	construct_virtual_bases.  Conditionalize construction here,
	rather than ...
	(emit_base_init): Here.

From-SVN: r27701
1999-06-22 07:21:50 +00:00
Tom Tromey 90fb0c2498 * ltconfig, ltmain.sh: Update to libtool 1.2f.
From-SVN: r27699
1999-06-21 20:36:09 -06:00
Jeff Law bd0eb0baa5 rs6000.md (movdf_hardfloat32): Use %X instead of always emitting 'x' when handling non-offsettable addresses
h
        * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
        'x' when handling non-offsettable addresses

From-SVN: r27697
1999-06-21 19:00:30 -06:00
Jeff Law 79853d1649 rs6000.md (movdf_hardfloat32): Use %X instead of always emitting 'x' when handling non-offsettable addresses
�
        * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
        'x' when handling non-offsettable addresses

From-SVN: r27696
1999-06-21 19:00:27 -06:00
Jeff Law d0eec7449f Daily bump.
From-SVN: r27692
1999-06-21 18:45:03 -06:00
Richard Earnshaw 1b4d9ecdf0 final.c (shorten_branches): Don't try to split an insn that has been deleted.
H
        * final.c (shorten_branches): Don't try to split an insn that has
        been deleted.

From-SVN: r27691
1999-06-21 17:22:35 -06:00
Richard Earnshaw e598cdff72 final.c (shorten_branches): Don't try to split an insn that has been deleted.
�
        * final.c (shorten_branches): Don't try to split an insn that has
        been deleted.

From-SVN: r27690
1999-06-21 17:22:32 -06:00
Mark Mitchell d660677de9 mips.c (symbolic_expression_p): New function.
* config/mips/mips.c (symbolic_expression_p): New function.
	(mips_select_rtx_section): Put symbolic expressions in the
	data section, not the read-only data section.

From-SVN: r27688
1999-06-21 22:47:29 +00:00
Jeff Law c3bef29f48 Fix minor goof.
From-SVN: r27686
1999-06-21 15:36:53 -06:00
Jeffrey A Law b2d5abe3f1 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
From-SVN: r27684
1999-06-21 15:13:38 -06:00
Richard Henderson 6690d24c2c collect2.c (main): Log frame table count.
* collect2.c (main): Log frame table count.
        (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
        (scan_prog_file) [COFF]: Handle frame tables.
        * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
        (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
        * alpha/elf.h: Undef them again.
        * alpha/vms.h: Remove their definitions.

From-SVN: r27680
1999-06-21 13:20:26 -07:00
J"orn Rennecke b8794099b7 sh.c (machine_dependent_reorg): When fixing up fp pcloads...
* sh.c (machine_dependent_reorg): When fixing up fp pcloads,
	remove the clobber of r0 and change the REG_UNUSED note to
	REG_INC.

From-SVN: r27676
1999-06-21 20:21:48 +01:00
Jakub Jelinek 8fc4af0f11 Jakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek  <jj@ultra.linux.cz>
        * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
        * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
        fits in HOST_WIDE_INT and one uses union to access a long constant
        as double.

From-SVN: r27675
1999-06-21 10:52:47 -07:00
Richard Henderson 2be15d0fe6 sparc.c (sparc_override_options): Don't allow profiling for code models other than medlow.
* sparc.c (sparc_override_options): Don't allow profiling for
        code models other than medlow.
        (sparc_function_profiler): New function from old FUNCTION_PROFILER
        macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
        (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
        (sparc_block_profiler): Likewise.
        (sparc_function_block_profiler_exit): Likewise.
        * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
        (FUNCTION_BLOCK_PROFILER): Likewise.
        (BLOCK_PROFILER): Likewise.
        (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
        (MCOUNT_FUNCTION): New.
        * sparc/pbd.h (FUNCTION_PROFILER): Delete.
        (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
        * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
        (MCOUNT_FUNCTION): New.
        * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
        (BLOCK_PROFILER): Delete.
        (MCOUNT_FUNCTION): New.

From-SVN: r27672
1999-06-21 10:47:44 -07:00
Tom Tromey e8d49b5b5e ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha.
* java/lang/ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha.
	From Jeff Sturm.

From-SVN: r27671
1999-06-21 15:42:12 +00:00
Tom Tromey 139386ba56 Alpha patch from Jeff Sturm:
* os_dep.c (GC_init_linuxalpha): New function.
	* misc.c: Initialize for alpha linux.
	* gc_priv.h (GC_test_and_set): Define for alpha.
	* config.h: Don't assume __data_start on alpha.

From-SVN: r27670
1999-06-21 15:39:02 +00:00
Tom Tromey d0dd4837f8 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libzgcj_la_LDFLAGS): Use -version-info, not
	-release.

From-SVN: r27669
1999-06-21 15:02:22 +00:00
Tom Tromey f687c79ec7 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
	-release.

From-SVN: r27668
1999-06-21 14:57:44 +00:00
Tom Tromey b48ed5683a Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (toolexeclibdir): Define as libdir when
	appropriate.
	* configure: Rebuilt.
	* configure.in (USE_LIBDIR): New conditional.

From-SVN: r27667
1999-06-21 13:03:47 +00:00
Jason Merrill b1b9b120a4 up
From-SVN: r27666
1999-06-21 08:13:41 -04:00
Gerald Pfeifer 46ee0d2ae5 * g77.texi: Update links.
From-SVN: r27662
1999-06-21 11:57:15 +00:00
David Edelsohn cf2c48d805 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
From-SVN: r27661
1999-06-21 07:14:59 -04:00
Tom Tromey 115dabb8f3 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Recognize all forms of alpha.

From-SVN: r27660
1999-06-21 11:14:41 +00:00
Vladimir Makarov 48b1580ecc elf.h (BSS_SECTION_ASM_OP, [...]): Add the macros.
Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
	* config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
	Add the macros.
	* config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
	Ditto.
	* config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
	Ditto.
	* config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
	Ditto.

From-SVN: r27659
1999-06-21 09:42:51 +00:00
Andrew Haley 44d7502b78 except.c (find_handler_in_range): The upper limit for exception ranges is exclusive, not inclusive...
1999-06-21  Andrew Haley  <aph@cygnus.com>
        * except.c (find_handler_in_range): The upper limit for exception
        ranges is exclusive, not inclusive: (start <= pc < end).
        (link_handler): find child pointer which points to outer by
        searching sibling list: previous code incorrectly assumed that
        outer->outer->first_child must point to outer.
        * verify.c (verify_jvm_instructions): FIXME added to code for
        `athrow'.
        (verify_jvm_instructions): Do not assume that the last block
        processed in a subroutine is a block which ends with a `ret'
        instruction.  With some control flows it is possible that the last
        block ends with an `athrow'.

From-SVN: r27658
1999-06-21 09:18:50 +00:00