platform/upstream/gcc.git
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

26 years ago980628-4.f: New test from Craig.
Jeffrey A Law [Sun, 28 Jun 1998 13:57:18 +0000 (13:57 +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.

From-SVN: r20782

26 years ago980628-4.f: New test from Craig.
Jeffrey A Law [Sun, 28 Jun 1998 12:50:59 +0000 (12:50 +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.

From-SVN: r20781

26 years ago980628-4.f: New test from Craig.
Jeffrey A Law [Sun, 28 Jun 1998 11:51:02 +0000 (11:51 +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.

From-SVN: r20780

26 years agoConsolidate strerror handling, as well as getcwd/getwd.
Kaveh R. Ghazi [Sun, 28 Jun 1998 06:09:57 +0000 (06:09 +0000)]
Consolidate strerror handling, as well as getcwd/getwd.

        * configure.in (GCC_NEED_DECLARATIONS): Add strerror, getcwd and
        getwd.
        * acconfig.m4: Add stubs for NEED_DECLARATION_STRERROR,
        NEED_DECLARATION_GETCWD and NEED_DECLARATION_GETWD.
        * cccp.c: Remove strerror()/sys_nerr/sys_errlist decls.
        (my_strerror): Add prototype and make it static.
        * collect2.c: Likewise.
        * cpplib.c: Likewise.
        * gcc.c: Likewise, but keep `my_strerror' extern.
        * protoize.c: Likewise.
        * pexecute.c (my_strerror): Add argument to prototype.
        * system.h: Add prototypes for getcwd, getwd and strerror.  Add
        extern decls for sys_nerr and sys_errlist.  Make abort decl
        explicitly extern.
        * getpwd.c: Remove decls for getwd and getcwd.

From-SVN: r20779

26 years agoBump for snapshot
Jeffrey A Law [Sun, 28 Jun 1998 02:11:20 +0000 (20:11 -0600)]
Bump for snapshot

From-SVN: r20777

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

From-SVN: r20776

26 years agostl_config.h (__STL_PTHREADS): Don't define for glibc 2 if _G_USING_THUNKS is not...
Jeffrey A Law [Sat, 27 Jun 1998 23:51:33 +0000 (23:51 +0000)]
stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if _G_USING_THUNKS is not defined.

        * stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if
        _G_USING_THUNKS is not defined.
Bring over from egcs-1.0.3 branch since ppc-linux still uses glibc-1.9x.

From-SVN: r20775

26 years agog77.exp (default_g77_version): Tweak to make it work in a build directory when nothin...
Jeffrey A Law [Sat, 27 Jun 1998 23:39:42 +0000 (23:39 +0000)]
g77.exp (default_g77_version): Tweak to make it work in a build directory when nothing has been installed yet.

        * lib/g77.exp (default_g77_version): Tweak to make it work in a build
        directory when nothing has been installed yet.

From-SVN: r20774

26 years agojump.c (jump_optimize): Use side_effects_p & may_trap_p instead of rtx_unsafe_p.
Richard Henderson [Sat, 27 Jun 1998 23:30:37 +0000 (16:30 -0700)]
jump.c (jump_optimize): Use side_effects_p & may_trap_p instead of rtx_unsafe_p.

        * jump.c (jump_optimize): Use side_effects_p & may_trap_p instead
        of rtx_unsafe_p.  Use modified_between_p instead of reg_set_between_p.
        Allow FP moves to be optimized.
        (rtx_unsafe_p): Delete.

From-SVN: r20770

26 years ago* objc/archive.c: Remove <string.h> prototypes.
Richard Henderson [Sat, 27 Jun 1998 23:04:40 +0000 (16:04 -0700)]
* objc/archive.c: Remove <string.h> prototypes.

From-SVN: r20769

26 years agolibstdc++.exp: Use global variable ld_library_path (not local) that is a lot more...
Carlo Wood [Sat, 27 Jun 1998 23:01:34 +0000 (01:01 +0200)]
libstdc++.exp: Use global variable ld_library_path (not local) that is a lot more persistent...

        * lib/libstdc++.exp: Use global variable ld_library_path (not local)
that is a lot more persistent; dejagnu-980528 needs this.
* lib/libstdc++.exp (test_stdc++): Use regular expression " -lstdc.."
to remove -lstdc++ arguments (not " -lstdc.*").

From-SVN: r20768

26 years agolibio.exp (test_libio): Reset ld_library_path before appending the same path(s) again.
Carlo Wood [Sat, 27 Jun 1998 23:01:02 +0000 (01:01 +0200)]
libio.exp (test_libio): Reset ld_library_path before appending the same path(s) again.

        * lib/libio.exp (test_libio): Reset ld_library_path before appending
        the same path(s) again.

From-SVN: r20767

26 years ago* tm.texi (NEED_MATH_LIBRARY): Document new target macro.
Jeffrey A Law [Sat, 27 Jun 1998 22:42:09 +0000 (22:42 +0000)]
* tm.texi (NEED_MATH_LIBRARY): Document new target macro.

From-SVN: r20766

26 years agog++spec.c (NEED_MATH_LIBRARY): Define to 1 if not already defined.
Fred Fish [Sat, 27 Jun 1998 22:36:57 +0000 (22:36 +0000)]
g++spec.c (NEED_MATH_LIBRARY): Define to 1 if not already defined.

        * g++spec.c (NEED_MATH_LIBRARY): Define to 1 if not already defined.
        (lang_specific_driver): Initialize need_math with NEED_MATH_LIBRARY.
        (lang_specific_driver): Only add -lm automatically if need_math is
        nonzero.

From-SVN: r20765

26 years agospecial.exp: Handle newer versions of dejagnu.
Carlo Wood [Sat, 27 Jun 1998 22:25:12 +0000 (00:25 +0200)]
special.exp: Handle newer versions of dejagnu.

        * gcc.c-torture/special/special.exp: Handle newer versions of
        dejagnu.

From-SVN: r20764

26 years agog77spec.c (lang_specific_driver): Put `-lg2c' in front of any `-lm' that is seen.
Craig Burley [Sat, 27 Jun 1998 22:12:42 +0000 (18:12 -0400)]
g77spec.c (lang_specific_driver): Put `-lg2c' in front of any `-lm' that is seen.

* g77spec.c (lang_specific_driver): Put `-lg2c' in
front of any `-lm' that is seen.

From-SVN: r20763

26 years agoMakefile.in (FLAGS_TO_PASS, [...]): Use $(TARGET_SUBDIR) instead of hardcoding "libra...
Jeffrey A Law [Sat, 27 Jun 1998 22:09:32 +0000 (22:09 +0000)]
Makefile.in (FLAGS_TO_PASS, [...]): Use $(TARGET_SUBDIR) instead of hardcoding "libraries".

        * Makefile.in (FLAGS_TO_PASS, case G2C_H_DIR): Use $(TARGET_SUBDIR)
        instead of hardcoding "libraries".

From-SVN: r20762

26 years ago* Makefile.in (BASE_FLAGS_TO_PASS): Add TARGET_SUBDIR.
Jeffrey A Law [Sat, 27 Jun 1998 22:08:28 +0000 (22:08 +0000)]
* Makefile.in (BASE_FLAGS_TO_PASS): Add TARGET_SUBDIR.

From-SVN: r20761

26 years agoconfigure.in (target_subdir): Set to ${target_alias} instead of "libraries".
Jeffrey A Law [Sat, 27 Jun 1998 21:48:29 +0000 (21:48 +0000)]
configure.in (target_subdir): Set to ${target_alias} instead of "libraries".

        * configure.in (target_subdir): Set to ${target_alias} instead
        of "libraries".

From-SVN: r20760

26 years ago* Makefile.in (gencheck): Remove $(TREE_H) dependency.
Jeffrey A Law [Sat, 27 Jun 1998 21:40:51 +0000 (21:40 +0000)]
* Makefile.in (gencheck): Remove $(TREE_H) dependency.

From-SVN: r20759

26 years agodsp16xx.h (FIRST_PSEUDO_REGISTER): Add parentheses to definition.
John Carr [Sat, 27 Jun 1998 17:47:15 +0000 (17:47 +0000)]
dsp16xx.h (FIRST_PSEUDO_REGISTER): Add parentheses to definition.

* dsp16xx.h (FIRST_PSEUDO_REGISTER): Add parentheses to definition.
* dsp16xx.c (next_cc_user_unsigned): New function.
Remove save_next_cc_user_code.
(print_operand): Use HOST_WIDE_INT_PRINT_* macros.
* dsp16xx.md: Call next_cc_user_unsigned instead of using
  save_next_cc_user_code.
Use gen_rtx_* functions instead of gen_rtx.
* rs6000.c: Add trap_comparison_operator to PREDICATE_CODES.

From-SVN: r20757

26 years agoflow.c (count_reg_sets): New function.
Jeffrey A Law [Sat, 27 Jun 1998 15:51:49 +0000 (15:51 +0000)]
flow.c (count_reg_sets): New function.

        * flow.c (count_reg_sets): New function.
        (count_reg_sets_1, count_ref_references): Likewise.
        (recompute_reg_usage): Likewise.
        * rtl.h (recompute_reg_usage): Add prototype.
        * toplev.c (rest_of_compilation): Call recompute_reg_usage just
        before local register allocation.

From-SVN: r20756

26 years ago* alpha.md (negsf, negdf): Revert Jan 22 change.
Richard Henderson [Sat, 27 Jun 1998 13:18:25 +0000 (06:18 -0700)]
* alpha.md (negsf, negdf): Revert Jan 22 change.

From-SVN: r20755

26 years ago* Make-lang.in (g++): Depend on mkstemp.o. Link in mkstemp.o
Jeffrey A Law [Sat, 27 Jun 1998 11:25:53 +0000 (11:25 +0000)]
* Make-lang.in (g++): Depend on mkstemp.o.  Link in mkstemp.o

From-SVN: r20754

26 years ago* Make-lang.in (g77): Depend on mkstemp.o. Link in mkstemp.o
Jeffrey A Law [Sat, 27 Jun 1998 11:23:25 +0000 (11:23 +0000)]
* Make-lang.in (g77): Depend on mkstemp.o.  Link in mkstemp.o

From-SVN: r20753

26 years agomkstemp.c: Include gansidecl.h.
Kaveh R. Ghazi [Sat, 27 Jun 1998 09:37:37 +0000 (09:37 +0000)]
mkstemp.c: Include gansidecl.h.

        * mkstemp.c: Include gansidecl.h.  Rename uint64_t to gcc_uint64_t.
        (mkstemp): Remove size specifier for variable `letters'.  Call
        gettimeofday, not __gettimeofday.

From-SVN: r20752

26 years agoMakefile.in (install): Remove superfluous /include.
Manfred Hollstein [Sat, 27 Jun 1998 05:24:20 +0000 (05:24 +0000)]
Makefile.in (install): Remove superfluous /include.

(
* Makefile.in (install): Remove superfluous /include.

From-SVN: r20751

26 years agoMakefile.in (install): Remove superfluous /include.
Manfred Hollstein [Sat, 27 Jun 1998 05:24:19 +0000 (05:24 +0000)]
Makefile.in (install): Remove superfluous /include.


* Makefile.in (install): Remove superfluous /include.

From-SVN: r20750

26 years agoReplace Makefile.in dependencies on expr.h with variable $(EXPR_H),
Kaveh R. Ghazi [Sat, 27 Jun 1998 04:44:42 +0000 (04:44 +0000)]
Replace Makefile.in dependencies on expr.h with variable $(EXPR_H),

which contains headers also pulled in via expr.h.
        * Makefile.in (EXPR_H): New dependency variable.
        (decl2.o): Depend on $(EXPR_H).
        (typeck.o): Likewise.
        (init.o): Likewise.
        (expr.o): Likewise.

From-SVN: r20749

26 years agoReplace Makefile.in dependencies on expr.h with variable $(EXPR_H),
Kaveh R. Ghazi [Sat, 27 Jun 1998 04:42:25 +0000 (04:42 +0000)]
Replace Makefile.in dependencies on expr.h with variable $(EXPR_H),

which contains headers also pulled in via expr.h.
        * Makefile.in (EXPR_H): New dependency variable.
        (c-typeck.o): Depend on $(EXPR_H) instead of expr.h.
        (c-iterate.o): Likewise.
        (gencheck): Depend on $(TREE_H) instead of tree.h, etc.
        (stor-layout.o): Depend on $(EXPR_H) instead of expr.h.
        (toplev.o): Likewise.  Also depend on $(RECOG_H) instead of recog.h.
        (varasm.o): Depend on $(EXPR_H) instead of expr.h.
        (function.o): Likewise.
        (stmt.o): Likewise.
        (except.o): Likewise.
        (expr.o): Likewise.
        (calls.o): Likewise.
        (expmed.o): Likewise.
        (explow.o): Likewise.
        (optabs.o): Likewise.
        (sdbout.o): Likewise.
        (dwarf2out.o): Likewise.
        (emit-rtl.o): Likewise.
        (integrate.o): Likewise.
        (jump.o): Likewise.
        (cse.o): Likewise.
        (gcse.o): Likewise.  Also depend on $(BASIC_BLOCK_H) instead of
        basic-block.h.
        (loop.o): Depend on $(EXPR_H) instead of expr.h.
        (unroll.o): Likewise.
        (combine.o): Likewise.
        (reload.o): Likewise.
        (reload1.o): Likewise.
        (caller-save.o): Likewise.
        (reorg.o): Likewise.
        (alias.o): Don't depend on insn-codes.h.
        (regmove.o): Depend on $(RECOG_H)/$(EXPR_H) instead of recog.h/expr.h.
        (insn-emit.o): Depend on $(EXPR_H) instead of expr.h.
        (insn-opinit.o): Likewise.

From-SVN: r20748

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

From-SVN: r20747