Commit Graph

25578 Commits

Author SHA1 Message Date
Jeff Law
50438485c6 Daily bump.
From-SVN: r30905
1999-12-14 01:45:07 -07:00
Jakub Jelinek
74a8b4ae37 Add myself into "write after approval"
From-SVN: r30904
1999-12-14 09:42:15 +01:00
Mumit Khan
b9a341bad0 cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>

	* cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
	* cppfiles.c (INO_T_EQ): Likewise.

From-SVN: r30903
1999-12-14 07:06:05 +00:00
Mumit Khan
d01db33660 stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread safe runtime.
1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>

	* stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
	safe runtime.

From-SVN: r30902
1999-12-14 07:02:23 +00:00
Mumit Khan
5574ac398a class.c (finish_base_struct): Allow multiple COM base classes as well as non-COM bases as long as it's not...
1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>

	* class.c (finish_base_struct): Allow multiple COM base classes
	as well as non-COM bases as long as it's not the leftmost.

From-SVN: r30901
1999-12-14 07:00:22 +00:00
Mumit Khan
9b0b6c5118 crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>

	* i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
	* i386/mingw32.h (LIB_SPEC): Likewise.
	(STARTFILE_SPEC): Likewise.
	* i386/uwin.h (LIB_SPEC): Likewise.
	(STARTFILE_SPEC): Likewise.

	* i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
	* i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.

From-SVN: r30900
1999-12-14 06:57:48 +00:00
Jeffrey A Law
986c364253 * gcc.c-torture/compile/991213-3.c: New test.
From-SVN: r30899
1999-12-13 23:47:30 -07:00
Jeffrey A Law
b13d32a8b2 * gcc.c-torture/compile/991213-2.c: New test.
From-SVN: r30898
1999-12-13 23:21:32 -07:00
Jeffrey A Law
4767498bcd * gcc.c-torture/compile/991213-1.c: New test.
From-SVN: r30897
1999-12-13 23:06:06 -07:00
Mumit Khan
0b807ad843 lex.c (saving_parse_to_obstack): New global.
1999-12-13  Mumit Khan  <khan@xraylith.wisc.edu>

	* lex.c (saving_parse_to_obstack): New global.
	(reinit_parse_for_block): Use.
	(reinit_parse_for_expr): Use.
	(check_newline): Use.

