Commit Graph

21247 Commits

Author SHA1 Message Date
Jeffrey A Law 9a7b9f4f06 expr.c (expand_assignment): Do not try to optimize a aggregate address which has VOIDmode.
* expr.c (expand_assignment): Do not try to optimize a aggregate
        address which has VOIDmode.

From-SVN: r25934
1999-03-23 15:33:35 -07:00
Mumit Khan 8ebf19db46 protoize.c (abspath): Preserve multiple leading slashes for _WIN32 and Interix.
* protoize.c (abspath): Preserve multiple leading slashes for
        _WIN32 and Interix.

Co-Authored-By: Donn Terry <donn@interix.com>

From-SVN: r25933
1999-03-23 14:53:39 -07:00
Mike Stump 2aa0c933d1 vxarm.h: Split out vxWorks support into separate headerfile and vxify.
* arm/vxarm.h: Split out vxWorks support into separate headerfile
        and vxify.
        * arm/arm.c (cpu_defaults): Allow arm710 as default.
        * configure.in: Split out vxWorks support for Arm.
        * configure: Rebuilt.

From-SVN: r25932
1999-03-23 14:49:39 -07:00
Jeffrey A Law 5ef2fb7986 openbsd.h (TARGET_DEFAULT): Use symbolic names instead of numbers.
* i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
        numbers.
        * i386/netbsd.h, i386/freebsd.h: Likewise.

From-SVN: r25931
1999-03-23 14:34:50 -07:00
Jason Merrill 0234ca0209 tweak
From-SVN: r25930
1999-03-23 14:17:08 -05:00
Mark Mitchell 93aa462d4e pt.c (convert_nontype_argument): Don't create things that aren't PTRMEM_CSTs when...
* pt.c (convert_nontype_argument): Don't create things that aren't
	PTRMEM_CSTs when applying a qualification conversion to a
	PTRMEM_CST.

From-SVN: r25929
1999-03-23 16:13:44 +00:00
Jason Merrill 6599009997 restore
From-SVN: r25928
1999-03-23 06:59:23 -05:00
Per Bothner 79c3b046ff tree.c (first_rtl_op, [...]): Handle GOTO_SUBROUTINE_EXPR.
�
	* tree.c (first_rtl_op, has_cleanups):  Handle GOTO_SUBROUTINE_EXPR.

From-SVN: r25927
1999-03-23 03:20:50 -08:00
Per Bothner 8dd858ca3d tree.c (first_rtl_op, [...]): Handle GOTO_SUBROUTINE_EXPR.
h
	* tree.c (first_rtl_op, has_cleanups):  Handle GOTO_SUBROUTINE_EXPR.

From-SVN: r25926
1999-03-23 03:20:47 -08:00
Alexandre Petit-Bianco de0b553f86 parse.y (find_applicable_accessible_methods_list): When dealing with interface...
Tue Mar 23 10:48:24 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (find_applicable_accessible_methods_list): When dealing
 	with interface: ensure that a given interface or java.lang.Object
 	are searched only once.

From-SVN: r25925
1999-03-23 03:20:03 -08:00
Nick Clifton bdeb987972 Add doc strings for SUBTARGET_SWITCHES
From-SVN: r25924
1999-03-23 09:02:07 +00:00
Mark Mitchell eb30a37534 Remove conflict marker.
From-SVN: r25923
1999-03-23 08:38:04 +00:00
Mark Mitchell fe9b4957b5 function.c: Include hash.h.
* function.c: Include hash.h.
	(insns_for_mem_entry): New struct.
	(put_reg_into_stack): Take an optional hash-table mapping MEMs to
	the INSNs that use them.
	(fixup_var_refs): Likewise.
	(put_addressof_into_stack): Likewise.
	(purge_addressof_1): Likewise.  Keep the hash-table up to date if
	we add new instructions.
	(fixup_var_refs_insns): Use it to avoid searching the entire
	instruction chain.
	(insns_for_mem_newfunc): New function.
	(insns_for_mem_comp): Likewise.
	(insns_for_mem_walk): Likewise.
	(compute_insns_for_mem): Likewise.
	(pop_function_context_from): Pass NULL for the hash-table.
	(put_var_into_stack): Likewise.
	(gen_mem_addressof): Likewise.
	(flush_addressof): Likewise.
	(purge_addressof): Call compute_insns_for_mem to pre-compute the
	hash table.
	* Makefile.in (OBJS): Include hash.o.
	(function.o): Depend on hash.h.
	* Makefile.in (OBJS): Don't mention hash.o.
	(OBJDEPS): Likewise.

