Commit Graph

21754 Commits

Author SHA1 Message Date
Per Bothner
3c645c3ec3 Fix truncated comments.
From-SVN: r26495
1999-04-16 10:24:06 -07:00
Per Bothner
2012fd2db0 UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency.
�
	* gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])):
	New overloading, allows greater efficiency.
	* gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])):
	New overloading (for efficiency - avoids copying).
	* gnu/gcj/convert/Output_UTF8.java:  Fix typo: 0xC0 -> 0c3F.
	* gnu/gcj/convert/Input_UTF8.java:  Fix typos in bit masks.

From-SVN: r26494
1999-04-16 10:22:02 -07:00
Per Bothner
c80eb46728 UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency.
�
	* gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])):
	New overloading, allows greater efficiency.
	* gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])):
	New overloading (for efficiency - avoids copying).
	* gnu/gcj/convert/Output_UTF8.java:  Fix typo: 0xC0 -> 0c3F.
	* gnu/gcj/convert/Input_UTF8.java:  Fix typos in bit masks.

From-SVN: r26493
1999-04-16 10:21:59 -07:00
Michael Hayes
d8b173bb57 c4x.md (mulqf3_clrqf_clobber, [...]): New patterns to support parallel multiply and load of zero.
* config/c4x/c4x.md (mulqf3_clrqf_clobber, mulqi3_clrqi_clobber):
	New patterns to support parallel multiply and load of zero.

From-SVN: r26492
1999-04-16 16:36:07 +00:00
Mark Mitchell
280f9385ee cp-tree.h (TREE_NONLOCAL_FLAG): Remove.
* cp-tree.h (TREE_NONLOCAL_FLAG): Remove.
	(storetags): Declare.
	* class.c (finish_struct): Don't use TREE_NONLOCAL_FLAG.
	(pushclass): Likewise.  Use storetags to install tag declarations,
	not pushtag.
	(invalidate_class_lookup_cache): Don't use TREE_NONLOCAL_FLAG.
	* decl.c (storetags): Make it global.
	(push_class_binding): Set INHERITED_VALUE_BINDING_P for an
	implicit typename declaration.
	(pushtag): Tidy.  Don't use TREE_NONLOCAL_FLAG.
	* method.c (hack_identifier): Likewise.
	* search.c (lookup_member): Likewise.

From-SVN: r26491
1999-04-16 13:16:50 +00:00
Tom Tromey
5e651bf243 config.h (__start): Declare as `int' in alpha/OSF1 case.
* config.h (__start): Declare as `int' in alpha/OSF1 case.  From
	David Pettersson <dapet@mai.liu.se>

From-SVN: r26490
1999-04-16 09:56:29 +00:00
Jason Merrill
ace3c40a1f tree.c (valid_machine_attribute): If we're modifying the FUNCTION_TYPE within a POINTER_TYPE and we don't get a...
* tree.c (valid_machine_attribute): If we're modifying the
	FUNCTION_TYPE within a POINTER_TYPE and we don't get a decl,
	update the POINTER_TYPE.

From-SVN: r26489
1999-04-15 21:24:50 -04:00
Jeff Law
a3638246e9 Daily bump.
From-SVN: r26488
1999-04-15 18:45:02 -06:00
Mark Mitchell
235f734d82 decl.c (warn_about_implicit_typename_lookup): New function.
* decl.c (warn_about_implicit_typename_lookup): New function.
	(lookup_name_real): Use it.  Rework handling of implicit typename
	extension.

From-SVN: r26487
1999-04-16 00:15:26 +00:00
Jeff Law
a9ba8a8858 Revert accidental checkin of the FCOMI patch that I was testing.
From-SVN: r26486
1999-04-15 18:15:01 -06:00
Jan Hubicka
a14003ee20 * i386.c (x86_adjust_cost): Move break statement to correct place.
From-SVN: r26485
1999-04-15 17:24:57 -06:00
Donn Terry
6419e5b063 expr.c (expand_assignment): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED is defined.
* expr.c (expand_assignment): Force pointers to proper mode if
        POINTERS_EXTEND_UNSIGNED is defined.

From-SVN: r26484
1999-04-15 16:52:22 -06:00
Donn Terry
79dc434ecf xm-alpha.h (alloca.h): Add Interix to list of special machines that don't like alloca.h...
* xm-alpha.h (alloca.h): Add Interix to list of special machines
        that don't like alloca.h, pending using autoconf results.

From-SVN: r26483
1999-04-15 16:47:13 -06:00
Jerry Quinn
42a21f7050 pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.
�
        * pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT,
        HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from
        8000 to PROCESSOR_8000.

