Commit Graph

17541 Commits

Author SHA1 Message Date
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
Manfred Hollstein
3a1c612c55 Makefile.in (install): Remove superfluous /include.
�
	* Makefile.in (install): Remove superfluous /include.

From-SVN: r20750
1998-06-27 05:24:19 +00:00
Kaveh R. Ghazi
98fc85044d 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
1998-06-27 04:44:42 +00:00
Kaveh R. Ghazi
50793ea328 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
1998-06-27 04:42:25 +00:00
Jeff Law
78d6bab1f8 Daily bump.
From-SVN: r20747
1998-06-26 18:45:02 -06:00
Jeffrey A Law
003ac91d4b 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
1998-06-26 18:43:42 -06:00
Michael Meissner
463b558b82 Add some insn names for (neg (abs)) code
From-SVN: r20745
1998-06-26 20:02:47 +00:00
Michael Meissner
b4e956935d Fix ne 0 optimization on non-power machines
From-SVN: r20744
1998-06-26 19:56:30 +00:00