Commit Graph

22019 Commits

Author SHA1 Message Date
Alexandre Petit-Bianco
7f1d48663e class.c (layout_class_method): Generate <clinit>'s rtl for interfaces.
Sat Apr 24 16:50:19 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* class.c (layout_class_method): Generate <clinit>'s rtl for
 	interfaces.
	* decl.c (complete_start_java_method): Don't call _Jv_InitClass
 	for interfaces' <clinit>.
	* expr.c (lookup_field): Search for fields in interfaces.
	(expand_invoke): Fixed indentation.
	(expand_java_field_op): Likewise. Use IS_CLINIT.
	* parse.h (JPRIMITIVE_TYPE_OR_VOID_P): Macro removed.
	(IS_CLINIT): New macro.
	* parse.y (type_declaration:): Call maybe_generate_clinit after an
 	interface was parsed.
	(maybe_generate_clinit): Don't generate if the current class is an
 	interface with only fields of primitive types.
	(reset_method_name): Use IS_CLINIT.
	(java_complete_expand_method): Expand <clinit> when it exists for
 	interfaces. Use IS_CLINIT.
	(resolve_expression_name): Use DECL_CONTEXT instead of
 	current_class to build static field references.
	(java_complete_lhs): Use IS__CLINIT. Don't use SAVE_EXPR on
 	ARRAY_REF when doing xreferencing.
	(check_final_assignment): Fixed typo in leading comment. Use
 	IS_CLINIT.
	(patch_array_ref): Don't fully expand array references when
 	xreferencing.
	(patch_return): Use IS_CLINIT.
	(patch_throw_statement): Likewise.

From-SVN: r26661
1999-04-26 12:09:37 -07:00
Michael Hayes
ccd63d90d1 * config/c4x/c4x.md (*cmpqf, *cmpqf_noov, *cmpqi_test,
*cmpqi_test_noov): Remove ? modifier from constraints list.
	(*smulqi3_highpart_clobber, *umulqi3_highpart_clobber): Swap
	output strings to match new constraint ordering.

From-SVN: r26660
1999-04-26 19:05:06 +00:00
Zack Weinberg
3caee4a8ee cpphash.c (dump_definition): New function.
1999-04-26 19:16 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpphash.c (dump_definition): New function.
	* cpphash.h: Prototype it.
	* cpplib.c (handle_directive): Don't output anything here.
	Streamline.
	(pass_thru_directive): Take a length, not a pointer to the
	end.  All callers changed.
	(do_define): Handle -dD, -dN, -g3 entirely here.  Streamline.
	(do_include): Handle -dI here.
	(do_ident): Correct to match cccp.
	(do_pragma): Copy the pragma through here.
	(do_assert, do_unassert): Tidy.
	* cppinit.c (cpp_finish): If -dM was specified, walk the macro
	hash table and call dump_definition on all the entries.
	* cppmain.c: cpp_finish may produce output.

From-SVN: r26659
1999-04-26 16:41:02 +00:00
Mark Mitchell
641be6fea8 toplev.c (compile_file): Move call to check_global_declarations after output_exception_table to restore...
�
	* toplev.c (compile_file): Move call to check_global_declarations
	after output_exception_table to restore behavior as it was before
	1999-04-22 change.

From-SVN: r26658
1999-04-26 09:03:01 -07:00
Mark Mitchell
6c3fce7352 toplev.c (compile_file): Move call to check_global_declarations after output_exception_table to restore...
d
	* toplev.c (compile_file): Move call to check_global_declarations
	after output_exception_table to restore behavior as it was before
	1999-04-22 change.

