Commit Graph

21858 Commits

Author SHA1 Message Date
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
Richard Henderson 4e46365be1 alpha.c (aligned_memory_operand): Recognize the output of LEGITIMIZE_RELOAD_ADDRESS.
* alpha.c (aligned_memory_operand): Recognize the output of
        LEGITIMIZE_RELOAD_ADDRESS.  Examine reg_equiv_memory_loc in
        the event of a pseudo.
        (unaligned_memory_operand): Likewise.  Don't otherwise accept
        completely illegal addresses.
        (normal_memory_operand): Likewise.  Handle subregs of pseudos.
        (get_aligned_mem): Revert previous change.  Abort if we don't have a
        mem.  During reload, call find_replacement on all illegal memories.
        (get_unaligned_address): Likewise.
        * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Use !aligned_memory_operand
        instead of unaligned_memory_operand.
        * alpha.md: Revert extra argument to get_aligned_mem.
        (reload_inqi): Use any_memory_operand in constraints.  Abort if
        we're not given some sort of mem.
        (reload_inhi): Likewise.
        (reload_outqi, reload_outhi): Likewise.

From-SVN: r26445
1999-04-14 03:13:19 -07:00
Richard Henderson 4eea167258 reload1.c (emit_reload_insns): Also find equivalent mems for subregs of pseudos.
* reload1.c (emit_reload_insns): Also find equivalent mems
        for subregs of pseudos.

From-SVN: r26444
1999-04-14 03:00:12 -07:00
Richard Henderson c5fb6d4a79 * i386.md (neghi): Use the whole register when widening the op.
From-SVN: r26443
1999-04-14 02:41:48 -07:00
Zack Weinberg 34ca9541e7 cpperror.c, [...]: Never call abort.
1999-04-14 12:37 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpperror.c, cppexp.c, cpplib.c: Never call abort.
	* cpphash.c: Only call abort when we detect corruption of the
	malloc arena.
	* cppmain.c: Don't define fatal or fancy_abort.

From-SVN: r26442
1999-04-14 09:40:56 +00:00
Jan Hubicka 42ebbb0a1d Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz>
        * i386.c (x86_adjust_cost): Agi stall takes 1 cycle on Pentium, fst
        requires value to be ready one extra cycle.

From-SVN: r26441
1999-04-14 02:21:40 -07:00
Dave Brolley d232860331 i386.c (memory_address_length): Add missing parenthesis.
Wed Apr 14 11:28:34 1999  Dave Brolley  <brolley@cygnus.com>
	* config/i386/i386.c (memory_address_length): Add missing parenthesis.

From-SVN: r26440
1999-04-14 04:31:10 -04:00
Andrew Haley 2b37afcb36 natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value.
1999-04-14  Andrew Haley  <aph@cygnus.com>
        * java/lang/natDouble.java (doubleToLongBits): ensure that all
        NaNs are always converted to the same long value.
        * java/lang/natFloat.java (floatToIntBits): ditto, but for float
        converted to int.

From-SVN: r26439
1999-04-14 07:10:22 +00:00
Martin v. Löwis 2de45c0679 extend.texi (Deprecated Features): New node.
* extend.texi (Deprecated Features): New node.
	* invoke.texi (-Wdeprecated): Document.
	* cp/lang-options.h (-Wdeprecated): New flag.
	* cp/decl2.c (warn_deprecated): New flag.
	(lang_decode_option): Deprecated this-is-variable,
	external-templates, alt-external-templates.
	Support -Wdeprecated.
	* cp/errfn.c (cp_deprecated): New function.

From-SVN: r26438
1999-04-14 05:34:55 +00:00
Jan Hubicka 853c37e365 i386.md (SImode logical compare): Avoid outputing non-pariable testw and testl on Pentium.
* i386.md (SImode logical compare): Avoid outputing non-pariable testw
        and testl on Pentium.
        (register and memory bit tests): Likewise.
        (setcc, normal and reversed conditional branches): Use shorter
        sequence for testing flags stored in EAX.

From-SVN: r26437
1999-04-13 18:51:30 -06:00
Jeff Law 251f0fb863 Daily bump.
From-SVN: r26436
1999-04-13 18:45:03 -06:00
Jason Merrill 187e786433 decl2.c (setup_initp): Compare DECL_ASSEMBLER_NAME instead of the decls themselves.
* decl2.c (setup_initp): Compare DECL_ASSEMBLER_NAME instead
	of the decls themselves.

From-SVN: r26435
1999-04-13 20:00:20 -04:00
Jan Hubicka bb524860e2 i386.md (xorsi3): Do not output NOT instrctions on Pentium.
* i386.md (xorsi3): Do not output NOT instrctions on Pentium.
        (xorqi3): Likewise.
        (xorhi3): Likewise.
        (notsi2): Likewise.
        (notqi2): Likewise.
        (nothi2): Likewise; do not output prefixed opcodes when possible.

