Theodore Papadopoulo [Sun, 25 Apr 1999 23:35:15 +0000 (01:35 +0200)]
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
Richard Henderson [Sun, 25 Apr 1999 23:06:36 +0000 (16:06 -0700)]
* stmt.c (expand_asm_operands): Reload in-out reg-only memory operands.
From-SVN: r26628
Craig Burley [Sun, 25 Apr 1999 19:42:04 +0000 (15:42 -0400)]
update NEWS derived file
From-SVN: r26627
Craig Burley [Sun, 25 Apr 1999 19:39:22 +0000 (19:39 +0000)]
doc fix
From-SVN: r26626
Craig Burley [Sun, 25 Apr 1999 18:01:35 +0000 (18:01 +0000)]
fix assignment to partially-overlapped COMPLEX
From-SVN: r26625
Richard Henderson [Sun, 25 Apr 1999 13:09:33 +0000 (06:09 -0700)]
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
Richard Henderson [Sun, 25 Apr 1999 12:31:52 +0000 (05:31 -0700)]
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
Richard Henderson [Sun, 25 Apr 1999 12:29:35 +0000 (05:29 -0700)]
* gcc.dg/990424-1.c: New test.
From-SVN: r26622
John Wehle [Sun, 25 Apr 1999 11:43:49 +0000 (11:43 +0000)]
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
Jeff Law [Sun, 25 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26620
Mumit Khan [Sun, 25 Apr 1999 00:23:06 +0000 (00:23 +0000)]
* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
From-SVN: r26619
Mumit Khan [Sun, 25 Apr 1999 00:21:51 +0000 (00:21 +0000)]
Makefile.in (CC1OBJ): Define in terms of CC.
* Makefile.in (CC1OBJ): Define in terms of CC.
(runtime-info.h): Use.
From-SVN: r26618
Donn Terry [Sat, 24 Apr 1999 23:16:46 +0000 (23:16 +0000)]
* alpha.md (call_value_nt): Correct subscripts.
From-SVN: r26617
Richard Henderson [Sat, 24 Apr 1999 20:50:46 +0000 (13:50 -0700)]
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
Craig Burley [Sat, 24 Apr 1999 10:08:34 +0000 (10:08 +0000)]
turn LSTAT/STAT checking back on
From-SVN: r26615
Craig Burley [Sat, 24 Apr 1999 09:29:46 +0000 (09:29 +0000)]
forgot to update news.texi
From-SVN: r26614
Craig Burley [Sat, 24 Apr 1999 09:24:13 +0000 (09:24 +0000)]
fix INTEGER*2 in DATA implied-DO
From-SVN: r26613
Craig Burley [Sat, 24 Apr 1999 09:19:48 +0000 (05:19 -0400)]
fix typos
From-SVN: r26612
Craig Burley [Sat, 24 Apr 1999 08:14:33 +0000 (04:14 -0400)]
have ChangeLog entries default to current-time-string as per gcc/, gcc/f/
From-SVN: r26611
Craig Burley [Sat, 24 Apr 1999 08:10:00 +0000 (08:10 +0000)]
revert Sat Apr 17 patch
From-SVN: r26610
Jeff Law [Sat, 24 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26609
John Wehle [Fri, 23 Apr 1999 19:41:03 +0000 (19:41 +0000)]
acconfig.h (HAVE_GAS_FILDS_FISTS): Add.
* acconfig.h (HAVE_GAS_FILDS_FISTS): Add.
* configure.in: Check assembler instructions.
* configure: Rebuild.
* config.in: Likewise.
* i386.md (floathisf2, floathidf2, floathixf2): New patterns.
* i386.c (print_operand): Use the proper suffix for a 387 HImode
operand. Abort if a 387 operand has an unsupported size.
From-SVN: r26608
Richard Henderson [Fri, 23 Apr 1999 16:58:24 +0000 (09:58 -0700)]
alpha.c (alpha_write_verstamp): Mark `file' unused.
* alpha.c (alpha_write_verstamp): Mark `file' unused.
* alpha.h (FUNCTION_VALUE): Use gen_rtx_REG not gen_rtx.
(LIBCALL_VALUE): Likewise.
(GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Handle normal subregs.
From-SVN: r26607
Mark Mitchell [Fri, 23 Apr 1999 16:58:01 +0000 (16:58 +0000)]
decl2.c (finish_file): Tweak handling of extern inlines so that they are not unnecessarily put out.
* decl2.c (finish_file): Tweak handling of extern inlines so that
they are not unnecessarily put out.
From-SVN: r26606
Warren Levy [Fri, 23 Apr 1999 16:36:22 +0000 (16:36 +0000)]
Makefile.am: Added URLDecoder and URLEncoder.
* Makefile.am: Added URLDecoder and URLEncoder.
* Makefile.in: Rebuilt.
* java/net/ServerSocket.java (setSocketFactory): Renamed from
setSocketImplFactory to match spec.
* java/net/Socket.java (getSoLinger): Changed return type to
match spec.
* java/net/URLDecoder.java: New file.
* java/net/URLEncoder.java: New file.
From-SVN: r26605
Donn Terry [Fri, 23 Apr 1999 15:04:07 +0000 (15:04 +0000)]
alpha.c (alpha_initialize_trampoline): Add covert_memory_address calls as needed.
* alpha.c (alpha_initialize_trampoline): Add covert_memory_address
calls as needed.
From-SVN: r26604
Donn Terry [Fri, 23 Apr 1999 14:58:10 +0000 (14:58 +0000)]
* alpha32.h (INITIALIZE_TRAMPOLINE): Get offsets right.
From-SVN: r26603
Richard Henderson [Fri, 23 Apr 1999 14:39:42 +0000 (07:39 -0700)]
alpha.c (alpha_expand_prologue): Don't negate frame size for use with subq.
* alpha.c (alpha_expand_prologue): Don't negate frame size
for use with subq.
From-SVN: r26602
Mark Mitchell [Fri, 23 Apr 1999 10:16:21 +0000 (10:16 +0000)]
search.c (is_subobject_of_p): Handle TEMPLATE_TYPE_PARMs and such as base classes.
* search.c (is_subobject_of_p): Handle TEMPLATE_TYPE_PARMs and
such as base classes.
From-SVN: r26601
Nick Clifton [Fri, 23 Apr 1999 09:44:28 +0000 (09:44 +0000)]
Display LABEL_NUSES when printing a code label
From-SVN: r26600
Nathan Sidwell [Fri, 23 Apr 1999 04:41:38 +0000 (04:41 +0000)]
Add Nathan Sidwell (write after approval)
From-SVN: r26599
Jeff Law [Fri, 23 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26598
Brendan Kehoe [Thu, 22 Apr 1999 23:33:15 +0000 (23:33 +0000)]
tree.c (build_exception_variant): Fix typo: use the chain of U, not trying V, while cycling through U.
* tree.c (build_exception_variant): Fix typo: use the chain of U,
not trying V, while cycling through U.
From-SVN: r26597
Craig Burley [Thu, 22 Apr 1999 23:15:41 +0000 (19:15 -0400)]
update NEWS derived file
From-SVN: r26596
Craig Burley [Thu, 22 Apr 1999 23:14:03 +0000 (23:14 +0000)]
doc cleanup vis-a-vis f2c
From-SVN: r26595
Mark Mitchell [Thu, 22 Apr 1999 23:13:12 +0000 (23:13 +0000)]
cp-tree.h (lang_decl_flags): Remove returns_first_arg and preserves_first_arg.
* cp-tree.h (lang_decl_flags): Remove returns_first_arg and
preserves_first_arg. Enlarge dummy accordingly.
(DECL_TINFO_FN_P): New macro.
(SET_DECL_TINO_FN_P): Likeiwse.
(DECL_RETURNS_FIRST_ARG): Remove.
(DECL_PRESERVES_THIS): Likewise.
(DECL_INIT_PRIORITY): New macro.
(finish_struct_1): Change prototype.
(cat_namespace_levels): Remove prototype.
(vtable_decl_p): New prototype.
(vtype_decl_p): Likewise.
(sigtable_decl_p): Likewise.
(walk_globals_pred): New typedef.
(walk_globals_fn): Likewise.
(walk_globals): New prototype.
(walk_namespaces_fn): New typedef.
(walk_namespaces): New prototype.
(wrapup_globals_for_namespace): Likewise.
(walk_vtables): Remove prototype.
(walk_sigtables): Likewise.
(instantiate_pending_templates): New prototype.
* class.c (finish_struct_1): Don't return a value.
* decl.h (pending_statics): Remove declaration.
* decl.c (walk_namespaces_r): New function.
(walk_globals_r): Likewise.
(vtable_decl_p): Likewise.
(vtype_decl_p): Likewise.
(sigtable_decl_p): Likewise.
(walk_namespaces): Likewise.
(walk_globals_data): New type.
(walk_globals): New function.
(wrapup_globals_for_namespace): Likewise.
(expand_static_init): Remove assertion. Remove redundancy in
conditional. Don't put static data members in static_aggregates
Tidy.
(finish_function): Remove redundancy in conditional. Don't set
DECL_RETURNS_FIRST_ARG.
(cat_namespace_levels): Remove.
* decl2.c: Include splay-tree.h and varray.h.
(priority_info_s): New structure.
(finish_vtable_vardecl): Change prototype. Adjust for new calling
conventions.
(prune_vtable_vardecl): Likewise.
(finish_sigtable_vardecl): Likewise.
(setup_initp): Remove.
(do_dtors): Remove.
(do_ctors): Remove.
(start_static_storage_duration_function): New function.
(generate_inits_for_priority): Likewise.
(finish_static_storage_duration_function): Likewise.
(get_priority_info): Likewise.
(do_static_initialization): Likewise.
(do_static_destruction): Likewise.
(do_static_initialization_and_destruction): Likewise.
(generate_ctor_or_dtor_function): Likewise.
(generate_ctor_and_dtor_functions_for_priority): Likewise.
(pending_statics): Make it a varray.
(pending_statics_used): New variable.
(saved_inlines): Make it a varray.
(saved_inlines_used): New variable.
(finish_static_data_member): Change method of updating
pending_statics.
(mark_inline_for_output): Remove #if 0'd code. Change method of
updating saved_inlines.
(walk_vtables): Remove.
(walk_sigtables): Likewise.
(import_export_decl): Use DECL_TINFO_FN_P.
(pending_templates): Remove declaration.
(maybe_templates): Likewise.
(static_aggregates_initp): Likewise.
(setup_initp): Likewise.
(finish_objects): Simplify.
(INITIALIZE_P_IDENTIFIER): New macro.
(PRIORITY_IDENTIFIER): New macro.
(SSDF_IDENTIFIER): New macro.
(initialize_p_decl): New variable.
(priority_decl): Likewise.
(ssdf_decl): Likewise.
(priority_info_map): Likewise.
(finish_file): Recode output of static intializers and other
file-scope finalization tasks.
* error.c (OB_END_TEMPLATE_ID): New macro.
(dump_type_real): Use it.
(dump_decl): Likewise.
(dump_function_name): Likewise.
* lex.c (set_typedecl_interface_info): Adjust for new walk_globals
interface.
(check_newline): Use walk_globals, not walk_vtables.
* pt.c (pending_tempalte_expansions): Remove.
(set_vardecl_interface_info): Likewise.
(pending_templates): Make static.
(maybe_templates): Likewise.
(instantiate_class_template): Adjust call to finish_struct_1.
(instantiate_pending_templates): New function.
* rtti.c (get_tinfo_fn): Use SET_DECL_TINFO_FN_P.
* tree.c (static_aggregates_initp): Remove.
(cp_valid_lang_attribute): Don't use it; use DECL_INIT_PRIORITY
instead.
* Makefile.in (decl2.o): Depend on varray.h and splay-tree.h.
From-SVN: r26594
Mark Mitchell [Thu, 22 Apr 1999 23:06:09 +0000 (23:06 +0000)]
toplev.h (wrapup_global_declarations): Declare.
* toplev.h (wrapup_global_declarations): Declare.
(check_global_declarations): Likewise.
* toplev.c (wrapup_global_declarations): New function, split out
from ...
(check_global_declarations): Likewise...
(compile_file): Here.
From-SVN: r26593
Craig Burley [Thu, 22 Apr 1999 23:01:43 +0000 (23:01 +0000)]
support array bounds checking
From-SVN: r26592
Richard Henderson [Thu, 22 Apr 1999 22:35:24 +0000 (15:35 -0700)]
This isn't Saturday.
From-SVN: r26591
Richard Henderson [Thu, 22 Apr 1999 22:04:02 +0000 (15:04 -0700)]
c-parse.in (expr_no_commas): Verify we've an expr before calling C_SET_EXP_ORIGINAL_CODE.
* c-parse.in (expr_no_commas): Verify we've an expr before
calling C_SET_EXP_ORIGINAL_CODE.
From-SVN: r26590
John Wehle [Thu, 22 Apr 1999 19:25:05 +0000 (19:25 +0000)]
toplev.c (rest_of_compilation): Always set current_function_uses_only_leaf_regs appropriately.
* toplev.c (rest_of_compilation): Always set
current_function_uses_only_leaf_regs appropriately.
From-SVN: r26589
Mark Mitchell [Thu, 22 Apr 1999 17:37:35 +0000 (17:37 +0000)]
gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes with the RTL code RETURN.
* gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes
with the RTL code RETURN.
* hash.h: Regenerated.
* lex.c (reinit_parse_for_block): Use RETURN_KEYWORD.
* parse.y: Replace RETURN with RETURN_KEYWORD throughout.
* parse.c: Regenerated.
* parse.h: Likewise.
* pt.c: Include varray.h. Include rtl.h since varray.h requires
it.
(inline_parm_levels): New variable.
(inline_parm_levels_used): Likewise.
(maybe_begin_member_template_processing): Update them.
(maybe_end_member_template_processing): Use them, rather than
guessing how many levels to pop.
From-SVN: r26588
Mark Mitchell [Thu, 22 Apr 1999 17:37:02 +0000 (17:37 +0000)]
gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes with the RTL code RETURN.
* gxx.gperf (RETURN): Rename to RETURN_KEYWORD to avoid clashes
with the RTL code RETURN.
* hash.h: Regenerated.
* lex.c (reinit_parse_for_block): Use RETURN_KEYWORD.
* parse.y: Replace RETURN with RETURN_KEYWORD throughout.
* parse.c: Regenerated.
* pt.c: Include varray.h. Include rtl.h since varray.h requires
it.
(inline_parm_levels): New variable.
(inline_parm_levels_used): Likewise.
(maybe_begin_member_template_processing): Update them.
(maybe_end_member_template_processing): Use them, rather than
guessing how many levels to pop.
From-SVN: r26587
Mark Mitchell [Thu, 22 Apr 1999 16:26:44 +0000 (16:26 +0000)]
* decl.c (make_typename_type): Tighten error-checking.
From-SVN: r26586
Tom Tromey [Thu, 22 Apr 1999 16:19:35 +0000 (16:19 +0000)]
* Make-lang.in (JAVA_SRCS): Added check-init.c.
From-SVN: r26585
Mumit Khan [Thu, 22 Apr 1999 14:40:55 +0000 (14:40 +0000)]
xm-cygwin.h (HAVE_BCOPY): Delete unneeded macro.
* i386/xm-cygwin.h (HAVE_BCOPY): Delete unneeded macro.
(HAVE_BZERO): Likewise.
(HAVE_BCMP): Likewise.
(HAVE_RINDEX): Likewise.
(HAVE_INDEX): Likewise.
(DIR_SEPARATOR_2): Define.
(GET_ENV_PATH_LIST): Turn path lists into POSIX.
(PATH_SEPARATOR): Use ':'.
From-SVN: r26584
Anthony Green [Thu, 22 Apr 1999 14:22:11 +0000 (14:22 +0000)]
* libjava.compile/OperatorBenchmark.java: New file.
From-SVN: r26583
Bruce Korb [Thu, 22 Apr 1999 07:25:11 +0000 (07:25 +0000)]
enable disabling of fast fixincludes
From-SVN: r26582
Jeff Law [Thu, 22 Apr 1999 00:45:06 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26581
Mark Mitchell [Thu, 22 Apr 1999 00:34:21 +0000 (00:34 +0000)]
Check in test for previous changes
From-SVN: r26580
Tom Tromey [Wed, 21 Apr 1999 13:50:39 +0000 (13:50 +0000)]
natString.cc (getBytes): Reverted earlier change and applied correct fix from Per Bothner.
* java/lang/natString.cc (getBytes): Reverted earlier change and
applied correct fix from Per Bothner.
From-SVN: r26579
Alexandre Petit-Bianco [Wed, 21 Apr 1999 13:49:49 +0000 (13:49 +0000)]
decl.c (predef_filenames, [...]): New globals
Wed Apr 21 11:13:36 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* decl.c (predef_filenames, predef_filenames_size): New globals
(init_decl_processing): predef_filenames and predef_filenames_size
initialized.
* java-tree.h (predef_filenames, predef_filenames_size): Declared
extern.
* jcf-parse.c (predefined_filename_p): New function.
(yyparse): Check that files on the command line are specified only
once and issue a warning otherwise.
* parse.h (JPRIMITIVE_TYPE_OR_VOID_P): New macro.
* parse.y (source_end_java_method): Nullify NOP method bodies, to
avoid a gcc warning with -W -Wall turned on.
(java_expand_classes): Abort if errors were encountered.
(java_complete_lhs): If the cross reference flag is set, wrap
field DECL node around a WFL when resolving expression name.
From-SVN: r26578
Tom Tromey [Wed, 21 Apr 1999 12:12:39 +0000 (12:12 +0000)]
String.java: Don't throw UnsupportedEncodingException.
* java/lang/String.java: Don't throw
UnsupportedEncodingException.
From-SVN: r26577
Zack Weinberg [Wed, 21 Apr 1999 11:58:11 +0000 (11:58 +0000)]
gen-protos.c: #undef abort after including system.h.
1999-04-21 14:55 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* gen-protos.c: #undef abort after including system.h.
Delete defns of fancy_abort and fatal.
* fix-header.c: Delete defn of fancy_abort.
From-SVN: r26576
Tom Tromey [Wed, 21 Apr 1999 11:49:39 +0000 (11:49 +0000)]
natString.cc (getBytes): Correctly size result buffer.
* java/lang/natString.cc (getBytes): Correctly size result
buffer. From Bryce McKinlay <bryce@albatross.co.nz>.
From-SVN: r26575
Tom Tromey [Wed, 21 Apr 1999 09:42:28 +0000 (09:42 +0000)]
os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h.
* os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
sigcontext.h. From Matthias Klose <doko@itso.de>.
From-SVN: r26574
Mumit Khan [Wed, 21 Apr 1999 09:11:15 +0000 (09:11 +0000)]
cccp.c (simplify_filename): Always preserve leading double slash.
Wed Apr 21 12:09:38 1999 Mumit Khan <khan@xraylith.wisc.edu>
* cccp.c (simplify_filename): Always preserve leading double slash.
From-SVN: r26573
Jeff Law [Wed, 21 Apr 1999 00:45:34 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26572
Michael Hayes [Tue, 20 Apr 1999 23:18:44 +0000 (23:18 +0000)]
* config/c4x/c4x.md: Add new peepholes to remove redundant loads.
From-SVN: r26571
Michael Hayes [Tue, 20 Apr 1999 23:12:27 +0000 (23:12 +0000)]
c4x.md (binary patterns): Reorder alternatives so that two operand instructions are chosen before three...
* config/c4x/c4x.md (binary patterns): Reorder alternatives
so that two operand instructions are chosen before three operand
instructions.
From-SVN: r26570
Nathan Sidwell [Tue, 20 Apr 1999 22:47:49 +0000 (22:47 +0000)]
Make-lang.in (objc-parse.c): Put BISON parameters in correct order.
* objc/Make-lang.in (objc-parse.c): Put BISON parameters in correct
order.
From-SVN: r26569
Nathan Sidwell [Tue, 20 Apr 1999 22:43:31 +0000 (22:43 +0000)]
Make-lang.in (c-parse.c): Put BISON parameters in correct order.
* Make-lang.in (c-parse.c): Put BISON parameters in correct
order.
Thanks. Installed.
From-SVN: r26568
Nathan Sidwell [Tue, 20 Apr 1999 22:40:41 +0000 (22:40 +0000)]
Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct order.
* Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct
order.
From-SVN: r26567
Mark Mitchell [Tue, 20 Apr 1999 21:48:52 +0000 (21:48 +0000)]
cp-tree.h (build_binary_op): Remove unneeded parameter.
* cp-tree.h (build_binary_op): Remove unneeded parameter.
* class.c (build_vrable_entry_ref): Adjust call to
build_binary_op.
* decl.c (expand_static_init): Likewise.
(grokdeclarator): Likewise.
(finish_function): Likewise.
* decl2.c (delete_sanity): Likewise.
(do_dtors): Likewise.
(do_ctors): Likewise.
* error.c (dump_type_suffix): Likewise.
* expr.c (cplus_expand_expr): Likewise.
* init.c (resolve_offset_ref): Likewise.
(build_new): Likewise.
(build_new_1): Likewise.
(build_vec_delete_1): Likewise.
(expand_vec_init_catch_clause): Likewise.
(build_delete): Likewise.
* pt.c (tsubst): Likewise.
* rtti.c (synthesize_tinfo_fn): Likewise.
* search.c (expand_upcast_fixups): Likewise.
(expand_direct_vtbls_init): Likewise.
* typeck.c (get_member_function_from_ptrfunc): Likewise.
(build_binary_op_nodefault): Likewise.
(point_int_sum): Likewise.
(pointer_diff): Likewise.
(build_unary_op): Likewise.
(build_modify_expr): Likewise.
(get_delta_difference): Likewise.
(build_ptrmemfunc): Likewise.
(expand_ptrmemfunc_cst): Likewise.
From-SVN: r26566
Richard Henderson [Tue, 20 Apr 1999 16:44:09 +0000 (09:44 -0700)]
alpha.md (nt_lda): New pattern.
* alpha.md (nt_lda): New pattern.
* alpha.c (alpha_expand_prologue): Use it for large frames
under windows nt.
From-SVN: r26565
Catherine Moore [Tue, 20 Apr 1999 16:42:31 +0000 (16:42 +0000)]
arm.md (movhi): Add check for odd offset.
Tue Apr 20 17:57:14 1999 Catherine Moore <clm@cygnus.com>
* config/arm/arm.md (movhi): Add check for odd offset.
From-SVN: r26564
Jim Blandy [Tue, 20 Apr 1999 11:02:02 +0000 (11:02 +0000)]
*** empty log message ***
From-SVN: r26563
Jim Blandy [Tue, 20 Apr 1999 11:00:27 +0000 (11:00 +0000)]
Fix from Dale Hawkins:
* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
reallocated properly if we use it again.
* cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
stricter about syntax. Always null-terminate string.
From-SVN: r26562
John Wehle [Tue, 20 Apr 1999 10:18:33 +0000 (10:18 +0000)]
i386.c (output_move_double): Abort if a non-offsettable memory operand is encountered.
* i386.c (output_move_double): Abort if a non-offsettable
memory operand is encountered. Delete unused code.
(find_addr_reg): Remove.
From-SVN: r26561
Andrew Haley [Tue, 20 Apr 1999 06:27:11 +0000 (06:27 +0000)]
sparc-signal.h: new file.
1999-04-20 Andrew Haley <aph@cygnus.com>
* include/sparc-signal.h: new file.
* configure.in: include/sparc-signal.h added.
* configure: regenerated.
* prims.cc (JvRunMain): signal handling code rewritten to be more
portable.
(catch_segv): ditto.
(catch_fpe): ditto.
* include/i386-signal.h: reorganized.
* include/default-signal.h: reorganized.
From-SVN: r26560
Jason Merrill [Tue, 20 Apr 1999 01:21:00 +0000 (21:21 -0400)]
new
From-SVN: r26559
Jason Merrill [Tue, 20 Apr 1999 01:20:07 +0000 (01:20 +0000)]
decl.c (grokfndecl): Always call cplus_decl_attributes.
* decl.c (grokfndecl): Always call cplus_decl_attributes.
* decl2.c (grokfield): Pass attrlist to grokdeclarator.
From-SVN: r26558
Jeff Law [Tue, 20 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26557
Craig Burley [Mon, 19 Apr 1999 22:43:40 +0000 (18:43 -0400)]
update BUGS, INSTALL, NEWS derived files
From-SVN: r26556
Craig Burley [Mon, 19 Apr 1999 22:42:00 +0000 (22:42 +0000)]
clarify -malign-double situation
From-SVN: r26555
Craig Burley [Mon, 19 Apr 1999 22:27:05 +0000 (22:27 +0000)]
Fix DATA repeat-count bug
From-SVN: r26554
Craig Burley [Mon, 19 Apr 1999 21:38:54 +0000 (21:38 +0000)]
fix DO WHILE
From-SVN: r26553
Craig Burley [Mon, 19 Apr 1999 21:29:25 +0000 (21:29 +0000)]
new tests, derived from bug-reports from Toon and Tim
From-SVN: r26552
Craig Burley [Mon, 19 Apr 1999 18:16:33 +0000 (18:16 +0000)]
fix typo in comment
From-SVN: r26551
Alexandre Petit-Bianco [Mon, 19 Apr 1999 15:45:57 +0000 (15:45 +0000)]
lang.c (lang_decode_option): Fixed returned value when parsing `-fxref=...' and `-Wall'.
Mon Apr 19 14:44:48 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lang.c (lang_decode_option): Fixed returned value when parsing
`-fxref=...' and `-Wall'.
* parse.y (source_end_java_method): Do not generate code when
flag_emit_xref is set.
(resolve_expression_name): Do not build static field access when
flag_emit_xref is set.
(resolve_field_access): No special treatement on `length' when
flag_emit_xref is set. Do not build qualified static field access
when flag_emit_xref is set.
(patch_invoke): Keep the method DECL as operand 0 of the CALL_EXPR
when flag_emit_xref is set.
(patch_assignment): Do not generate array store runtime check when
flag_emit_xref is set.
* xref.c (xref_flag_value): Fixed function declaration
indentation.
(xset_set_data): New function.
* xref.h (xref_set_data): Added prototype for new function.
(typedef struct xref_flag_table): New field data.
(XREF_GET_DATA): New macro.
From-SVN: r26550
Zack Weinberg [Mon, 19 Apr 1999 15:23:57 +0000 (15:23 +0000)]
Back out accidental commit of unrelated patch
From-SVN: r26549
Mark Mitchell [Mon, 19 Apr 1999 12:23:55 +0000 (12:23 +0000)]
cp-tree.h (finish_static_data_member_decl): New function.
* cp-tree.h (finish_static_data_member_decl): New function.
* decl2.c (finish_static_data_member_decl): Split out from ...
(grokfield): Here.
* pt.c (instantiate_class_template): Use it here instead of
trying to fake it.
(tsubst_decl): Don't set DECL_ASSEMBLER_NAME;
finish_static_data_member_decl will do that. Explicit set
DECL_EXTERNAL to match non-template processing.
From-SVN: r26548
Zack Weinberg [Mon, 19 Apr 1999 11:55:04 +0000 (11:55 +0000)]
cpplib.c (output_line_command): Drop CONDITIONAL argument.
1999-04-19 14:51 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cpplib.c (output_line_command): Drop CONDITIONAL argument.
We can omit unnecessary line commands if file_change ==
same_file and pfile->lineno != 0. All callers changed.
(cpp_get_token [case '\n']): Don't bump pfile->lineno if
CPP_OPTIONS (pfile)->no_line_commands is set.
* cpplib.h: Fix prototype of output_line_command.
From-SVN: r26547
Tom Tromey [Mon, 19 Apr 1999 10:20:27 +0000 (10:20 +0000)]
xref.h (enum): Removed trailing comma.
* xref.h (enum): Removed trailing comma.
* parse.y (resolve_qualified_expression_name): Added missing
`break'.
From-SVN: r26546
Tom Tromey [Mon, 19 Apr 1999 09:43:18 +0000 (09:43 +0000)]
natSystem.cc (init_properties): Only declare pwd_entry once.
* java/lang/natSystem.cc (init_properties): Only declare pwd_entry
once. From Anthony Green.
From-SVN: r26545
Andrew Haley [Mon, 19 Apr 1999 07:57:04 +0000 (07:57 +0000)]
Makefile.in: Processed with new automake.
1999-04-19 Andrew Haley <aph@cygnus.com>
* Makefile.in: Processed with new automake.
From-SVN: r26544
Tom Tromey [Mon, 19 Apr 1999 07:48:02 +0000 (07:48 +0000)]
* include/javaprims.h: Removed security namespace.
From-SVN: r26543
Jeff Law [Mon, 19 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26542
Anthony Green [Sun, 18 Apr 1999 22:22:44 +0000 (22:22 +0000)]
* java/io/PrintStream.java (println): Remove extra println.
From-SVN: r26541
Craig Burley [Sun, 18 Apr 1999 18:58:04 +0000 (18:58 +0000)]
fix crashes on I/O statements involving COMMON variables
From-SVN: r26540
Zack Weinberg [Sun, 18 Apr 1999 14:54:35 +0000 (14:54 +0000)]
cppfiles.c (find_position, [...]): Use `unsigned long' variables consistently to count line and column numbers.
1999-04-18 17:46 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cppfiles.c (find_position, read_and_prescan): Use `unsigned
long' variables consistently to count line and column numbers.
From-SVN: r26539
John Wehle [Sun, 18 Apr 1999 13:09:37 +0000 (13:09 +0000)]
output.h (current_function_is_leaf, [...]): Declare.
* output.h (current_function_is_leaf,
current_function_uses_only_leaf_regs): Declare.
* function.c (current_function_is_leaf,
current_function_uses_only_leaf_regs): Define.
(init_function_start): Initialize current_function_is_leaf
and current_function_uses_only_leaf_regs.
* final.c (leaf_function): Don't define.
(final_start_function): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* toplev.c (rest_of_compilation): Set current_function_is_leaf
prior to invoking local register allocation.
(rest_of_compilation): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* dbxout.c (dbxout_symbol, dbxout_parms): Likewise.
* dwarf2out.c (add_location_or_const_vaule_attribute): Likewise.
* dwarfout.c (add_location_or_const_value_attribute): Likewise.
* sdbout.c (sdbout_symbol): Likewise.
* sparc.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
* sparc.c (eligible_for_epilogue_delay, output_return,
sparc_return_peephole_ok): Likewise.
* sparc.md (leaf_function attribute, untyped_return): Likewise.
* i386.c (ix86_compute_frame_size): Don't align the stack
for leaf functions which don't allocate any stack slots.
* tm.texi: Update documentation.
From-SVN: r26538
Mark Mitchell [Sun, 18 Apr 1999 10:58:42 +0000 (10:58 +0000)]
cp-tree.h (finish_class_definition): Add parameter.
* cp-tree.h (finish_class_definition): Add parameter.
* parse.y (structsp): Use it. Don't call pop_scope here.
* parse.c: Regenerated.
* semantics.c (finish_class_definition): Pop it here.
From-SVN: r26537
Anthony Green [Sun, 18 Apr 1999 08:24:30 +0000 (08:24 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add new security files.
* java/security/NoSuchAlgorithmException.java,
java/security/MessageDigest.java: New files.
* include/javaprims.h: Add security namespace.
From-SVN: r26536
Jeffrey A Law [Sun, 18 Apr 1999 02:15:18 +0000 (20:15 -0600)]
Bump for snapshot
From-SVN: r26534
Richard Henderson [Sun, 18 Apr 1999 01:35:07 +0000 (18:35 -0700)]
Misapplied patch.
From-SVN: r26533
Jeff Law [Sun, 18 Apr 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26532
Richard Henderson [Sun, 18 Apr 1999 00:10:06 +0000 (17:10 -0700)]
alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change -- make sure FP_BASE_P registers are only used with an integer.
* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change --
make sure FP_BASE_P registers are only used with an integer.
From-SVN: r26531
Richard Henderson [Sat, 17 Apr 1999 23:31:34 +0000 (16:31 -0700)]
alpha.h (REG_OK_FP_BASE_P): New macro.
* alpha.h (REG_OK_FP_BASE_P): New macro.
(GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Use it.
* alpha.md (adddi3+1): New insn to handle large constants off
the soft frame pointer.
(adddi3+2): Don't split soft frame pointer or arg pointer additions.
From-SVN: r26530
Michael Hayes [Sat, 17 Apr 1999 22:27:41 +0000 (22:27 +0000)]
c4x.c (legitimize_operands): Use rtx_cost to determine if it is worthwhile forcing a constant into a register.
* config/c4x/c4x.c (legitimize_operands): Use rtx_cost
to determine if it is worthwhile forcing a constant into a register.
* config/c4x/c4x.h (CONST_COSTS): An integer value of 255 or 65535
used with a logical and or an integer value of 16 or 24 used with
a right shift has zero cost on the C40.
From-SVN: r26529