Commit Graph

17548 Commits

Author SHA1 Message Date
Michael Meissner b8705408e8 Call fatal_insn_not_found instead of abort
From-SVN: r20813
1998-06-30 05:26:11 +00:00
Jeffrey A Law 20f2d03a8e choose-temp.c (make_temp_file): Accept new argument for the file suffix to use.
* choose-temp.c (make_temp_file): Accept new argument for the
        file suffix to use.  Allocate space for it and add it to the
        template.
        * mkstemp.c (mkstemps): Renamed from mkstemp.  Accept new argument
        for the length of the suffix.  Update template struture checks
        to handle optinal suffix.
        * collect2.c (make_temp_file): Update prototype.
        (main): Put proper suffixes on temporary files.
        * gcc.c (make_temp_file): Update prototype.
        (do_spec_1): Put proper suffixes on temporary files.
Should fix irix build problems.

From-SVN: r20812
1998-06-29 19:41:45 -06:00
Jeff Law af24816977 Daily bump.
From-SVN: r20811
1998-06-29 18:45:02 -06:00
Bruno Haible dbde0d5d34 invoke.texi: Document new implicit structure initialization warning.
* invoke.texi: Document new implicit structure initialization
        warning.

From-SVN: r20810
1998-06-29 18:01:28 -06:00
Jeff Law 9ec36da574 * Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
details.

From-SVN: r20808
1998-06-29 15:40:49 -06:00
Jeffrey A Law ad2c71b764 * pa.c, pa.h, pa.md: Convert to gen_rtx_FOO.
From-SVN: r20806
1998-06-29 15:17:27 -06:00
Catherine Moore 2880d0aa37 remove -mtraceback from list of powerpc options
From-SVN: r20805
1998-06-29 14:47:39 -04:00
Catherine Moore 1a75925b16 -mtraceback is not supported.
From-SVN: r20804
1998-06-29 14:08:22 -04:00
Ulrich Drepper 68a4a14125 Update.
From-SVN: r20803
1998-06-29 18:06:37 +00:00
Ulrich Drepper 9ca05bb14e Rewrite __PMT change so that it works with platforms defining __P but
not __PMT.

From-SVN: r20802
1998-06-29 18:06:26 +00:00
Kaveh R. Ghazi 4f70758f37 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
1998-06-29 17:36:07 +00:00
Kaveh R. Ghazi d0902cd14b 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
1998-06-29 17:21:30 +00:00
Dave Love 174be1b32c 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
1998-06-29 14:04:26 +00:00
Dave Love ba41e17c6d Remove mail headers.
From-SVN: r20795
1998-06-29 14:02:15 +00:00
Brendan Kehoe 37e58443ad revert part of the last checkin
From-SVN: r20794
1998-06-29 09:41:20 -04:00
Brendan Kehoe a48ebb5650 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
1998-06-29 09:39:23 -04:00
Ulrich Drepper cb6abb6fd5 Update.
From-SVN: r20792
1998-06-29 11:45:33 +00:00
Ulrich Drepper e6cc3b8058 (__PMT): New macro. Defined like __P.
Use is for function pointers.

From-SVN: r20791
1998-06-29 11:45:10 +00:00
Catherine Moore a611ae14b3 config/sparc/lb1spc.asm (.udiv, .div) Replace routines.
From-SVN: r20790
1998-06-29 06:26:45 -04:00
Mark Mitchell b4213325af 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
1998-06-29 09:44:08 +00:00
Jeff Law f6b58e7dec Daily bump.
From-SVN: r20785
1998-06-28 18:45:01 -06:00
Jeffrey A Law 39d45901b3 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
1998-06-28 14:07:32 -06:00
Jeffrey A Law b0d45b7466 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
1998-06-28 13:49:44 -06:00
Jeffrey A Law 3d727c4216 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
1998-06-28 07:57:18 -06:00
Jeffrey A Law f2843edbf7 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
1998-06-28 06:50:59 -06:00
Jeffrey A Law 95fd960d15 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
1998-06-28 05:51:02 -06:00
Kaveh R. Ghazi 6cd5dccd5e 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
1998-06-28 06:09:57 +00:00
Jeffrey A Law 984e3c38b5 Bump for snapshot
From-SVN: r20777
1998-06-27 20:11:20 -06:00
Jeff Law 64e1559971 Daily bump.
From-SVN: r20776
1998-06-27 18:45:02 -06:00
Jeffrey A Law 135f368e6e 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
1998-06-27 17:51:33 -06:00
Jeffrey A Law a2c15e736d 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
1998-06-27 17:39:42 -06:00
Richard Henderson 0bef9b8d88 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
1998-06-27 16:30:37 -07:00
Richard Henderson 97a7f457da * objc/archive.c: Remove <string.h> prototypes.
From-SVN: r20769
1998-06-27 16:04:40 -07:00
Carlo Wood dfcb37f2a7 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
1998-06-27 17:01:34 -06:00
Carlo Wood 442b2e8635 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
1998-06-27 17:01:02 -06:00
Jeffrey A Law f89223a978 * tm.texi (NEED_MATH_LIBRARY): Document new target macro.
From-SVN: r20766
1998-06-27 16:42:09 -06:00
Fred Fish 17294adfeb 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
1998-06-27 16:36:57 -06:00
Carlo Wood b5f3e74739 special.exp: Handle newer versions of dejagnu.
* gcc.c-torture/special/special.exp: Handle newer versions of
        dejagnu.

From-SVN: r20764
1998-06-27 16:25:12 -06:00
Craig Burley 973bd7a49f 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
1998-06-27 16:12:42 -06:00
Jeffrey A Law 3efa279767 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
1998-06-27 16:09:32 -06:00
Jeffrey A Law 81241b5e65 * Makefile.in (BASE_FLAGS_TO_PASS): Add TARGET_SUBDIR.
From-SVN: r20761
1998-06-27 16:08:28 -06:00
Jeffrey A Law 69b471bc42 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
1998-06-27 15:48:29 -06:00
Jeffrey A Law b00c2351b5 * Makefile.in (gencheck): Remove $(TREE_H) dependency.
From-SVN: r20759
1998-06-27 15:40:51 -06:00
John Carr d2a0c2eee4 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
1998-06-27 17:47:15 +00:00
Jeffrey A Law 4c649323e3 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
1998-06-27 09:51:49 -06:00
Richard Henderson ea56ab2ae0 * alpha.md (negsf, negdf): Revert Jan 22 change.
From-SVN: r20755
1998-06-27 06:18:25 -07:00
Jeffrey A Law 8abc5081cd * Make-lang.in (g++): Depend on mkstemp.o. Link in mkstemp.o
From-SVN: r20754
1998-06-27 05:25:53 -06:00
Jeffrey A Law b744590be7 * Make-lang.in (g77): Depend on mkstemp.o. Link in mkstemp.o
From-SVN: r20753
1998-06-27 05:23:25 -06:00
Kaveh R. Ghazi 7f43495a8e 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
1998-06-27 09:37:37 +00:00
Manfred Hollstein 7b8c3f6860 Makefile.in (install): Remove superfluous /include.
(
	* Makefile.in (install): Remove superfluous /include.

From-SVN: r20751
1998-06-27 05:24:20 +00:00