Commit graph

17274 commits

Author SHA1 Message Date
Benjamin Kosnik
8c1e8edc3f
fix typo

From-SVN: r20726
1998-06-25 17:24:49 +00:00
Benjamin Kosnik
a6a00c4f8b 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
1998-06-25 15:31:56 +00:00
Benjamin Kosnik
6e687e5ea5 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
1998-06-25 15:31:54 +00:00
Mark Mitchell
501ba25a99 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
1998-06-25 15:21:38 +00:00
Mark Mitchell
41472af877 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
1998-06-25 15:14:41 +00:00
Andrew MacLeod
9c606f693d [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
1998-06-25 14:11:54 +00:00
Kaveh R. Ghazi
296b815223 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
1998-06-25 13:05:20 +00:00
Nick Clifton
ff73fb5308 Add ARG_POINTER_REGNUM to REG_ALLOC_ORDER
From-SVN: r20713
1998-06-25 09:55:35 +00:00
Dave Brolley
79c11e3a37 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
1998-06-25 04:24:51 -04:00
Dave Brolley
ca242225a0 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
1998-06-25 04:24:04 -04:00
Jason Merrill
cb0dbb9a01 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
1998-06-24 23:28:35 -04:00
Richard Henderson
acd9204960 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
1998-06-24 18:09:06 -07:00
Richard Henderson
ed48174c54 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
1998-06-24 17:47:46 -07:00
Jeff Law
5e111b5eef Daily bump.
From-SVN: r20707
1998-06-24 18:45:02 -06:00
Jeff Law
dd0142749a * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
From-SVN: r20706
1998-06-24 18:23:20 -06:00
Herman A.J. ten Brugge
8975220280 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
1998-06-24 16:40:29 -06:00
Jeffrey A Law
c358412fe8 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
1998-06-24 15:49:34 -06:00
Klaus Kaempf
a59fb7979d * alpha.md (call_vms, call_value_vms): Strip leading * from symbol.
From-SVN: r20703
1998-06-24 10:55:03 -07:00
Jeff Law
bc57e97056 Add Catherine and Vladimir.
From-SVN: r20702
1998-06-24 11:23:27 -06:00
John Carr
9e6a570365 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
1998-06-24 14:49:51 +00:00
John Carr
55a6ba9ff3 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
1998-06-24 13:32:56 +00:00
Dave Brolley
135edcfd71 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
1998-06-24 08:15:04 -04:00
Dave Love
41924d163d 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
1998-06-24 10:15:19 +00:00
Andrew MacLeod
9a9deafcdd 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
1998-06-24 06:56:37 +00:00
Manfred Hollstein
e0cb250f7a 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
1998-06-24 06:26:02 +00:00
Manfred Hollstein
28e449d812 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
1998-06-24 06:26:01 +00:00
Manfred Hollstein
c1c0531e4e 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
1998-06-24 06:25:58 +00:00
Manfred Hollstein
c1c007c582 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
1998-06-24 06:25:57 +00:00
Manfred Hollstein
854b23574b 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
1998-06-24 06:25:52 +00:00
Manfred Hollstein
c376ed6452 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
1998-06-24 06:16:22 +00:00
Manfred Hollstein
e465514832 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
1998-06-24 06:16:21 +00:00
Manfred Hollstein
6174dcf375 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
1998-06-24 06:16:19 +00:00
Manfred Hollstein
50c4c9f7bd 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
1998-06-24 06:16:14 +00:00
David S. Miller
d3b107b4e5 Reverse may 15th change, as suggested by Jason.
It causes too many backwards compatability problems, for
more than one frontend.

From-SVN: r20685
1998-06-23 20:35:23 -07:00
Jeff Law
9029639886 Daily bump.
From-SVN: r20684
1998-06-23 18:45:03 -06:00
Jeff Law
9c9628ff86 Forgot to commit.
From-SVN: r20683
1998-06-23 18:22:57 -06:00
Jeff Law
bf279e513e * g77spec.c (lang_specific_driver): Revert last change.
From-SVN: r20682
1998-06-23 18:02:43 -06:00
Alexandre Oliva
5292855c46 added myself, per Jeff Law's request
From-SVN: r20681
1998-06-23 23:18:07 +00:00
Jeff Law
e2da3925f8 Add Craig Burley, John Carr and David Miller to the "blanket write privs" list.
From-SVN: r20680
1998-06-23 16:30:04 -06:00
Ken Raeburn
c22eaf8a0c 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
1998-06-23 18:28:47 +00:00
Dave Love
b93be35be0 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
1998-06-23 14:37:15 +00:00
Dave Brolley
d2f8cffa1d 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
1998-06-23 09:51:33 -04:00
Jason Merrill
e70eea31dc fix
From-SVN: r20674
1998-06-23 08:04:29 -04:00
Andrew MacLeod
48b24bcdfa 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
1998-06-23 10:51:47 +00:00
Dave Love
daf21dfd80 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
1998-06-23 02:35:52 -06:00
Andrew MacLeod
5816cb14dd 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
1998-06-23 07:10:29 +00:00
Catherine Moore
83de03dfd8 Remove reference to warn_bss_align.
From-SVN: r20670
1998-06-23 01:45:40 -04:00
David S. Miller
254110c201 Complete this set of changes to make the Sparc
backend completely gen_rtx clean.

From-SVN: r20669
1998-06-22 19:24:13 -07:00
Jason Merrill
519ebd1eec 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
1998-06-22 21:49:05 -04:00
David S. Miller
5b8e7fa3f8 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
1998-06-22 18:16:31 -07:00