gcc.git
26 years ago(F2CEXT): Remove sclock.
Dave Love [Mon, 6 Jul 1998 09:51:36 +0000 (09:51 +0000)]
(F2CEXT): Remove sclock.

(UOBJ): Add libU77/datetime_.o.

From-SVN: r20946

26 years agocse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but dealing with ADDRESSOF.
Mark Mitchell [Mon, 6 Jul 1998 09:38:46 +0000 (09:38 +0000)]
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

26 years ago* alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.
Richard Henderson [Mon, 6 Jul 1998 09:26:18 +0000 (02:26 -0700)]
* alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.

From-SVN: r20944

26 years agolibgcc2.c (__eprintf): Make args consistent with prototype in assert.h.
Dave Love [Mon, 6 Jul 1998 09:24:31 +0000 (09:24 +0000)]
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

26 years agof2cext.c (system_clock_): Remove (just f90 intrinsic).
Dave Love [Mon, 6 Jul 1998 09:03:28 +0000 (09:03 +0000)]
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

26 years ago[multiple changes]
Dave Love [Mon, 6 Jul 1998 09:01:43 +0000 (09:01 +0000)]
[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

26 years agof2cext.c (system_clock_): Remove (just f90 intrinsic).
Dave Love [Mon, 6 Jul 1998 08:40:35 +0000 (08:40 +0000)]
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

26 years agoShould have been removed before.
Dave Love [Mon, 6 Jul 1998 08:38:19 +0000 (08:38 +0000)]
Should have been removed before.

From-SVN: r20939

26 years agointdoc.in: Add entry for DATE_AND_TIME.
Dave Love [Mon, 6 Jul 1998 08:29:31 +0000 (08:29 +0000)]
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

26 years agoDaily bump.
Jeff Law [Mon, 6 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20937

26 years agocse.c (cse_insn): Second arg is an RTX now.
Jeffrey A Law [Sun, 5 Jul 1998 23:59:03 +0000 (23:59 +0000)]
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

26 years agocse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y...
Mark Mitchell [Sun, 5 Jul 1998 23:33:36 +0000 (23:33 +0000)]
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

26 years agocombine.c (simplify_comparison): Do not commute a AND into a paradoxical SUBREG if...
Jeffrey A Law [Sun, 5 Jul 1998 23:20:51 +0000 (23:20 +0000)]
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

26 years agofreebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with HAVE_GAS_MAX_SKIP_P2ALIGN.
Jeff Law [Sun, 5 Jul 1998 23:02:03 +0000 (17:02 -0600)]
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

26 years agofreebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with HAVE_GAS_MAX_SKIP_P2ALIGN.
Jeff Law [Sun, 5 Jul 1998 23:02:00 +0000 (17:02 -0600)]
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

26 years agoDaily bump.
Jeff Law [Sun, 5 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20929

26 years agoDaily bump.
Jeff Law [Sat, 4 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20920

26 years agosparc.c (sparc_operand, [...]): Recognize CONSTANT_P_RTX.
David S. Miller [Fri, 3 Jul 1998 03:19:41 +0000 (03:19 +0000)]
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

26 years agoalpha.c (alpha_initialize_trampoline): Hack around Pmode/ptr_mode lossage on VMS.
Richard Henderson [Fri, 3 Jul 1998 02:31:43 +0000 (19:31 -0700)]
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

26 years agoDaily bump.
Jeff Law [Fri, 3 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20915

26 years agoDefine MUST_PASS_IN_STACK to override default. (Fixes testsuite/gcc.c-execute/strct...
Nick Clifton [Thu, 2 Jul 1998 17:42:29 +0000 (17:42 +0000)]
Define MUST_PASS_IN_STACK to override default.  (Fixes testsuite/gcc.c-execute/strct-stdarg-1.c)

From-SVN: r20908

26 years agoUpdate.
Ulrich Drepper [Thu, 2 Jul 1998 15:57:28 +0000 (15:57 +0000)]
Update.

From-SVN: r20907

26 years ago(class basic_string): Return correct iterators in erase member functions.
Ulrich Drepper [Thu, 2 Jul 1998 15:57:12 +0000 (15:57 +0000)]
(class basic_string): Return correct iterators in erase member functions.

From-SVN: r20906

26 years agoSwitch reg_n_info structure to use varrays
Michael Meissner [Thu, 2 Jul 1998 13:49:34 +0000 (13:49 +0000)]
Switch reg_n_info structure to use varrays

From-SVN: r20894

26 years agoexpr.h (STACK_SIZE_MODE): New macro.
David Edelsohn [Thu, 2 Jul 1998 11:53:24 +0000 (07:53 -0400)]
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

26 years agoAdd initial varray support infrastructure
Michael Meissner [Thu, 2 Jul 1998 11:42:39 +0000 (11:42 +0000)]
Add initial varray support infrastructure

From-SVN: r20892

26 years agoRegenerate file.
Robert Lipe [Thu, 2 Jul 1998 08:22:14 +0000 (08:22 +0000)]
Regenerate file.

From-SVN: r20891

26 years agoinstall.texi (sco3.2v5): Document new --with-gnu-as flag.
Robert Lipe [Thu, 2 Jul 1998 08:13:44 +0000 (08:13 +0000)]
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

26 years agohaifa-sched.c (alloc_EXPR_LIST): Change to use unused_expr_list.
Catherine Moore [Thu, 2 Jul 1998 06:26:36 +0000 (06:26 +0000)]
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

26 years agoMakefile.in (install-info): Don't use $realfile.
Dave Love [Thu, 2 Jul 1998 06:19:07 +0000 (06:19 +0000)]
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

26 years ago* combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.
Alasdair Baird [Thu, 2 Jul 1998 00:55:45 +0000 (00:55 +0000)]
* combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.

From-SVN: r20887

26 years agoDaily bump.
Jeff Law [Thu, 2 Jul 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20886

26 years ago* gcc.c-torture/compile/980701-1.c: New test.
Jeffrey A Law [Wed, 1 Jul 1998 23:39:17 +0000 (23:39 +0000)]
* gcc.c-torture/compile/980701-1.c: New test.

From-SVN: r20885

26 years agoi386.h (HARD_REGNO_MODE_OK): Kill spurrious test.
Richard Henderson [Wed, 1 Jul 1998 23:07:35 +0000 (16:07 -0700)]
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

26 years agoO * invoke.texi (Optimize Options): Fix typo.
Andreas Jaeger [Wed, 1 Jul 1998 22:42:58 +0000 (22:42 +0000)]
O        * invoke.texi (Optimize Options): Fix typo.

From-SVN: r20883

26 years agoFix 24 powerpc-ibm-aix4.1 gdb testsuite failures due to bad gcc debug info.
Jim Wilson [Wed, 1 Jul 1998 22:28:06 +0000 (22:28 +0000)]
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

26 years agoh8300.c (print_operand): Delete %L support.
Ken Raeburn [Wed, 1 Jul 1998 20:16:54 +0000 (20:16 +0000)]
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

26 years agoreload1.c (emit_reload_insns): Use proper register classes for SECONDARY_INPUT_RELOAD...
J"orn Rennecke [Wed, 1 Jul 1998 13:30:39 +0000 (13:30 +0000)]
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

26 years agoreload.c (find_reloads): If there are multiple RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_...
J"orn Rennecke [Wed, 1 Jul 1998 13:20:50 +0000 (13:20 +0000)]
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

26 years agoTypo fix.
Joern Rennecke [Wed, 1 Jul 1998 13:04:49 +0000 (14:04 +0100)]
Typo fix.

From-SVN: r20876

26 years agoFix 980701-1.f (which was producing "unaligned trap" on an Alpha running GNU/Linux...
Craig Burley [Wed, 1 Jul 1998 11:00:52 +0000 (07:00 -0400)]
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

26 years ago980701-0.f, 980701-1.f: New test from Craig.
Dave Love [Wed, 1 Jul 1998 10:58:37 +0000 (10:58 +0000)]
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

26 years agoNew test from Craig.
Dave Love [Wed, 1 Jul 1998 10:57:06 +0000 (10:57 +0000)]
New test from Craig.

From-SVN: r20873

26 years agowsfe.c (s_wsfe): Fix setting of f__curunit lost in previous change.
Dave Love [Wed, 1 Jul 1998 10:30:22 +0000 (10:30 +0000)]
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

26 years agoCurrent Netlib version, previously omitted.
Dave Love [Wed, 1 Jul 1998 10:29:31 +0000 (10:29 +0000)]
Current Netlib version, previously omitted.

From-SVN: r20870

26 years agomd.texi: fix typo in save_stack_* node.
David Edelsohn [Wed, 1 Jul 1998 10:22:13 +0000 (06:22 -0400)]
md.texi: fix typo in save_stack_* node.

From-SVN: r20869

26 years agoregmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before using its PATTERN.
J"orn Rennecke [Wed, 1 Jul 1998 09:27:35 +0000 (09:27 +0000)]
regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before using its PATTERN.

* regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before
using its PATTERN.

From-SVN: r20868

26 years agoexpr.c (emit_group_load, [...]): Rewrite considering the size and alignment of the...
Richard Henderson [Wed, 1 Jul 1998 05:10:51 +0000 (22:10 -0700)]
expr.c (emit_group_load, [...]): Rewrite considering the size and alignment of the structure being manipulated.

        * expr.c (emit_group_load, emit_group_store): Rewrite considering
        the size and alignment of the structure being manipulated.
        * expr.c, calls.c, function.c: Update all callers.
        * expr.h: Update prototypes.
        * cse.c (invalidate): Cope with parallels.

From-SVN: r20867

26 years agosparc.c (function_arg_record_value): Take a MODE arg with which to create the PARALLEL.
Richard Henderson [Wed, 1 Jul 1998 04:27:39 +0000 (21:27 -0700)]
sparc.c (function_arg_record_value): Take a MODE arg with which to create the PARALLEL.

        * sparc.c (function_arg_record_value): Take a MODE arg with which to
        create the PARALLEL.  Update all callers.

From-SVN: r20866

26 years agoexpr.c (expand_assignment, [...]): Use convert_memory_address instead of convert_to_m...
Richard Henderson [Wed, 1 Jul 1998 04:13:55 +0000 (21:13 -0700)]
expr.c (expand_assignment, [...]): Use convert_memory_address instead of convert_to_mode when possible.

        * expr.c (expand_assignment, store_constructor, expand_expr): Use
        convert_memory_address instead of convert_to_mode when possible.

From-SVN: r20865

26 years agoalpha.c (alpha_initialize_trampoline): Take arguments describing the layout.
Richard Henderson [Wed, 1 Jul 1998 03:56:35 +0000 (20:56 -0700)]
alpha.c (alpha_initialize_trampoline): Take arguments describing the layout.

        * alpha.c (alpha_initialize_trampoline): Take arguments describing
        the layout.  Use ptr_mode.  Disable hint generation.  Use gen_imb.
        * alpha.h (INITIALIZE_TRAMPOLINE): Pass extra args to the init func.
        (TRANSFER_FROM_TRAMPOLINE): Move ...
        * alpha/osf.h: ... here.
        * alpha/vms.h (INITIALIZE_TRAMPOLINE): Use alpha_initialize_trampoline.
        (TRANSFER_FROM_TRAMPOLINE): Remove undef.
        * alpha/win-nt.h: Likewise.
        * alpha/vxworks.h: Likewise.
        * alpha/linux.h: Revert gcc2 merge lossage.

From-SVN: r20864

26 years agoc-decl.c (grokdeclarator): Don't warn about implicit int in `typedef foo = bar'.
Andreas Schwab [Wed, 1 Jul 1998 02:00:35 +0000 (02:00 +0000)]
c-decl.c (grokdeclarator): Don't warn about implicit int in `typedef foo = bar'.

* c-decl.c (grokdeclarator): Don't warn about implicit int in
`typedef foo = bar'.

From-SVN: r20863

26 years agoDaily bump.
Jeff Law [Wed, 1 Jul 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20862

26 years agoi386.c (asm_output_function_prefix): Make 686 function
Robert Lipe [Wed, 1 Jul 1998 00:16:29 +0000 (00:16 +0000)]
i386.c (asm_output_function_prefix): Make 686 function
  prologues not issue .types for non-global lables.

From-SVN: r20861

26 years ago* gcc.c-torture/execute/980701-1.c: New test.
Jeffrey A Law [Tue, 30 Jun 1998 23:54:31 +0000 (23:54 +0000)]
* gcc.c-torture/execute/980701-1.c: New test.

From-SVN: r20860

26 years agofreebsd.h (WCHAR_TYPE): Chagne to an "int".
Dmitrij Tejblum [Tue, 30 Jun 1998 22:52:18 +0000 (22:52 +0000)]
freebsd.h (WCHAR_TYPE): Chagne to an "int".

        * i386/freebsd.h (WCHAR_TYPE): Chagne to an "int".
        (WCHAR_TYPE_SIZE): Update appropriately.

From-SVN: r20859

26 years agoflow.c (recompute_reg_usage): Does not return a value.
Jeffrey A Law [Tue, 30 Jun 1998 22:49:11 +0000 (22:49 +0000)]
flow.c (recompute_reg_usage): Does not return a value.

        * flow.c (recompute_reg_usage): Does not return a value.
        * rtl.h (recompute_reg_usage): Update prototype.

From-SVN: r20858

26 years agojump.c (jump_optimize): Show that the jump chain is not valid when not optimizing.
Jeff Law [Tue, 30 Jun 1998 22:21:11 +0000 (16:21 -0600)]
jump.c (jump_optimize): Show that the jump chain is not valid when not optimizing.

        * jump.c (jump_optimize): Show that the jump chain is not
        valid when not optimizing.
Opps.  Helps to actually commit the file you really wanted to change :-)

From-SVN: r20852

26 years agojump.c (jump_optimize): Show that the jump chain is not valid when not optimizing.
Jeff Law [Tue, 30 Jun 1998 22:18:49 +0000 (16:18 -0600)]
jump.c (jump_optimize): Show that the jump chain is not valid when not optimizing.

        * jump.c (jump_optimize): Show that the jump chain is not
        valid when not optimizing.

From-SVN: r20851

26 years agoalpha.c (reg_or_6bit_operand): Recognize CONSTANT_P_RTX.
Richard Henderson [Tue, 30 Jun 1998 16:29:12 +0000 (09:29 -0700)]
alpha.c (reg_or_6bit_operand): Recognize CONSTANT_P_RTX.

        * alpha.c (reg_or_6bit_operand): Recognize CONSTANT_P_RTX.
        (reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
        (sext_add_operand, and_operand, or_operand): Likewise.
        (reg_or_cint_operand, some_operand, input_operand): Likewise.
        * alpha.h (PREDICATE_CODES): Add CONSTANT_P_RTX where needed.

From-SVN: r20847

26 years agortl.def (CONSTANT_P_RTX): New.
Richard Henderson [Tue, 30 Jun 1998 16:19:11 +0000 (09:19 -0700)]
rtl.def (CONSTANT_P_RTX): New.

        * rtl.def (CONSTANT_P_RTX): New.
        * rtl.h (CONSTANT_P): Recognize it.
        * cse.c (fold_rtx): Eliminate it.
        * expr.c (can_handle_constant_p): New variable.
        (init_expr_once): Initialize it.
        (expand_builtin): Generate CONSTANT_P_RTX if the expression is not
        immediately recognizable as a constant.

From-SVN: r20846

26 years agoFix ChangeLog entry for June 30, 1998 change.
Mark Mitchell [Tue, 30 Jun 1998 14:51:02 +0000 (14:51 +0000)]
Fix ChangeLog entry for June 30, 1998 change.

From-SVN: r20845

26 years agotm.texi: document STACK_SAVEAREA_MODE.
David Edelsohn [Tue, 30 Jun 1998 14:45:56 +0000 (10:45 -0400)]
tm.texi: document STACK_SAVEAREA_MODE.

md.texi: update save_stack_* pattern description.

From-SVN: r20844

26 years agodecl2.c (lang_decode_option): Remove warn_template_debugging.
Benjamin Kosnik [Tue, 30 Jun 1998 13:46:38 +0000 (13:46 +0000)]
decl2.c (lang_decode_option): Remove warn_template_debugging.


1998-06-30 benjamin kosnik  <bkoz@bliss.nabi.net>
        * decl2.c (lang_decode_option): Remove warn_template_debugging.
        * lang-options.h: Ditto.
        * dbxout.c (dbxout_type_methods): Remove warn_template_debugging.

From-SVN: r20843

26 years agodecl2.c (lang_decode_option): Remove warn_template_debugging.
Benjamin Kosnik [Tue, 30 Jun 1998 13:46:34 +0000 (13:46 +0000)]
decl2.c (lang_decode_option): Remove warn_template_debugging.

1998-06-30 benjamin kosnik  <bkoz@bliss.nabi.net>
        * decl2.c (lang_decode_option): Remove warn_template_debugging.
        * lang-options.h: Ditto.
        * dbxout.c (dbxout_type_methods): Remove warn_template_debugging.

From-SVN: r20842

26 years agoAdd the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header...
Kaveh R. Ghazi [Tue, 30 Jun 1998 11:10:55 +0000 (11:10 +0000)]
Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header...

Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary
header files when searching for function declarations.  Use this
functionality to check for getrlimit/setrlimit.
        * aclocal.m4 (GCC_NEED_DECLARATION): Accept an optional second
        argument, which is typically preprocessor code used to draw in
        additional header files when looking for a function declaration.
        (GCC_NEED_DECLARATIONS): Likewise.
        * configure.in (GCC_NEED_DECLARATIONS): Add checks for getrlimit
        and setrlimit, search for them in sys/resource.h.
        * acconfig.h: Add stubs for NEED_DECLARATION_GETRLIMIT and
        NEED_DECLARATION_SETRLIMIT.
        * system.h: Prototype getrlimit/setrlimit if necessary.

From-SVN: r20831

26 years ago* rtl.texi: Don't say that RTX_INTEGRATED_P is unused.
Mark Mitchell [Tue, 30 Jun 1998 10:54:13 +0000 (10:54 +0000)]
* rtl.texi: Don't say that RTX_INTEGRATED_P is unused.

From-SVN: r20830

26 years agoImprovement from Klaus-Georg.
Robert Lipe [Tue, 30 Jun 1998 10:23:48 +0000 (10:23 +0000)]
Improvement from Klaus-Georg.

From-SVN: r20826

26 years ago[multiple changes]
David Edelsohn [Tue, 30 Jun 1998 10:20:04 +0000 (06:20 -0400)]
[multiple changes]

Tue Jun 30 13:11:42 1998  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * rs6000/sysv4.h (asm output): add tabs for asm directives.
Tue Jun 30 13:11:42 1998  David Edelsohn <edelsohn@mhpcc.edu>
        * Makefile.in (FLAGS_TO_PASS): Set AR_FLAGS to AR_FOR_TARGET_FLAGS.

From-SVN: r20824

26 years agoAdd colons to "build don't link" lines.
Robert Lipe [Tue, 30 Jun 1998 09:09:10 +0000 (09:09 +0000)]
Add colons to "build don't link" lines.

From-SVN: r20821

26 years agoChanges from Alexandre and Klaus-Georg.
Robert Lipe [Tue, 30 Jun 1998 08:31:49 +0000 (08:31 +0000)]
Changes from Alexandre and Klaus-Georg.

From-SVN: r20820

26 years agoeb132.C: New test.
Klaus-Georg Adams [Tue, 30 Jun 1998 08:23:18 +0000 (08:23 +0000)]
eb132.C: New test.

* g++.old-deja/g++.robertl/eb132.C: New test.
* g++.old-deja/g++.robertl/eb133.C: Likewise.

From-SVN: r20819

26 years agoNew tests from Klaus-Georg.
Klaus-Georg Adams [Tue, 30 Jun 1998 08:20:13 +0000 (08:20 +0000)]
New tests from Klaus-Georg.

From-SVN: r20818

26 years agoFix 980628-*.f:
Craig Burley [Tue, 30 Jun 1998 07:59:40 +0000 (03:59 -0400)]
Fix 980628-*.f:

Mon Jun 29 09:47:33 1998  Craig Burley  <burley@gnu.org>
Fix 980628-*.f:
* bld.h: New `pad' field and accessor macros for
ACCTER, ARRTER, and CONTER ops.
* bld.c (ffebld_new_accter, ffebld_new_arrter,
ffebld_new_conter_with_orig): Initialize `pad' field
to zero.
* com.c (ffecom_transform_common_): Include initial
padding (aka modulo aka offset) in size calculation.
Copy initial padding value into FFE initialization expression
so the GBE transformation of that expression includes it.
Make array low bound 0 instead of 1, for consistency.
(ffecom_transform_equiv_): Include initial
padding (aka modulo aka offset) in size calculation.
Copy initial padding value into FFE initialization expression
so the GBE transformation of that expression includes it.
Make array low bound 0 instead of 1, for consistency.
(ffecom_expr_, case FFEBLD_opACCTER): Delete unused `size'
variable.
Track destination offset separately, allowing for
initial padding.
Don't bother setting initial PURPOSE offset if zero.
Include initial padding in size calculation.
(ffecom_expr_, case FFEBLD_opARRTER): Allow for
initial padding.
Include initial padding in size calculation.
Make array low bound 0 instead of 1, for consistency.
(ffecom_finish_global_): Make array low bound 0 instead
of 1, for consistency.
(ffecom_notify_init_storage): Copy `pad' field from old
ACCTER to new ARRTER.
(ffecom_notify_init_symbol): Ditto.
* data.c (ffedata_gather_): Initialize `pad' field in new
ARRTER to 0.
(ffedata_value_): Ditto.
* equiv.c (ffeequiv_layout_local_): When lowering start
of equiv area, extend lowering to maintain needed alignment.
* target.c (ffetarget_align): Handle negative offset correctly.
* global.c (ffeglobal_pad_common): Warn about non-zero
padding only the first time its seen.
If new padding larger than old, update old.
(ffeglobal_save_common): Use correct type for size throughout.
* global.h: Use correct type for size throughout.
(ffeglobal_common_pad): New macro.
(ffeglobal_pad): Delete this unused and broken macro.

From-SVN: r20817

26 years ago980628-7.f, [...]: New tests from Craig.
Dave Love [Tue, 30 Jun 1998 06:14:57 +0000 (06:14 +0000)]
980628-7.f, [...]: New tests from Craig.

1998-06-29  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/980628-7.f,
g77.f-torture/execute/980628-8.f,
g77.f-torture/execute/980628-9.f,
g77.f-torture/execute/980628-10.f: New tests from Craig.

From-SVN: r20816

26 years agoNew test.
Dave Love [Tue, 30 Jun 1998 06:12:50 +0000 (06:12 +0000)]
New test.

From-SVN: r20815

26 years agoRemove autoconf things and OS header stuff (namely NULL) from gansidecl.h:
Kaveh R. Ghazi [Tue, 30 Jun 1998 06:11:43 +0000 (06:11 +0000)]
Remove autoconf things and OS header stuff (namely NULL) from gansidecl.h:

        * gansidecl.h (ATTRIBUTE_UNUSED): Use __unused__ not `unused'.
        Don't define NULL here.  Also, remove all vestiges of autoconf
        based checks for bcmp/bcopy/bzero/index/rindex.
        * system.h: Immediately after including stdio.h, check for and if
        necessary provide a default definition of NULL.

From-SVN: r20814

26 years agoCall fatal_insn_not_found instead of abort
Michael Meissner [Tue, 30 Jun 1998 05:26:11 +0000 (05:26 +0000)]
Call fatal_insn_not_found instead of abort

From-SVN: r20813

26 years agochoose-temp.c (make_temp_file): Accept new argument for the file suffix to use.
Jeffrey A Law [Tue, 30 Jun 1998 01:41:45 +0000 (01:41 +0000)]
choose-temp.c (make_temp_file): Accept new argument for the file suffix to use.

        * choose-temp.c (make_temp_file): Accept new argument for the
        file suffix to use.  Allocate space for it and add it to the
        template.
        * mkstemp.c (mkstemps): Renamed from mkstemp.  Accept new argument
        for the length of the suffix.  Update template struture checks
        to handle optinal suffix.
        * collect2.c (make_temp_file): Update prototype.
        (main): Put proper suffixes on temporary files.
        * gcc.c (make_temp_file): Update prototype.
        (do_spec_1): Put proper suffixes on temporary files.
Should fix irix build problems.

From-SVN: r20812

26 years agoDaily bump.
Jeff Law [Tue, 30 Jun 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20811

26 years agoinvoke.texi: Document new implicit structure initialization warning.
Bruno Haible [Tue, 30 Jun 1998 00:01:28 +0000 (02:01 +0200)]
invoke.texi: Document new implicit structure initialization warning.

        * invoke.texi: Document new implicit structure initialization
        warning.

From-SVN: r20810

26 years ago* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
Jeff Law [Mon, 29 Jun 1998 21:40:49 +0000 (15:40 -0600)]
* Merge from gcc2 June 9, 1998 snapshot.  See ChangeLog.13 for
        details.

From-SVN: r20808

26 years ago* pa.c, pa.h, pa.md: Convert to gen_rtx_FOO.
Jeffrey A Law [Mon, 29 Jun 1998 21:17:27 +0000 (21:17 +0000)]
* pa.c, pa.h, pa.md: Convert to gen_rtx_FOO.

From-SVN: r20806

26 years agoremove -mtraceback from list of powerpc options
Catherine Moore [Mon, 29 Jun 1998 18:47:39 +0000 (14:47 -0400)]
remove -mtraceback from list of powerpc options

From-SVN: r20805

26 years ago-mtraceback is not supported.
Catherine Moore [Mon, 29 Jun 1998 18:08:22 +0000 (14:08 -0400)]
-mtraceback is not supported.

From-SVN: r20804

26 years agoUpdate.
Ulrich Drepper [Mon, 29 Jun 1998 18:06:37 +0000 (18:06 +0000)]
Update.

From-SVN: r20803

26 years agoRewrite __PMT change so that it works with platforms defining __P but
Ulrich Drepper [Mon, 29 Jun 1998 18:06:26 +0000 (18:06 +0000)]
Rewrite __PMT change so that it works with platforms defining __P but
not __PMT.

From-SVN: r20802

26 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 29 Jun 1998 17:36:07 +0000 (17:36 +0000)]
Warning fixes:

        * Makefile.in (fix-header): Don't needlessly depend on cpperror.o.
        * alias.c (CHECK_ALIAS_SETS_FOR_CONSISTENCY): Cast expansion to
        void since it is evaluated in a comma list.
        * mips.h (ASM_GENERATE_INTERNAL_LABEL): Always sprintf `NUM'
        argument as a long and cast `NUM' to long to ensure it is of the
        proper width.  Wrap macro arguments in parens when they appear in
        the expansion.
        * sol2.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
        * sparc.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
        (ASM_DECLARE_RESULT): Fix fprintf format specifier to match
        function argument return type.
        (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_FP_P,
        REGNO_OK_FOR_CCFP_P): Use `(unsigned)' not `U'.
        * cpplib.c (cpp_message_from_errno): Remove unneeded argument to
        cpp_message.
        * dbxout.c: Fix the comments after an #endif to reflect the actual
        condition tested in the preceding #if.
        * except.c (find_all_handler_type_matches): Switch to old-style
        function definition.
        * expr.c (expand_builtin): Remove unused variable `type' twice.
        * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Cast -1 before comparing it
        to an unsigned long.
        * haifa-sched.c (print_insn_chain): Remove unused function.
        * objc/objc-act.c (build_msg_pool_reference): Hide prototype and
        definition.
        * toplev.c: When testing whether to include dbxout.h, also include
        it when XCOFF_DEBUGGING_INFO is defined.
        * unroll.c (unroll_loop): Add parentheses around assignment used
        as truth value.

From-SVN: r20801

26 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 29 Jun 1998 17:21:30 +0000 (17:21 +0000)]
Warning fixes:

        * except.c (build_eh_type_type_ref): Remove unused variable `susp'.
        (process_start_catch_block): Likewise for variables
        `false_label_rtx', `call_rtx' and `return_value_rtx'.

From-SVN: r20800

26 years ago980628-3.f: Remove mail headers.
Dave Love [Mon, 29 Jun 1998 14:04:26 +0000 (14:04 +0000)]
980628-3.f: Remove mail headers.

1998-06-29  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/980628-3.f: Remove mail headers.

From-SVN: r20796

26 years agoRemove mail headers.
Dave Love [Mon, 29 Jun 1998 14:02:15 +0000 (14:02 +0000)]
Remove mail headers.

From-SVN: r20795

26 years agorevert part of the last checkin
Brendan Kehoe [Mon, 29 Jun 1998 13:41:20 +0000 (09:41 -0400)]
revert part of the last checkin

From-SVN: r20794

26 years agotree.c (build_srcloc): Make sure we allocate this node on the permanent obstack.
Brendan Kehoe [Mon, 29 Jun 1998 13:39:23 +0000 (13:39 +0000)]
tree.c (build_srcloc): Make sure we allocate this node on the permanent obstack.

* tree.c (build_srcloc): Make sure we allocate this node on the
permanent obstack.
fixes OSE compilation failures

From-SVN: r20793

26 years agoUpdate.
Ulrich Drepper [Mon, 29 Jun 1998 11:45:33 +0000 (11:45 +0000)]
Update.

From-SVN: r20792

26 years ago(__PMT): New macro. Defined like __P.
Ulrich Drepper [Mon, 29 Jun 1998 11:45:10 +0000 (11:45 +0000)]
(__PMT): New macro.  Defined like __P.

Use is for function pointers.

From-SVN: r20791

26 years agoconfig/sparc/lb1spc.asm (.udiv, .div) Replace routines.
Catherine Moore [Mon, 29 Jun 1998 10:26:45 +0000 (10:26 +0000)]
config/sparc/lb1spc.asm (.udiv, .div) Replace routines.

From-SVN: r20790

26 years agortl.h: Update comment about special gen_rtx variants.
Mark Mitchell [Mon, 29 Jun 1998 09:44:08 +0000 (09:44 +0000)]
rtl.h: Update comment about special gen_rtx variants.

* rtl.h: Update comment about special gen_rtx variants.
* emit-rtl.c (gen_rtx): Handle MEMs using gen_rtx_MEM.

From-SVN: r20789

26 years agoDaily bump.
Jeff Law [Mon, 29 Jun 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20785

26 years agochoose-temp.c (choose_temp_base): Restore original variant of this function for compa...
Jeffrey A Law [Sun, 28 Jun 1998 20:07:32 +0000 (20:07 +0000)]
choose-temp.c (choose_temp_base): Restore original variant of this function for compatibility.

        * choose-temp.c (choose_temp_base): Restore original variant of
        this function for compatibility.
        (make_temp_file): This is the new, preferred interface to create
        temporary files.
        * collect2.c (choose_temp_base): Delete declaration.
        (make_temp_file): Declare.
        (temp_filename_length, temp_filename): Delete.
        (main): Use make_temp_file to get temporary files.  Use --lang-c
        to force the resulting ctort/dtor file to be compiled with the C
        compiler.  Make sure to remove temporary files on all exit paths.
        * gcc.c (make_temp_file): Provide prototype if MKTEMP_EACH_FILE is
        defined.
        (choose_temp_base): Only provide prototype if MKTEMP_EACH_FILE is
        not defined.
        (do_spec): Use make_temp_file if MKTEMP_EACH_FILE is defined.

From-SVN: r20784

26 years ago980628-4.f: New test from Craig.
Jeffrey A Law [Sun, 28 Jun 1998 19:49:44 +0000 (19:49 +0000)]
980628-4.f: New test from Craig.

        * g77.f-torture/execute/980628-4.f: New test from Craig.
        * g77.f-torture/execute/980628-5.f: Likewise.
        * g77.f-torture/execute/980628-2.f: Likewise.
        * g77.f-torture/execute/980628-0.f: Likewise.
        * g77.f-torture/execute/980628-1.f: Likewise.
        * g77.f-torture/execute/980628-3.f: Likewise.
        * g77.f-torture/execute/980628-6.f: Likewise.

From-SVN: r20783