From-SVN: r26482
1999-04-15 16:23:58 -06:00
Jerry Quinn
7c3110350f pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.
�
        * pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT,
        HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from
        8000 to PROCESSOR_8000.

From-SVN: r26481
1999-04-15 16:23:53 -06:00
Mumit Khan
acbbd80a54 configure.in (checkfuncs): Check for sbrk.
* configure.in (checkfuncs): Check for sbrk.
        * config.in: Rebuilt.
        * configure: Likewise.
        * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.

From-SVN: r26480
1999-04-15 16:05:35 -06:00
Warren Levy
d825fa8795 Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package.
* Makefile.am (ordinary_java_source_files): Added new Connection
	and Handler classes in gnu.gcj.protocol.file package.
	* Makefile.in: Rebuilt.
	* gnu/gcj/protocol/file/Connection.java: New file.
	* gnu/gcj/protocol/file/Handler.java: New file.
	* gnu/gcj/protocol/http/Connection.java (getInputStream): Check
	if doInput allows input.
	(getOutputStream): Check if doOutput allows output.
	* java/net/URLStreamHandler.java (parseURL): Fix indentation.

From-SVN: r26479
1999-04-15 21:33:39 +00:00
Donn Terry
30bf7f73a6 except.c (start_catch_hadler): Be sure rtime_address is Pmode if POINTERS_EXTEND_UNSIGNED.
* except.c (start_catch_hadler): Be sure rtime_address is Pmode
        if POINTERS_EXTEND_UNSIGNED.

From-SVN: r26478
1999-04-15 13:54:09 -06:00
Donn Terry
aefe40b1a0 except.c (expand_eh_return): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED.
* except.c (expand_eh_return): Force pointers to proper mode if
        POINTERS_EXTEND_UNSIGNED.

From-SVN: r26477
1999-04-15 13:52:18 -06:00
Mark Mitchell
6b400b2132 cp-tree.h (lookup_nested_field): Remove.
* cp-tree.h (lookup_nested_field): Remove.
	* class.c (push_nested_class): Handle UNION_TYPEs.
	(pop_nested_class): Likewise.
	* decl.c (lookup_name_real): Don't call lookup_nested_field.
	(start_decl): Use push_nested_class, not just pushclass.
	(cp_finish_decl): Use pop_nested_class, not just popclass.
	* search.c (lookup_nested_field): Remove.

From-SVN: r26476
1999-04-15 19:21:21 +00:00
Mark Mitchell
3d7de1fa03 cp-tree.h (lang_type): Add documentation.
* cp-tree.h (lang_type): Add documentation.
	* decl2.c (handle_class_head): Create template declarations here,
	as appropriate.
	* parse.y (class_head): Return whether or not we entered a new
	scope, as well as the type named.
	(named_class_head): Likewise.
	(named_complex_class_head_sans_basetype): Likewise.
	(structsp): Adjust accordingly.  Pop scope when required.
	* parse.c: Regenerated.
	* pt.c (check_default_tmpl_args): Robustify.
	(redeclare_class_template): Likewise.
	(instantiate_class_template): An instantiation of an
	anonymous union is itself an anonymous union.
	* semantics.c (begin_class_definition): Don't create template
	declarations here.

From-SVN: r26475
1999-04-15 17:52:25 +00:00
Anthony Green
08967681af gjavah.c: New prototypes for java_float_finite and java_double_finite.
Thu Apr 15 13:08:03 1999  Anthony Green  <green@cygnus.com>
	* gjavah.c: New prototypes for java_float_finite and
	java_double_finite.

From-SVN: r26474
1999-04-15 13:14:30 +00:00
Jason Merrill
fb8708d7b7 remove conflict indicators
From-SVN: r26473
1999-04-15 01:55:59 -04:00
Jason Merrill
b607c87f1f parse.y (after_type_declarator_intern): New nonterminal.
* parse.y (after_type_declarator_intern): New nonterminal.
	(after_type_declarator): Use it.
	(direct_after_type_declarator): Likewise.  Move above
	nonnested_type to fix reduce/reduce conflict resolution.
	(declmods): Reducing from just 'attributes' has EMPTY precedence.
	* Makefile.in (CONFLICTS): Update.
	* decl.c (define_label): Downgrade error for jumping over a
	non-POD decl to pedwarn.

From-SVN: r26472
1999-04-15 01:53:55 -04:00
Jason Merrill
8856c2d204 new
From-SVN: r26471
1999-04-15 01:49:12 -04:00
Michael Hayes
1ac7a7f5e9 c4x.h: Tweaked comment formatting.
* config/c4x/c4x.h:  Tweaked comment formatting.
	* config/c4x/c4x.c:  Likewise.

