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

26 years agochoose-temp.c (choose_temp_base): Remove MPW bits.
Jeffrey A Law [Sat, 27 Jun 1998 00:43:42 +0000 (00:43 +0000)]
choose-temp.c (choose_temp_base): Remove MPW bits.

        * choose-temp.c (choose_temp_base): Remove MPW bits.  Use mkstemp
        instead of mktemp.
        * gcc.c (MKTEMP_EACH_FILE): Define.
        (main): No need to call choose_temp_base if we are going to
        use choose_temp_base to create each file later.
        * mkstemp.c: New file.  Adapted from glibc.
        * Makefile.in (xgcc, colect2, protoize, unprotoize): Link in mkstemp.o
        (mkstemp.o): Add dependencies.

From-SVN: r20746

26 years agoAdd some insn names for (neg (abs)) code
Michael Meissner [Fri, 26 Jun 1998 20:02:47 +0000 (20:02 +0000)]
Add some insn names for (neg (abs)) code

From-SVN: r20745

26 years agoFix ne 0 optimization on non-power machines
Michael Meissner [Fri, 26 Jun 1998 19:56:30 +0000 (19:56 +0000)]
Fix ne 0 optimization on non-power machines

From-SVN: r20744

26 years agoconfigure.in (gettimeofday): Check for its existance.
Jeff Law [Fri, 26 Jun 1998 17:07:31 +0000 (11:07 -0600)]
configure.in (gettimeofday): Check for its existance.

        * configure.in (gettimeofday): Check for its existance.
        * config.in (HAVE_GETTIMEOFDAY): Define.
        * configure: Rebuilt.
Will be needed for mkstemp shortly.

From-SVN: r20743

26 years ago* gcc.dg/980626-1.c: New test.
Jeffrey A Law [Fri, 26 Jun 1998 16:59:06 +0000 (16:59 +0000)]
* gcc.dg/980626-1.c: New test.

From-SVN: r20742

26 years agoMakefile.in (install-info): Run install-info program in separate loop.
Dave Love [Fri, 26 Jun 1998 16:38:36 +0000 (16:38 +0000)]
Makefile.in (install-info): Run install-info program in separate loop.

* Makefile.in (install-info): Run install-info program in separate
loop.

From-SVN: r20741

26 years agoAdd hooks for the machine to override the sorting of the ready list and variable...
Michael Meissner [Fri, 26 Jun 1998 13:09:01 +0000 (13:09 +0000)]
Add hooks for the machine to override the sorting of the ready list and variable issue rates

From-SVN: r20740

26 years agosparc.h (REGNO_OK_FOR_{INDEX,BASE,FP,CCFP}_P): Explicitly mark the constant being...
David S. Miller [Fri, 26 Jun 1998 13:04:40 +0000 (13:04 +0000)]
sparc.h (REGNO_OK_FOR_{INDEX,BASE,FP,CCFP}_P): Explicitly mark the constant being compared against as unsigned.

* config/sparc/sparc.h (REGNO_OK_FOR_{INDEX,BASE,FP,CCFP}_P):
Explicitly mark the constant being compared against as unsigned.
* config/sparc/sparc.c (sparc_select, cpu_default, cpu_table):
Fully initialize final members.
(mem_aligned_8): Explicit init of offset to zero.
(output_function_prologue): Explicit init of n_regs to zero.
(output_function_epilogue): Likewise, and mark arg size as
unused.
(init_cumulative_args): Mark libname and indirect as unused.
(function_arg_pass_by_reference): Likewise for cum and named.
(sparc_builtin_saveregs): Likewise for arglist.
(sparc_flat_eligible_for_epilogue_delay): Likewise for slot.

From-SVN: r20739

26 years agoarm.h (SECONDARY_INPUT_RELOAD_CLASS): Only need a secondary reload if reloading a...
Richard Earnshaw [Fri, 26 Jun 1998 07:13:25 +0000 (07:13 +0000)]
arm.h (SECONDARY_INPUT_RELOAD_CLASS): Only need a secondary reload if reloading a MEM.

* arm.h (SECONDARY_INPUT_RELOAD_CLASS): Only need a secondary reload
if reloading a MEM.
* arm.h (arm_adjust_cost): Renamed bogus prototype from
arm_adjust_code.
(bad_signed_byte_operand): Add prototype.
* arm.c (arm_override_options): Make I unsigned.
(const_ok_for_arm): Add casts to the constants.
(load_multiple_operation): Don't redeclare elt in sub-block.
(arm_gen_movstrqi): Delete external declaration of optimize.
(gen_compare_reg): Declare parameter fp.
* arm.c (final_prescan_insn): Only initialize scanbody if the insn
has a pattern.

