Commit Graph

17429 Commits

Author SHA1 Message Date
Ulrich Drepper 64e1d44458 (class basic_string): Correct iterator return values in insert member
functions.

From-SVN: r20950
1998-07-06 10:35:56 +00:00
Dave Love 60afa297a0 intdoc.in (HOSTNM_func, [...]): Note possible need for -lsocket.
1998-07-06  Dave Love  <d.love@dl.ac.uk>
	* intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
	-lsocket.

From-SVN: r20949
1998-07-06 09:56:06 +00:00
Dave Love 83630c20a7 Fix 1998-07-05 entry
From-SVN: r20948
1998-07-06 09:53:15 +00:00
Dave Love 40eea15079 (system_clock_): Remove (just f90 intrinsic).
From-SVN: r20947
1998-07-06 09:52:26 +00:00
Dave Love 28ef523e11 (F2CEXT): Remove sclock.
(UOBJ): Add libU77/datetime_.o.

From-SVN: r20946
1998-07-06 09:51:36 +00:00
Mark Mitchell 2f54179908 cse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but dealing with ADDRESSOF.
* cse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but
	dealing with ADDRESSOF.
	(find_best_addr): Use it.

From-SVN: r20945
1998-07-06 09:38:46 +00:00
Richard Henderson 4fc8ff929a * alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.
From-SVN: r20944
1998-07-06 02:26:18 -07:00
Dave Love 10c301ac33 libgcc2.c (__eprintf): Make args consistent with prototype in assert.h.
* libgcc2.c (__eprintf): Make args consistent with prototype in
        assert.h.

From-SVN: r20943
1998-07-06 02:24:31 -07:00
Dave Love 235d853db1 f2cext.c (system_clock_): Remove (just f90 intrinsic).
1998-07-05  Dave Love  <d.love@dl.ac.uk>
	* f2cext.c (system_clock_): Remove (just f90 intrinsic).
	* Makefile.in (F2CEXT): Add datetime, remove sclock.
	(UOBJ): Add libU77/datetime_.o.
	* libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
	* libU77/configure.in: Check for gettimeofday.
	* libU77/datetime_.c: New file.
	* libU77/sys_clock_.c: Allow optional args.
	* libU77/Makefile.in (G77DIR): Fix for current directory
	structure.
	(SRCS, OBJS): Add datetime.

From-SVN: r20942
1998-07-06 09:03:28 +00:00
Dave Love a60cb98615 [multiple changes]
1998-07-06  Dave Love  <d.love@dl.ac.uk>
	* libU77/Makefile.in (lib): Change variable lib to LIBS.
1998-07-06  Robert Lipe <robertl@dgii.com>
	* libU77/configure.in: Look for -lsocket, add to LIBS if found.
	* libU77/Makefile.in (lib):  Use LIBS from above.

From-SVN: r20941
1998-07-06 09:01:43 +00:00
Dave Love b4ce1e193b f2cext.c (system_clock_): Remove (just f90 intrinsic).
1998-07-05  Dave Love  <d.love@dl.ac.uk>
	* f2cext.c (system_clock_): Remove (just f90 intrinsic).
	* Makefile.in (F2CEXT): Add datetime, remove sclock.
	(UOBJ): Add libU77/datetime_.o.
	* libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
	* libU77/configure.in: Check for gettimeofday.
	* libU77/datetime_.c: New file.
	* libU77/sys_clock_.c: Allow optional args.
	* libU77/Makefile.in (G77DIR): Fix for current directory
	structure.
	(SRCS, OBJS): Add datetime.
	* libU77/u77-test.f: Call date_and_time.  Call system_clock
	omitting args.

