Commit Graph

21963 Commits

Author SHA1 Message Date
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
Tom Tromey
11bbe619e3 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
1999-04-21 09:42:28 +00:00
Mumit Khan
4cd4ea9101 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
1999-04-21 05:11:15 -04:00
Jeff Law
c540cf3bc9 Daily bump.
From-SVN: r26572
1999-04-20 18:45:34 -06:00
Michael Hayes
82bfb8e38f * config/c4x/c4x.md: Add new peepholes to remove redundant loads.
From-SVN: r26571
1999-04-20 23:18:44 +00:00
Michael Hayes
65c78c7d76 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
1999-04-20 23:12:27 +00:00
Nathan Sidwell
191b6fc9a3 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
1999-04-20 16:47:49 -06:00
Nathan Sidwell
40e4e3fd06 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
1999-04-20 16:43:31 -06:00
Nathan Sidwell
33ac5264ef 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
1999-04-20 16:40:41 -06:00
Mark Mitchell
337c90cc04 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
1999-04-20 21:48:52 +00:00
Richard Henderson
37679e0603 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
1999-04-20 09:44:09 -07:00
Catherine Moore
0f834f0a3e 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
1999-04-20 12:42:31 -04:00
Jim Blandy
76409268c4 *** empty log message ***
From-SVN: r26563
1999-04-20 11:02:02 +00:00
Jim Blandy
c5a855ce6e 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
1999-04-20 11:00:27 +00:00
John Wehle
296967fe64 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
1999-04-20 10:18:33 +00:00
Andrew Haley
01f78a025e 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
1999-04-20 06:27:11 +00:00
Jason Merrill
3d6b966178 new
From-SVN: r26559
1999-04-19 21:21:00 -04:00
Jason Merrill
419c621259 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
1999-04-19 21:20:07 -04:00
Jeff Law
aa9b7b48b6 Daily bump.
From-SVN: r26557
1999-04-19 18:45:02 -06:00
Craig Burley
10868c423d update BUGS, INSTALL, NEWS derived files
From-SVN: r26556
1999-04-19 18:43:40 -04:00