Commit Graph

40562 Commits

Author SHA1 Message Date
Richard Henderson
cea3bd3e5a Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
	(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
	* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
	crtstuff.c instead of alpha assembly version.
	* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
	entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
	not FORCE_{INIT,FINI}_SECTION_ALIGN.
	(__do_global_dtors_aux): Mark used.
	(frame_dummy, __do_global_ctors_aux): Mark used.
	(fini_dummy, init_dummy): Remove.

	* config/alpha/crtbegin.asm: Remove file.
	* config/alpha/crtend.asm: Remove file.
	* config/alpha/t-crtbe: Remove file.
	* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
	(LINK_EH_SPEC): New.

	* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
	FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
	calling constructors.
	* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.

	* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
	* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
	CRT_END_INIT_DUMMY hack.
	* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
	FORCE_{INIT,FINI}_SECTION_ALIGN.

	* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
	FORCE_{INIT,FINI}_SECTION_ALIGN.

	* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
	invocation sequence.
	* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.

	* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
	(FORCE_CODE_SECTION_ALIGN): New.

From-SVN: r49261
2002-01-26 20:18:12 -08:00
Richard Henderson
1f9131b7db Update copyright.
From-SVN: r49260
2002-01-26 19:44:58 -08:00
Richard Henderson
60ffa0e5ba * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
From-SVN: r49259
2002-01-26 19:42:07 -08:00
Jason Thorpe
51584787e0 configure.in (*-*-netbsd*): New.
* configure.in (*-*-netbsd*): New.  Skip target-newlib,
target-libiberty, and target-libgloss.  Skip Java-related
libraries if not supported for NetBSD on target CPU.

From-SVN: r49258
2002-01-27 02:41:37 +00:00
David Billinghurst
1bf8640cba f77-edit-i-in.f: New test
2002-01-26  David Billinghurst  <David.Billinghurst@riotinto.com>

	* g77.dg/f77-edit-i-in.f: New test
	* g77.dg/f77-edit-i-out.f: New test

From-SVN: r49257
2002-01-27 01:39:36 +00:00
Richard Henderson
61334ebeff alpha.c (alpha_sa_mask): Mark RA for unicos here too.
* config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
        (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.

From-SVN: r49256
2002-01-26 16:38:07 -08:00
Kazu Hirata
1d788fb684 h8300.md: Remove bit extraction patterns that cannot be triggered.
* config/h8300/h8300.md: Remove bit extraction patterns that
	cannot be triggered.
	Restrict each bit extraction pattern to a variant on which the
	pattern is tested.

From-SVN: r49253
2002-01-26 21:31:04 +00:00
Joseph Myers
87611f881e * doc/include/texinfo.tex: Update to version 2002-01-04.07.
From-SVN: r49249
2002-01-26 19:21:02 +00:00
Toon Moene
892c8ea0fa intrin.c (ffeintrin_cmp_name_): Correct comparison for intrinsics in intrinsic table (intrin.def).
2002-01-26  Toon Moene  <toon@moene.indiv.nluug.nl>

	* intrin.c (ffeintrin_cmp_name_): Correct comparison
	for intrinsics in intrinsic table (intrin.def).

From-SVN: r49248
2002-01-26 16:14:39 +00:00
Kazu Hirata
cd74ec597b h8300.md: Remove bit test patterns that cannot be triggered.
* config/h8300/h8300.md: Remove bit test patterns that cannot
	be triggered.
	Restrict each bit test pattern to a variant on which the
	pattern is tested.

From-SVN: r49247
2002-01-26 15:29:52 +00:00
Kaveh R. Ghazi
93051e0f93 builtins.c (expand_builtin_strncat): Remove redundant check for INTEGER_CST.
* builtins.c (expand_builtin_strncat): Remove redundant check for
	INTEGER_CST.

From-SVN: r49246
2002-01-26 14:47:12 +00:00
Bryce McKinlay
2198265a72 MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove empty "if" statement to work around compiler bug.
* java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
        int, int):  Remove empty "if" statement to work around compiler bug.
        (newPixels(int[], ColorModel, int, int): Likewise.

From-SVN: r49245
2002-01-26 08:35:34 +00:00
GCC Administrator
f478b973d6 Daily bump.
From-SVN: r49243
2002-01-26 08:16:14 +00:00
David O'Brien
216c995f35 x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide default setting.
2002-01-25  David O'Brien  <obrien@FreeBSD.org>
	* config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
	default setting.
	* config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
	existing setting.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020125174510.C18589@redhat.com>

From-SVN: r49242
2002-01-26 07:24:57 +00:00
Per Bothner
f24e160adc ChangeLog entry for verify.cc.
From-SVN: r49241
2002-01-25 22:33:31 -08:00
Per Bothner
f70443f75c verify.cc (verify_fail): Change from being a top-level function to e method of _Jv_BytecodeVerifier.
* verify.cc (verify_fail):  Change from being a top-level function
	to e method of _Jv_BytecodeVerifier.  Emit current method name.
	Pass the current verifier to type: and state: methods as needed,
	for better error messages, and for resolve.
	(resolve):  Pass current class's loader for Class.forName and
	_Jv_FindClassFromSignature, rather than using the default loader.
	(various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
	(get_type_val_for_signature):  Make non-static.
	(various methods):  Pass start_PC implicitly, not explicitly.

From-SVN: r49240
2002-01-25 22:32:55 -08:00
Loren J. Rittle
63b3a44f03 pthread1.cc: Use one condition variable per predicate instead of tricky use of one condition...
* testsuite/thread/pthread1.cc: Use one condition variable
        per predicate instead of tricky use of one condition variable.

From-SVN: r49239
2002-01-26 03:26:14 +00:00
Geoffrey Keating
33c7f925c6 Index: gcc/ChangeLog
* dbxout.c (dbxout_init): Use assemble_name rather than just
	stripping off the first character.
	(dbxout_source_file): Likewise.

Index: gcc/testsuite/ChangeLog

	* gcc.dg/debug/debug.exp: New file.
        * gcc.dg/debug/trivial.c: New file.
        * gcc.dg/debug/20000503-1.c: Moved from gcc.dg/.
        * gcc.dg/debug/20010207-1.c: Moved from gcc.dg/.
        * gcc.dg/debug/20011223-1.c: Moved from gcc.dg/.
        * gcc.dg/debug/20020104-2.c: Moved from gcc.dg/.
        * gcc.dg/debug/debug-1.c: Moved from gcc.dg/.
        * gcc.dg/debug/debug-2.c: Moved from gcc.dg/.
        * gcc.dg/debug/debug-3.c: Moved from gcc.dg/.
        * gcc.dg/debug/debug-4.c: Moved from gcc.dg/.
        * gcc.dg/debug/debug-5.c: Moved from gcc.dg/.
        * gcc.dg/debug/debug-6.c: Moved from gcc.dg/.
        * gcc.dg/debug/dwarf2-1.c: Moved from gcc.dg/.
        * gcc.dg/debug/dwarf2-2.c: Moved from gcc.dg/.
        * gcc.dg/20000503-1.c: Removed.
        * gcc.dg/20010207-1.c: Removed.
        * gcc.dg/20011223-1.c: Removed.
        * gcc.dg/20020104-2.c: Removed.
        * gcc.dg/debug-1.c: Removed.
        * gcc.dg/debug-2.c: Removed.
        * gcc.dg/debug-3.c: Removed.
        * gcc.dg/debug-4.c: Removed.
        * gcc.dg/debug-5.c: Removed.
        * gcc.dg/debug-6.c: Removed.
        * gcc.dg/dwarf2-1.c: Removed.
        * gcc.dg/dwarf2-2.c: Removed.

From-SVN: r49238
2002-01-26 02:38:57 +00:00
DJ Delorie
6cd444b4e0 sparc.c (sparc_emit_set_symbolic_const64): Compare using rtx_equal_p, not by comparing pointers.
* config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
using rtx_equal_p, not by comparing pointers.

From-SVN: r49237
2002-01-25 21:09:02 -05:00
Benjamin Kosnik
e67051746f fstream.tcc (filebuf::close()): Fix close for input streams.
2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/fstream.tcc (filebuf::close()): Fix close for input
	streams.
	(filebuf::_M_really_overflow): Match indeterminate and sync calls.
	* testsuite/27_io/filebuf.cc: Compile only.
	* testsuite/27_io/filebuf_members.cc: Move tests to here.
	* testsuite/27_io/filebuf_virtuals.cc: And here.
	Revert sungetc, sync changes for expected values.
	* testsuite/27_io/filebuf-*: Move to...
	* testsuite/27_io/filebuf_virtuals-*: ...here.
	* testsuite/27_io/istream.cc: Compile only, activate.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/iostream.cc: New.
	* testsuite/27_io/iostream_members.cc: New.

From-SVN: r49236
2002-01-26 01:55:09 +00:00
Steve Ellcey
751551d5c6 emit-rtl.c (gen_rtx_REG): Always return the same rtx for PIC_OFFSET_TABLE_REGNUM.
* emit-rtl.c (gen_rtx_REG): Always return the same rtx
        for PIC_OFFSET_TABLE_REGNUM.
        (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.

From-SVN: r49234
2002-01-25 17:29:55 -08:00
David O'Brien
e564e61805 config.gcc (x86_64-*-freebsd*): New target.
2002-01-25  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (x86_64-*-freebsd*): New target.
	(x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
	value.
	(i[34567]86-*-freebsd*): Don't include svr4.h.
	* config/i386/freebsd64.h: New file.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020125160119.B17943@redhat.com>

From-SVN: r49233
2002-01-26 01:23:27 +00:00
Douglas B Rupp
4857d29d81 x-vms (version): Make static.
* config/alpha/x-vms (version): Make static.

	* config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
	in previous checkin.

From-SVN: r49230
2002-01-25 18:49:58 -05:00
Douglas B Rupp
ff3aaf1732 Makefile.in (install-headers-cp): New target.
* Makefile.in (install-headers-cp): New target.
	* config.gcc (alpha-dec-*vms*): Install headers with
	install-headers-cp

From-SVN: r49229
2002-01-25 18:46:14 -05:00
Douglas B Rupp
5701d273b0 * install-sh: Use _inst.$$_ for temp file name.
From-SVN: r49228
2002-01-25 18:42:28 -05:00
Gerald Pfeifer
66b8f5d7a8 gennews (files): Replace gcc-2.95/gcc-2.95.html...
* gennews (files): Replace gcc-2.95/gcc-2.95.html,
	gcc-2.95/gcc-2.95.1.html, gcc-2.95/gcc-2.95.2.html,
	and gcc-2.95/gcc-2.95.3.html by gcc-2.95/index.html.

From-SVN: r49226
2002-01-25 23:27:45 +00:00
Jan Hubicka
48d79c431e unroll.c (unroll_loop): Lower final_value to nonmemory operand; avoid it's copies.
* unroll.c (unroll_loop): Lower final_value to nonmemory operand;
	avoid it's copies.

From-SVN: r49224
2002-01-25 21:46:07 +00:00
Richard Kenner
995b590439 builtins.c (expand_builtin_strncpy): Use integer_zerop instead of compare_tree_int.
* builtins.c (expand_builtin_strncpy): Use integer_zerop instead
	of compare_tree_int.
	(expand_builtin_strncat): Likewise.
	* c-decl.c (finish_struct): Use tree_low_cst.
	* tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
	* tree.c (compare_tree_int): Likewise.

From-SVN: r49222
2002-01-25 15:45:48 -05:00
Ulrich Weigand
75eefe3fe0 reload1.c (eliminate_regs_in_insn): Recognize frame pointer adjustments even if...
* reload1.c (eliminate_regs_in_insn): Recognize frame pointer
adjustments even if they are implemented by more than two insns.

From-SVN: r49221
2002-01-25 20:22:31 +00:00
Jan Hubicka
5a133afd40 df.c (df_ref_create, [...]): Kill BB argument.
* df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB argument.
	* df.h (struct ref): Kill B.
	(DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.

	* basic-block.h (PROP_EQUAL_NOTES): New flag.
	* flow.c (propagate_one_insn): Use it.
	(mark_used_regs): Handle NIL.

From-SVN: r49220
2002-01-25 19:46:43 +00:00
Geoffrey Keating
3d8dd3c051 stormy16.md (tablejump_pcrel): Use a MEM to help folding.
* config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
	to help folding.

From-SVN: r49219
2002-01-25 18:20:27 +00:00
David Edelsohn
6cb3421f1f gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
* include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
	* include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
	Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
	DATASTART and DATAEND roots.
	* rs6000_mach_dep.s: Add function descriptor and traceback table.

From-SVN: r49218
2002-01-25 13:06:24 -05:00
David Edelsohn
01a2ccd010 rs6000.md (prefetch): Make address V4SI mode so that the address is restricted to legitimate form for...
* rs6000.md (prefetch): Make address V4SI mode so that the address
        is restricted to legitimate form for instruction.

From-SVN: r49217
2002-01-25 12:52:43 -05:00
Tom Tromey
2fb4e07f24 FlowLayout.java (layoutContainer): Correctly compute loop termination condition.
* java/awt/FlowLayout.java (layoutContainer): Correctly compute
	loop termination condition.
	* java/awt/GridLayout.java (getSize): Use `real_cols' to compute
	width.

From-SVN: r49216
2002-01-25 17:25:26 +00:00
Bob Wilson
fd29f6eae8 install.texi (xtensa-*-elf): New target.
* doc/install.texi (xtensa-*-elf): New target.
	(xtensa-*-linux*): New target.
	* doc/contrib.texi: Add myself.

From-SVN: r49215
2002-01-25 17:10:46 +00:00
David Billinghurst
a68d024dfc pthread1.cc: Enable on cygwin.
* testsuite/thread/pthread1.cc: Enable on cygwin.
	* testsuite/thread/pthread2.cc: Likewise.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: Likewise.
	* testsuite/thread/pthread5.cc: Likewise.
	* testsuite/thread/pthread6.cc: Likewise.

From-SVN: r49214
2002-01-25 16:05:48 +00:00
Nick Clifton
55492b32d7 Allow any general purpose register to hold an SImode (or smaller) value.
From-SVN: r49213
2002-01-25 11:44:12 +00:00
Jakub Jelinek
72c7c913b4 unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* registry only.
* unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
	registry only.
	* crtstuff.c: Likewise.

From-SVN: r49212
2002-01-25 12:22:52 +01:00
Jakub Jelinek
1658df0aca eh5.C: New test.
* g++.old-deja/g++.other/eh5.C: New test.
	* g++.old-deja/g++.other/sibcall2.C: New test.
	* g++.old-deja/g++.other/array9.C: New test.
	* g++.old-deja/g++.other/typename2.C: New test.
	* g++.old-deja/g++.other/crash60.C: New test.
	* g++.old-deja/g++.other/conv9.C: New test.
	* g++.old-deja/g++.other/mangle10.C: New test.
	* g++.old-deja/g++.other/unchanging1.C: New test.
	* g++.old-deja/g++.other/exprstmt1.C: New test.
	* g++.old-deja/g++.other/inline23.C: New test.
	* g++.old-deja/g++.eh/ia64-1.C: New test.
	* g++.old-deja/g++.other/dwarf2-1.C: New test.
	* g++.old-deja/g++.other/mangle11.C: New test.
	* g++.old-deja/g++.other/reload1.C: New test.
	* g++.old-deja/g++.other/static20.C: New test.
	* g++.old-deja/g++.other/local-alloc1.C: New test.
	* g++.old-deja/g++.other/conv8.C: New test.
	* g++.old-deja/g++.other/stmtexpr2.C: New test.
	* g++.old-deja/g++.other/storeexpr1.C: New test.
	* g++.old-deja/g++.other/storeexpr2.C: New test.
	* g++.dg/eh/template2.C: New test.
	* g++.dg/warn/weak1.C: New test.

From-SVN: r49211
2002-01-25 12:20:29 +01:00
GCC Administrator
b5b59800c2 Daily bump.
From-SVN: r49210
2002-01-25 08:16:44 +00:00
Tom Tromey
02ad93a608 Shape.java: Merged with Classpath.
* java/awt/Shape.java: Merged with Classpath.
	* java/awt/Scrollbar.java: Merged with Classpath.

From-SVN: r49208
2002-01-25 07:06:06 +00:00
Tom Tromey
17af0664ba Updated copyright date
From-SVN: r49207
2002-01-25 07:05:38 +00:00
Tom Tromey
0983da5b0f Container.java (addNotify): Unconditionally call addNotifyContainerChildren and superclass addNotify.
* java/awt/Container.java (addNotify): Unconditionally call
	addNotifyContainerChildren and superclass addNotify.

From-SVN: r49206
2002-01-25 07:04:06 +00:00
Benjamin Kosnik
3a9ebf3ced ostream_inserter_char.cc (test07): New.
2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/27_io/ostream_inserter_char.cc (test07): New.

2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
	const, tweak.
	(basic_ios::fill(char_type)): Use fill().
	* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
	(basic_ios::narrow): Same.
	(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
	if they are invalid.
	(basic_ios::init): Comment.
	* testsuite/27_io/ios_init.cc (test02): New.

From-SVN: r49205
2002-01-25 06:36:32 +00:00
Kazu Hirata
c4df4ceb84 h8300.md (negation patterns): Tighten predicates to register_operand.
* config/h8300/h8300.md (negation patterns): Tighten
	predicates to register_operand.

From-SVN: r49204
2002-01-25 06:12:28 +00:00
Tom Tromey
8c77cda54f ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue.
* java/awt/image/ColorModel.java (getAlpha(Object)): Call
	getAlpha, not getBlue.

From-SVN: r49203
2002-01-25 05:44:03 +00:00
Bryce McKinlay
974bbe9ffe Fix up last entry.
From-SVN: r49202
2002-01-25 04:42:12 +00:00
Bryce McKinlay
30ed0c4529 PixelGrabber.java (grabPixels()): Call grabPixels(0).
* java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
	* java/awt/image/PixelGrabber.java (grabPixels(long)): Wait to be
	notified that the ImageProducer has completed.

From-SVN: r49201
2002-01-25 04:39:04 +00:00
Aldy Hernandez
70e531f52e loop.c (emit_prefetch_instructions): Use the prefetch insn's mode, not Pmode.
2002-01-24  Aldy Hernandez  <aldyh@redhat.com>

        * loop.c (emit_prefetch_instructions): Use the prefetch insn's
        mode, not Pmode.

        * builtins.c (expand_builtin_prefetch): Same.

From-SVN: r49200
2002-01-25 04:32:46 +00:00
Phil Edwards
6b20f9b59a stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2002-01-24  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
	* include/bits/stl_algo.h:  Include stl_tempbuf.h.
	* include/ext/memory:  Do not include stl_tempbuf.h.
	(temporary_buffer):  Add doxygen hook.
	(__get_temporary_buffer, get_temporary_buffer,
	return_temporary_buffer):  Move back to std:: header...
	* include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
	* include/ext/rope:  Do not include stl_tempbuf.h.
	* include/ext/stl_hashtable.h:  Likewise.
	* include/std/std_algorithm.h:  Likewise.
	* testsuite/20_util/temporary_buffer.cc:  New file.

From-SVN: r49199
2002-01-25 04:14:40 +00:00