From-SVN: r20940
1998-07-06 08:40:35 +00:00
Dave Love 4b6a9e508e Should have been removed before.
From-SVN: r20939
1998-07-06 08:38:19 +00:00
Dave Love 9e8e701d57 intdoc.in: Add entry for DATE_AND_TIME.
1998-07-05  Dave Love  <d.love@dl.ac.uk>
	* intdoc.in: Add entry for DATE_AND_TIME.
	* intrin.def: Add implementation for DATE_AND_TIME.  Make second
	and third args of SYSTEM_CLOCK optional.
	* com.c (ffecom_expr_intrinsic_): New case for DATE_AND_TIME.
	* com-rt.def (FFECOM_gfrtSYSTEM_CLOCK): Call G77_system_clock_0,
	not system_clock_.
	(FFECOM_gfrtDATE_AND_TIME): New DEFGFRT.

From-SVN: r20938
1998-07-06 08:29:31 +00:00
Jeff Law 55e859f27f Daily bump.
From-SVN: r20937
1998-07-05 18:45:02 -06:00
Jeffrey A Law 7bd8b2a885 cse.c (cse_insn): Second arg is an RTX now.
* cse.c (cse_insn): Second arg is an RTX now.  Update all callers.
        (cse_basic_block): Keep track of the current RETVAL insn for a
        libcall instead of just noting that we're in a libcall.

From-SVN: r20936
1998-07-05 17:59:03 -06:00
Mark Mitchell 9de2c71a47 cse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y...
* cse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y,
        don't claim that the former is equivalent to the latter.

From-SVN: r20935
1998-07-05 17:33:36 -06:00
Jeffrey A Law adc05e6ce6 combine.c (simplify_comparison): Do not commute a AND into a paradoxical SUBREG if not WORD_REGISTER_OPERATIONS.
* combine.c (simplify_comparison): Do not commute a AND into
	a paradoxical SUBREG if not WORD_REGISTER_OPERATIONS.

From-SVN: r20934
1998-07-05 17:20:51 -06:00
Jeff Law 80de166284 freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with HAVE_GAS_MAX_SKIP_P2ALIGN.
0
	* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with
	HAVE_GAS_MAX_SKIP_P2ALIGN.
	* i386/linux.h: Likewise.

From-SVN: r20933
1998-07-05 17:02:03 -06:00
Jeff Law a4017712b7 freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with HAVE_GAS_MAX_SKIP_P2ALIGN.
�
	* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with
	HAVE_GAS_MAX_SKIP_P2ALIGN.
	* i386/linux.h: Likewise.

From-SVN: r20932
1998-07-05 17:02:00 -06:00
Jeff Law af3673b4dc Daily bump.
From-SVN: r20929
1998-07-04 18:45:02 -06:00
Jeff Law 0a72973e10 Daily bump.
From-SVN: r20920
1998-07-03 18:45:02 -06:00
David S. Miller f7e0e539c5 sparc.c (sparc_operand, [...]): Recognize CONSTANT_P_RTX.
* sparc.c (sparc_operand, move_operand,	arith_operand,
	arith11_operand, arith10_operand, arith_double_operand,
	arith11_double_operand, arith10_double_operand, small_int,
	uns_small_int): Recognize CONSTANT_P_RTX.
	(output_sized_memop, output_move_with_extension,
	output_load_address, output_size_for_block_move,
	output_block_move, delay_operand): Remove, has not been
	enabled or referenced for years.
	* sparc.md (movstrsi, block_move_insn): Likewise.
	* sparc.h (PREDICATE_CODES): Define.
	* linux-aout.h (MACHINE_STATE_{SAVE,RESTORE}): Override with
	version which uses getcc/setcc traps to save/restore condition
	codes.
	* linux64.h: Likewise.
	* sunos4.h: Likewise.
	* linux.h: Likewise.
	* sol2.h: Likewise.
	* sun4o3.h: Likewise.

From-SVN: r20917
1998-07-02 20:19:41 -07:00
Richard Henderson d420e567dc alpha.c (alpha_initialize_trampoline): Hack around Pmode/ptr_mode lossage on VMS.
* alpha.c (alpha_initialize_trampoline): Hack around Pmode/ptr_mode
        lossage on VMS.  Reported by kkaempf@rmi.de.
        * alpha/vms.h (TRAMPOLINE_TEMPLATE): Add missing 0.

