1. 27 Jun, 1998 13 commits
  2. 26 Jun, 1998 17 commits
    • Add some insn names for (neg (abs)) code · 463b558b
      From-SVN: r20745
      Michael Meissner committed
    • Fix ne 0 optimization on non-power machines · b4e95693
      From-SVN: r20744
      Michael Meissner committed
    • configure.in (gettimeofday): Check for its existance. · d3ee8d68
              * configure.in (gettimeofday): Check for its existance.
              * config.in (HAVE_GETTIMEOFDAY): Define.
              * configure: Rebuilt.
      Will be needed for mkstemp shortly.
      
      From-SVN: r20743
      Jeff Law committed
    • * gcc.dg/980626-1.c: New test. · d12eff3a
      From-SVN: r20742
      Jeffrey A Law committed
    • Makefile.in (install-info): Run install-info program in separate loop. · 265ce5bb
      	* Makefile.in (install-info): Run install-info program in separate
      	loop.
      
      From-SVN: r20741
      Dave Love committed
    • sparc.h (REGNO_OK_FOR_{INDEX,BASE,FP,CCFP}_P): Explicitly mark the constant… · db3d4438
      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
      David S. Miller committed
    • arm.h (SECONDARY_INPUT_RELOAD_CLASS): Only need a secondary reload if reloading a MEM. · ed4c4348
      * 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
      Richard Earnshaw committed
    • Warning fixes: · 3c303f52
              * 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
      Kaveh R. Ghazi committed
    • Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. · f1943b77
      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
      Manfred Hollstein committed
    • Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. · e4bfc274
      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
      Manfred Hollstein committed
    • Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. · 862e6ed6
      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
      Manfred Hollstein committed
    • Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. · 6d6393e3
      �
      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
      Manfred Hollstein committed
    • Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. · 6dd27861
      #
      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
      Manfred Hollstein committed
    • *** empty log message *** · bedf82df
      From-SVN: r20731
      Manfred Hollstein committed
    • · 8ee0fd11
      	* Forgot to commit :-(
      
      From-SVN: r20730
      Manfred Hollstein committed
    • Daily bump. · f7917171
      From-SVN: r20729
      Jeff Law committed
  3. 25 Jun, 1998 10 commits
    • fold-const.c (make_range): Don't go looking at TREE_OPERANDs of nodes that are not expressions. · 30d68b86
      	* fold-const.c (make_range): Don't go looking at TREE_OPERANDs of
      	nodes that are not expressions.
      
      From-SVN: r20728
      Mark Mitchell committed
    • · 65e92a60
      fix typo
      
      From-SVN: r20727
      Benjamin Kosnik committed
    • · 8c1e8edc
      fix typo
      
      From-SVN: r20726
      Benjamin Kosnik committed
    • decl.c (start_enum): Put local enums on permanant_obstack. · a6a00c4f
      �
      1998-06-25  Benjamin Kosnik  <bkoz@lisa.cygnus.com>
      	* decl.c (start_enum): Put local enums on permanant_obstack.
      g++/11580
      
      From-SVN: r20722
      Benjamin Kosnik committed
    • decl.c (start_enum): Put local enums on permanant_obstack. · 6e687e5e
      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
      Benjamin Kosnik committed
    • cp-tree.h (c_get_alias_set): Declare. · 501ba25a
      	* cp-tree.h (c_get_alias_set): Declare.
      	* decl.c (init_decl_processing): Set lang_get_alias_set.
      
      From-SVN: r20720
      Mark Mitchell committed
    • invoke.texi (-fstrict-aliasing): Document. · 41472af8
      	* 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
      Mark Mitchell committed
    • [multiple changes] · 9c606f69
      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
      Andrew MacLeod committed
    • Warning fixes: · 296b8152
              * 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
      Kaveh R. Ghazi committed
    • Add ARG_POINTER_REGNUM to REG_ALLOC_ORDER · ff73fb53
      From-SVN: r20713
      Nick Clifton committed