Commit Graph

40388 Commits

Author SHA1 Message Date
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
Bryce McKinlay 9fa5237cb7 natObject.cc (X86 compare_and_swap): Use +m constraint.
2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.

From-SVN: r49198
2002-01-25 02:53:37 +00:00
Hans-Peter Nilsson 6b016bf436 scanasm.exp (scan-assembler-dem, [...]): Remove first, non-varying, argument.
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not):
	Remove first, non-varying, argument.

From-SVN: r49197
2002-01-25 02:53:15 +00:00
Jason Thorpe b299a075f0 MAINTAINERS (Write After Approval): Move my contact info from here...
* MAINTAINERS (Write After Approval): Move my contact info
from here...
(OS Port Maintainers): ...to here (netbsd).

From-SVN: r49196
2002-01-24 22:25:17 +00:00
Andrew Pollard 17325050c2 ios_base.h: Use _Atomic_word for reference counts.
libstdc++/5432
	* include/bits/ios_base.h: Use _Atomic_word for reference counts.
	* include/bits/localefwd.h: Likewise.
	Also use for std::locale:🆔:_S_highwater.
	* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
	* src/locale.cc: Support new usage of _Atomic_word.
	(std::locale::classic): Guard entire function against reentry.
	* src/localename.cc: Support new usage of _Atomic_word.

From-SVN: r49195
2002-01-24 21:14:41 +00:00
Alexandre Oliva a4f76ef9f3 sh.md (sym_label2reg): Make sure all CONSTs have modes.
* config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
modes.

From-SVN: r49192
2002-01-24 20:52:10 +00:00
Benjamin Kosnik b6a95741e8 num_put_members_wchar_t.cc (test03): Use _GLIBCPP_HAVE_SETENV.
2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
	_GLIBCPP_HAVE_SETENV.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
	* testsuite/22_locale/collate_members_char.cc (test02): Same.
	* testsuite/22_locale/ctype_members_char.cc (test03): Same.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/messages_members_char.cc (test02): Same.
	* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
	* testsuite/22_locale/money_put_members_char.cc (test04): Same.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/num_get_members_char.cc (test03): Same.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
	* testsuite/22_locale/time_get_members_char.cc (test07): Same.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
	* testsuite/22_locale/time_put_members_char.cc (test03): Same.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/num_put_members_char.cc (test03): Same.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.

From-SVN: r49191
2002-01-24 20:46:34 +00:00
Per Bothner 054117f98d Improved ChangeLog entry for verify.cc (is_assignable_from_slow).
From-SVN: r49190
2002-01-24 12:10:17 -08:00
Per Bothner 7ac20fe4e7 verify.cc (is_assignable_from_slow): If source is an interface, we must also check the superclass.
* verify.cc (is_assignable_from_slow): If source is an interface,
	we must also check the superclass.

From-SVN: r49189
2002-01-24 12:02:21 -08:00
Kazu Hirata 9bf25b0910 h8300.c (print_operand): Remove support for operand character 'A'.
* config/h8300/h8300.c (print_operand): Remove support for
	operand character 'A'.
	* config/h8300/h8300.md (three anonymous patterns): Replace
	operand character 'A' with either 'T' or 'S'.

From-SVN: r49188
2002-01-24 19:48:53 +00:00
Kazu Hirata 974af6a594 h8300.c (print_operand): Remove support for operand character 'U'.
* config/h8300/h8300.c (print_operand): Remove support for
	operand character 'U'.

From-SVN: r49187
2002-01-24 19:42:39 +00:00
Andris Pavenis 7a5bb7b848 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
From-SVN: r49186
2002-01-24 13:05:40 -05:00
Tom Tromey d6c8012e6f * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
From-SVN: r49184
2002-01-24 16:44:37 +00:00
Nick Clifton 92a4639e2e Allow SImode values to be assigned to the stack pointer.
From-SVN: r49183
2002-01-24 16:27:51 +00:00
Hartmut Penner 467cb2da56 emit_rtl.c (gen_lowpart_common): Conversion from const_int to const_double needs to be done right for big-endian...
* emit_rtl.c (gen_lowpart_common): Conversion from const_int
        to const_double needs to be done right for big-endian systems.