From-SVN: r30896
1999-12-14 05:33:22 +00:00
Mumit Khan
0f7db4884e Add myself to "write after approval" list.
From-SVN: r30895
1999-12-14 05:00:33 +00:00
Jeffrey A Law
37ac53d9bb combine.c (combine_simplify_rtx): Fix order of checks for (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
* combine.c (combine_simplify_rtx): Fix order of checks for
        (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.

From-SVN: r30894
1999-12-13 20:26:55 -07:00
Tom Tromey
edcf698d87 aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
	* acinclude.m4: Changed version to 5.0a4.
	* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.

From-SVN: r30893
1999-12-13 20:15:51 +00:00
Clinton Popetz
8debd28801 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
12/10/99 change, reapplied to merged-arm-thumb-backend-branch.

From-SVN: r30891
1999-12-13 10:32:32 -05:00
Bernd Schmidt
f5d8c9f405 Simplify reload register allocation
From-SVN: r30890
1999-12-13 13:21:35 +00:00
Jeff Law
2cf4028a7c Daily bump.
From-SVN: r30889
1999-12-13 01:45:07 -07:00
Mark Mitchell
92e8164f76 optimize.c (initialize_inlined_parameters): Take FN to which the parameters belong as an argument.
* optimize.c (initialize_inlined_parameters): Take FN to which the
	parameters belong as an argument.
	(expand_call_inline): Expand calls into the parameter
	initializations before pushing the function onto the list of
	functions we are presently expanding.

From-SVN: r30888
1999-12-13 08:40:04 +00:00
Jeffrey A Law
2ecac43338 * doprnt.c: Remove incorrect comment closure.
From-SVN: r30887
1999-12-13 01:01:44 -07:00
Jeff Law
2c852885c4 * flow.c (create_edge_list): Cast xmalloc return value.
From-SVN: r30886
1999-12-13 00:55:53 -07:00
Jeff Law
eb33f7449c * cse.c: Fix a few minor whitespace goofs.
From-SVN: r30885
1999-12-13 00:48:55 -07:00
Don Bowman
fe0f7c1672 vxworks.h: Fix problem with comment termination.
* mips/vxworks.h: Fix problem with comment termination.
        (EXTRA_SECTIONS): Add in_sbss.
        (EXTRA_SECTION_FUNCTIONS): Corresponding changes.

From-SVN: r30884
1999-12-13 00:37:42 -07:00
David S. Miller
9b1549b811 cse.c (struct cse_reg_info): Add hash_next member, reorder rest of struct for better packing on 64-bit hosts.
* cse.c (struct cse_reg_info): Add hash_next member,
	reorder rest of struct for better packing on 64-bit
	hosts.
	(cse_reg_info_tree): Kill.
	(REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
	REGHASH_FN): New custom pow2 hash mechanism.
	(NBUCKETS): Kill.
	(HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
	use a pow2 hash table.
	(get_cse_reg_info): Rework to use new REGHASH.
	(new_basic_block): Likewise, use HASH_SIZE, and inline
	free_element call.
	(remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
	and inline free_element call.
	(lookup_as_function, insert, flush_hash_table, invalidate,
	remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
	invalidate_for_call, use_related_value, find_comparison_args,
	fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
	(hash_cse_reg_info, cse_reg_info_equal_p, free_element,
	get_element): Kill.

From-SVN: r30883
1999-12-12 22:51:09 -08:00
Jeffrey A Law
fa0933ba25 * cse.c (cse_basic_block): Free qty_table consistently.
From-SVN: r30882
1999-12-12 21:33:11 -07:00
Alexandre Petit-Bianco
3a1760acf0 re GNATS gcj/79 (Problem creating static arrays)
Fri Dec 10 21:53:45 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (java_complete_lhs): Force convertion of array
        dimensions to int_type_node, that's what runtime's ABI expects.

(This patch is a fix for the PR #79:
 http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00069.html)

From-SVN: r30881
1999-12-12 17:50:55 -08:00
David S. Miller
ccd61a806e sparc.md (movtf reg/reg split): Don't generate SUBREGs by hand, gen the appropriate hard reg directly.
* config/sparc/sparc.md (movtf reg/reg split): Don't generate
	SUBREGs by hand, gen the appropriate hard reg directly.
	(movtf reg/mem split): Likewise and alter_subreg on destination
	if necessary.
	(movtf mem/reg split): Similarly.
	(movdf_cc_sp64): Rename from hidden pattern.
	(movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
	(movtf_cc_sp64, following split): New pattern and splitter.
	(movdf_cc_reg_sp64): Rename from hidden pattern.
	(movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
	TARGET_HARD_QUAD.
	(movtf_cc_reg_sp64, following split): New pattern and splitter.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r30880
1999-12-12 17:20:07 -08:00
Anthony Green
38b58895a4 check-init.c (check_init): Take into account both types of `throw's when checking for uninitialized variables.
1999-12-15  Anthony Green  <green@cygnus.com>

	* check-init.c (check_init): Take into account both types of
        `throw's when checking for uninitialized variables.

From-SVN: r30879
1999-12-12 23:19:04 +00:00
Alexandre Petit-Bianco
6a50bd919b parse.h (EXPR_WFL_QUALIFICATION): Temporary uses the third operand of a WFL...
Fri Dec 10 16:13:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.h (EXPR_WFL_QUALIFICATION): Temporary uses the third
 	operand of a WFL, until the Java front-end gets fixed with regard
 	to Mark Mitchell's gcc/tree.h patch (1999-12-04.)

From-SVN: r30878
1999-12-12 11:54:35 -08:00
Alexandre Petit-Bianco
be821c5e6c tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third operand, for use in the Java front-end.
Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
 	operand, for use in the Java front-end.

From-SVN: r30877
1999-12-12 11:51:53 -08:00
Anthony Green
2441e02658 Oops. Date was wrong.
From-SVN: r30876
1999-12-12 18:56:25 +00:00
Stephen L Moshier
f0b60c1c2b loop.c (load_mems): Don't hoist written floating point mem if -ffloat-store.
* loop.c (load_mems): Don't hoist written floating point mem
	if -ffloat-store.

From-SVN: r30875
1999-12-12 18:38:14 +00:00
Mark Mitchell
f54a7f6fe2 except.h (struct eh_queue): Add `next' pointer.
* except.h (struct eh_queue): Add `next' pointer.
	(struct eh_status): Make x_ehqueue a pointer.
	(push_ehqueue):  Declare.
	(pop_ehqueue): Likewise.
	* except.c (expand_eh_region_end): Adjust now that ehqueue is a
	pointer.
	(expand_fixup_region_end): Likewise.
	(expand_leftover_cleanups): Likewise.
	(push_ehqueue): Define.
	(pop_ehqueue): Likewise.
	(emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
	than doing it inline.
	(expand_start_all_catch):  Adjust now that ehqueue is a
	pointer.
	(mark_eh_queue): Mark all level of the queue.
	(mark_eh_status):  Adjust now that ehqueue is a
	pointer.
	(init_eh_for_function): Allocate ehqueue.
	(free_eh_status): Free it.
	* stmt.c (expand_cleanups): Save the ehqueue around the cleanup
	expansion for a fixup.

From-SVN: r30874
1999-12-12 18:32:36 +00:00
Anthony Green
d0017c11ff gcconfig.h (DATASTART): Define as (&data_start) for PowerPC Linux.
* gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
        Linux.
        (DYNAMIC_LOADING): Define for PowerPC Linux.
        * os_dep.c: Remove some special cases for PowerPC Linux.
        * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
        for PowerPC Linux.

From-SVN: r30873
1999-12-12 18:06:08 +00:00
Kaveh R. Ghazi
3e7d8ef1a6 gthr-single.h (__gthread_active_p): Add prototype arguments.
* gthr-single.h (__gthread_active_p): Add prototype arguments.

	* libgcc2.c (__udivmoddi4): Remove unnecessary decls.
	(__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
	__bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
	function_ptr, getpagesize, __enable_execute_stack,
	__enable_execute_stack, __clear_insn_cache,
	__enable_execute_stack, __do_global_dtors, __do_global_ctors,
	_cleanup, _exit, __default_terminate, __terminate_func,
	__terminate, __empty, __throw, new_eh_context,
	eh_context_initialize, eh_context_static, eh_context_specific,
	get_eh_context, __get_eh_context, __get_eh_info,
	init_reg_size_table, eh_threads_initialize,
	__get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
	__unwinding_cleanup, throw_helper, __throw, __rethrow,
	__pure_virtual): Add prototype arguments.
	(__bb_exit_func): Cast a sizeof to long when comparing against one.
	Cast a signed value to unsigned long when comparing against one.
	(new_eh_context): Wrap in _GTHREADS macro.
	(__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
	declaration.
	(in_reg_window): Mark parameters with __attribute__ ((__unused__)).
	(throw_helper): Initialize variables `handler_p' and `pc_p'.

From-SVN: r30872
1999-12-12 15:34:09 +00:00
Jeff Law
5249faded4 Daily bump.
From-SVN: r30871
1999-12-12 01:45:07 -07:00
Kaveh R. Ghazi
4a71b24ff9 combine.c (record_promoted_value): Remove unused variable `links2'.
* combine.c (record_promoted_value): Remove unused variable
	`links2'.

	* emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.

	* global.c (record_conflicts): Likewise for `j'.

	* genoutput.c (output_insn_data): Don't unnecessarily cast away
	const-ness.

From-SVN: r30870
1999-12-12 01:34:39 +00:00
Kaveh R. Ghazi
69ddee6157 i386-protos.h (output_387_binary_op, [...]): Constify a char*.
* i386-protos.h (output_387_binary_op, output_fix_trunc,
	output_fp_compare): Constify a char*.

	* i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
	static prototypes.
	(override_options, ix86_comp_type_attributes, print_operand,
	output_387_binary_op, output_fix_trunc, output_fp_compare):
	Constify a char*.
	(ix86_sched_reorder): Mark parameter `clock_var' with
	ATTRIBUTE_UNUSED.

	* i386.h (DEBUG_PRINT_REG): Constify a char*.

From-SVN: r30869
1999-12-12 01:06:29 +00:00
Kaveh R. Ghazi
486837a79c class.c (get_vtable_name): Use a literal format string and VTABLE_NAME_PREFIX macro instead of...
* class.c (get_vtable_name): Use a literal format string and
	VTABLE_NAME_PREFIX macro instead of VTABLE_NAME_FORMAT.
	(prepare_fresh_vtable): Likewise.

	* cp-tree.h (VTABLE_NAME_PREFIX): Define this instead of
	VTABLE_NAME_FORMAT.

	* decl.c (make_rtl_for_local_static): Remove unused variable `type'.

	* init.c (build_vec_init): Initialize variable `try_body'.

	* lex.c (yyerror): Don't call a variadic function with a
	non-literal format string.

	* optimize.c (optimize_function): Call memset, not bzero.

	* pt.c (for_each_template_parm_r): Add static prototype.

From-SVN: r30868
1999-12-11 19:02:10 +00:00
Kaveh R. Ghazi
509c1e9cf2 typeck.c (apply_chill_array_layout, [...]): Avoid the use of ANSI string concatenation.
* typeck.c (apply_chill_array_layout, apply_chill_field_layout):
        Avoid the use of ANSI string concatenation.

        * expr.c (chill_expand_case_expr): Likewise.

From-SVN: r30867
1999-12-11 15:22:24 +00:00
Jeff Law
53a12329af Daily bump.
From-SVN: r30866
1999-12-11 01:45:07 -07:00
Ben Collins
8a90b95d34 configure.in: Fix typo for "-64" in 64bit as check.
* configure.in: Fix typo for "-64" in 64bit as check.
	* configure: Rebuilt.

From-SVN: r30865
1999-12-10 14:33:07 -08:00
Jakub Jelinek
d64554f9b2 longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where appropriate.
* longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
	appropriate.

From-SVN: r30864
1999-12-10 13:29:46 -08:00
Kaveh R. Ghazi
bb66adcad3 c-parse.in (string): With -Wtraditional, warn if ANSI string concatenation is utilized.
* c-parse.in (string): With -Wtraditional, warn if ANSI string
        concatenation is utilized.

        * invoke.texi (-Wtraditional): Document it.

From-SVN: r30863
1999-12-10 21:00:34 +00:00
Kaveh R. Ghazi
d92398a203 flow.c (flow_loops_dump): Avoid ANSI string concatenation.
* flow.c (flow_loops_dump): Avoid ANSI string concatenation.
        Cast a ptrdiff_t to long and pass it to printf with %ld.

From-SVN: r30862
1999-12-10 20:02:43 +00:00
Geoff Keating
15a17b7229 m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no 68881, we have no 68881 registers at all.
* config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
68881, we have no 68881 registers at all.
(HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
value in a 68881 register if it is available.

From-SVN: r30861
1999-12-10 19:15:32 +00:00
Clinton Popetz
ff8ee66b00 arm.md (*mulsidi3adddi, [...]): New patterns for long long multiply-accumulate.
* config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
	for long long multiply-accumulate.

From-SVN: r30860
1999-12-10 13:11:58 -05:00
Andrew Haley
8bbb23b7ac parse.h (BUILD_THROW): Add support for sjlj-exceptions.
1999-11-17  Andrew Haley  <aph@cygnus.com>

	* parse.h (BUILD_THROW): Add support for sjlj-exceptions.
	decl.c (init_decl_processing): Add _Jv_Sjlj_Throw.
	expr.c (build_java_athrow): Add support for sjlj-exceptions.
	java-tree.h: Ditto.
	jcf-write.c: Ditto.

From-SVN: r30859
1999-12-10 16:06:23 +00:00
Bernd Schmidt
22d3799810 Undo previous change
From-SVN: r30858
1999-12-10 15:27:55 +00:00
David S. Miller
6219012805 sparc.c (fp_sethi_p, [...]): New functions.
* config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
	New functions.
	* config/sparc/sparc-protos.h: Add them.
	* config/sparc/sparc.h: Add them to PREDICATE_CODES.
	(EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
	constraints which use those helpers.
	(EXTRA_CONSTRAINT): Use this new macro.
	* md.texi: Update sparc target constraints documentation.
	* config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
	movsf_const_high, movsf_const_lo, movsf_insn): Delete.
	(movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
	movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
	(movsf high/lo_sum split): Rework for new patterns.
	(movsf expander): Allow storing fp_zero to memory if ! live_g0.

From-SVN: r30857
1999-12-10 04:08:51 -08:00
Jeff Law
acce043733 Daily bump.
From-SVN: r30856
1999-12-10 01:45:07 -07:00
Gavin Romig-Koch
29ae8f1027 c-common.c (c_common_nodes_and_builtins): Create __builtin_ptrdiff_t and __builtin_size_t.
* c-common.c (c_common_nodes_and_builtins):
	Create __builtin_ptrdiff_t and __builtin_size_t.

From-SVN: r30855
1999-12-10 04:26:06 +00:00