From-SVN: r26434
1999-04-13 17:43:07 -06:00
Jan Hubicka c0b9be6798 i386.md (neghi2): Do not output prefixed opcode when possible.
* i386.md (neghi2): Do not output prefixed opcode when possible.
	(ashlhi3): Likewise.

From-SVN: r26433
1999-04-13 17:39:22 -06:00
Richard Henderson fb693d4449 i386.c (memory_address_length): New function.
* i386.c (memory_address_length): New function.
        * i386.h (memory_address_length): Declare it.

From-SVN: r26432
1999-04-13 17:19:26 -06:00
Zack Weinberg a8b7e1861e Test for cpp line numbering bug
From-SVN: r26431
1999-04-13 23:09:35 +00:00
Zack Weinberg 299d193437 Regression test for x86 fp-stack breakage
From-SVN: r26430
1999-04-13 23:03:09 +00:00
Jeff Law b3d2c3b8a3 Missed during interix commit.
From-SVN: r26429
1999-04-13 17:00:11 -06:00
Mike Stump f133e603a9 Fix spelling and formatting.
From-SVN: r26428
1999-04-13 22:45:50 +00:00
Jason Merrill a88bb763b9 new
From-SVN: r26427
1999-04-13 18:41:24 -04:00
Jason Merrill ada846ebb9 * pt.c (tsubst_function_type): Copy attributes over.
From-SVN: r26426
1999-04-13 18:24:51 -04:00
Jason Merrill 9db83085a5 tweak
From-SVN: r26425
1999-04-13 18:23:19 -04:00
Donn Terry 615c823194 configure.in (interix Alpha): Add.
* configure.in(interix Alpha): Add.
	* configure.in(winnt Alpha): Use alpha32.h
	* configure.in(interix i386): Parallel Alpha32.
	* config/interix.h: Move common elements from i386-interix.h.
	* config/i386/i386-interix.h: Delete same.
	* config/alpha/alpha-interix.h: New file
	* config/alpha/alpha32.h: New file, part fron win-nt.h.
	* config/alpha/win-nt.h: Deletions (-> alpha32.h).
	* config/alpha/interix.h:  New file
	* config/alpha/alpha.md (interix): Comment.
	* config/alpha/xm-alpha-interix.h: New file.
        * config/alpha/t-interix: New file.
	* fixinc/mkfixinc.sh (interix/Alpha): Add.

Co-Authored-By: Martin Heller <Ing.-Buero_Heller@t-online.de>

From-SVN: r26424
1999-04-13 16:02:20 -06:00
Donn Terry 3516940d2a config.guess (interix Alpha): Add.
* config.guess (interix Alpha): Add.

Co-Authored-By: Martin Heller <Ing.-Buero_Heller@t-online.de>

From-SVN: r26423
1999-04-13 15:55:39 -06:00
Mike Stump 5e37fb50c4 vxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.
* i386/vxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.
        (CPP_PREDEFINES, LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): likewise.

From-SVN: r26422
1999-04-13 15:30:32 -06:00
Jason Merrill e5dc5fb2a5 tree.c (cp_valid_lang_attribute): New fn.
* tree.c (cp_valid_lang_attribute): New fn.  Handle init_priority
	and com_interface.
	* cp-tree.h: Add prototype.
	* decl.c (init_decl_processing): Set valid_lang_attribute.

From-SVN: r26421
1999-04-13 17:28:25 -04:00
Mark Mitchell 1b8899d1a0 class.c (finish_struct_1): Look at the const-ness of the field's type...
* class.c (finish_struct_1): Look at the const-ness of the field's
	type, not the TREE_READONLY-ness of the declaration.
	* method.c (synthesize_method): Likewise.
	* pt.c (tsubst_decl): Call c_apply_type_quals_to_decl when
	creating new declarations.

From-SVN: r26420
1999-04-13 21:20:49 +00:00
Jason Merrill adfaf194f3 c-common.c (default_valid_lang_attribute): New fn.
* c-common.c (default_valid_lang_attribute): New fn.
	(valid_lang_attribute): New callback ptr.
	(decl_attributes): Call it.  Move init_priority support into
	C++ frontend.

From-SVN: r26419
1999-04-13 17:04:06 -04:00
Jeff Law b35a537483 Fix typo in ChangeLog.
From-SVN: r26418
1999-04-13 14:24:51 -06:00
Mike Stump 1ee1f3401e Fix up spelling and formatting.
From-SVN: r26417
1999-04-13 19:38:08 +00:00
Mike Stump 9c73ec8469 decl2.c (import_export_decl): Because vtables always reference virtual functions...
* decl2.c (import_export_decl): Because vtables always reference
	virtual functions, even if they are inlined, don't allow
	-fno-implement-inlines to not emit them, instead, emit them with
	the vtable.
	* decl.c (start_function): Likewise.
Fixes vtable1.C

From-SVN: r26416
1999-04-13 18:09:57 +00:00
John Wehle 63a4a903a7 John Wehle (john@feith.com)
John Wehle  (john@feith.com)
        * i386.md (movdi): Add splitter.

