Ulrich Drepper [Mon, 6 Jul 1998 10:35:56 +0000 (10:35 +0000)]
(class basic_string): Correct iterator return values in insert member
functions.
From-SVN: r20950
Dave Love [Mon, 6 Jul 1998 09:56:06 +0000 (09:56 +0000)]
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
Dave Love [Mon, 6 Jul 1998 09:53:15 +0000 (09:53 +0000)]
Fix 1998-07-05 entry
From-SVN: r20948
Dave Love [Mon, 6 Jul 1998 09:52:26 +0000 (09:52 +0000)]
(system_clock_): Remove (just f90 intrinsic).
From-SVN: r20947
Dave Love [Mon, 6 Jul 1998 09:51:36 +0000 (09:51 +0000)]
(F2CEXT): Remove sclock.
(UOBJ): Add libU77/datetime_.o.
From-SVN: r20946
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
Richard Henderson [Mon, 6 Jul 1998 09:26:18 +0000 (02:26 -0700)]
* alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.
From-SVN: r20944
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
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
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
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
Dave Love [Mon, 6 Jul 1998 08:38:19 +0000 (08:38 +0000)]
Should have been removed before.
From-SVN: r20939
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
Jeff Law [Mon, 6 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20937
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
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
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
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
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
Jeff Law [Sun, 5 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20929
Jeff Law [Sat, 4 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20920
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
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
Jeff Law [Fri, 3 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20915
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
Ulrich Drepper [Thu, 2 Jul 1998 15:57:28 +0000 (15:57 +0000)]
Update.
From-SVN: r20907
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
Michael Meissner [Thu, 2 Jul 1998 13:49:34 +0000 (13:49 +0000)]
Switch reg_n_info structure to use varrays
From-SVN: r20894
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
Michael Meissner [Thu, 2 Jul 1998 11:42:39 +0000 (11:42 +0000)]
Add initial varray support infrastructure
From-SVN: r20892
Robert Lipe [Thu, 2 Jul 1998 08:22:14 +0000 (08:22 +0000)]
Regenerate file.
From-SVN: r20891
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
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
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
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
Jeff Law [Thu, 2 Jul 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20886
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
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
Andreas Jaeger [Wed, 1 Jul 1998 22:42:58 +0000 (22:42 +0000)]
O * invoke.texi (Optimize Options): Fix typo.
From-SVN: r20883
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
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
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
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
Joern Rennecke [Wed, 1 Jul 1998 13:04:49 +0000 (14:04 +0100)]
Typo fix.
From-SVN: r20876
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
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
Dave Love [Wed, 1 Jul 1998 10:57:06 +0000 (10:57 +0000)]
New test from Craig.
From-SVN: r20873
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
Dave Love [Wed, 1 Jul 1998 10:29:31 +0000 (10:29 +0000)]
Current Netlib version, previously omitted.
From-SVN: r20870
David Edelsohn [Wed, 1 Jul 1998 10:22:13 +0000 (06:22 -0400)]
md.texi: fix typo in save_stack_* node.
From-SVN: r20869
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
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
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
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
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
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
Jeff Law [Wed, 1 Jul 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20862
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
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
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
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
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
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
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
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
Mark Mitchell [Tue, 30 Jun 1998 14:51:02 +0000 (14:51 +0000)]
Fix ChangeLog entry for June 30, 1998 change.
From-SVN: r20845
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
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
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
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
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
Robert Lipe [Tue, 30 Jun 1998 10:23:48 +0000 (10:23 +0000)]
Improvement from Klaus-Georg.
From-SVN: r20826
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
Robert Lipe [Tue, 30 Jun 1998 09:09:10 +0000 (09:09 +0000)]
Add colons to "build don't link" lines.
From-SVN: r20821
Robert Lipe [Tue, 30 Jun 1998 08:31:49 +0000 (08:31 +0000)]
Changes from Alexandre and Klaus-Georg.
From-SVN: r20820
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
Klaus-Georg Adams [Tue, 30 Jun 1998 08:20:13 +0000 (08:20 +0000)]
New tests from Klaus-Georg.
From-SVN: r20818
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
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
Dave Love [Tue, 30 Jun 1998 06:12:50 +0000 (06:12 +0000)]
New test.
From-SVN: r20815
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
Michael Meissner [Tue, 30 Jun 1998 05:26:11 +0000 (05:26 +0000)]
Call fatal_insn_not_found instead of abort
From-SVN: r20813
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
Jeff Law [Tue, 30 Jun 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r20811
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
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
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
Catherine Moore [Mon, 29 Jun 1998 18:47:39 +0000 (14:47 -0400)]
remove -mtraceback from list of powerpc options
From-SVN: r20805
Catherine Moore [Mon, 29 Jun 1998 18:08:22 +0000 (14:08 -0400)]
-mtraceback is not supported.
From-SVN: r20804
Ulrich Drepper [Mon, 29 Jun 1998 18:06:37 +0000 (18:06 +0000)]
Update.
From-SVN: r20803
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
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
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
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
Dave Love [Mon, 29 Jun 1998 14:02:15 +0000 (14:02 +0000)]
Remove mail headers.
From-SVN: r20795
Brendan Kehoe [Mon, 29 Jun 1998 13:41:20 +0000 (09:41 -0400)]
revert part of the last checkin
From-SVN: r20794
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
Ulrich Drepper [Mon, 29 Jun 1998 11:45:33 +0000 (11:45 +0000)]
Update.
From-SVN: r20792
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
Catherine Moore [Mon, 29 Jun 1998 10:26:45 +0000 (10:26 +0000)]
config/sparc/lb1spc.asm (.udiv, .div) Replace routines.
From-SVN: r20790