From-SVN: r26470
1999-04-15 04:22:04 +00:00
Mumit Khan
75923b2fc5 aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
* aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
        * configure.in: Use.
        * configure: Rebuilt.
        * acconfig.h (MKDIR_TAKES_ONE_ARG): Add.
        * config.in: Rebuilt.
        * system.h: Use.

From-SVN: r26469
1999-04-14 19:50:52 -06:00
Jan Hubicka
7c802a406f i386.md (QImode add pattern): Support lea instruction.
* i386.md (QImode add pattern): Support lea instruction.
        (HImode add pattern): Likewise.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r26468
1999-04-14 19:38:29 -06:00
Jan Hubicka
6ec6d558ed i386.md (ashlsi patterns): Call output_ashl instead of output_ashlsi3.
* i386.md (ashlsi patterns): Call output_ashl instead of output_ashlsi3.
        (ashlqi): Use expander, separate LEA and SAL / ADD patterns; call
        output_ashl.
        (ashlhi): Likewise.
        * i386.h (output_ashl): Renamed from output_ashlsi3.
        * i386.c (output_ashl): Likewise; support HImode and QImode operands
        as well.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r26467
1999-04-14 19:28:04 -06:00
Jeff Law
ad98bad83e Daily bump.
From-SVN: r26466
1999-04-14 18:45:02 -06:00
Jan Hubicka
b222082eee i386.md (notsi, [...]): Call memory_address_displacement_length instead of memory_address_length.
* i386.md (notsi, nothi, xorsi, xorhi, and xorqi patterns): Call
        memory_address_displacement_length instead of memory_address_length.
        * i386.c (memory_address_info): Renamed from memory_address_length.
        Accept new argument DISP_LENGTH.  All callers changed.  If DISP_LENGTH,
        then return the displacement length.  Else return length of the
        entire memory address.  Handle MULT case correctly.
        * i386.h (memory_address_info): Update declaration.
        * i386.md (memory_bit_test): Fix paren error.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r26465
1999-04-14 18:19:03 -06:00
Andrew Haley
a3e924fcb5 flow.c: (make_edges): Always make edges from a basic block to its exception handlers...
* flow.c: (make_edges): Always make edges from a basic block
        to its exception handlers, even if the block ends with a jump.

From-SVN: r26464
1999-04-14 14:36:33 -06:00
Zack Weinberg
a30d557c36 graph.c (node_data): Return void.
1999-04-14 23:26 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* graph.c (node_data): Return void.  Ignore result of
	print_rtl_single.  Change caller to match.
	* integrate.c (subst_constants): Initialize op0_mode to an
	invalid mode, and abort before use if it's still invalid.
	(Can only happen if the RTX_CLASS, RTX_FORMAT tables are corrupted.)
	* objc/objc-act.c (get_objc_string_decl,
	build_selector_translation_table, generate_protocol_list,
	synth_id_with_class_suffix, build_keyword_selector,
	build_selector_expr, gen_declarator): Abort when the tree
	structure is corrupted.

From-SVN: r26463
1999-04-14 20:28:54 +00:00
Mumit Khan
d20a4159c3 config-lang.in (compilers): Add exeext.
* config-lang.in (compilers): Add exeext.
        (stagestuff): Likewise.

From-SVN: r26462
1999-04-14 14:12:19 -06:00
Jeffrey A Law
e0a5241098 explow.c (allocate_dynamic_stack_space): Undo last change.
* explow.c (allocate_dynamic_stack_space): Undo last change.  Use
        convert_memory_address instead.

From-SVN: r26461
1999-04-14 13:43:02 -06:00
Jeffrey A Law
8354da48a4 configure.in (alpha interix): Use symbolic names to set target_cpu_default.
* configure.in (alpha interix): Use symbolic names to set
        target_cpu_default.
        * configure: Rebuilt.

From-SVN: r26460
1999-04-14 13:10:47 -06:00
Donn Terry
ff1555f866 lib1funcs.asm: New file.
* alpha/lib1funcs.asm: New file.
        * alpha/t-interix(lib1funcs.asm): Add to build.

From-SVN: r26459
1999-04-14 12:53:02 -06:00
Donn Terry
2abed3c1ac explow.c (allocate_dynamic_stack_space): Correctly convert TARGET to Pmode.
* explow.c (allocate_dynamic_stack_space): Correctly convert TARGET
        to Pmode.

From-SVN: r26458
1999-04-14 12:48:53 -06:00
John Wehle
ffac3509af i386.md (truncxfdf): Output the template supplied by output_move_double with the correct operands.
* i386.md (truncxfdf): Output the template supplied
        by output_move_double with the correct operands.