From-SVN: r20738

26 years agoWarning fixes:
Kaveh R. Ghazi [Fri, 26 Jun 1998 06:41:04 +0000 (06:41 +0000)]
Warning fixes:

        * alpha.c: Include system.h and toplev.h.
        (cint8_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
        (const48_operand): Likewise.
        (mode_width_operand): Likewise.
        (mode_mask_operand): Likewise.
        (mul8_operand): Likewise.
        (current_file_function_operand): Likewise.
        (signed_comparison_operator): Likewise.
        (divmod_operator): Likewise.
        (any_memory_operand): Likewise.
        (alpha_return_addr): Likewise for parameter `frame'.
        (alpha_builtin_saveregs): Likewise for parameter `arglist'.
        (vms_valid_decl_attribute_p): Likewise for parameters `decl' and
        `attributes'.
        (alpha_start_function): Likewise for parameter `decl'.  Use
        HOST_WIDE_INT_PRINT_DEC in call to fprintf.  Fix various format
        specifiers.  Remove unused variables `lab' and `name'.
        (alpha_end_function): Mark parameter `decl' with ATTRIBUTE_UNUSED.
        (check_float_value): Likewise for parameter `overflow'.
        (alpha_need_linkage): Likewise for parameters `name' and `is_local'.
        * alpha.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define as
        taking an argument.
        (ASM_OUTPUT_SHORT): Cast argument to `int' in call to fprintf.
        (ASM_OUTPUT_CHAR): Likewise.
        (ASM_OUTPUT_BYTE): Likewise.
        (PRINT_OPERAND_ADDRESS): Use HOST_WIDE_INT_PRINT_DEC in call to
        fprintf.
        (PUT_SDB_EPILOGUE_END): Mention argument `NAME' in definition.
        Add prototypes for functions in alpha.c.
        * alpha.md (ashldi3): Add default case in switch.

From-SVN: r20737

26 years agoMakefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
Manfred Hollstein [Fri, 26 Jun 1998 02:13:51 +0000 (02:13 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.

d
egcs/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Depend on $(gcc_version_trigger).
* configure (gcc_version): Change default initializer to empty
string.
(gcc_version_trigger): New variable; pass this variable down
to subdir configures to enable them checking gcc's version
themselves. Emit make macros for both gcc_version vars.
(topsrcdir): Initialize reliably.
(recursion line): Remove --with-gcc-version=${gcc_version}.
egcs/gcc/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version, gcc_version_trigger): New macros.
(version): Initialize from $(gcc_version).
* configure.in (version): Rename to gcc_version.
(gcc_version_trigger): New variable; call AC_SUBST for it and
emit it into the generated config.status.
* configure: Regenerate.
egcs/libf2c/ChangeLog.egcs:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version_trigger): Add new macro.
(config.status): Add dependency upon $(gcc_version_trigger).
* configure.in (gcc_version_trigger): New variable; initialize
using value from toplevel configure; add AC_SUBST for it.
(gcc_version): Change initialization to use this new variable.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Add dependency upon $(gcc_version_trigger).

From-SVN: r20736

26 years agoMakefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
Manfred Hollstein [Fri, 26 Jun 1998 02:13:50 +0000 (02:13 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.

a
egcs/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Depend on $(gcc_version_trigger).
* configure (gcc_version): Change default initializer to empty
string.
(gcc_version_trigger): New variable; pass this variable down
to subdir configures to enable them checking gcc's version
themselves. Emit make macros for both gcc_version vars.
(topsrcdir): Initialize reliably.
(recursion line): Remove --with-gcc-version=${gcc_version}.
egcs/gcc/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version, gcc_version_trigger): New macros.
(version): Initialize from $(gcc_version).
* configure.in (version): Rename to gcc_version.
(gcc_version_trigger): New variable; call AC_SUBST for it and
emit it into the generated config.status.
* configure: Regenerate.
egcs/libf2c/ChangeLog.egcs:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version_trigger): Add new macro.
(config.status): Add dependency upon $(gcc_version_trigger).
* configure.in (gcc_version_trigger): New variable; initialize
using value from toplevel configure; add AC_SUBST for it.
(gcc_version): Change initialization to use this new variable.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Add dependency upon $(gcc_version_trigger).

From-SVN: r20735

26 years agoMakefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
Manfred Hollstein [Fri, 26 Jun 1998 02:13:45 +0000 (02:13 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.

1
egcs/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Depend on $(gcc_version_trigger).
* configure (gcc_version): Change default initializer to empty
string.
(gcc_version_trigger): New variable; pass this variable down
to subdir configures to enable them checking gcc's version
themselves. Emit make macros for both gcc_version vars.
(topsrcdir): Initialize reliably.
(recursion line): Remove --with-gcc-version=${gcc_version}.
egcs/gcc/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version, gcc_version_trigger): New macros.
(version): Initialize from $(gcc_version).
* configure.in (version): Rename to gcc_version.
(gcc_version_trigger): New variable; call AC_SUBST for it and
emit it into the generated config.status.
* configure: Regenerate.
egcs/libf2c/ChangeLog.egcs:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version_trigger): Add new macro.
(config.status): Add dependency upon $(gcc_version_trigger).
* configure.in (gcc_version_trigger): New variable; initialize
using value from toplevel configure; add AC_SUBST for it.
(gcc_version): Change initialization to use this new variable.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Add dependency upon $(gcc_version_trigger).

From-SVN: r20734

26 years agoMakefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
Manfred Hollstein [Fri, 26 Jun 1998 02:13:39 +0000 (02:13 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.


egcs/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Depend on $(gcc_version_trigger).
* configure (gcc_version): Change default initializer to empty
string.
(gcc_version_trigger): New variable; pass this variable down
to subdir configures to enable them checking gcc's version
themselves. Emit make macros for both gcc_version vars.
(topsrcdir): Initialize reliably.
(recursion line): Remove --with-gcc-version=${gcc_version}.
egcs/gcc/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version, gcc_version_trigger): New macros.
(version): Initialize from $(gcc_version).
* configure.in (version): Rename to gcc_version.
(gcc_version_trigger): New variable; call AC_SUBST for it and
emit it into the generated config.status.
* configure: Regenerate.
egcs/libf2c/ChangeLog.egcs:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version_trigger): Add new macro.
(config.status): Add dependency upon $(gcc_version_trigger).
* configure.in (gcc_version_trigger): New variable; initialize
using value from toplevel configure; add AC_SUBST for it.
(gcc_version): Change initialization to use this new variable.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Add dependency upon $(gcc_version_trigger).

From-SVN: r20733

26 years agoMakefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
Manfred Hollstein [Fri, 26 Jun 1998 02:13:36 +0000 (02:13 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.

#
egcs/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Depend on $(gcc_version_trigger).
* configure (gcc_version): Change default initializer to empty
string.
(gcc_version_trigger): New variable; pass this variable down
to subdir configures to enable them checking gcc's version
themselves. Emit make macros for both gcc_version vars.
(topsrcdir): Initialize reliably.
(recursion line): Remove --with-gcc-version=${gcc_version}.
egcs/gcc/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version, gcc_version_trigger): New macros.
(version): Initialize from $(gcc_version).
* configure.in (version): Rename to gcc_version.
(gcc_version_trigger): New variable; call AC_SUBST for it and
emit it into the generated config.status.
* configure: Regenerate.
egcs/libf2c/ChangeLog.egcs:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (gcc_version_trigger): Add new macro.
(config.status): Add dependency upon $(gcc_version_trigger).
* configure.in (gcc_version_trigger): New variable; initialize
using value from toplevel configure; add AC_SUBST for it.
(gcc_version): Change initialization to use this new variable.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
(Makefile): Add dependency upon $(gcc_version_trigger).

From-SVN: r20732

26 years ago*** empty log message ***
Manfred Hollstein [Fri, 26 Jun 1998 02:13:35 +0000 (02:13 +0000)]
*** empty log message ***

From-SVN: r20731

26 years ago
Manfred Hollstein [Fri, 26 Jun 1998 02:01:49 +0000 (02:01 +0000)]

* Forgot to commit :-(

From-SVN: r20730

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

From-SVN: r20729

26 years agofold-const.c (make_range): Don't go looking at TREE_OPERANDs of nodes that are not...
Mark Mitchell [Thu, 25 Jun 1998 17:28:11 +0000 (17:28 +0000)]
fold-const.c (make_range): Don't go looking at TREE_OPERANDs of nodes that are not expressions.

* fold-const.c (make_range): Don't go looking at TREE_OPERANDs of
nodes that are not expressions.

From-SVN: r20728

26 years ago
Benjamin Kosnik [Thu, 25 Jun 1998 17:24:50 +0000 (17:24 +0000)]

fix typo

From-SVN: r20727

26 years ago
Benjamin Kosnik [Thu, 25 Jun 1998 17:24:49 +0000 (17:24 +0000)]

fix typo

From-SVN: r20726

26 years agodecl.c (start_enum): Put local enums on permanant_obstack.
Benjamin Kosnik [Thu, 25 Jun 1998 15:31:56 +0000 (15:31 +0000)]
decl.c (start_enum): Put local enums on permanant_obstack.


1998-06-25  Benjamin Kosnik  <bkoz@lisa.cygnus.com>
* decl.c (start_enum): Put local enums on permanant_obstack.
g++/11580

From-SVN: r20722

26 years agodecl.c (start_enum): Put local enums on permanant_obstack.
Benjamin Kosnik [Thu, 25 Jun 1998 15:31:54 +0000 (15:31 +0000)]
decl.c (start_enum): Put local enums on permanant_obstack.

8
1998-06-25  Benjamin Kosnik  <bkoz@lisa.cygnus.com>
* decl.c (start_enum): Put local enums on permanant_obstack.
g++/11580

From-SVN: r20721

26 years agocp-tree.h (c_get_alias_set): Declare.
Mark Mitchell [Thu, 25 Jun 1998 15:21:38 +0000 (15:21 +0000)]
cp-tree.h (c_get_alias_set): Declare.

* cp-tree.h (c_get_alias_set): Declare.
* decl.c (init_decl_processing): Set lang_get_alias_set.

From-SVN: r20720

26 years agoinvoke.texi (-fstrict-aliasing): Document.
Mark Mitchell [Thu, 25 Jun 1998 15:14:41 +0000 (15:14 +0000)]
invoke.texi (-fstrict-aliasing): Document.

* invoke.texi (-fstrict-aliasing): Document.
* rtl.texi (MEM_ALIAS_SET): Document.
* flags.h (flag_strict_aliasing): Declare.
* toplev.c (flag_strict_aliasing): Define.
(f_options): Add -strict-aliasing.
(main): Set flag_strict_aliasing if -O2 or higher.
* tree.h (tree_type): Add alias_set field.
(TYPE_ALIAS_SET): New macro.
(TYPE_ALIAS_SET_KNOWN_P): Likewise.
(get_alias_set): Declare.
* tree.c (lang_get_alias_set): Define.
(make_node): Initialize TYPE_ALIAS_SET.
(get_alias_set): New function.
* print-tree.c (print_node): Dump the alias set for a type.
* c-tree.h (c_get_alias_set): Declare.
* c-common.c (c_get_alias_set): New function.
* c-decl.c (init_decl_processing): Set lang_get_alias_set.
* expr.c (protect_from_queue): Propogage alias sets.
(expand_assignment): Calculate alias set for new MEMs.
(expand_expr): Likewise.
* function.c (put_var_into_stack): Likewise.
(put_reg_into_stack): Likewise.
(gen_mem_addressof): Likewise.
(assign_parms): Likewise.
* stmt.c (expand_decl): Likewise.
* varasm.c (make_decl_rtl): Eliminate redundant clearing of
DECL_RTL.  Calculate alias set for new MEMs.
* rtl.def (REG): Add dummy operand.
(MEM): Add extra operand to store the MEM_ALIAS_SET.
* rtl.h (MEM_ALIAS_SET): New macro.
(gen_rtx_MEM): Declare.
* emit-rtl.c (gen_rtx_MEM): New function.
* gengenrtl.c (sepcial_rtx): Make MEMs special.
* alias.c (CHECK_ALIAS_SETS_FOR_CONSISTENCY): New macro.
(DIFFERENT_ALIAS_SETS_P): Likewise.
(canon_rtx): Propogate the alias set to the new MEM.
(true_dependence): Check the alias sets.
(anti_dependence): Likewise.
(output_dependence): Likewise.
* explow.c (stabilize): Progoate alias sets.
* integrate.c (copy_rtx_and_substitute): Likewise.
* final.c (alter_subreg): Make sure not to leave MEM_IN_STRUCT_P
in an unpredictable state.  Propogate alias sets.
* reload1.c (reload): Clear MEM_ALIAS_SET for new MEMs about which
we have no alias information.

From-SVN: r20719

26 years ago[multiple changes]
Andrew MacLeod [Thu, 25 Jun 1998 14:11:54 +0000 (14:11 +0000)]
[multiple changes]

Thu Jun 25 16:59:18 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
* except.h (CATCH_ALL_TYPE): Definition moved to eh-common.h.
(find_all_handler_type_matches): Add function prototype.
* eh-common.h (CATCH_ALL_TYPE): Definition added.
* except.c (find_all_handler_type_matches): Add function to find all
runtime type info in the exception table.
(output_exception_table_entry): Special case for CATCH_ALL_TYPE.
1998-06-25  Andrew MacLeod  <amacleod@cygnus.com>
* cp-tree.h (mark_all_runtime_matches): Add function prototype.
* except.c (mark_all_runtime_matches): Set TREE_SYMBOL_REFERENCED
flag for all function decls which are in the exception table.
* exception.cc (__cplus_type_matcher): Check for CATCH_ALL_TYPE match.
* decl2.c (finish_file): Call mark_all_runtime_matches to make sure
code is emitted for any referenced rtti function.

From-SVN: r20718

26 years agoWarning fixes:
Kaveh R. Ghazi [Thu, 25 Jun 1998 13:05:20 +0000 (13:05 +0000)]
Warning fixes:

        * Makefile.in (xcoffout.o): Depend on toplev.h, output.h and dbxout.h.
        * config/fp-bit.c (_fpmul_parts): Move variables `x', `ylow',
        `yhigh' and `bit' into the scope in which they are used.
        (_fpdiv_parts): Remove unused variables `low', `high', `r0', `r1',
        `y0', `y1', `q', `remainder', `carry', `d0' and `d1'.
        * rs6000.c: Move include of output.h below tree.h.  Include toplev.h.
        (any_operand): Mark unused parameters `op' and `mode' with
        ATTRIBUTE_UNUSED.
        (count_register_operand): Likewise for parameter `mode'.
        (fpmem_operand): Likewise.
        (short_cint_operand): Likewise.
        (u_short_cint_operand): Likewise.
        (non_short_cint_operand): Likewise.
        (got_operand): Likewise.
        (got_no_const_operand): Likewise.
        (non_add_cint_operand): Likewise.
        (non_logical_cint_operand): Likewise.
        (mask_operand): Likewise.
        (current_file_function_operand): Likewise.
        (small_data_operand): Likewise for parameters `op' and `mode' but
        only when !TARGET_ELF.
        (init_cumulative_args): Mark parameters `libname' with
        ATTRIBUTE_UNUSED.
        (function_arg_pass_by_reference): Likewise for parameters `cum',
        `mode' and `named'.
        (expand_builtin_saveregs): Likewise for parameter `args'.
        (load_multiple_operation): Likewise for parameter `mode'.
        (store_multiple_operation): Likewise.
        (branch_comparison_operator): Likewise.
        (secondary_reload_class): Likewise.
        (print_operand): Add parentheses around & operation.
        (output_prolog): Mark parameter `size' with ATTRIBUTE_UNUSED.
        (output_epilog): Likewise.  Cast argument to fprintf to int.
        (rs6000_adjust_cost): Mark parameter `dep_insn' with ATTRIBUTE_UNUSED.
        (rs6000_valid_decl_attribute_p): Likewise for parameters `decl',
        `attributes', `identifier' and `args'.
        (rs6000_valid_type_attribute_p): Likewise for parameter `attributes'.
        (rs6000_comp_type_attributes): Likewise for parameters `type1' and
        `type2'.
        (rs6000_set_default_type_attributes): Likewise for parameter `type'.
        * rs6000.h (RTX_COSTS): Add parentheses around & operation.
        (toc_section, private_data_section, trap_comparison_operator): Add
        prototypes.
        * dbxout.h (dbxout_parms, dbxout_reg_parms, dbxout_syms): Add
        prototypes.
        * xcoffout.c: Include toplev.h, outout.h and dbxout.h.
        * xcoffout.h (stab_to_sclass, xcoffout_begin_function,
        xcoffout_begin_block, xcoffout_end_epilogue,
        xcoffout_end_function, xcoffout_end_block,
        xcoff_output_standard_types, xcoffout_declare_function,
        xcoffout_source_line): Add prototypes.

From-SVN: r20717

26 years agoAdd ARG_POINTER_REGNUM to REG_ALLOC_ORDER
Nick Clifton [Thu, 25 Jun 1998 09:55:35 +0000 (09:55 +0000)]
Add ARG_POINTER_REGNUM to REG_ALLOC_ORDER

From-SVN: r20713

26 years agolang-specs.h: Use new | syntax to eliminate string concatenation.
Dave Brolley [Thu, 25 Jun 1998 08:24:51 +0000 (08:24 +0000)]
lang-specs.h: Use new | syntax to eliminate string concatenation.

1998-06-25  Dave Brolley  <brolley@cygnus.com>
* lang-specs.h: Use new | syntax to eliminate
string concatenation.

From-SVN: r20712

26 years agogcc.c (default_compilers): Use new | syntax to eliminate string concatenation.
Dave Brolley [Thu, 25 Jun 1998 08:24:04 +0000 (08:24 +0000)]
gcc.c (default_compilers): Use new | syntax to eliminate string concatenation.

Thu Jun 25 11:12:29 1998  Dave Brolley  <brolley@cygnus.com>
* gcc.c (default_compilers): Use new | syntax to eliminate
string concatenation.

From-SVN: r20711

26 years agocp-tree.h (CP_DECL_CONTEXT): New macro.
Jason Merrill [Thu, 25 Jun 1998 03:28:35 +0000 (23:28 -0400)]
cp-tree.h (CP_DECL_CONTEXT): New macro.

* cp-tree.h (CP_DECL_CONTEXT): New macro.
* decl2.c (is_namespace_ancestor, lookup_using_namespace): Use it.
* method.c (build_overload_nested_name): Likewise.
* sig.c (build_signature_pointer_or_reference_type): Don't set
DECL_CONTEXT.
Set DECL_CONTEXT for globals to NULL_TREE instead of global_namespace.
* cp-tree.h (FROB_CONTEXT): New macro.
(DECL_MAIN_P): ::main should have a DECL_CONTEXT of NULL_TREE.
* decl.c (namespace_binding): Replace NULL_TREE with
global_namespace.
(set_namespace_binding, pop_namespace, lookup_name_real): Likewise.
* decl2.c (is_namespace_ancestor, lookup_using_namespace):
Likewise.
* decl.c (pushtag): Use FROB_CONTEXT.
(pushdecl, make_typename_type, define_function, grokdeclarator):
Likewise.
* decl2.c (set_decl_namespace, do_namespace_alias): Likewise.
* pt.c (push_template_decl_real, lookup_template_class, tsubst):
Likewise.
* decl2.c (decl_namespace): Return global_namespace if no context.
* method.c (build_overload_nested_name): Expect null as context.
* pt.c (mangle_class_name_for_template): Do nothing for null
contexts.
(lookup_template_class): Allow for null id_context.

From-SVN: r20710

26 years agoalpha.c (alpha_function_name): Delete.
Richard Henderson [Thu, 25 Jun 1998 01:09:06 +0000 (18:09 -0700)]
alpha.c (alpha_function_name): Delete.

        * alpha.c (alpha_function_name): Delete.
        (alpha_ra_ever_killed): Notice current_function_is_thunk.
        (alpha_sa_mask, alpha_sa_size, alpha_does_function_need_gp): Likewise.
        (alpha_start_function): Reorg from output_prologue.
        (alpha_end_function): Reorg from output_epilogue.
        * alpha.h (ASM_DECLARE_FUNCTION_NAME): Call alpha_start_function.
        (ASM_DECLARE_FUNCTION_SIZE): New.
        (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
        (PROFILE_BEFORE_PROLOGUE): Set.
        (ASM_OUTPUT_MI_THUNK): Remove bits now output by start/end_function.
        * alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.

From-SVN: r20709

26 years agomethod.c (emit_thunk): Set current_function_is_thunk for the ASM_OUTPUT_MI_THUNK...
Richard Henderson [Thu, 25 Jun 1998 00:47:46 +0000 (17:47 -0700)]
method.c (emit_thunk): Set current_function_is_thunk for the ASM_OUTPUT_MI_THUNK case as well.

        * method.c (emit_thunk): Set current_function_is_thunk for the
        ASM_OUTPUT_MI_THUNK case as well.

From-SVN: r20708

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

From-SVN: r20707

26 years ago* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
Jeff Law [Thu, 25 Jun 1998 00:23:20 +0000 (18:23 -0600)]
* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.

From-SVN: r20706

26 years agoexpr.c (expand_assignment): Rework address calculation for structure field members...
Herman A.J. ten Brugge [Wed, 24 Jun 1998 22:40:29 +0000 (00:40 +0200)]
expr.c (expand_assignment): Rework address calculation for structure field members to expose more invariant...

        * expr.c (expand_assignment): Rework address calculation for structure
        field members to expose more invariant computations to the loop
        optimizer.
        (expand_expr): Likewise.

From-SVN: r20705

26 years agolocal-alloc.c (block_alloc): Do not try to avoid false dependencies when SMALL_REGIST...
Jeffrey A Law [Wed, 24 Jun 1998 21:49:34 +0000 (21:49 +0000)]
local-alloc.c (block_alloc): Do not try to avoid false dependencies when SMALL_REGISTER_CLASSES is nonzero.

        * local-alloc.c (block_alloc): Do not try to avoid false dependencies
        when SMALL_REGISTER_CLASSES is nonzero.
Fixes x86 performance regression.

From-SVN: r20704

26 years ago* alpha.md (call_vms, call_value_vms): Strip leading * from symbol.
Klaus Kaempf [Wed, 24 Jun 1998 17:55:03 +0000 (17:55 +0000)]
* alpha.md (call_vms, call_value_vms): Strip leading * from symbol.

From-SVN: r20703

26 years agoAdd Catherine and Vladimir.
Jeff Law [Wed, 24 Jun 1998 17:23:27 +0000 (11:23 -0600)]
Add Catherine and Vladimir.

From-SVN: r20702

26 years agooptabs.c: Use gen_rtx_FOO (...) instead of gen_rtx (FOO, ...).
John Carr [Wed, 24 Jun 1998 14:49:51 +0000 (14:49 +0000)]
optabs.c: Use gen_rtx_FOO (...) instead of gen_rtx (FOO, ...).

* optabs.c: Use gen_rtx_FOO (...) instead of gen_rtx (FOO, ...).
* expr.c: Likewise.
* explow.c: Likewise.
* combine.c: Likewise.
* reload1.c: Likewise.
* gcse.c: Likewise.

From-SVN: r20701

26 years agoexpr.c (get_memory_rtx): New function.
John Carr [Wed, 24 Jun 1998 13:32:56 +0000 (13:32 +0000)]
expr.c (get_memory_rtx): New function.

* expr.c (get_memory_rtx): New function.
(expand_builtin): Call get_memory_rtx for MEM arguments to builtin
string functions.
* expmed.c (init_expmed): Initialize all elements of *_cost arrays.

From-SVN: r20700

26 years agoREADME.gnat: Add patch for new lang_decode_options interface.
Dave Brolley [Wed, 24 Jun 1998 12:15:04 +0000 (12:15 +0000)]
README.gnat: Add patch for new lang_decode_options interface.

Wed Jun 24 15:13:01 1998  Dave Brolley  <brolley@cygnus.com>
* README.gnat: Add patch for new lang_decode_options interface.

From-SVN: r20699

26 years agobackspace.c, [...]: Update to Netlib version of 1998-06-18.
Dave Love [Wed, 24 Jun 1998 10:15:19 +0000 (10:15 +0000)]
backspace.c, [...]: Update to Netlib version of 1998-06-18.

1998-06-23  Dave Love  <d.love@dl.ac.uk>
        * libI77/backspace.c, libI77/dfe.c, libI77/due.c, libI77/iio.c,
        libI77/lread.c, libI77/ sfe.c, libI77/sue.c, libI77/wsfe.c: Update
        to Netlib version of 1998-06-18.

From-SVN: r20696

26 years agoexcept.c (start_catch_handler): Do nothing if EH is not on.
Andrew MacLeod [Wed, 24 Jun 1998 06:56:37 +0000 (06:56 +0000)]
except.c (start_catch_handler): Do nothing if EH is not on.

Wed Jun 24 09:14:04 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
* except.c (start_catch_handler): Do nothing if EH is not on.

From-SVN: r20695

26 years agoconfigure (enable_version_specific_runtime_libs): Implement new flag --enable-version...
Manfred Hollstein [Wed, 24 Jun 1998 06:26:02 +0000 (06:26 +0000)]
configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...

d
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (enable_version_specific_runtime_libs): Implement new flag
--enable-version-specific-runtime-libs which installs C++ runtime stuff in
$(libsubdir); emit definition in each generated Makefile.
(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure.in (gxx_include_dir): Initialize default value depending on
new flag --enable-version-specific-runtime-libs; remove superfluous default
initialization afterwards.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (install): Install _G_config.h depending on new flag
--enable-version-specific-runtime-libs.
* config/linux.mt (gxx_include_dir): Remove definition here as we use
gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (INSTALLDIR): Add comment to document the fact,
this macro will be properly initialized at make's runtime.
(install): Add initialization of INSTALLDIR depending on $(libsubdir)
and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
instead of the $(INSTALLDIR) make macro.

From-SVN: r20694

26 years agoconfigure (enable_version_specific_runtime_libs): Implement new flag --enable-version...
Manfred Hollstein [Wed, 24 Jun 1998 06:26:01 +0000 (06:26 +0000)]
configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...

S
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (enable_version_specific_runtime_libs): Implement new flag
--enable-version-specific-runtime-libs which installs C++ runtime stuff in
$(libsubdir); emit definition in each generated Makefile.
(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure.in (gxx_include_dir): Initialize default value depending on
new flag --enable-version-specific-runtime-libs; remove superfluous default
initialization afterwards.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (install): Install _G_config.h depending on new flag
--enable-version-specific-runtime-libs.
* config/linux.mt (gxx_include_dir): Remove definition here as we use
gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (INSTALLDIR): Add comment to document the fact,
this macro will be properly initialized at make's runtime.
(install): Add initialization of INSTALLDIR depending on $(libsubdir)
and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
instead of the $(INSTALLDIR) make macro.

From-SVN: r20693

26 years agoconfigure (enable_version_specific_runtime_libs): Implement new flag --enable-version...
Manfred Hollstein [Wed, 24 Jun 1998 06:25:58 +0000 (06:25 +0000)]
configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...

#
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (enable_version_specific_runtime_libs): Implement new flag
--enable-version-specific-runtime-libs which installs C++ runtime stuff in
$(libsubdir); emit definition in each generated Makefile.
(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure.in (gxx_include_dir): Initialize default value depending on
new flag --enable-version-specific-runtime-libs; remove superfluous default
initialization afterwards.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (install): Install _G_config.h depending on new flag
--enable-version-specific-runtime-libs.
* config/linux.mt (gxx_include_dir): Remove definition here as we use
gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (INSTALLDIR): Add comment to document the fact,
this macro will be properly initialized at make's runtime.
(install): Add initialization of INSTALLDIR depending on $(libsubdir)
and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
instead of the $(INSTALLDIR) make macro.

From-SVN: r20692

26 years agoconfigure (enable_version_specific_runtime_libs): Implement new flag --enable-version...
Manfred Hollstein [Wed, 24 Jun 1998 06:25:57 +0000 (06:25 +0000)]
configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...

a
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (enable_version_specific_runtime_libs): Implement new flag
--enable-version-specific-runtime-libs which installs C++ runtime stuff in
$(libsubdir); emit definition in each generated Makefile.
(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure.in (gxx_include_dir): Initialize default value depending on
new flag --enable-version-specific-runtime-libs; remove superfluous default
initialization afterwards.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (install): Install _G_config.h depending on new flag
--enable-version-specific-runtime-libs.
* config/linux.mt (gxx_include_dir): Remove definition here as we use
gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (INSTALLDIR): Add comment to document the fact,
this macro will be properly initialized at make's runtime.
(install): Add initialization of INSTALLDIR depending on $(libsubdir)
and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
instead of the $(INSTALLDIR) make macro.

From-SVN: r20691

26 years agoconfigure (enable_version_specific_runtime_libs): Implement new flag --enable-version...
Manfred Hollstein [Wed, 24 Jun 1998 06:25:52 +0000 (06:25 +0000)]
configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...


egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (enable_version_specific_runtime_libs): Implement new flag
--enable-version-specific-runtime-libs which installs C++ runtime stuff in
$(libsubdir); emit definition in each generated Makefile.
(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure.in (gxx_include_dir): Initialize default value depending on
new flag --enable-version-specific-runtime-libs; remove superfluous default
initialization afterwards.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (install): Install _G_config.h depending on new flag
--enable-version-specific-runtime-libs.
* config/linux.mt (gxx_include_dir): Remove definition here as we use
gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (INSTALLDIR): Add comment to document the fact,
this macro will be properly initialized at make's runtime.
(install): Add initialization of INSTALLDIR depending on $(libsubdir)
and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
instead of the $(INSTALLDIR) make macro.

From-SVN: r20690

26 years agoconfigure (gcc_version): Initialize properly depending on how and where configure...
Manfred Hollstein [Wed, 24 Jun 1998 06:16:22 +0000 (06:16 +0000)]
configure (gcc_version): Initialize properly depending on how and where configure is started.


egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* configure (gcc_version): Initialize properly depending on
how and where configure is started.
(recursion line): Pass a --with-gcc-version=${gcc_version}
to configures in subdirs.
egcs/libf2c/ChangeLog.egcs:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* Makefile.in (version): Rename to gcc_version.
* configure.in (version): Likewise.
(gcc_version): Add code to use an option passed from parent configure.
* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
* config.shared (FLAGS_TO_PASS): Add gcc_version.

From-SVN: r20689