platform/upstream/linaro-gcc.git
26 years ago * Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
law [Mon, 29 Jun 1998 21:40:49 +0000 (21:40 +0000)]
    * Merge from gcc2 June 9, 1998 snapshot.  See ChangeLog.13 for
        details.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20808 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20806 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20805 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20804 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20803 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRewrite __PMT change so that it works with platforms defining __P but
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20802 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20801 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20800 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago1998-06-29 Dave Love <d.love@dl.ac.uk>
fx [Mon, 29 Jun 1998 14:04:26 +0000 (14:04 +0000)]
1998-06-29  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/980628-3.f: Remove mail headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20796 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20795 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20794 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * tree.c (build_srcloc): Make sure we allocate this node on the
brendan [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.
fixes OSE compilation failures

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20793 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20792 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago(__PMT): New macro. Defined like __P.
drepper [Mon, 29 Jun 1998 11:45:10 +0000 (11:45 +0000)]
(__PMT): New macro.  Defined like __P.
Use is for function pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20791 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20790 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rtl.h: Update comment about special gen_rtx variants.
mmitchel [Mon, 29 Jun 1998 09:44:08 +0000 (09:44 +0000)]
* rtl.h: Update comment about special gen_rtx variants.
* emit-rtl.c (gen_rtx): Handle MEMs using gen_rtx_MEM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20789 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Mon, 29 Jun 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20785 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * choose-temp.c (choose_temp_base): Restore original variant of
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.
        (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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20784 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g77.f-torture/execute/980628-4.f: New test from Craig.
law [Sun, 28 Jun 1998 19:49:44 +0000 (19:49 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20783 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g77.f-torture/execute/980628-4.f: New test from Craig.
law [Sun, 28 Jun 1998 13:57:18 +0000 (13:57 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20782 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g77.f-torture/execute/980628-4.f: New test from Craig.
law [Sun, 28 Jun 1998 12:50:59 +0000 (12:50 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20781 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g77.f-torture/execute/980628-4.f: New test from Craig.
law [Sun, 28 Jun 1998 11:51:02 +0000 (11:51 +0000)]
    * g77.f-torture/execute/980628-4.f: New test from Craig.
        * g77.f-torture/execute/980628-5.f: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20780 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoConsolidate strerror handling, as well as getcwd/getwd.
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20779 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Sun, 28 Jun 1998 02:11:20 +0000 (02:11 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20777 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Sun, 28 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20776 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if
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.
Bring over from egcs-1.0.3 branch since ppc-linux still uses glibc-1.9x.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20775 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * lib/g77.exp (default_g77_version): Tweak to make it work in a build
law [Sat, 27 Jun 1998 23:39:42 +0000 (23:39 +0000)]
    * lib/g77.exp (default_g77_version): Tweak to make it work in a build
        directory when nothing has been installed yet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20774 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * jump.c (jump_optimize): Use side_effects_p & may_trap_p instead
rth [Sat, 27 Jun 1998 23:30:37 +0000 (23:30 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20770 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20769 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * lib/libstdc++.exp: Use global variable ld_library_path (not local)
law [Sat, 27 Jun 1998 23:01:34 +0000 (23:01 +0000)]
    * 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.*").

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20768 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * lib/libio.exp (test_libio): Reset ld_library_path before appending
law [Sat, 27 Jun 1998 23:01:02 +0000 (23:01 +0000)]
    * lib/libio.exp (test_libio): Reset ld_library_path before appending
        the same path(s) again.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20767 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20766 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g++spec.c (NEED_MATH_LIBRARY): Define to 1 if not already defined.
law [Sat, 27 Jun 1998 22:36:57 +0000 (22:36 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20765 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * gcc.c-torture/special/special.exp: Handle newer versions of
law [Sat, 27 Jun 1998 22:25:12 +0000 (22:25 +0000)]
    * gcc.c-torture/special/special.exp: Handle newer versions of
        dejagnu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20764 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20763 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Makefile.in (FLAGS_TO_PASS, case G2C_H_DIR): Use $(TARGET_SUBDIR)
law [Sat, 27 Jun 1998 22:09:32 +0000 (22:09 +0000)]
    * Makefile.in (FLAGS_TO_PASS, case G2C_H_DIR): Use $(TARGET_SUBDIR)
        instead of hardcoding "libraries".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20762 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20761 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20760 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20759 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * dsp16xx.h (FIRST_PSEUDO_REGISTER): Add parentheses to definition.
jfc [Sat, 27 Jun 1998 17:47:15 +0000 (17:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20757 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * flow.c (count_reg_sets): New function.
law [Sat, 27 Jun 1998 15:51:49 +0000 (15:51 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20756 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20755 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20754 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20753 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * mkstemp.c: Include gansidecl.h. Rename uint64_t to gcc_uint64_t.
ghazi [Sat, 27 Jun 1998 09:37:37 +0000 (09:37 +0000)]
    * mkstemp.c: Include gansidecl.h.  Rename uint64_t to gcc_uint64_t.
        (mkstemp): Remove size specifier for variable `letters'.  Call
        gettimeofday, not __gettimeofday.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20752 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20751 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Sat, 27 Jun 1998 05:24:19 +0000 (05:24 +0000)]

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20750 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoReplace Makefile.in dependencies on expr.h with variable $(EXPR_H),
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20749 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoReplace Makefile.in dependencies on expr.h with variable $(EXPR_H),
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20748 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Sat, 27 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20747 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * choose-temp.c (choose_temp_base): Remove MPW bits. Use mkstemp
law [Sat, 27 Jun 1998 00:43:42 +0000 (00:43 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20746 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20745 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20744 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in (gettimeofday): Check for its existance.
law [Fri, 26 Jun 1998 17:07:31 +0000 (17:07 +0000)]
    * configure.in (gettimeofday): Check for its existance.
        * config.in (HAVE_GETTIMEOFDAY): Define.
        * configure: Rebuilt.
Will be needed for mkstemp shortly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20743 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20742 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20741 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd hooks for the machine to override the sorting of the ready list and variable...
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20740 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/sparc/sparc.h (REGNO_OK_FOR_{INDEX,BASE,FP,CCFP}_P):
davem [Fri, 26 Jun 1998 13:04:40 +0000 (13:04 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20739 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* arm.h (SECONDARY_INPUT_RELOAD_CLASS): Only need a secondary reload
rearnsha [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 (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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20738 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20737 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agod
manfred [Fri, 26 Jun 1998 02:13:51 +0000 (02:13 +0000)]
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20736 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoa
manfred [Fri, 26 Jun 1998 02:13:50 +0000 (02:13 +0000)]
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20735 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago1
manfred [Fri, 26 Jun 1998 02:13:45 +0000 (02:13 +0000)]
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20734 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Fri, 26 Jun 1998 02:13:39 +0000 (02:13 +0000)]

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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20733 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago#
manfred [Fri, 26 Jun 1998 02:13:36 +0000 (02:13 +0000)]
#
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20732 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20731 138bc75d-0d04-0410-961f-82ee72b054a4

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

* Forgot to commit :-(

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20730 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Fri, 26 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20729 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * fold-const.c (make_range): Don't go looking at TREE_OPERANDs of
mmitchel [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20728 138bc75d-0d04-0410-961f-82ee72b054a4

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

fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20727 138bc75d-0d04-0410-961f-82ee72b054a4

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

fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20726 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
bkoz [Thu, 25 Jun 1998 15:31:56 +0000 (15:31 +0000)]

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20722 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
bkoz [Thu, 25 Jun 1998 15:31:54 +0000 (15:31 +0000)]
8
1998-06-25  Benjamin Kosnik  <bkoz@lisa.cygnus.com>
* decl.c (start_enum): Put local enums on permanant_obstack.
g++/11580

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20721 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (c_get_alias_set): Declare.
mmitchel [Thu, 25 Jun 1998 15:21:38 +0000 (15:21 +0000)]
* cp-tree.h (c_get_alias_set): Declare.
* decl.c (init_decl_processing): Set lang_get_alias_set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20720 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * invoke.texi (-fstrict-aliasing): Document.
mmitchel [Thu, 25 Jun 1998 15:14:41 +0000 (15:14 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20719 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoThu Jun 25 16:59:18 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Thu, 25 Jun 1998 14:11:54 +0000 (14:11 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20718 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20717 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20713 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago1998-06-25 Dave Brolley <brolley@cygnus.com>
brolley [Thu, 25 Jun 1998 08:24:51 +0000 (08:24 +0000)]
1998-06-25  Dave Brolley  <brolley@cygnus.com>
* lang-specs.h: Use new | syntax to eliminate
string concatenation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20712 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoThu Jun 25 11:12:29 1998 Dave Brolley <brolley@cygnus.com>
brolley [Thu, 25 Jun 1998 08:24:04 +0000 (08:24 +0000)]
Thu Jun 25 11:12:29 1998  Dave Brolley  <brolley@cygnus.com>
* gcc.c (default_compilers): Use new | syntax to eliminate
string concatenation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20711 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (CP_DECL_CONTEXT): New macro.
jason [Thu, 25 Jun 1998 03:28:35 +0000 (03:28 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20710 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha.c (alpha_function_name): Delete.
rth [Thu, 25 Jun 1998 01:09:06 +0000 (01:09 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20709 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * method.c (emit_thunk): Set current_function_is_thunk for the
rth [Thu, 25 Jun 1998 00:47:46 +0000 (00:47 +0000)]
    * method.c (emit_thunk): Set current_function_is_thunk for the
        ASM_OUTPUT_MI_THUNK case as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20708 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDaily bump.
law [Thu, 25 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20707 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20706 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * expr.c (expand_assignment): Rework address calculation for structure
law [Wed, 24 Jun 1998 22:40:29 +0000 (22:40 +0000)]
    * expr.c (expand_assignment): Rework address calculation for structure
        field members to expose more invariant computations to the loop
        optimizer.
        (expand_expr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20705 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * local-alloc.c (block_alloc): Do not try to avoid false dependencies
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.
Fixes x86 performance regression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20704 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20703 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd Catherine and Vladimir.
law [Wed, 24 Jun 1998 17:23:27 +0000 (17:23 +0000)]
Add Catherine and Vladimir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20702 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * optabs.c: Use gen_rtx_FOO (...) instead of gen_rtx (FOO, ...).
jfc [Wed, 24 Jun 1998 14:49:51 +0000 (14:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20701 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * expr.c (get_memory_rtx): New function.
jfc [Wed, 24 Jun 1998 13:32:56 +0000 (13:32 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20700 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Jun 24 15:13:01 1998 Dave Brolley <brolley@cygnus.com>
brolley [Wed, 24 Jun 1998 12:15:04 +0000 (12:15 +0000)]
Wed Jun 24 15:13:01 1998  Dave Brolley  <brolley@cygnus.com>
* README.gnat: Add patch for new lang_decode_options interface.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20699 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago1998-06-23 Dave Love <d.love@dl.ac.uk>
fx [Wed, 24 Jun 1998 10:15:19 +0000 (10:15 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20696 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWed Jun 24 09:14:04 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Wed, 24 Jun 1998 06:56:37 +0000 (06:56 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20695 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agod
manfred [Wed, 24 Jun 1998 06:26:02 +0000 (06:26 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20694 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoS
manfred [Wed, 24 Jun 1998 06:26:01 +0000 (06:26 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20693 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago#
manfred [Wed, 24 Jun 1998 06:25:58 +0000 (06:25 +0000)]
#
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20692 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoa
manfred [Wed, 24 Jun 1998 06:25:57 +0000 (06:25 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20691 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Wed, 24 Jun 1998 06:25:52 +0000 (06:25 +0000)]

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20690 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Wed, 24 Jun 1998 06:16:22 +0000 (06:16 +0000)]

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20689 138bc75d-0d04-0410-961f-82ee72b054a4