Richard Henderson [Thu, 24 Jan 2002 01:31:13 +0000 (17:31 -0800)]
re PR libstdc++/5198 (3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc)
PR libstdc++/5198
* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
CAS on the cpu variants that support it. Add versions that use
TAS and that disable interrupts.
(__atomic_add): Use __exchange_and_add to guarantee atomicity.
From-SVN: r49160
Richard Henderson [Thu, 24 Jan 2002 01:21:48 +0000 (17:21 -0800)]
t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
* config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
(MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
(MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
* config/m68k/t-m68kelf: Likewise.
From-SVN: r49159
Richard Henderson [Thu, 24 Jan 2002 01:16:23 +0000 (17:16 -0800)]
* expr.c (move_by_pieces_1): Extend size before negation.
From-SVN: r49158
Tom Tromey [Thu, 24 Jan 2002 01:05:12 +0000 (01:05 +0000)]
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: r49157
Benjamin Kosnik [Wed, 23 Jan 2002 23:35:18 +0000 (23:35 +0000)]
[multiple changes]
2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
* include/bits/locale_facets.tcc: Remove old comments.
2002-01-23 Andreas Tobler <toa@pop.agri.ch>
* include/bits/locale_facets.tcc (__convert_to_v): Change template
parameter to _Tv.
(__convert_from_v): Same.
From-SVN: r49156
Bob Wilson [Wed, 23 Jan 2002 21:03:53 +0000 (21:03 +0000)]
elf.h: New file.
* config/xtensa/elf.h: New file.
* config/xtensa/lib1funcs.asm: New file.
* config/xtensa/lib2funcs.S: New file.
* config/xtensa/linux.h: New file.
* config/xtensa/t-xtensa: New file.
* config/xtensa/xtensa-config.h: New file.
* config/xtensa/xtensa-protos.h: New file.
* config/xtensa/xtensa.c: New file.
* config/xtensa/xtensa.h: New file.
* config/xtensa/xtensa.md: New file.
* config.gcc (xtensa-*-elf*): New target.
(xtensa-*-linux*): New target.
* cse.c (canon_hash): Compare rtx pointers instead of register
numbers. This is required for the Xtensa port.
* integrate.c (copy_insn_list): Handle case where the static
chain is in memory and the memory address has to be copied to
a register.
* doc/invoke.texi (Option Summary): Add Xtensa options.
(Xtensa Options): New node.
* doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
* gcc.c-torture/compile/
20001226-1.x: xfail for Xtensa.
From-SVN: r49155
Benjamin Kosnik [Wed, 23 Jan 2002 20:38:59 +0000 (20:38 +0000)]
locale_facets.h (num_get::_M_extract_int): Change prototype.
2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (num_get::_M_extract_int): Change
prototype.
* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
__max_digits checks, adjust arguments.
(num_get::do_get(*)): Changeup.
From-SVN: r49154
Per Bothner [Wed, 23 Jan 2002 19:42:18 +0000 (11:42 -0800)]
natField.cc (setAddr): New function.
* java/lang/reflect/natField.cc (setAddr): New function.
Calls getAddr and then checks that the field isn't final.
(setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
(set): Call setAddr before check that new value has right type,
to better match specified semantics.
From-SVN: r49153
Zack Weinberg [Wed, 23 Jan 2002 19:41:15 +0000 (19:41 +0000)]
typeck2.c (friendly_abort): Delete definition.
* typeck2.c (friendly_abort): Delete definition.
* cp-tree.h (friendly_abort): Don't prototype.
(my_friendly_assert): Use fancy_abort.
From-SVN: r49152
Zack Weinberg [Wed, 23 Jan 2002 19:34:08 +0000 (19:34 +0000)]
diagnostic.c (internal_error): Do ICE suppression only when ENABLE_CHECKING is not defined.
* diagnostic.c (internal_error): Do ICE suppression only
when ENABLE_CHECKING is not defined.
From-SVN: r49151
Zack Weinberg [Wed, 23 Jan 2002 19:30:49 +0000 (19:30 +0000)]
c-typeck.c (require_complete_type): Return error_mark_node if type is error_mark_node.
* c-typeck.c (require_complete_type): Return error_mark_node
if type is error_mark_node.
From-SVN: r49150
Craig Rodrigues [Wed, 23 Jan 2002 19:07:26 +0000 (19:07 +0000)]
cp-tree.h (my_friendly_abort): Remove.
2002-01-23 Craig Rodrigues <rodrigc@gcc.gnu.org>
* cp-tree.h (my_friendly_abort): Remove.
From-SVN: r49149
Janis Johnson [Wed, 23 Jan 2002 18:54:27 +0000 (18:54 +0000)]
* gcc.dg/
20020122-3.c: New test.
From-SVN: r49148
Jakub Jelinek [Wed, 23 Jan 2002 18:52:08 +0000 (19:52 +0100)]
spew.c (pending_inlines, [...]): Make static.
* spew.c (pending_inlines, pending_inlines_tail,
processing_these_inlines): Make static.
(mark_pending_inlines): Remove static.
(begin_parsing_inclass_inline): If in function, save pi
for GC to cp_function_chain->unparsed_inlines instead.
(process_next_inline): Likewise.
* cp-tree.h (struct cp_language_function): Add unparsed_inlines.
(mark_pending_inlines): Add prototype.
* decl.c (spew_debug): Remove unused extern.
(mark_lang_function): Call mark_pending_inlines.
* g++.dg/other/gc1.C: New test.
From-SVN: r49147
Janis Johnson [Wed, 23 Jan 2002 18:48:13 +0000 (18:48 +0000)]
toplev.c (process_options): Disable -fprefetch-loop-arrays with -Os and issue a warning.
* toplev.c (process_options): Disable -fprefetch-loop-arrays with
-Os and issue a warning.
From-SVN: r49146
Philipp Thomas [Wed, 23 Jan 2002 18:32:23 +0000 (18:32 +0000)]
tr.po: New file.
2002-01-23 Philipp Thomas <pthomas@suse.de>
* tr.po: New file.
From-SVN: r49145
Zack Weinberg [Wed, 23 Jan 2002 18:12:37 +0000 (18:12 +0000)]
* gcc.dg/c99-intconst-1.c: Mark XFAIL.
From-SVN: r49143
Zack Weinberg [Wed, 23 Jan 2002 17:30:28 +0000 (17:30 +0000)]
fragments.texi, [...]: Update to reflect current (lack of) need for host configuration by hand.
* doc/fragments.texi, doc/hostconfig.texi: Update to reflect
current (lack of) need for host configuration by hand.
* doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
references. Documentation of some target macros moved from
hostconfig.texi to tm.texi.
From-SVN: r49142
Loren J. Rittle [Wed, 23 Jan 2002 16:20:46 +0000 (16:20 +0000)]
* config/locale/c_locale_generic.cc: Fix typename usage.
From-SVN: r49141
Will Cohen [Wed, 23 Jan 2002 14:46:43 +0000 (14:46 +0000)]
arm.h (THUMB_FUNCTION_PROFILER): Define if not currently defined.
* config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
defined.
From-SVN: r49140
Craig Rodrigues [Wed, 23 Jan 2002 14:26:07 +0000 (14:26 +0000)]
call.c, [...]: Change my_fancy_abort() to abort().
2002-01-23 Craig Rodrigues <rodrigc@gcc.gnu.org>
* call.c, class.c, decl.c, decl2.c, error.c, expr.c, friend.c,
init.c, lex.c, mangle.c, method.c, pt.c, repo.c, rtti.c, search.c,
semantics.c, spew.c, tree.c, typeck.c, typeck2.c, xref.c:
Change my_fancy_abort() to abort().
From-SVN: r49139
Kazu Hirata [Wed, 23 Jan 2002 14:24:23 +0000 (14:24 +0000)]
h8300.md (*andorhi3): Accept 0x8000 as an operand[3].
* config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
operand[3].
From-SVN: r49138
Jason Merrill [Wed, 23 Jan 2002 12:49:48 +0000 (07:49 -0500)]
re PR c++/5453 (Compiled program crash - inheritance/template/friend class problem)
PR c++/5453
* class.c (fixed_type_or_null): Fix thinko.
From-SVN: r49135
Jason Merrill [Wed, 23 Jan 2002 12:49:12 +0000 (07:49 -0500)]
re PR c++/3331 (member pointer inherits const)
PR c++/3331
* init.c (resolve_offset_ref): Use build_indirect_ref.
[[Split portion of a mixed commit.]]
From-SVN: r49134.2
Jason Merrill [Wed, 23 Jan 2002 12:45:30 +0000 (07:45 -0500)]
re PR c++/5453 (Compiled program crash - inheritance/template/friend class problem)
PR c++/5453
* class.c (fixed_type_or_null): Fix thinko.
From-SVN: r49133
Jason Merrill [Wed, 23 Jan 2002 12:44:45 +0000 (07:44 -0500)]
re PR c++/3331 (member pointer inherits const)
* tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
PR c++/3331
* cp/init.c (resolve_offset_ref): Use build_indirect_ref.
From-SVN: r49132
Jason Merrill [Wed, 23 Jan 2002 12:39:30 +0000 (07:39 -0500)]
function.c (assign_parms): Don't put args of inline functions into registers when not optimizing.
* function.c (assign_parms): Don't put args of inline functions
into registers when not optimizing.
* cp/decl2.c (grokclassfn): Don't set DECL_REGISTER on 'this'.
From-SVN: r49131
Nick Clifton [Wed, 23 Jan 2002 11:04:56 +0000 (11:04 +0000)]
Use an UNSPEC instead of a USE to prevent prologue/epilogue insns from being
deleted.
From-SVN: r49130
Hans-Peter Nilsson [Wed, 23 Jan 2002 09:50:39 +0000 (09:50 +0000)]
* loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
From-SVN: r49129
GCC Administrator [Wed, 23 Jan 2002 08:16:33 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49127
Neil Booth [Wed, 23 Jan 2002 07:51:16 +0000 (07:51 +0000)]
re PR c/3504 (__alignof__ not working correctly)
PR c/3504
* doc/extend.texi: Correct documentation of __alignof__.
From-SVN: r49126
Benjamin Kosnik [Wed, 23 Jan 2002 03:50:49 +0000 (03:50 +0000)]
c_locale_generic.cc: Fix.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_generic.cc: Fix.
From-SVN: r49125
Zack Weinberg [Wed, 23 Jan 2002 03:41:30 +0000 (03:41 +0000)]
* gcc.pot: Regenerate - now includes Fortran error messages.
From-SVN: r49124
Zack Weinberg [Wed, 23 Jan 2002 03:01:53 +0000 (03:01 +0000)]
bad.c: Include intl.h.
* bad.c: Include intl.h.
(FFEBAD_MSGS1, FFEBAD_MSGS2): Replace by FFEBAD_MSG, SHORT,
LONG. Adjust definitions to work with exgettext.
(ffebad_start_): Translate all error messages.
(ffebad_finish): Mark constant strings for translation.
* bad.h: Use FFEBAD_MSG. Adjust prototype of ffebad_start_
and definitions of ffebad_start_msg, ffebad_start_msg_lex to
work with exgettext.
* bad.def: Use FFEBAD_MSG, SHORT, LONG throughout.
* com.c: Include intl.h.
(lang_print_error_function): Always use ffeinfo_kind_message
to get the kind label for a non-nested construct. Translate
it. Translate constant strings.
* info.c (FFEINFO_KIND): Adjust definition to work with exgettext.
* info-k.def: Block xgettext from slurping copyright notice
into gcc.pot. Adjust strings for their sole use, in com.c.
* Make-lang.in (f/bad.o, f/com.o): Depend on intl.h.
From-SVN: r49123
Zack Weinberg [Wed, 23 Jan 2002 02:57:04 +0000 (02:57 +0000)]
params.h: Rename arguments of DEFPARAM so that it will be recognized as a translation keyword.
* params.h: Rename arguments of DEFPARAM so that it will be
recognized as a translation keyword.
From-SVN: r49122
Zack Weinberg [Wed, 23 Jan 2002 02:55:20 +0000 (02:55 +0000)]
exgettext: Merge changes from diffutils.
* exgettext: Merge changes from diffutils. Scan .def files in
addition to .c and .h. Add --language=c to xgettext command line.
From-SVN: r49121
Aldy Hernandez [Wed, 23 Jan 2002 02:10:39 +0000 (02:10 +0000)]
extend.texi: Document altivec functions.
2002-01-22 Aldy Hernandez <aldyh@redhat.com>
* extend.texi: Document altivec functions.
Fix *-bit adjectives in X86 builtin documentation.
From-SVN: r49120
Benjamin Kosnik [Wed, 23 Jan 2002 02:02:21 +0000 (02:02 +0000)]
messages.html: Remove angle brackets.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/22_locale/messages.html: Remove angle brackets.
* docs/html/17_intro/TODO: Add.
From-SVN: r49119
Alexandre Oliva [Wed, 23 Jan 2002 01:56:22 +0000 (01:56 +0000)]
reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and auto_inc_dec values.
* reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
auto_inc_dec values.
From-SVN: r49118
Richard Earnshaw [Wed, 23 Jan 2002 01:17:51 +0000 (01:17 +0000)]
netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space after backslash.
* config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
after backslash.
(ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
From-SVN: r49117
Paolo Carlini [Wed, 23 Jan 2002 01:12:10 +0000 (02:12 +0100)]
ios_manip_basefield.cc: Enable test02.
2002-01-22 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
* testsuite/27_io/ostream_inserter_other.cc: Enable test04.
From-SVN: r49116
Alexandre Oliva [Wed, 23 Jan 2002 00:56:28 +0000 (00:56 +0000)]
* config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
From-SVN: r49115
Richard Henderson [Wed, 23 Jan 2002 00:39:51 +0000 (16:39 -0800)]
alpha.c (split_small_symbolic_mem_operand): Use copy_insn not copy_rtx.
* config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
copy_insn not copy_rtx.
* gcc.dg/
20020122-4.c: Use multiple outputs on the asm.
From-SVN: r49114
Tom Tromey [Wed, 23 Jan 2002 00:07:39 +0000 (00:07 +0000)]
TextField.java: Replaced with Classpath version.
* java/awt/TextField.java: Replaced with Classpath version.
* java/awt/TextArea.java: Replaced with Classpath version.
* java/awt/TextComponent.java: Replaced with Classpath version.
From-SVN: r49113
Alan Modra [Tue, 22 Jan 2002 23:42:07 +0000 (23:42 +0000)]
combine.c (simplify_and_const_int): Don't trunc_int_for_mode "nonzero" as that might add "1" bits.
* combine.c (simplify_and_const_int): Don't trunc_int_for_mode
"nonzero" as that might add "1" bits. Ensure "constop" is
properly sign extened.
(force_to_mode): Tweak for sign extended constop.
From-SVN: r49112
Richard Henderson [Tue, 22 Jan 2002 23:23:46 +0000 (15:23 -0800)]
* config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
for_each_rtx instead of assuming we're already looking at the MEM.
(split_small_symbolic_mem_operand): Likewise.
* config/alpha/alpha.h (PREDICATE_CODES): Update.
* config/alpha/alpha.md (small symbolic memory splitters): Update.
* gcc.dg/
20020122-4.c: New.
From-SVN: r49111
Richard Henderson [Tue, 22 Jan 2002 23:13:58 +0000 (15:13 -0800)]
alpha.md (divmodsi_internal_er): Generate lituse sequence number for the literal.
* config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
sequence number for the literal.
(divmoddi_internal_er): Likewise.
From-SVN: r49110
Tom Tromey [Tue, 22 Jan 2002 23:11:30 +0000 (23:11 +0000)]
* java/awt/GridBagConstraints.java: Updated copyright.
From-SVN: r49109
Benjamin Kosnik [Tue, 22 Jan 2002 23:09:04 +0000 (23:09 +0000)]
Audit for LANG independence.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
Audit for LANG independence.
* include/bits/localefwd.h: Tweaks.
* include/bits/locale_facets.tcc (money_get::do_get(long double)):
Use __convert_to_v.
(time_get::do_get_year): Same.
(__convert_from_v): Add.
(num_put::_M_convert_float): Use.
(num_put::_M_convert_int): Same.
(money_put::do_put): Same.
* src/locale-inst.cc: Add instantiations for __convert_from_v.
* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
* config/locale/time_members_generic.cc:
* config/locale/messages_members_gnu.cc: Same.
* config/locale/messages_members_gnu.h: Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
* testsuite/22_locale/collate_members_char.cc (test02): New.
* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
* testsuite/22_locale/ctype_members_char.cc (test03): New.
* testsuite/22_locale/messages_members_char.cc (test02): New.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
* testsuite/22_locale/money_get_members_char.cc (test04): New.
* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
* testsuite/22_locale/money_put_members_char.cc (test04): New.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
* testsuite/22_locale/numpunct_members_char.cc (test02): New.
* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
* testsuite/22_locale/time_put_members_char.cc (test03): New.
* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
* testsuite/22_locale/time_get_members_char.cc (test07): New.
* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
* testsuite/22_locale/num_get_members_char.cc (test03): New.
* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
* testsuite/22_locale/num_put_members_char.cc (test03): New.
* testsuite/22_locale/time_get_members_char.cc: Fixups for global
locale issues.
* testsuite/22_locale/time_get_members_char.cc: Same.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5280
* include/bits/localefwd.h: Tweak comments.
* include/bits/locale_facets.h (__convert_to_v): Add.
* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
(num_get::do_get(float)): Same.
(num_get::do_get(long double)): Same.
(num_get::do_get(bool)): Same.
(num_get::do_get(long)): Same.
(num_get::do_get(long long)): Same.
(num_get::do_get(unsigned int)): Same.
(num_get::do_get(unsigned short)): Same.
(num_get::do_get(unsigned long)): Same.
(num_get::do_get(unsigned long long)): Same.
* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
* config/locale/c_locale_generic.cc: Same.
From-SVN: r49108
Mark Wielaard [Tue, 22 Jan 2002 22:58:09 +0000 (22:58 +0000)]
Add license clarification.
From-SVN: r49107
Craig Rodrigues [Tue, 22 Jan 2002 22:48:45 +0000 (22:48 +0000)]
re PR java/4972 (undefined reference to `libiconv')
2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR java/4972
* aclocal.m4 (AM_ICONV): Put linking flags for libiconv
in LIBICONV variable.
* configure: Regenerated.
From-SVN: r49105
Mark Wielaard [Tue, 22 Jan 2002 22:40:42 +0000 (22:40 +0000)]
Add license clarification.
From-SVN: r49104
Momchil Velikov [Tue, 22 Jan 2002 22:31:52 +0000 (00:31 +0200)]
configure.in (variable detection): Use arrays of unspecified size instead of plain integers.
* configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
From-SVN: r49103
H.J. Lu [Tue, 22 Jan 2002 22:08:49 +0000 (22:08 +0000)]
ecos.exp: Append .exe instead of a.out as the link output.
2002-01-22 H.J. Lu <hjl@gnu.org>
* g++.dg/special/ecos.exp: Append .exe instead of a.out as the
link output.
* gcc.dg/special/ecos.exp: Likewise.
* lib/g++-dg.exp: Likewise.
* lib/g77-dg.exp: Likewise.
* lib/gcc-dg.exp : Likewise.
* lib/mike-g++.exp: Likewise.
* lib/mike-g77.exp: Likewise.
* lib/mike-gcc.exp: Likewise.
* lib/objc-dg.exp: Likewise.
From-SVN: r49100
Tom Tromey [Tue, 22 Jan 2002 22:03:04 +0000 (22:03 +0000)]
ButtonPeer.java: Replace with Classpath version.
* java/awt/peer/ButtonPeer.java: Replace with Classpath version.
* java/awt/peer/CanvasPeer.java: Replace with Classpath version.
* java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
version.
* java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
* java/awt/peer/ChoicePeer.java: Replace with Classpath version.
* java/awt/peer/ComponentPeer.java: Replace with Classpath version.
* java/awt/peer/ContainerPeer.java: Replace with Classpath version.
* java/awt/peer/DialogPeer.java: Replace with Classpath version.
* java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
* java/awt/peer/FontPeer.java: Replace with Classpath version.
* java/awt/peer/FramePeer.java: Replace with Classpath version.
* java/awt/peer/LabelPeer.java: Replace with Classpath version.
* java/awt/peer/LightweightPeer.java: Replace with Classpath version.
* java/awt/peer/ListPeer.java: Replace with Classpath version.
* java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
* java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
* java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
* java/awt/peer/MenuPeer.java: Replace with Classpath version.
* java/awt/peer/PanelPeer.java: Replace with Classpath version.
* java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
* java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
* java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
* java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
* java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
* java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
* java/awt/peer/WindowPeer.java: Replace with Classpath version.
* gnu/awt/xlib/XPanelPeer.java (insets): New method.
* gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
(minimumSize, preferredSize, reshape): Likewise.
* gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
getColorModel): New methods.
* java/awt/PopupMenu.java: Merged with Classpath.
* java/awt/MenuBar.java: Merged with Classpath.
* java/awt/SystemColor.java: Replace with Classpath version.
* java/awt/Panel.java: Merged with Classpath.
* java/awt/PaintContext.java: Updated copyright.
* java/awt/MenuShortcut.java: Merged with Classpath.
* java/awt/MenuContainer.java: Merged with Classpath.
* java/awt/Menu.java: Merged with Classpath.
* java/awt/MediaEntry.java: New file from Classpath.
* java/awt/MediaTracker.java: New file from Classpath.
* java/awt/List.java: Merged with Classpath version.
* java/awt/Insets.java: Merged with Classpath version.
* java/awt/ImageMediaEntry.java: New file from Classpath.
* java/awt/Image.java: Replaced with Classpath version.
* java/awt/FontMetrics.java: Merged with Classpath version.
* java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
constant.
* java/awt/Font.java: Merged with Classpath version.
* java/awt/Dialog.java: Merged with Classpath version.
* java/awt/Color.java: Merged with Classpath version.
* java/awt/Choice.java: Merged with Classpath version.
* java/awt/CheckboxMenuItem.java: Merged with Classpath version.
* java/awt/Adjustable.java: Replace with Classpath version.
* java/awt/MenuItem.java (paramString): Don't include class name
or brackets. Call superclass paramString.
* java/awt/MenuComponent.java (toString): Call paramString.
(paramString): Compute string; don't call toString.
* java/awt/Label.java (paramString): Don't include class name
or brackets. Call superclass paramString.
* java/awt/Checkbox.java (paramString): Don't include class name
or brackets. Call superclass paramString.
* java/awt/Button.java (paramString): Don't include class name or
brackets. Call superclass paramString.
* java/awt/MenuComponent.java (getTreeLock): Now protected.
From-SVN: r49099
Krister Walfridsson [Tue, 22 Jan 2002 21:58:41 +0000 (22:58 +0100)]
dwarfout.c (last_filename): Remove.
* dwarfout.c (last_filename): Remove.
(output_compile_unit_die): Remove last_filename.
From-SVN: r49098
Krister Walfridsson [Tue, 22 Jan 2002 21:57:22 +0000 (22:57 +0100)]
* dependence.c (build_def_use): Remove array_idx.
From-SVN: r49097
Roger Sayle [Tue, 22 Jan 2002 21:35:34 +0000 (13:35 -0800)]
re PR rtl-optimization/3640 (small lost optimization of "x==0 || x==1")
PR opt/3640
* fold-const.c (fold): Optimize unsigned comparisons against
UINT_MAX (and similar unsigned constants).
From-SVN: r49096
Janis Johnson [Tue, 22 Jan 2002 21:25:15 +0000 (21:25 +0000)]
Makefile.in (loop.o): Depend on OPTABS_H.
* Makefile.in (loop.o): Depend on OPTABS_H.
* loop.c (expand_builtin_prefetch): Check the prefetch operand
against the predicate.
From-SVN: r49095
Janis Johnson [Tue, 22 Jan 2002 21:21:42 +0000 (21:21 +0000)]
re PR target/5379 ([i386] internal error: Segmentation fault (prefetch related?))
PR target/5379
* gcc.dg/
20020122-2.c: New test.
From-SVN: r49094
Janis Johnson [Tue, 22 Jan 2002 21:19:27 +0000 (21:19 +0000)]
re PR target/5379 ([i386] internal error: Segmentation fault (prefetch related?))
PR target/5379
* config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
for the address operand.
From-SVN: r49093
Richard Henderson [Tue, 22 Jan 2002 20:54:32 +0000 (12:54 -0800)]
* config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
From-SVN: r49092
Tom Tromey [Tue, 22 Jan 2002 20:23:46 +0000 (20:23 +0000)]
decl.c (java_init_decl_processing): Use add_predefined_file.
* decl.c (java_init_decl_processing): Use add_predefined_file.
Predefine RawData.java.
(predef_filenames): Removed.
(java_init_decl_processing): Don't register predef_filenames.
* jcf-parse.c (add_predefined_file): New function.
(predefined_filename_p): Rewrote.
(predefined_filename_p): No longer static.
* decl.c (java_init_decl_processing): Call initialize_builtins.
* Make-lang.in (JAVA_OBJS): Added builtins.o.
(java/builtins.o): New target.
* builtins.c: New file.
* parse.y (patch_invoke): Use build_call_or_builtin.
* java-tree.h (build_call_or_builtin): Declare.
(initialize_builtins): Declare.
(java_set_exception_lang_code): Removed unused declaration.
(PREDEF_FILENAMES_SIZE): Removed.
(java_tree_index): Added JTI_PREDEF_FILENAMES.
(predef_filenames): New define.
(add_predefined_file): Declare.
(predefined_filename_p): Declare.
* expr.c (expand_invoke): Use build_call_or_builtin.
From-SVN: r49091
DJ Delorie [Tue, 22 Jan 2002 20:03:29 +0000 (15:03 -0500)]
Makefile.in (TESTLIB): New.
* Makefile.in (TESTLIB): New. This library is for future
testsuites.
(CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
break down by letter.
(REQUIRED_OFILES): List long-to-compile files first.
(maint-deps): New, target for updating dependencies.
(dependencies): Update.
* maint-tool: Add dependency-generating option.
* configure.in: Check for _doprnt even if we're not providing it.
* configure: Regenerate.
* _doprnt.c: Modifications to allow compiling on any platform.
* copysign.c: Likewise.
* putenv.c: Likewise.
* setenv.c: Likewise.
* vsprintf.c: Likewise.
From-SVN: r49090
Craig Rodrigues [Tue, 22 Jan 2002 19:59:30 +0000 (19:59 +0000)]
re PR other/5450 (__i386__ not defined on unixsware)
2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/5450
* config/i386/sysv4.h (CPP_SPEC): Define, and add CPU preprocessor flags.
From-SVN: r49088
Jason Thorpe [Tue, 22 Jan 2002 19:48:27 +0000 (19:48 +0000)]
config.gcc (x86_64-*-netbsd*): New target.
* config.gcc (x86_64-*-netbsd*): New target.
* config/i386/netbsd64.h: New file.
From-SVN: r49087
Bob Wilson [Tue, 22 Jan 2002 19:13:23 +0000 (19:13 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r49086
Kaveh R. Ghazi [Tue, 22 Jan 2002 19:04:09 +0000 (19:04 +0000)]
* parse.y (patch_switch_statement): Fix format specifier.
From-SVN: r49084
Aldy Hernandez [Tue, 22 Jan 2002 18:35:50 +0000 (18:35 +0000)]
fix conflicts
From-SVN: r49083
Aldy Hernandez [Tue, 22 Jan 2002 18:34:56 +0000 (18:34 +0000)]
regrename.c (kill_value): Fix typo.
2002-01-22 Aldy Hernandez <aldyh@redhat.com>
* regrename.c (kill_value): Fix typo.
From-SVN: r49082
Loren J. Rittle [Tue, 22 Jan 2002 17:35:37 +0000 (17:35 +0000)]
Makefile.am (c_base_builddir): Remove redundant slash.
* include/Makefile.am (c_base_builddir): Remove redundant slash.
(std_builddir): Likewise.
(std_headers_rename): Fix cut-n-paste typo.
(install-data-local): Concat path per element instead of once to
first element of list.
* include/Makefile.in: Rebuilt.
From-SVN: r49081
Nick Clifton [Tue, 22 Jan 2002 17:35:27 +0000 (17:35 +0000)]
Move body of HARD_REGNO_MODE_OK into a function: arm_hard_regno_mode_ok
From-SVN: r49080
Nick Clifton [Tue, 22 Jan 2002 17:10:57 +0000 (17:10 +0000)]
Replace REG_MAYBE_DEAD notes with USEs.
From-SVN: r49079
Benjamin Kosnik [Tue, 22 Jan 2002 16:09:25 +0000 (16:09 +0000)]
ctype_noninline.h: Fix formatting.
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/os/aix/bits/ctype_noninline.h: Fix formatting.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
From-SVN: r49078
Jason Merrill [Tue, 22 Jan 2002 16:05:50 +0000 (11:05 -0500)]
c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if this COMPOUND_STMT is scoped.
* c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if
this COMPOUND_STMT is scoped.
From-SVN: r49077
Jason Merrill [Tue, 22 Jan 2002 14:42:09 +0000 (09:42 -0500)]
parse.y (function_body): Suppress the block for the outermost curly braces.
* parse.y (function_body): Suppress the block for the outermost
curly braces.
* decl.c (pushdecl): Don't try to skip it.
(begin_function_body): Keep the block we create, not the next one.
* init.c (emit_base_init): Don't mess with keep_next_level.
From-SVN: r49076
Jason Merrill [Tue, 22 Jan 2002 14:37:29 +0000 (09:37 -0500)]
* class.c (build_base_path): Tweak formatting.
From-SVN: r49075
Kazu Hirata [Tue, 22 Jan 2002 14:33:35 +0000 (14:33 +0000)]
predict.c: Fix formatting.
* predict.c: Fix formatting.
* print-tree.c: Likewise.
* protoize.c: Likewise.
* real.h: Likewise.
* rtl.h: Likewise.
* sbitmap.h: Likewise.
* scan.c: Likewise.
* sched-deps.c: Likewise.
* sched-vis.c: Likewise.
* sdbout.c: Likewise.
* sibcall.c: Likewise.
* ssa.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa-dce.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* system.h: Likewise.
From-SVN: r49074
Richard Kenner [Tue, 22 Jan 2002 12:01:54 +0000 (12:01 +0000)]
tree.c (int_fits_type_p): If bounds of a subtype are variable, see if fits in bounds of base type.
* tree.c (int_fits_type_p): If bounds of a subtype are variable, see
if fits in bounds of base type.
From-SVN: r49070
Richard Kenner [Tue, 22 Jan 2002 11:33:52 +0000 (11:33 +0000)]
dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
* dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
(loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
(add_bound_info, default): If can't find a context, make a
SAVE_EXPR.
(dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
From-SVN: r49069
GCC Administrator [Tue, 22 Jan 2002 08:16:44 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49067
Hans-Peter Nilsson [Tue, 22 Jan 2002 07:48:25 +0000 (07:48 +0000)]
c-typeck.c (parser_build_binary_op): If result from build_binary_op is ERROR_MARK just return error_mark_node...
* c-typeck.c (parser_build_binary_op): If result from
build_binary_op is ERROR_MARK just return error_mark_node without
further processing.
From-SVN: r49066
Hans-Peter Nilsson [Tue, 22 Jan 2002 07:43:58 +0000 (07:43 +0000)]
* gcc.dg/
20020122-1.c: New test.
From-SVN: r49065
Jason Thorpe [Tue, 22 Jan 2002 04:23:07 +0000 (04:23 +0000)]
netbsd.h (TARGET_HAS_F_SETLKW): define.
* config/netbsd.h (TARGET_HAS_F_SETLKW): define.
Split a.out-specific bits into...
* config/netbsd-aout.h: ...this.
* config/netbsd-elf.h: New file.
* config/alpha/netbsd-elf.h: Remove.
* config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
* config/i386/netbsd-elf.h (LIB_SPEC): Remove.
(STARTFILE_SPEC): Remove redundant definition.
(ENDFILE_SPEC): Likewise.
(LINK_SPEC): Likewise.
(CPP_SPEC): Likewise.
(ASM_SPEC): Likewise.
(LIB_SPEC): Likewise.
(SWITCH_TAKES_ARG): Likewise.
(TARGET_MEM_FUNCTIONS): Likewise.
(CPP_PREDEFINES): Redefine.
(ASM_FINAL_SPEC): Remove redefinition.
(ASM_COMMENT_START): Redefine.
(FUNCTION_PROFILER): Define.
(TARGET_VERSION): Redefine.
Comment and formatting cleanup.
* config/i386/netbsd.h: Include <netbsd-aout.h>.
* config/m68k/netbsd.h: Include <netbsd-aout.h>.
* config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
big- or little-endian.
* config/ns32k/netbsd.h: Include <netbsd-aout.h>.
* config.gcc (*-*-netbsd*): Add definitions common to all
NetBSD configs.
(alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
gnu_ld definitions. Add netbsd-elf.h to and remove
alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
tmake_file, and don't lose previous tmake_file contents.
(arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
(i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
gnu_ld definitions. Add netbsd-elf.h to tm_file.
(mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
(mipsel-*-netbsd*): Rename this to...
(mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
mips/little.h to tm_file for mips*el-*.
(powerpc-*-netbsd*): Remove redundant xm_defines definition.
(sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
(vax-*-netbsd*): Add netbsd-aout.h to tm_file.
From-SVN: r49064
Aldy Hernandez [Tue, 22 Jan 2002 02:36:54 +0000 (02:36 +0000)]
tm.texi: Remove STARTING_FRAME_PHASE.
* doc/tm.texi: Remove STARTING_FRAME_PHASE.
* config/rs6000/rs6000.h: Same.
* function.c (instantiate_virtual_regs): Remove
STARTING_FRAME_PHASE.
(assign_stack_local_1): Same.
Calculate frame phase.
From-SVN: r49063
Tom Tromey [Tue, 22 Jan 2002 00:20:23 +0000 (00:20 +0000)]
ChangeLog rotation
From-SVN: r49061
David Billinghurst [Mon, 21 Jan 2002 23:40:44 +0000 (23:40 +0000)]
attrib5.C: XFAIL cygwin too
2001-01-22 David.Billinghurst <David.Billinghurst@riotinto.com>
* g++.old-deja/g++.ext/attrib5.C: XFAIL cygwin too
From-SVN: r49060
David Billinghurst [Mon, 21 Jan 2002 22:58:30 +0000 (22:58 +0000)]
20010207-1.c: Restrict to i?86-*-[eflno]*
2002-01-22 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/
20010207-1.c: Restrict to i?86-*-[eflno]*
From-SVN: r49059
John David Anglin [Mon, 21 Jan 2002 22:57:49 +0000 (22:57 +0000)]
pa-protos.h (reg_before_reload_operand): New function prototype.
* pa-protos.h (reg_before_reload_operand): New function prototype.
* pa.c (reg_before_reload_operand): New function implementation.
* pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
contraints to "*m".
From-SVN: r49058
Franz Sirl [Mon, 21 Jan 2002 22:19:55 +0000 (22:19 +0000)]
combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
From-SVN: r49057
Franz Sirl [Mon, 21 Jan 2002 22:16:04 +0000 (22:16 +0000)]
20020121-1.c: New test.
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/compile/
20020121-1.c: New test.
From-SVN: r49056
John David Anglin [Mon, 21 Jan 2002 21:29:12 +0000 (21:29 +0000)]
g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.
* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
ld_library_path.
From-SVN: r49055
John David Anglin [Mon, 21 Jan 2002 21:22:19 +0000 (21:22 +0000)]
pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
* pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
(MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
(MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
(EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
(ENDFILE_SPEC): Undefine.
(STARTFILE_SPEC): Redefine for PA.
From-SVN: r49054
Franz Sirl [Mon, 21 Jan 2002 18:55:07 +0000 (18:55 +0000)]
t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
From-SVN: r49048
Daniel Jacobowitz [Mon, 21 Jan 2002 16:14:48 +0000 (16:14 +0000)]
config.gcc: Add entries to supported PowerPC --with-cpu types.
2002-01-21 Daniel Jacobowitz <drow@mvista.com>
* config.gcc: Add entries to supported PowerPC --with-cpu
types.
From-SVN: r49047
Jakub Jelinek [Mon, 21 Jan 2002 15:53:31 +0000 (16:53 +0100)]
i386.c (ix86_function_arg_regno_p): Never return true for 64-bit mode only SSE registers in 32-bit mode.
* config/i386/i386.c (ix86_function_arg_regno_p): Never return
true for 64-bit mode only SSE registers in 32-bit mode.
* gcc.dg/
20020218-1.c: New test.
From-SVN: r49046
Kazu Hirata [Mon, 21 Jan 2002 13:08:33 +0000 (13:08 +0000)]
unwind-dw2.c: Fix formatting.
* unwind-dw2.c: Fix formatting.
* unwind-dw2-fde.c: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind-pe.h: Likewise.
* varasm.c: Likewise.
* varray.h: Likewise.
From-SVN: r49045
David Billinghurst [Mon, 21 Jan 2002 12:48:38 +0000 (12:48 +0000)]
prune.exp (prune_gcc_output): Prune "At global scope" messages
2002-01-21 David.Billinghurst <David.Billinghurst@riotinto.com>
* lib/prune.exp (prune_gcc_output): Prune "At global scope"
messages
* g++.dg/other/deprecated.C: Remove dg-bogus comment for
"At global scope" warning
* g++.dg/ext/align1.C: Change cygwin test for alignment
from db-bogus to dg-warning
From-SVN: r49044
Richard Kenner [Mon, 21 Jan 2002 12:35:58 +0000 (07:35 -0500)]
Properly indent two lines.
From-SVN: r49043
Zack Weinberg [Mon, 21 Jan 2002 08:37:49 +0000 (08:37 +0000)]
* g77.f-torture/compile/cpp2.F: New test.
From-SVN: r49038