Commit Graph

17541 Commits

Author SHA1 Message Date
Alasdair Baird
702d7434a5 * jump.c (jump_optimize) Check for CONST_INT before using INTVAL.
From-SVN: r20962
1998-07-06 15:19:17 -06:00
Richard Henderson
eafdfea817 regclass.c (allocate_reg_info): Initialize the entire reg_data virtual array.
* regclass.c (allocate_reg_info): Initialize the entire reg_data
        virtual array.

From-SVN: r20961
1998-07-06 15:16:56 -06:00
Ian Lance Taylor
ad214bc2c8 cpplib.c (cpp_options_init): Initialize cplusplus_comments to 1, matching July 18, 1995 change to cccp.c.
* cpplib.c (cpp_options_init): Initialize cplusplus_comments to 1,
        matching July 18, 1995 change to cccp.c.  If -traditional then
        disable cplusplus_comments.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r20960
1998-07-06 15:14:13 -06:00
Jeff Law
7c880813a8 Move recent entry into the right file.
From-SVN: r20959
1998-07-06 15:05:07 -06:00
Mike Stump
57668aa6aa Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c.
8
	* Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
	we can move g77.c.

From-SVN: r20958
1998-07-06 15:04:02 -06:00
Mike Stump
b368c5716c Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c.
�
	* Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
	we can move g77.c.

From-SVN: r20957
1998-07-06 15:04:01 -06:00
Mike Stump
27e581e328 Makefile.in (clean): Don't remove Makefiles, that is done in distclean.
* Makefile.in (clean): Don't remove Makefiles, that is done in
        distclean.

From-SVN: r20956
1998-07-06 15:01:47 -06:00
Jeffrey A Law
3b39dde8e3 * Disable the following change from gcc2. Not appropriate for egcs:
Sun Jun  7 09:30:31 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * reload.c (find_reloads): Give preference to pseudo that was the
        reloaded output of previous insn.

From-SVN: r20955
1998-07-06 14:33:33 -06:00
Jason Merrill
6c011b01ce decl.c (lookup_tag): Use CP_DECL_CONTEXT.
* decl.c (lookup_tag): Use CP_DECL_CONTEXT.
	* tree.c (make_binfo): Fix length.

From-SVN: r20954
1998-07-06 14:24:46 -04:00
Kaveh R. Ghazi
092f7be3b1 Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.
Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF
directly.  Instead, autoconf will only determine whether "%p" works and
its up to machmode.h to base its definition of HOST_PTR_PRINTF on that.
This ensures that machmode.h is always included to get the definition of
HOST_PTR_PRINTF for lossy hosts or cross compiles where "%p" is not
found.
        * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF.
        Instead, define a new macro HAVE_PRINTF_PTR which only signifies
        whether we have the %p format specifier or not.
        * acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR.
        * machmode.h (HOST_PTR_PRINTF): When determining the definition,
        check HAVE_PRINTF_PTR to see whether "%p" is okay.
        * mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF.
        * Makefile.in (mips-tfile.o): Depend on machmode.h.

From-SVN: r20953
1998-07-06 18:17:41 +00:00
Mark Mitchell
93de5c3105 jump.c (duplicate_loop_exit_test): Don't refuse to copy a section of code just because it contains...
* jump.c (duplicate_loop_exit_test): Don't refuse to copy a
	section of code just because it contains
	NOTE_INSN_BLOCK_{BEG,END}.
	* stmt.c (expand_end_loop): Likewise.  Also, don't refuse to
	move CALL_INSNs or CODE_LABELs.  When moving code, don't move
	NOTE_INSN_BLOCK_{BEG,END}.

From-SVN: r20952
1998-07-06 10:42:43 +00:00
Ulrich Drepper
561252fd0b Update.
From-SVN: r20951
1998-07-06 10:36:12 +00:00
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