From-SVN: r20916
1998-07-02 19:31:43 -07:00
Jeff Law c3b9a03836 Daily bump.
From-SVN: r20915
1998-07-02 18:45:02 -06:00
Nick Clifton 4abfe23513 Define MUST_PASS_IN_STACK to override default. (Fixes testsuite/gcc.c-execute/strct-stdarg-1.c)
From-SVN: r20908
1998-07-02 17:42:29 +00:00
Ulrich Drepper 356985ca34 Update.
From-SVN: r20907
1998-07-02 15:57:28 +00:00
Ulrich Drepper 5a1a4615e4 (class basic_string): Return correct iterators in erase member functions.
From-SVN: r20906
1998-07-02 15:57:12 +00:00
Michael Meissner 6feacd0954 Switch reg_n_info structure to use varrays
From-SVN: r20894
1998-07-02 13:49:34 +00:00
David Edelsohn 39403d8233 expr.h (STACK_SIZE_MODE): New macro.
* expr.h (STACK_SIZE_MODE): New macro.
        * explow.c (allocate_dynamic_stack_space): Use it for
        mode of allocate_stack pattern increment operand.
        * tm.texi (STACK_SAVEAREA_MODE, STACK_SIZE_MODE): Document.
        * md.texi (stack_save_block, ...): Reflect use of macro.
        * rs6000.h (PROMOTE_MODE): Always promote to word_mode.
        (PROMOTE_FUNCTION_ARGS): Define.
        (PROMOTE_FUNCTION_RETURN): Define.
        (FUNCTION_VALUE): Promote to word_mode if smaller.
        Convert to gen_rtx_FOO.
        * rs6000.md (call_indirect): Store doubleword in 64-bit mode.
        Convert to gen_rtx_FOO.

From-SVN: r20893
1998-07-02 07:53:24 -04:00
Michael Meissner 848205e6ed Add initial varray support infrastructure
From-SVN: r20892
1998-07-02 11:42:39 +00:00
Robert Lipe 44bb0e9324 Regenerate file.
From-SVN: r20891
1998-07-02 08:22:14 +00:00
Robert Lipe f7c9c2bb24 install.texi (sco3.2v5): Document new --with-gnu-as flag.
* install.texi (sco3.2v5): Document new --with-gnu-as flag.
* config/i386/sco5.h (JUMP_TABLES_IN_TEXT_SECTION): Defined as
  in other targets.
  (USE_GAS): Conditionalize away native assembler usage.
* config/i386/sco5gas.h: New file.
* config/i386/t-sco5gas: New file.
* configure.in (ix86-sco3.2v5*): Use new files if --with-gnu-as

From-SVN: r20890
1998-07-02 08:13:44 +00:00
Catherine Moore c92293e702 haifa-sched.c (alloc_EXPR_LIST): Change to use unused_expr_list.
* haifa-sched.c (alloc_EXPR_LIST):  Change to use
        unused_expr_list.

From-SVN: r20889
1998-07-02 02:26:36 -04:00
Dave Love ee5b121e9b Makefile.in (install-info): Don't use $realfile.
Thu Jul  2 14:13:28 1998  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (install-info): Don't use $realfile.  Ignore
	possible errors from the install-info program.

From-SVN: r20888
1998-07-02 06:19:07 +00:00
Alasdair Baird 729a2bc66a * combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.
From-SVN: r20887
1998-07-01 18:55:45 -06:00
Jeff Law e54c48836c Daily bump.
From-SVN: r20886
1998-07-01 18:45:01 -06:00
Jeffrey A Law 0d37278a93 * gcc.c-torture/compile/980701-1.c: New test.
From-SVN: r20885
1998-07-01 17:39:17 -06:00
Richard Henderson 9591225263 i386.h (HARD_REGNO_MODE_OK): Kill spurrious test.
* i386.h (HARD_REGNO_MODE_OK): Kill spurrious test.
        (MODES_TIEABLE_P): Tie SImode and HImode.