From-SVN: r25922
1999-03-23 07:51:12 +00:00
Kaveh R. Ghazi 9ee9b55502 Warning fixes:
* gjavah.c (print_c_decl): Remove unused argument `flags'.
        * jcf-dump.c (print_access_flags): Add braces around if-else.
        * jvspec.c (lang_specific_driver): Wrap variable `len' in macro
        COMBINE_INPUTS.
        * lex.c (build_wfl_node): Add static prototype.
        * lex.h (build_wfl_node): Remove static prototype.
        * parse.y: Include lex.c early enough to declare everything needed.
        Ensure calls to `build_wfl_node' pass the proper arguments.
        (create_class): Remove unused variable `super_decl'.
        (get_printable_method_name): Initialize variable `name'.

From-SVN: r25921
1999-03-23 07:24:15 +00:00
Jason Merrill ea735e02ae decl2.c (finish_file): Set at_eof to 2 after expanding ctors.
* decl2.c (finish_file): Set at_eof to 2 after expanding ctors.
	* decl.c (expand_static_init): Make sure we don't add any after
	then.
	* decl.c (cp_finish_decl): Move intelligence about handling
	DECL_COMDAT for variables from here...
	* decl2.c (comdat_linkage): ...to here.
	(maybe_make_one_only): Tweak.
	(import_export_decl): Call comdat_linkage for variables, too.
	(finish_file): Handle template statics properly.

From-SVN: r25920
1999-03-22 21:33:34 -05:00
Martin v. Löwis fb835c4d70 * new2.C: Initialize newed after entering main.
From-SVN: r25916
1999-03-23 00:53:39 +00:00
Jeff Law d579fbc089 Daily bump.
From-SVN: r25915
1999-03-22 17:45:02 -07:00
Jeffrey A Law 3cc22c31d7 crtstuff.c: Use ANSI function definitions.
* crtstuff.c: Use ANSI function definitions.  Fix minor whitespace
        problems.

From-SVN: r25914
1999-03-22 17:43:51 -07:00
Mark Mitchell e08a8f45f5 cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG.
* cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG.
	Document internals of pointer-to-member-functions.
	(DELTA2_FROM_PTRMEMFUNC): Make it call delta2_from_ptrmemfunc.
	(PFN_FROM_PTRMEMFUNC): Similarly.
	(build_type_conversion): Remove unused parameter.
	(build_ptrmemfunc1): Declare.
	(expand_ptrmemfunc_cst): New function.
	(delta2_from_ptrmemfunc): Likewise.
	(pfn_from_ptrmemfunc): Likewise.
	* cvt.c (cp_convert_to_pointer): Remove unused parameter to
	build_type_conversion.  Use TYPE_PTRMEM_P for readability.
	(convert_to_reference): Remove unused parameter to
	build_type_conversion.
	(ocp_convert): Likewise.
	(build_user_type_conversion): Likewise.
	* error.c (dump_expr): Handle NULL pointer-to-member functions.
	* expr.c (cplus_expand_expr): Handle PTRMEM_CSTs for functions.
	* method.c (build_overload_value): Don't go splitting CONSTRUCTORs
	open when handling pointer-to-member functions.
	* pt.c (convert_nontype_argument): Clean up error messages.  Be
	more stringent with pointers-to-members.
	* typeck.c (build_ptrmemfunc1): Don't declare.  Make it global.
	(build_unary_op): Tidy ever-so-slightly.
	(build_conditional_expr): Remove extra parameter to
	build_type_conversion.
	(build_ptrmemfunc): Build PTRMEM_CSTs if we know what function
	we're using.
	(expand_ptrmemfunc_cst): Define.
	(delta2_from_ptrmemfunc): Likewise.
	(pfn_from_ptrmemfunc): Likewise.

From-SVN: r25913
1999-03-23 00:01:48 +00:00
Jeff Law edebba7aae openbsd.h (TARGET_DEFAULT): Define.
* i386/openbsd.h (TARGET_DEFAULT): Define.
        * configure.in: Do not set TARGET_CPU_DEFAULT for x86 OpenBSD
        configurations.
        * configure: Rebuilt.
        * i386/freebsd.h (TARGET_DEFAULT): Define instead
        of TARGET_CPU_DEFAULT.
        * i386/netbsd.h (TARGET_DEFAULT): Likewise.

From-SVN: r25912
1999-03-22 16:45:01 -07:00
Mumit Khan 58f4af8e84 sdbout.c (syms.h): Don't include on Interix.
* sdbout.c (syms.h): Don't include on Interix.
        * toplev.c (main): No sbrk on Interix.

Co-Authored-By: Donn Terry <donn@interix.com>

From-SVN: r25911
1999-03-22 16:23:26 -07:00
Mumit Khan 052dbd9e99 configure.in: Add i386-pc-interix support.
* configure.in: Add i386-pc-interix support.
        * configure: Regenerate.
        * fixinc.interix: New file.
        * config/interix.h: New file.
        * config/x-interix: New file.
        * config/xm-interix.h: New file.
        * i386/interix.h: New file.
        * i386/interix.c: New file.
        * i386/t-interix: New file.

Co-Authored-By: Donn Terry <donn@interix.com>

From-SVN: r25910
1999-03-22 15:59:48 -07:00
Jeff Law 65954bd8cb i386.h (PREFERRED_STACK_BOUNDARY): Define.
* i386.h (PREFERRED_STACK_BOUNDARY): Define.
        * i386.c (ix86_compute_frame_size): New function.
        (ix86_prologue, ix86_epilogue): Use it.
        * i386.h (INITIAL_ELIMINATION_OFFSET): Likewise.
        * reload1.c: Provide default for PREFERRED_STACK_BOUNDARY.

From-SVN: r25909
1999-03-22 15:47:07 -07:00
Alexandre Petit-Bianco 8af456c81a Changelog: Fixed 1999-03-22 typos.
Mon Mar 22 20:14:26 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* Changelog: Fixed 1999-03-22 typos.
	* lang.c (lang_decode_option): Fixed typo in error string in the
 	XARG section.
(Grr, typos.)

From-SVN: r25908
1999-03-22 12:16:45 -08:00
Alexandre Petit-Bianco 235acd3518 Makefile.in: (JAVA_OBJS) Added entry xref.o.
1999-03-22  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* Makefile.in: (JAVA_OBJS) Added entry xref.o.
	(xref.o): New rule.
	* java-tree.h (flag_emit_xref): Declared extern.
	* lang.c: (xref.h): Included.
	(flag_emit_xref): New global variable.
	(lang_decode_option): Added support for -fxref.
	* xref.c: Created.
	* xref.h: Likewise.

From-SVN: r25907
1999-03-22 11:57:37 -08:00
Jim Wilson a127db7565 Add documentation for MIPS options.
* mips/mips.h (TARGET_SWITCHES, TARGET_OPTIONS): Add option doc
	strings.
	* mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Likewise.

From-SVN: r25906
1999-03-22 10:51:14 -08:00
Nick Clifton 74bbc17866 Fix compile time warnings about unused parameters
From-SVN: r25905
1999-03-22 16:32:31 +00:00
Nick Clifton 2e943e99a1 Minor formatting changes.
From-SVN: r25904
1999-03-22 15:24:16 +00:00
Jim Wilson 9c2f5c4c26 Add missing execute/ filename prefix to last ChangeLog entry.
From-SVN: r25903
1999-03-22 07:15:33 -08:00
Jim Wilson c3dcbf646d Fix bf-sign-2.c failure on 64-bit host caused by my last patch.
* bf-sign-2.c (main): Replace struct sizeof test with 4.

From-SVN: r25902
1999-03-22 07:11:34 -08:00
Nick Clifton 8ccf0ab7e1 Oops - omitted from previous delta
From-SVN: r25901
1999-03-22 14:37:14 +00:00
Nick Clifton 5ea05bba0c Fix typo
From-SVN: r25900
1999-03-22 14:36:36 +00:00
J"orn Rennecke 02eb1393dc reload1.c (reload_as_needed): Set reload_is_output_reload / reload_has_output_reload for auto_inc expressions...
* reload1.c (reload_as_needed): Set reload_is_output_reload /
	reload_has_output_reload for auto_inc expressions that could be
	reloaded.  Call forget_old_reloads for REG_INC notes.

From-SVN: r25899
1999-03-22 14:27:23 +00:00
J"orn Rennecke 50270076bd * cse.c (cse_insn): Don't change the result register of a libcall.
From-SVN: r25898
1999-03-22 13:55:22 +00:00
J"orn Rennecke ce9d4c6d80 rtl.h (shallow_copy_rtx): Declare.
* rtl.h (shallow_copy_rtx): Declare.
	* rtl.c (shallow_copy_rtx): New function.
	* reload.c (find_reloads_toplev): Use shallow_copy_rtx instead of
	copy_rtx.

From-SVN: r25897
1999-03-22 13:11:31 +00:00
Vladimir Makarov d3c29f99ef More full description of changes for config/h8300/h8300.c.
From-SVN: r25896
1999-03-22 08:03:21 +00:00
Vladimir Makarov 04b6000c82 h8300.md (adjust_length): New attribute.
Mon Mar 22 10:44:33 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
	* config/h8300/h8300.md (adjust_length): New attribute.
 	(modhi3+1, andsi3+1, iorsi3+1, extzv+1, extzv+2): Change insn
 	default value of attribute "adjust_length" onto "no".
	* config/h8300/h8300.c (h8300_adjust_insn_length):  Use 0 if the
	shift is negative.
	* final.c (shorten_branches): Check insn length after its
 	adjusting.

From-SVN: r25895
1999-03-22 07:56:09 +00:00
Jeff Law 4b9f933c7c Daily bump.
From-SVN: r25894
1999-03-21 17:45:02 -07:00
Jeff Law c5a2aea7b3 i860.h (TARGET_SWITCHES): Add documentation for default case.
�
	* i860.h (TARGET_SWITCHES): Add documentation for default case.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
	* i370.h (TARGET_SWITCHES): Add documentation for default case.
	* fx80.h (TARGET_SWITCHES): Add documentation for default case.
        * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
	* clipper.h (TARGET_SWITCHES): Add documentation for default case.
	* 1750a.h (TARGET_SWITCHES): Add documentation for default case.
	* pa.h (TARGET_SWITCHES): Add documentation for default case.
	(TARGET_OPTIONS): Likewise for default case.
	* mn10300.h (TARGET_SWITCHES): Add documen for default casetation.
	* h8300.h (TARGET_SWITCHES): Add documentation for default case.

From-SVN: r25893
1999-03-21 17:08:28 -07:00
Jeff Law 880b8fb804 i860.h (TARGET_SWITCHES): Add documentation for default case.
�
	* i860.h (TARGET_SWITCHES): Add documentation for default case.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
	* i370.h (TARGET_SWITCHES): Add documentation for default case.
	* fx80.h (TARGET_SWITCHES): Add documentation for default case.
        * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
	* clipper.h (TARGET_SWITCHES): Add documentation for default case.
	* 1750a.h (TARGET_SWITCHES): Add documentation for default case.
	* pa.h (TARGET_SWITCHES): Add documentation for default case.
	(TARGET_OPTIONS): Likewise for default case.
	* mn10300.h (TARGET_SWITCHES): Add documen for default casetation.
	* h8300.h (TARGET_SWITCHES): Add documentation for default case.

From-SVN: r25892
1999-03-21 17:08:26 -07:00
Jeff Law c5577f8094 i860.h (TARGET_SWITCHES): Add documentation for default case.
* i860.h (TARGET_SWITCHES): Add documentation for default case.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
	* i370.h (TARGET_SWITCHES): Add documentation for default case.
	* fx80.h (TARGET_SWITCHES): Add documentation for default case.
        * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
	* clipper.h (TARGET_SWITCHES): Add documentation for default case.
	* 1750a.h (TARGET_SWITCHES): Add documentation for default case.
	* pa.h (TARGET_SWITCHES): Add documentation for default case.
	(TARGET_OPTIONS): Likewise for default case.
	* mn10300.h (TARGET_SWITCHES): Add documen for default casetation.
	* h8300.h (TARGET_SWITCHES): Add documentation for default case.

From-SVN: r25891
1999-03-21 17:08:17 -07:00
Jeff Law 7ede7ffb15 i860.h (TARGET_SWITCHES): Add documentation for default case.
�
	* i860.h (TARGET_SWITCHES): Add documentation for default case.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
	* i370.h (TARGET_SWITCHES): Add documentation for default case.
	* fx80.h (TARGET_SWITCHES): Add documentation for default case.
        * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
	* clipper.h (TARGET_SWITCHES): Add documentation for default case.
	* 1750a.h (TARGET_SWITCHES): Add documentation for default case.
	* pa.h (TARGET_SWITCHES): Add documentation for default case.
	(TARGET_OPTIONS): Likewise for default case.
	* mn10300.h (TARGET_SWITCHES): Add documen for default casetation.
	* h8300.h (TARGET_SWITCHES): Add documentation for default case.

From-SVN: r25890
1999-03-21 17:08:13 -07:00
Jeff Law 40b4c53dab i860.h (TARGET_SWITCHES): Add documentation for default case.
�
	* i860.h (TARGET_SWITCHES): Add documentation for default case.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
	* i370.h (TARGET_SWITCHES): Add documentation for default case.
	* fx80.h (TARGET_SWITCHES): Add documentation for default case.
        * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
	* clipper.h (TARGET_SWITCHES): Add documentation for default case.
	* 1750a.h (TARGET_SWITCHES): Add documentation for default case.
	* pa.h (TARGET_SWITCHES): Add documentation for default case.
	(TARGET_OPTIONS): Likewise for default case.
	* mn10300.h (TARGET_SWITCHES): Add documen for default casetation.
	* h8300.h (TARGET_SWITCHES): Add documentation for default case.

From-SVN: r25889
1999-03-21 17:08:09 -07:00
Jeffrey A Law a65f3558e9 gcse.c (dump_hash_table): Fix whitespace in declaration.
* gcse.c (dump_hash_table): Fix whitespace in declaration.
	(compute_transpout): Renamed from pre_compute_transpout.
	(compute_pre_*): Deleted
	(pre_expr_reaches_here_p): New argument, CHECK_PRE_COMP.  All
	callers changed.
	(insert_insn_end_bb): Renamed from pre_insert_insn.
	(pre_*): Delete unused variables.  Only leave local properties and
	global redundant/optimal computation points.
	(alloc_pre_mem, free_pre_mem): Corresponding changes.
	(compute_pre_data): Simplify and call pre_lcm to run the lazy
	code motion dataflow analysis.
	(pre_insert, pre_insert_copies, pre_delete): Revamp to use LCM
	based redundant and optimal computation points.

From-SVN: r25886
1999-03-21 13:49:10 -07:00
Jeffrey A Law 077692c615 * basic-block.h (pre_lcm, pre_rev_lcm): Declare.
From-SVN: r25885
1999-03-21 12:00:05 -07:00
Jeffrey A Law 43c2d67a1a toplev.c (main): A debug option without a level defaults to level 2.
* toplev.c (main): A debug option without a level defaults to
        level 2.

From-SVN: r25884
1999-03-21 09:38:34 -07:00
Nick Clifton 088e716060 Preserve programmer specified labels, and emit debug info for them even if
they are deleted.

From-SVN: r25883
1999-03-21 12:14:09 +00:00
Mark Mitchell 0fdb7c85ce Give my new email address.
From-SVN: r25882
1999-03-21 09:34:14 +00:00
Manfred Hollstein e541d2b129 Makefile.in (xgcc$(exeext)): Add intl.o to list of files to be linked with.
gcc/ChangeLog:
1999-03-21  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (xgcc$(exeext)): Add intl.o to list of files to be
	linked with.
gcc/f/ChangeLog:
1999-03-21  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (g77$(exeext)): Depend on intl.o.  Link in intl.o.
gcc/java/ChangeLog:
1999-03-21  Manfred Hollstein  <manfred@s-direktnet.de>
	* Make-lang.in ($(GCJ)$(exeext)): Add intl.o to list of files to be
	linked with.
gcc/po/ChangeLog:
1999-03-21  Manfred Hollstein  <manfred@s-direktnet.de>
	* POTFILES.in: Track latest file renamings.
1999-03-01  Manfred Hollstein  <manfred@s-direktnet.de>
	* POTFILES.in: Remove files which do not exist anymore in egcs.
	Fix names of those files which are now living in egcs's
	libiberty/include directories.

From-SVN: r25881
1999-03-21 07:53:00 +00:00
Manfred Hollstein 9a4bcb83e1 *** empty log message ***
From-SVN: r25880
1999-03-21 07:52:59 +00:00