Commit Graph

21846 Commits

Author SHA1 Message Date
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
Craig Burley
1a5cfb80ec clarify -malign-double situation
From-SVN: r26555
1999-04-19 18:42:00 -04:00
Craig Burley
bded05359b Fix DATA repeat-count bug
From-SVN: r26554
1999-04-19 18:27:05 -04:00
Craig Burley
986b2f978b fix DO WHILE
From-SVN: r26553
1999-04-19 17:38:54 -04:00
Craig Burley
2e6472064f new tests, derived from bug-reports from Toon and Tim
From-SVN: r26552
1999-04-19 17:29:25 -04:00
Craig Burley
5b916f262a fix typo in comment
From-SVN: r26551
1999-04-19 14:16:33 -04:00
Alexandre Petit-Bianco
e8fc739639 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
1999-04-19 08:45:57 -07:00
Zack Weinberg
3b6e11237c Back out accidental commit of unrelated patch
From-SVN: r26549
1999-04-19 15:23:57 +00:00
Mark Mitchell
fa8d6e85a7 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
1999-04-19 12:23:55 +00:00
Zack Weinberg
80e9dcb4b2 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
1999-04-19 11:55:04 +00:00
Tom Tromey
a3f406ce4c xref.h (enum): Removed trailing comma.
* xref.h (enum): Removed trailing comma.
	* parse.y (resolve_qualified_expression_name): Added missing
	`break'.

From-SVN: r26546
1999-04-19 10:20:27 +00:00
Tom Tromey
3d79e10b31 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
1999-04-19 09:43:18 +00:00
Andrew Haley
80e93e9adf Makefile.in: Processed with new automake.
1999-04-19  Andrew Haley  <aph@cygnus.com>
        * Makefile.in: Processed with new automake.

From-SVN: r26544
1999-04-19 07:57:04 +00:00
Tom Tromey
0cf347a3a7 * include/javaprims.h: Removed security namespace.
From-SVN: r26543
1999-04-19 07:48:02 +00:00
Jeff Law
b3c1c08777 Daily bump.
From-SVN: r26542
1999-04-18 18:45:02 -06:00
Anthony Green
08a0a89b86 * java/io/PrintStream.java (println): Remove extra println.
From-SVN: r26541
1999-04-18 22:22:44 +00:00
Craig Burley
d50108c733 fix crashes on I/O statements involving COMMON variables
From-SVN: r26540
1999-04-18 14:58:04 -04:00
Zack Weinberg
6b84a1ba30 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
1999-04-18 14:54:35 +00:00