From-SVN: r49180
2002-01-24 12:30:37 +00:00
Jason Merrill 3b6cb9200d sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal.
* config/sparc/sparc.md (call-jump peepholes): Pass the right insn
        to can_throw_internal.

From-SVN: r49177
2002-01-24 05:42:55 -05:00
GCC Administrator 9dcb193624 Daily bump.
From-SVN: r49175
2002-01-24 08:16:43 +00:00
Richard Henderson f3077311c4 fold-const.c (fold): Change UINT_MAX test to check vs precision rather than TYPE_MAX_VALUE.
* fold-const.c (fold): Change UINT_MAX test to check vs precision
        rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.

From-SVN: r49174
2002-01-23 23:36:18 -08:00
Loren J. Rittle ddd6960743 pthread1.cc: New test.
* testsuite/thread/pthread1.cc: New test.
	* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: New test adapted from
	http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
	* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
	* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.

From-SVN: r49173
2002-01-24 07:35:11 +00:00
Tom Tromey 619e2b8493 BorderLayout.java (addLayoutComponent): Added missing `else'.
* java/awt/BorderLayout.java (addLayoutComponent): Added missing
	`else'.

From-SVN: r49172
2002-01-24 06:39:29 +00:00
Tom Tromey 92bc8733c6 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new files.
	* java/awt/Toolkit.java: Merged with Classpath.
	* java/awt/PrintGraphics.java: New file from Classpath.
	* java/awt/PrintJob.java: New file from Classpath.
	* java/awt/datatransfer/Clipboard.java: New file from Classpath.
	* java/awt/datatransfer/ClipboardOwner.java: New file from
	Classpath.
	* java/awt/datatransfer/DataFlavor.java: New file from Classpath.
	* java/awt/datatransfer/FlavorMap.java: New file from Classpath.
	* java/awt/datatransfer/MimeTypeParseException.java: New file from
	Classpath.
	* java/awt/datatransfer/StringSelection.java: New file from
	Classpath.
	* java/awt/datatransfer/SystemFlavorMap.java: New file from
	Classpath.
	* java/awt/datatransfer/Transferable.java: New file from
	Classpath.
	* java/awt/datatransfer/UnsupportedFlavorException.java: New file
	from Classpath.

From-SVN: r49171
2002-01-24 06:31:02 +00:00
Alexandre Oliva e1d7127573 sh.md (symGOT_load, [...]): New expands.
* config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
(symGOT2reg): Use them, then set as GOT value as unchanging.
(symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
as a temporary, if possible.
(symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).

From-SVN: r49170
2002-01-24 06:16:58 +00:00
Tom Tromey f7b54dea72 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new files.
	* java/awt/image/AreaAveragingScaleFilter.java: New file from
	Classpath.
	* java/awt/image/CropImageFilter.java: New file from Classpath.
	* java/awt/image/FilteredImageSource.java: New file from
	Classpath.
	* java/awt/image/ImageFilter.java: New file from Classpath.
	* java/awt/image/MemoryImageSource.java: New file from Classpath.
	* java/awt/image/PixelGrabber.java: New file from Classpath.
	* java/awt/image/RGBImageFilter.java: New file from Classpath.
	* java/awt/image/ReplicateScaleFilter.java: New file from
	Classpath.
	* java/awt/image/ImageProducer.java: Replaced with Classpath
	version.
	* java/awt/image/ImageObserver.java: Replaced with Classpath
	version.
	* java/awt/image/ImageConsumer.java: Replaced with Classpath
	version.
	* java/awt/GridBagConstraints.java (clone): Catch
	CloneNotSupportedException.

From-SVN: r49169
2002-01-24 05:51:34 +00:00
Kazu Hirata dc271dbeb9 h8300.md: Fix xorqi and xorqi so that they will accept to accept 0x80 as operands[2].
* config/h8300/h8300.md: Fix xorqi and xorqi so that they will
	accept to accept 0x80 as operands[2].

From-SVN: r49168
2002-01-24 05:02:35 +00:00
Alexandre Oliva 1a9017f94e * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
From-SVN: r49167
2002-01-24 04:42:12 +00:00