From-SVN: r20884
1998-07-01 16:07:35 -07:00
Andreas Jaeger 56159047bb O * invoke.texi (Optimize Options): Fix typo.
From-SVN: r20883
1998-07-01 16:42:58 -06:00
Jim Wilson 00a2e46cb0 Fix 24 powerpc-ibm-aix4.1 gdb testsuite failures due to bad gcc debug info.
* xcoffout.c (xcoffout_begin_function): Call xcoffout_block for
	the zero'th block.

From-SVN: r20882
1998-07-01 15:28:06 -07:00
Ken Raeburn 4c95db6750 h8300.c (print_operand): Delete %L support.
* h8300.c (print_operand): Delete %L support.
* h8300.md (branch_true, branch_false): Use %= with a prefix instead of %L for
local branch labels.
Prevents emitting of "tl###" labels that are not assembler-temporary and thus
confuse gdb.

From-SVN: r20881
1998-07-01 20:16:54 +00:00
J"orn Rennecke 370b1b83f1 reload1.c (emit_reload_insns): Use proper register classes for SECONDARY_INPUT_RELOAD_CLASS /...
* reload1.c (emit_reload_insns): Use proper register classes for
	SECONDARY_INPUT_RELOAD_CLASS / SECONDARY_MEMORY_NEEDED code.

From-SVN: r20878
1998-07-01 14:30:39 +01:00
J"orn Rennecke 826e385453 reload.c (find_reloads): If there are multiple RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS...
* reload.c (find_reloads): If there are multiple
	RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads for
	one operand, change RELOAD_FOR_INPADDR_ADDRESS /
	RELOAD_FOR_OUTADDR_ADDRESS for all but the first
	RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads.

From-SVN: r20877
1998-07-01 14:20:50 +01:00
Joern Rennecke d7921434ac Typo fix.
From-SVN: r20876
1998-07-01 14:04:49 +01:00
Craig Burley f781186f27 Fix 980701-1.f (which was producing "unaligned trap" on an Alpha running GNU/Linux, as predicted):
Wed Jul  1 11:19:13 1998  Craig Burley  <burley@gnu.org>
	Fix 980701-1.f (which was producing "unaligned trap"
	on an Alpha running GNU/Linux, as predicted):
	* equiv.c (ffeequiv_layout_local_): Don't bother
	coping with pre-padding of entire area while building
	it; do that instead after the building is done, and
	do it by modifying only the modulo field.  This covers
	the case of alignment stringency being increased without
	lowering the starting offset, unlike the previous changes,
	and even more elegantly than those.
	* target.c (ffetarget_align): Make sure alignments
	are non-zero, just in case.

From-SVN: r20875
1998-07-01 11:00:52 +00:00
Dave Love b22773b175 980701-0.f, 980701-1.f: New test from Craig.
1998-07-01  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/980701-0.f,
	g77.f-torture/execute/980701-1.f: New test from Craig.

From-SVN: r20874
1998-07-01 10:58:37 +00:00
Dave Love 28e59669c0 New test from Craig.
From-SVN: r20873
1998-07-01 10:57:06 +00:00
Dave Love a752ed6510 wsfe.c (s_wsfe): Fix setting of f__curunit lost in previous change.
1998-06-29  Dave Love  <d.love@dl.ac.uk>
	* libI77/wsfe.c (s_wsfe): Fix setting of f__curunit lost in
	previous change.
	* libI77/rsfe.c (s_rsfe): Likewise.

From-SVN: r20871
1998-07-01 10:30:22 +00:00
Dave Love fbc6d36336 Current Netlib version, previously omitted.
From-SVN: r20870
1998-07-01 10:29:31 +00:00
David Edelsohn 7e390c9d11 md.texi: fix typo in save_stack_* node.
From-SVN: r20869
1998-07-01 06:22:13 -04:00