From-SVN: r26657
1999-04-26 09:02:57 -07:00
Jeff Law
e196267d0a Update a few addresses.
From-SVN: r26656
1999-04-26 09:58:01 -06:00
Tom Tromey
6c26973039 * natCollator.cc: New file.
From-SVN: r26655
1999-04-26 15:42:52 +00:00
Tom Tromey
3cc2608144 GregorianCalendar.java (setDefaultTime): New method.
* java/util/GregorianCalendar.java (setDefaultTime): New method.
	(GregorianCalendar): Use it in all constructors.
	* java/util/Calendar.java (Calendar): Changed argument name to
	`zone' to match code.
	* gnu/gcj/text/LocaleData_en.java: Added collatorRule element.
	* java/text/CollationKey.java: New file.
	* java/text/CollationElementIterator.java: New file.
	* java/text/Collator.java: New file.
	* java/text/RuleBasedCollator.java: New file.

From-SVN: r26654
1999-04-26 15:34:44 +00:00
Tom Tromey
d5d9a8b6c3 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (jv_convert_LDFLAGS): Added -nodefaultlibs.
	(jv_convert_LDADD): Explicltly add -lm -lc.

From-SVN: r26653
1999-04-26 15:12:21 +00:00
Tom Tromey
a3ffcff3e3 libtoolized libgcj. See ChangeLog for details.
From-SVN: r26652
1999-04-26 14:50:15 +00:00
Tom Tromey
844f90bc2c libjava.exp (libjava_find_lib): New proc.
* lib/libjava.exp (libjava_find_lib): New proc.
	(libjava_arguments): Use it.  Force static linking.

From-SVN: r26651
1999-04-26 14:28:20 +00:00
Tom Tromey
66deb2be59 libtoolized GC library. See ChangeLog for details.
Also a couple bug fixes:
	* dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
	`weak'.
	* misc.c (GC_init_inner): If QUICK_THREADS defined, compute
	GC_stackbottom.