From-SVN: r26457
1999-04-14 12:42:20 -06:00
Zack Weinberg
3595bef688 Correct error message pattern
From-SVN: r26456
1999-04-14 15:50:46 +00:00
John Wehle
cda749b144 John Wehle (john@feith.com)
John Wehle  (john@feith.com)
        * i386.md (extendsfdf, extendsfxf, extenddfxf): Use
        output_float_extend instead specifying '#' as the template.
        * i386.c (output_float_extend): Define.
        * i386.h (output_float_extend): Declare.

From-SVN: r26455
1999-04-14 07:27:38 -07:00
Mark Mitchell
b74a056019 cp-tree.h (popclass): Change declaration.
* cp-tree.h (popclass): Change declaration.
	(pop_nested_class): Likewise.
	(poplevel_class): Remove declaration.
	* call.c (convert_default_argument): Pass no arguments to
	popclass.
	* class.c (finish_struct_1): Likewise.
	(finish_struct): Likewise.
	(popclass): Remove argument.  Simplify code accordingly.
	(pop_nested_class): Likewise.
	* decl.c (poplevel_class): Declare it here, and make it static.
	(poplevel): Handle class scopes.
	(pop_level_class): Don't take an rgument.  Simplify.
	(pop_everything): Pass no arguments to pop_nested_class.
	(cp_finish_decl): Pass no arguments to popclass.
	(grokdeclarator): Pass no arguments to pop_nested_class.
	(finish_function): Likewise.
	* decl2.c (grokfield): Likewise.
	(pop_scope): Pass no arguments to popclass.
	* lex.c (do_pending_defargs): Pass no arguments to pop_nested_class.
	* pt.c (instantiate_class_template): Move call to pushclass, and
	document.  Pass no arguments to popclass.
	(regenerate_decl_from_template): Likewise.

From-SVN: r26454
1999-04-14 13:20:19 +00:00
Jason Merrill
d15985c8f8 new
From-SVN: r26453
1999-04-14 08:20:06 -04:00
Jason Merrill
05345711e6 remove change bars
From-SVN: r26452
1999-04-14 08:18:50 -04:00
Jason Merrill
fbf6f1bae6 typeck.c (build_unary_op): Handle taking the address of a unique bound non-static member function.
* typeck.c (build_unary_op): Handle taking the address of a unique
	bound non-static member function.

From-SVN: r26451
1999-04-14 08:16:39 -04:00
Tom Tromey
613f2fe6e6 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
	incorrect patch of 199-04-09.

From-SVN: r26450
1999-04-14 11:24:02 +00:00
Tom Tromey
649d3f8fbe configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Added support for alpha.
	From David Pettersson <dapet@mai.liu.se>.

From-SVN: r26449
1999-04-14 11:21:24 +00:00
Martin v. Löwis
6c77b8af53 Add -Wno-deprecated
From-SVN: r26448
1999-04-14 11:14:18 +00:00
Tom Tromey
9ce392afc1 natInetAddress.cc (lookup): On glibc2.0 systems, make buffer larger to work around bug.
* java/net/natInetAddress.cc (lookup): On glibc2.0 systems, make
	buffer larger to work around bug.
	From Bryce McKinlay <bryce@albatross.co.nz>.

From-SVN: r26447
1999-04-14 11:07:51 +00:00
Catherine Moore
d8265d2995 Wed Apr 14 10:48:03 1999 Catherine Moore <clm@cygnus.com>
* config/mips/elf.h, config/mips/elf64.h
        (CTORS_SECTION_ASM_OP): Define.
        (DTORS_SECTION_ASM_OP): Define.
        (EXTRA_SECTIONS): Define.
        (INVOKE__main): Define.
        (NAME__MAIN): Define.
        (SYMBOL__MAIN): Define.
        (EXTRA_SECTIONS_FUNCTIONS): Define.
        (SECTION_FUNCTION_TEMPLATE): Define.
        (ASM_OUTPUT_CONSTRUCTOR): Define.
        (ASM_OUTPUT_DESTRUCTOR): Define.
        (CTOR_LIST_BEGIN): Define.
        (CTOR_LIST_END): Define.
        (DTOR_LIST_BEGIN): Define.
        (DTOR_LIST_END): Define.
        (LIB_SPEC): Define.
        (STARTFILE_SPEC): Define.
        (ENDFILE_SPEC): Define.
        * config/mips/linux.h:  Undefine all of the above.
        * config/mips/rtems64.h: Likewise.
        * config/mips/t-r3900: Likewise.
        * config/mips/t-elf: New file.
        * config/mips/vxworks.h: New file.
        * configure.in (mips-wrs-vxworks): Use mips/vxworks.h.
        (mips*-*-*elf*):  Use t-elf instead of t-ecoff.
        * configure: Regenerate.

From-SVN: r26446
1999-04-14 06:46:50 -04:00