gcc.git
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

26 years agoconfigure (gcc_version): Initialize properly depending on how and where configure...
Manfred Hollstein [Wed, 24 Jun 1998 06:16:21 +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: r20688

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

d
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: r20687

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

1
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: r20686

26 years agoReverse may 15th change, as suggested by Jason.
David S. Miller [Wed, 24 Jun 1998 03:35:23 +0000 (03:35 +0000)]
Reverse may 15th change, as suggested by Jason.

It causes too many backwards compatability problems, for
more than one frontend.

From-SVN: r20685

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

From-SVN: r20684

26 years agoForgot to commit.
Jeff Law [Wed, 24 Jun 1998 00:22:57 +0000 (18:22 -0600)]
Forgot to commit.

From-SVN: r20683

26 years ago* g77spec.c (lang_specific_driver): Revert last change.
Jeff Law [Wed, 24 Jun 1998 00:02:43 +0000 (18:02 -0600)]
* g77spec.c (lang_specific_driver): Revert last change.

From-SVN: r20682

26 years agoadded myself, per Jeff Law's request
Alexandre Oliva [Tue, 23 Jun 1998 23:18:07 +0000 (23:18 +0000)]
added myself, per Jeff Law's request

From-SVN: r20681

26 years agoAdd Craig Burley, John Carr and David Miller to the "blanket write privs" list.
Jeff Law [Tue, 23 Jun 1998 22:30:04 +0000 (16:30 -0600)]
Add Craig Burley, John Carr and David Miller to the "blanket write privs" list.

From-SVN: r20680

26 years agoreload.c (find_reloads): Fix check for failure to match any alternative...
Ken Raeburn [Tue, 23 Jun 1998 18:28:47 +0000 (18:28 +0000)]
reload.c (find_reloads): Fix check for failure to match any alternative...

* reload.c (find_reloads): Fix check for failure to match any alternative, to
account for Mar 26 change in initial "best" cost.

From-SVN: r20679

26 years agobackspace.c, [...]: Update to Netlib version of 1998-06-18.
Dave Love [Tue, 23 Jun 1998 14:37:15 +0000 (14:37 +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: r20678

26 years agocpplib.c (do_line): Typo broke #line directive.
Dave Brolley [Tue, 23 Jun 1998 13:51:33 +0000 (13:51 +0000)]
cpplib.c (do_line): Typo broke #line directive.

Tue Jun 23 16:44:21 1998  Dave Brolley  <brolley@cygnus.com>
* cpplib.c (do_line): Typo broke #line directive.
(cpp_message_from_errno): New function.
(cpp_error_from_errno): Call cpp_message_from_errno.
* cpplib.h (cpp_message_from_errno): New function.

From-SVN: r20675

26 years agofix
Jason Merrill [Tue, 23 Jun 1998 12:04:29 +0000 (08:04 -0400)]
fix

From-SVN: r20674

26 years agolibgcc2.c (__get_eh_table_version, [...]): New functions to return exception descript...
Andrew MacLeod [Tue, 23 Jun 1998 10:51:47 +0000 (10:51 +0000)]
libgcc2.c (__get_eh_table_version, [...]): New functions to return exception descriptor information.

Tue Jun 23 13:38:18 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
* libgcc2.c (__get_eh_table_version, __get_eh_table_language): New
functions to return exception descriptor information.
(find_exception_handler): Pass match_info field to runtime matcher,
not a descriptor table entry.
* exception.cc (__cplus_type_matcher): Get a match_info pointer
instead of an exception table entry as a parameter.

From-SVN: r20673

26 years agocpp.texi, gcc.texi: Add @dircategory...
Dave Love [Tue, 23 Jun 1998 08:35:52 +0000 (08:35 +0000)]
cpp.texi, gcc.texi: Add @dircategory...

        * cpp.texi, gcc.texi: Add @dircategory, @direntry meant to
        accompany previous Makefile.in (install-info) change.

From-SVN: r20672

26 years agoHave -fnew-exceptions actually use the runtime field, and not generate runtime checki...
Andrew MacLeod [Tue, 23 Jun 1998 07:10:29 +0000 (07:10 +0000)]
Have -fnew-exceptions actually use the runtime field, and not generate runtime checking code inside each handler.

Have -fnew-exceptions actually use the runtime field, and not generate
runtime checking code inside each handler.
THis works at low opt, but not with optimization at the moment.
Tue Jun 23 10:06:07 EDT 1998  Andrew MacLeod  (amacleod@cygnus.com)
* eh-common.h (struct __eh_info): Remove coerced value field.
* libgcc2.c (find_exception_handler): Don't set coerced_value field.
* except.c (get_dynamic_handler_chain, get_dynamic_cleanup_chain): Use
POINTER_SIZE instead of Pmode.
(expand_start_all_catch): Call start_catch_handler() if we are not
using new style exceptions.
1998-06-22  Andrew MacLeod  (amacleod@cygnus.com)
* parse.y (function_try_block): Don't call start_catch_handler.
* except.c (call_eh_info): Remove coerced field from declaration.
(build_eh_type_type_ref): New function to create an address of a
rtti function for the new style exception tables.
(expand_start_catch_block): Split function, this contains the
common part.
(process_start_catch_block_old): New function to perform the rest
of expand_start_catch_block under old style exceptions.
(process_start_catch_block_old): New function to perform the rest
of expand_start_catch_block under new style exceptions.
(expand_end_catch_block): Only pop the false label off the stack under
the old style of exceptions.
* semantics.c (finish_try_block): Don't call start_catch_handler.
* exception.cc (struct cp_eh_info): Add original_value field.
(__cplus_type_matcher): Perform type matching on the original exception
value, and if we have a match, set the current value.
(__cp_push_exception): Set the original expcetion value.

From-SVN: r20671

26 years agoRemove reference to warn_bss_align.
Catherine Moore [Tue, 23 Jun 1998 05:45:40 +0000 (05:45 +0000)]
Remove reference to warn_bss_align.

From-SVN: r20670

26 years agoComplete this set of changes to make the Sparc
David S. Miller [Tue, 23 Jun 1998 02:24:13 +0000 (02:24 +0000)]
Complete this set of changes to make the Sparc
backend completely gen_rtx clean.

From-SVN: r20669

26 years agocall.c (joust): Fix confusing conversion warning.
Jason Merrill [Tue, 23 Jun 1998 01:49:05 +0000 (01:49 +0000)]
call.c (joust): Fix confusing conversion warning.

* call.c (joust): Fix confusing conversion warning.
* call.c (build_op_delete_call): Add placement parm.  Check
LOOKUP_SPECULATIVELY.
* cp-tree.h, decl2.c, init.c: Adjust.
* decl.c (finish_function): Use it.
* pt.c (tsubst): Diagnose creating void fields or variables.

From-SVN: r20668

26 years agosparc.md (zero_extendhidi2, [...]): Change remaining generic gen_rtx calls to specifi...
David S. Miller [Tue, 23 Jun 1998 01:16:31 +0000 (01:16 +0000)]
sparc.md (zero_extendhidi2, [...]): Change remaining generic gen_rtx calls to specific genrtl ones.

* config/sparc/sparc.md (zero_extendhidi2, extendhisi2,
extendqihi2, extendqisi2, extendqidi2, extendhidi2, adddi3,
subdi3, negdi2, call, call_value, untyped_return, nonlocal_goto,
splits and peepholes): Change remaining generic gen_rtx calls to
specific genrtl ones.

From-SVN: r20667

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

From-SVN: r20666

26 years agofreebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
John Wehle [Mon, 22 Jun 1998 23:06:58 +0000 (23:06 +0000)]
freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.

* i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
* i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.

From-SVN: r20665

26 years ago* gcc.c (handle_braces): Recognize | between options as an or.
Richard Henderson [Mon, 22 Jun 1998 22:53:33 +0000 (15:53 -0700)]
* gcc.c (handle_braces): Recognize | between options as an or.

From-SVN: r20664

26 years ago* i386.md (exception_receiver): Define.
John Wehle [Mon, 22 Jun 1998 22:18:25 +0000 (22:18 +0000)]
* i386.md (exception_receiver): Define.

From-SVN: r20663

26 years ago* Make-lang.in (G77STAGESTUFF): Add g77.c.
H.J. Lu [Mon, 22 Jun 1998 22:16:19 +0000 (22:16 +0000)]
* Make-lang.in (G77STAGESTUFF): Add g77.c.

From-SVN: r20662

26 years agoprotoize/unprotoize are target dependent, so give them target dependent names.
Jim Wilson [Mon, 22 Jun 1998 18:32:14 +0000 (18:32 +0000)]
protoize/unprotoize are target dependent, so give them target dependent names.

* Makefile.in (PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): New variables.
(install-common): Use them.

From-SVN: r20661

26 years agoFix irix6 -O3 -funroll-all-loops bootstrap failure reported by Kaveh Ghazi.
Jim Wilson [Mon, 22 Jun 1998 12:02:52 +0000 (12:02 +0000)]
Fix irix6 -O3 -funroll-all-loops bootstrap failure reported by Kaveh Ghazi.

* gcse.c (add_label_notes): New function.
(pre_insert_insn): Call it.
* unroll.c (unroll_loop): Look for insns with a REG_LABEL note, and
pass the label to set_label_in_map.

From-SVN: r20658

26 years agoMakefile.in (install-info): Fix typpo in previous change.
Dave Love [Mon, 22 Jun 1998 11:07:37 +0000 (11:07 +0000)]
Makefile.in (install-info): Fix typpo in previous change.

Mon Jun 22 19:01:14 1998  Dave Love  <d.love@dl.ac.uk>
* Makefile.in (install-info): Fix typpo in previous change.

From-SVN: r20657

26 years ago(install-info): Fix typpo in previous change.
Dave Love [Mon, 22 Jun 1998 10:58:36 +0000 (10:58 +0000)]
(install-info): Fix typpo in previous change.

From-SVN: r20656

26 years agovarasm.c (assemble_variable): Emit alignment warning.
Catherine Moore [Mon, 22 Jun 1998 09:14:09 +0000 (09:14 +0000)]
varasm.c (assemble_variable): Emit alignment warning.

Mon Jun 22 11:10:00 1998  Catherine Moore  <clm@cygnus.com>
        * varasm.c (assemble_variable):  Emit alignment warning.

From-SVN: r20655

26 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 22 Jun 1998 06:30:39 +0000 (06:30 +0000)]
Warning fixes:

        * mips-tfile.c (add_local_symbol): Cast width format specifier to int.
        (add_ext_symbol): Likewise.
        (add_file): Likewise.
        (parse_def): Likewise.
        (write_varray): Use HOST_PTR_PRINTF to print a pointer.  Fix
        remaining format specifiers and arguments.
        (write_object): Likewise, several times.
        (read_seek): Likewise.
        (out_of_bounds): Likewise.
        (allocate_cluster): Likewise.
        (xmalloc): Likewise.
        (xcalloc): Likewise.
        (xrealloc): Likewise.
        (xfree): Likewise.
        * mips-tdump.c (print_symbol): Likewise.

From-SVN: r20654

26 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 22 Jun 1998 05:59:23 +0000 (05:59 +0000)]
Warning fixes:

        * call.c (build_scoped_method_call): Remove unused variable `tmp'.
        * cp-tree.h (check_dtor_name): Add prototype.
        * init.c (expand_member_init): Remove unused variables
        `ptr_type_node', `parm' and `rval'.
        * ptree.c (print_lang_type): Use HOST_WIDE_INT_PRINT_DEC specifier
        in call to fprintf.
        (lang_print_xnode): Likewise.
        * typeck2.c (enum_name_string): Cast argument to sprintf to long
        and use %ld specifier.
        * xref.c (GNU_xref_end_scope): Use HOST_WIDE_INT_PRINT_DEC
        specifier in call to fprintf.
        (GNU_xref_member): Cast argument to sprintf to int.

From-SVN: r20653

26 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 22 Jun 1998 05:46:35 +0000 (05:46 +0000)]
Warning fixes:

        * mips.c (gpr_mode): Don't say `static' twice.
        * cpplib.c (cpp_handle_option): Don't pass unneeded NULL to cpp_fatal.
        * objc/objc-act.c (init_selector): Hide prototype and definition.
        * optabs.c (gen_cond_trap): Remove unused variable `icode'.
        * regmove.c (copy_src_to_dest): Likewise for `i'.

From-SVN: r20652

26 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 22 Jun 1998 05:32:38 +0000 (05:32 +0000)]
Warning fixes:

        * reload1.c (reload_cse_regs): Cast first arg of `bzero' to char *.
        * sdbout.c: Include output.h and toplev.h.
        (PUT_SDB_INT_VAL): Use HOST_WIDE_INT_PRINT_DEV to print argument
        `a'.  Cast `a' to HOST_WIDE_INT to force it to always be so.
        (PUT_SDB_SIZE): Likewise.
        * sdbout.h (sdbout_mark_begin_function): Add prototype.
        * stmt.c (check_for_full_enumeration_handling): Cast argument of
        `warning' to long and use %ld specifier.
        * toplev.c (main): Likewise for `fprintf'.
        * toplev.h (output_file_directive): Add prototype.
        * unroll.c (unroll_loop): Use HOST_WIDE_INT_PRINT_DEC specifier in
        call to `fprintf'.
        (precondition_loop_p): Likewise.
        * varasm.c Include sdbout.h.
        (assemble_static_space): Move sometimes-unused variable `rounded'
        into the scope in which it is used.