From-SVN: r26415
1999-04-13 10:47:40 -07:00
Jeff Law 15838c69df Revert one over-aggressive "0" -> "%%r0" conversion ;-)
From-SVN: r26414
1999-04-13 11:00:28 -06:00
Michael Hayes ebcc44f4ad c4x.md (storeqf_int, [...]): Add new patterns with corresponding splitters to handle moves of floating point...
* config/c4x/c4x.md (storeqf_int, storeqf_int_clobber, loadqf_int,
 	loadqf_int_clobber): Add new patterns with corresponding splitters
 	to handle moves of floating point values into and out of intager
 	registers by using memory.
	* config/c4x/c4x.c (c4x_check_legit_addr): Disallow PRE_INC for modes
	other than QFmode and QImode.
	(mixed_subreg_operand): New function.
	(c4x_emit_move_sequence): If moving a floating point value into or
	out of an integer register, use the new patterns storeqf_int_clobber
	or loadqf_int_clobber.
	(reg_imm_operand, *_reg_operand): Call reg_operand instead of
	register_operand.
	(reg_operand, src_operand): Disallow operand if it satisifes
	mixed_subreg_operand.
	* config/c4x/c4x.h (mixed_subreg_operand): Add prototype.

From-SVN: r26413
1999-04-13 15:38:12 +00:00
Jan Hubicka b985a30f32 Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz>
        * i386.c (agi_dependent): Handle push operation more correctly.

From-SVN: r26412
1999-04-13 07:50:49 -07:00
Jan Hubicka 6e383e6196 Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz>
        * i386.md (anddi3): Add % constraint.
        (iordi3, xordi3): Likewise.

From-SVN: r26411
1999-04-13 07:46:47 -07:00
Jan Hubicka 813d245a15 Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz>
        * i386.md (extendhisi2): Output mov instead of cw instruction for K6
        to improve decoding bandwidth.
        * i386.md (extendhiqi2): Likewise.

From-SVN: r26410
1999-04-13 07:43:53 -07:00
Jeffrey A Law 55abf18a77 pa.c: Avoid Using immediate zero for register zero.
* pa.c: Avoid Using immediate zero for register zero.
        * pa.md: Likewise.

From-SVN: r26409
1999-04-13 08:34:06 -06:00
Jan Hubicka f72b27a5f6 Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz>
        * i386.md (movsf_push): Handle memory to memory case too, new splitter.
        (movdf_push, movxf_push): Likewise.
        (movsf_push_memory, movdf_push_memory, movxf_push_memory): Remove.

From-SVN: r26408
1999-04-13 07:28:39 -07:00
Tom Tromey eba0e61dc2 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
	solaris-threads.h.

From-SVN: r26407
1999-04-13 14:28:15 +00:00
Jan Hubicka 0ffc4dca8e Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz>
        * i386.md: Do not output mov %0,reg on AMD K6.

From-SVN: r26406
1999-04-13 07:15:46 -07:00
Tom Tromey b81194219b natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on actual element type.
* java/lang/natSystem.cc (arraycopy): Don't always use jbyteArray;
	instead switch on actual element type.

From-SVN: r26405
1999-04-13 12:16:41 +00:00
Jeffrey A Law 3b5e5fb33f pa.c: Use a register name...
* pa.c: Use a register name, not a raw immediate in branch,
        compare/clear, sub, subb, uaddcm and vshd instructions.
        * pa.md: Likewise.

From-SVN: r26404
1999-04-13 06:10:07 -06:00
Jeffrey A Law f24d52e1ab pa.c: Use a register name, not a raw immediate in "bv" instructions.
* pa.c: Use a register name, not a raw immediate in "bv" instructions.
        * pa.md, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.

From-SVN: r26403
1999-04-13 05:31:35 -06:00
Tom Tromey 4ac19b2c16 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (AM_MAKEFLAGS): Added JC1FLAGS.

From-SVN: r26402
1999-04-13 10:54:14 +00:00
Dave Brolley 9e934a98fa cppinit.c (cpp_start_read): Fix buffer overwrite.
Tue Apr 13 12:14:07 1999  Dave Brolley  <brolley@cygnus.com>
	* cppinit.c (cpp_start_read): Fix buffer overwrite.
	* Makefile.in (cppinit.o): Typo in dependencies.

From-SVN: r26401
1999-04-13 05:43:28 -04:00
Andrew Haley a4e44caa6d i386-signal.h, [...]: New files.
1999-04-13  Andrew Haley  <aph@cygnus.com>
        * include/i386-signal.h, include/default-signal.h: New files.
        * prims.cc (catch_segv): Call MAKE_THROW_FRAME in exception
        handler.
        (catch_fpe): New function.
        * configure.in: Make link to appropriate include/java-signal.h.
        * configure: Rebuilt.
        * Makefile.am: include/java-signal.h added to dependency list.
        * Makefile.in: Rebuilt.

From-SVN: r26400
1999-04-13 09:18:09 +00:00