From-SVN: r26650
1999-04-26 14:15:05 +00:00
Richard Henderson
01656b25ec Update.
From-SVN: r26649
1999-04-26 04:29:31 -07:00
Bruce Korb
5dadc304ba Regenerate fixinc/*.sh
From-SVN: r26648
1999-04-26 11:16:52 +00:00
Bruce Korb
1912ba9d8c Regenerate
From-SVN: r26647
1999-04-26 11:13:37 +00:00
Bruce Korb
2a0818584f Improve child process exits and Remove unnecessary character quote
From-SVN: r26646
1999-04-26 10:55:35 +00:00
Bruce Korb
e2be6f0aff Remove unnecessary character quote
From-SVN: r26645
1999-04-26 10:48:59 +00:00
Bruce Korb
d1c6a037a2 properly handle child processes
From-SVN: r26644
1999-04-26 10:38:38 +00:00
Andrew Macleod
039d4bcecc Mon Apr 26 10:41:42 EDT 1999 <amacleod@cygnus.com>
h
Mon Apr 26 10:41:42 EDT 1999  <amacleod@cygnus.com>
	* config/alpha/alpha.md (builtin_setjmp_receiver): Use a label_ref.

From-SVN: r26643
1999-04-26 07:50:15 +00:00
Andrew Macleod
ba46ca4774 Mon Apr 26 10:41:42 EDT 1999 <amacleod@cygnus.com>
�
Mon Apr 26 10:41:42 EDT 1999  <amacleod@cygnus.com>
	* config/alpha/alpha.md (builtin_setjmp_receiver): Use a label_ref.

From-SVN: r26642
1999-04-26 07:50:12 +00:00
Zack Weinberg
b89d20aa3c rtl.texi: Document the rtl classes and their relation to formats.
1999-04-26 09:47 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* rtl.texi: Document the rtl classes and their relation to
	formats.

From-SVN: r26641
1999-04-26 06:48:57 +00:00
Loren J. Rittle
3af5b6b508 freebsd.ml (LIBS): Add ARLINK.
* config/freebsd.ml (LIBS): Add ARLINK.
        * config/openbsd.ml (LIBS): Add ARLINK.

From-SVN: r26640
1999-04-25 19:30:37 -06:00
Richard Henderson
be5090b095 alpha.md (fix_trunc patterns): Use reg_no_subreg_operand on op0 for less work in reload.
* alpha.md (fix_trunc patterns): Use reg_no_subreg_operand on op0
        for less work in reload.
        (movsf and movdf patterns): Put fp reg alternatives first.

From-SVN: r26639
1999-04-25 18:05:13 -07:00
Marc Espie
766518a01a configure.in (openbsd): Factorize xmake_file.
* configure.in (openbsd): Factorize xmake_file.
        (ix86 openbsd): Trim obsolete comment.
        (vax openbsd): Fix typo.
        * configure: Rebuilt.

From-SVN: r26638
1999-04-25 19:01:40 -06:00
Jerry Quinn
ea3bfbfe67 pa.h (architecture_type): New enum.
* pa.h (architecture_type): New enum.
        (pa_arch_string, pa_arch): Declare.
        (MASK_PA_10, MASK_PA_20): New flags.
        (TARGET_SWITCHES): Add pa-risc-2-0.  Update docs for PA1.0 codegen.
        (TARGET_OPTIONS): Add -march= option.
        * pa.c (pa_arch, pa_arch_string):  Define.
        (override_options):  Set them.
        * pa/pa-hpux10.h (ASM_FILE_START):  Output LEVEL 2.0 asm directive for
        2.0 architecture.
        * invoke.texi (Option Summary, HPPA Options):  Document new
        architecture flags.

From-SVN: r26637
1999-04-25 18:54:50 -06:00
Jeff Law
d9464cb0eb Daily bump.
From-SVN: r26636
1999-04-25 18:45:03 -06:00
Donn Terry
7dd8861714 configure.in (alloca detection): Handle alloca directly for interix.
* configure.in (alloca detection): Handle alloca directly for interix.
        * configure: Rebuilt.

From-SVN: r26635
1999-04-25 18:40:51 -06:00
Donn Terry
ab40f61225 * expr.c (expand_assignment): Improve test for pointer type.
From-SVN: r26634
1999-04-25 18:39:01 -06:00
Richard Henderson
e03ec28f6e * alpha.c (print_operand_address): Account for the subreg word.
From-SVN: r26633
1999-04-25 17:27:17 -07:00
Toshiyasu Morita
07444f1d90 fold-const.c (make_range): Always initialize arg0 and arg1.
* fold-const.c (make_range): Always initialize arg0 and arg1.
        (fold): Simlarly for alt0 and alt1.
        * function.c (fixup_var_refs_insns): Initialize insn_list.
        (instantiate_virtual_regs_1): Initialize offset.
        * optabs.c (expand_binop): Initialize carry_in, carry_out, op0_xhigh
        and op1_xhigh.
        * stmt.c (expand_end_case): Initialize minval and maxval.

From-SVN: r26632
1999-04-25 18:15:54 -06:00
Nathan Sidwell
c1709d0c7a toplev.c (report_error_function): Reorder file stack and function name printing.
* toplev.c (report_error_function): Reorder file stack and
        function name printing.  Ignore FILE parameter.

From-SVN: r26631
1999-04-25 18:07:58 -06:00
Jerry Quinn
13ee407e02 pa-hpux.h, [...]: Replace TARGET_SNAKE by TARGET_PA_11 and MASK_SNAKE by MASK_PA_11.
* pa/pa-hpux.h, pa/pa-hpux10.h, pa/pa-hpux9.h, pa/pa-osf.h, pa.h,
        pa.c, pa.md, configure.in, configure: Replace TARGET_SNAKE by
        TARGET_PA_11 and MASK_SNAKE by MASK_PA_11.

From-SVN: r26630
1999-04-25 18:04:54 -06:00
Theodore Papadopoulo
f9e814f100 flags.h (inline_max_insns): Declare.
* flags.h (inline_max_insns): Declare.
        * integrate.c (inline_max_insns): New variable.
        (function_cannot_inline_p): Use it.
        * toplev.c (main): Add the flag -finline-limit-n.
        (display_help): Document -finline-limit-n.
        * invoke.texi: Document -finline-limit-n

From-SVN: r26629
1999-04-25 17:35:15 -06:00
Richard Henderson
947255ed5a * stmt.c (expand_asm_operands): Reload in-out reg-only memory operands.
From-SVN: r26628
1999-04-25 16:06:36 -07:00
Craig Burley
7e4e2d26dc update NEWS derived file
From-SVN: r26627
1999-04-25 15:42:04 -04:00
Craig Burley
8f00eff749 doc fix
From-SVN: r26626
1999-04-25 15:39:22 -04:00
Craig Burley
d6cd84e036 fix assignment to partially-overlapped COMPLEX
From-SVN: r26625
1999-04-25 14:01:35 -04:00
Richard Henderson
4433e33948 function.c (assign_parms/STACK_BYTES): Revert last change, and that of 19 Nov.
* function.c (assign_parms/STACK_BYTES): Revert last change,
        and that of 19 Nov.

From-SVN: r26624
1999-04-25 06:09:33 -07:00
Richard Henderson
fb5eebb932 calls.c (emit_call_1): New arg rounded_stack_size; update callers.
* calls.c (emit_call_1): New arg rounded_stack_size; update callers.
        Update pending_stack_adjust based on this value.
        (compute_argument_block_size): Include pending_stack_adjust in
        PREFERRED_STACK_BOUNDARY alignment.
        * function.c (assign_parms): Don't round to PREFERRED_STACK_BOUNDARY.

From-SVN: r26623
1999-04-25 05:31:52 -07:00
Richard Henderson
ed856f4c70 * gcc.dg/990424-1.c: New test.
From-SVN: r26622
1999-04-25 05:29:35 -07:00
John Wehle
10195bd88e stupid.c (stupid_mark_refs): Generate a REG_UNUSED note for a register which is clobbered even if...
* stupid.c (stupid_mark_refs): Generate a REG_UNUSED note
	for a register which is clobbered even if the register
	was used by an earlier instruction.
	* i386.md (fix_truncsfdi2, fix_truncdfdi2,
	fix_truncxfdi2): Don't bother with the gen_reg_RTX.
	(fix_truncsfsi2, fix_truncsfdi2, fix_truncdfsi2,
	fix_truncdfdi2, fix_truncxfsi2, fix_truncxfdi2): Update
	operand constraints and modes.
	* i386.c (output_fix_trunc): Use HImode register to avoid
	memory stalls.  Call output_move_double instead of output_to_reg.
	(output_to_reg): Remove.
	* i386.h: Likewise.
	* i386.md (negsf2, negdf2, negxf2): Set the type
	attribute to fpop.

From-SVN: r26621
1999-04-25 11:43:49 +00:00
Jeff Law
f41eba1d05 Daily bump.
From-SVN: r26620
1999-04-24 18:45:02 -06:00
Mumit Khan
7a1528bc63 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
From-SVN: r26619
1999-04-24 18:23:06 -06:00
Mumit Khan
7af06410ba Makefile.in (CC1OBJ): Define in terms of CC.
* Makefile.in (CC1OBJ): Define in terms of CC.
        (runtime-info.h): Use.

From-SVN: r26618
1999-04-24 18:21:51 -06:00
Donn Terry
5b9ba539e6 * alpha.md (call_value_nt): Correct subscripts.
From-SVN: r26617
1999-04-24 16:16:46 -07:00
Richard Henderson
714b019cee alpha.h (PRINT_OPERAND_ADDRESS): Break out to ...
* alpha.h (PRINT_OPERAND_ADDRESS): Break out to ...
        * alpha.c (print_operand_address): here.  Handle subregs.

From-SVN: r26616
1999-04-24 13:50:46 -07:00
Craig Burley
4d9a07db88 turn LSTAT/STAT checking back on
From-SVN: r26615
1999-04-24 06:08:34 -04:00
Craig Burley
f658f69524 forgot to update news.texi
From-SVN: r26614
1999-04-24 05:29:46 -04:00
Craig Burley
81c5baa0b3 fix INTEGER*2 in DATA implied-DO
From-SVN: r26613
1999-04-24 05:24:13 -04:00
Craig Burley
29df97144a fix typos
From-SVN: r26612
1999-04-24 05:19:48 -04:00