From-SVN: r20651

26 years agoWarning fixes:
Kaveh R. Ghazi [Mon, 22 Jun 1998 05:23:33 +0000 (05:23 +0000)]
Warning fixes:

        * Makefile.in (varasm.o): Depend on sdbout.h.
        (sdbout.o): Depend on toplev.h.
        * collect2.c (scan_prog_file): Cast fprintf argument to `long' and
        use %ld specifier.
        * final.c (shorten_branches): Cast first arg of `bzero' to char *.
        * genextract.c (main): When creating insn-extract.c, mark variable
        `i' with ATTRIBUTE_UNUSED.
        * genpeep.c (main): When creating insn-peep.c, mark variables
        `insn', `x' and `pat' with ATTRIBUTE_UNUSED.
        * objc/init.c (__objc_tree_print): Wrap function definition in
        macro `DEBUG'.
        * objc/objc-act.c (encode_array): Cast sprintf argument to `long'
        and use %ld specifier.
        (adorn_decl): Likewise, twice.

From-SVN: r20650

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

From-SVN: r20649

26 years ago* invoke.texi: Document -mrelax for the mn10300 and mn10200.
Jeffrey A Law [Sun, 21 Jun 1998 22:52:29 +0000 (22:52 +0000)]
* invoke.texi: Document -mrelax for the mn10300 and mn10200.

From-SVN: r20648

26 years agobasic-block.h (init_regset_vector): Delete declaration.
Jeffrey A Law [Sun, 21 Jun 1998 21:49:52 +0000 (21:49 +0000)]
basic-block.h (init_regset_vector): Delete declaration.

        * basic-block.h (init_regset_vector): Delete declaration.
        * flow.c (init_regset_vector): Make it static and add a prototype.

From-SVN: r20647

26 years agobitmap.h (debug_bitmap): Declare.
Jeff Law [Sun, 21 Jun 1998 20:06:25 +0000 (14:06 -0600)]
bitmap.h (debug_bitmap): Declare.

        * bitmap.h (debug_bitmap): Declare.
        * basic-block.h (init_regset_vector): New declaration.

From-SVN: r20646

26 years agoMakefile.in (install-info): Use install-info program if available, per GNU standard.
Dave Love [Sun, 21 Jun 1998 20:01:56 +0000 (20:01 +0000)]
Makefile.in (install-info): Use install-info program if available, per GNU standard.

* Makefile.in (install-info): Use install-info program if
available, per GNU standard.

From-SVN: r20645

26 years ago* Makefile.in (sdbout.o): Add insn-codes.h to dependency.
H.J. Lu [Sun, 21 Jun 1998 19:58:40 +0000 (19:58 +0000)]
* Makefile.in (sdbout.o): Add insn-codes.h to dependency.

From-SVN: r20644

26 years agoglobal.c: Include machmode.h amd move hard-reg-set.h before rtl.h.
H.J. Lu [Sun, 21 Jun 1998 19:54:56 +0000 (19:54 +0000)]
global.c: Include machmode.h amd move hard-reg-set.h before rtl.h.

* global.c: Include machmode.h amd move hard-reg-set.h before
rtl.h.

From-SVN: r20643

26 years agohaifa-sched.c (insn_issue_delay, [...]): New declaration.
H.J. Lu [Sun, 21 Jun 1998 18:03:21 +0000 (18:03 +0000)]
haifa-sched.c (insn_issue_delay, [...]): New declaration.

        * haifa-sched.c (insn_issue_delay, birthing_insn_p,
        adjust_priority, print_insn_chaino): New declaration.
        (schedule_insns): Remove declaration.
        (init_target_units, get_visual_tbl_length,
        init_block_visualization): Add prototype.

From-SVN: r20642

26 years ago* integrate.c (pushdecl, poplevel): Remove declaration.
H.J. Lu [Sun, 21 Jun 1998 18:01:53 +0000 (18:01 +0000)]
* integrate.c (pushdecl, poplevel): Remove declaration.

From-SVN: r20641

26 years agohaifa-sched.c (debug_ready_list): Make static.
Jeff Law [Sun, 21 Jun 1998 17:59:03 +0000 (11:59 -0600)]
haifa-sched.c (debug_ready_list): Make static.

        * haifa-sched.c (debug_ready_list): Make static.
        * toplev.h (fancy_abort): Declare.
        * rtl.h (expand_expr): Remove declaration.

From-SVN: r20640