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
Craig Burley
a757bf811c
have ChangeLog entries default to current-time-string as per gcc/, gcc/f/
...
From-SVN: r26611
1999-04-24 04:14:33 -04:00
Craig Burley
ec5e633a08
revert Sat Apr 17 patch
...
From-SVN: r26610
1999-04-24 04:10:00 -04:00
Jeff Law
ab573ed223
Daily bump.
...
From-SVN: r26609
1999-04-23 18:45:02 -06:00
John Wehle
53b5ce195c
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
1999-04-23 19:41:03 +00:00
Richard Henderson
4c020733f4
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
1999-04-23 09:58:24 -07:00
Mark Mitchell
4cb02ea162
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
1999-04-23 16:58:01 +00:00
Warren Levy
12571b1f96
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
1999-04-23 16:36:22 +00:00
Donn Terry
d2692ef86e
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
1999-04-23 08:04:07 -07:00
Donn Terry
98283b4208
* alpha32.h (INITIALIZE_TRAMPOLINE): Get offsets right.
...
From-SVN: r26603
1999-04-23 07:58:10 -07:00
Richard Henderson
14eecd34f5
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
1999-04-23 07:39:42 -07:00
Mark Mitchell
d2675b98f5
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
1999-04-23 10:16:21 +00:00
Nick Clifton
75c437de06
Display LABEL_NUSES when printing a code label
...
From-SVN: r26600
1999-04-23 09:44:28 +00:00
Nathan Sidwell
7817b2b327
Add Nathan Sidwell (write after approval)
...
From-SVN: r26599
1999-04-23 04:41:38 +00:00
Jeff Law
f5abca84ff
Daily bump.
...
From-SVN: r26598
1999-04-22 18:45:02 -06:00
Brendan Kehoe
7bc2e33726
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
1999-04-22 19:33:15 -04:00
Craig Burley
07ead0e890
update NEWS derived file
...
From-SVN: r26596
1999-04-22 19:15:41 -04:00
Craig Burley
3880e74583
doc cleanup vis-a-vis f2c
...
From-SVN: r26595
1999-04-22 19:14:03 -04:00
Mark Mitchell
0aafb128c0
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
1999-04-22 23:13:12 +00:00
Mark Mitchell
32291f940e
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
1999-04-22 23:06:09 +00:00
Craig Burley
6b55276ed9
support array bounds checking
...
From-SVN: r26592
1999-04-22 19:01:43 -04:00
Richard Henderson
01680a2591
This isn't Saturday.
...
From-SVN: r26591
1999-04-22 15:35:24 -07:00
Richard Henderson
19d6ff234b
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
1999-04-22 15:04:02 -07:00
John Wehle
5ad9b85f99
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
1999-04-22 19:25:05 +00:00
Mark Mitchell
466b0dd3fc
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
1999-04-22 17:37:35 +00:00
Mark Mitchell
3dcaad8b2d
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
1999-04-22 17:37:02 +00:00
Mark Mitchell
ad810b22b8
* decl.c (make_typename_type): Tighten error-checking.
...
From-SVN: r26586
1999-04-22 16:26:44 +00:00
Tom Tromey
c9eb638ec7
* Make-lang.in (JAVA_SRCS): Added check-init.c.
...
From-SVN: r26585
1999-04-22 16:19:35 +00:00
Mumit Khan
4197ac787d
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
1999-04-22 07:40:55 -07:00
Anthony Green
12d03f6671
* libjava.compile/OperatorBenchmark.java: New file.
...
From-SVN: r26583
1999-04-22 14:22:11 +00:00
Bruce Korb
76c8f85586
enable disabling of fast fixincludes
...
From-SVN: r26582
1999-04-22 07:25:11 +00:00
Jeff Law
70f7ef0906
Daily bump.
...
From-SVN: r26581
1999-04-21 18:45:06 -06:00
Mark Mitchell
1fd449ef25
Check in test for previous changes
...
From-SVN: r26580
1999-04-22 00:34:21 +00:00
Tom Tromey
baa288f308
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
1999-04-21 13:50:39 +00:00
Alexandre Petit-Bianco
5423609c57
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
1999-04-21 06:49:49 -07:00
Tom Tromey
9d9cf1661d
String.java: Don't throw UnsupportedEncodingException.
...
* java/lang/String.java: Don't throw
UnsupportedEncodingException.
From-SVN: r26577
1999-04-21 12:12:39 +00:00
Zack Weinberg
b323effe6d
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
1999-04-21 11:58:11 +00:00
Tom Tromey
47e2610954
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
1999-04-21 11:49:39 +00:00