platform/upstream/gcc.git
22 years agoinstall.texi (xtensa-*-elf): New target.
Bob Wilson [Fri, 25 Jan 2002 17:10:46 +0000 (17:10 +0000)]
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

22 years agopthread1.cc: Enable on cygwin.
David Billinghurst [Fri, 25 Jan 2002 16:05:48 +0000 (16:05 +0000)]
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

22 years agoAllow any general purpose register to hold an SImode (or smaller) value.
Nick Clifton [Fri, 25 Jan 2002 11:44:12 +0000 (11:44 +0000)]
Allow any general purpose register to hold an SImode (or smaller) value.

From-SVN: r49213

22 years agounwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* registry only.
Jakub Jelinek [Fri, 25 Jan 2002 11:22:52 +0000 (12:22 +0100)]
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

22 years agoeh5.C: New test.
Jakub Jelinek [Fri, 25 Jan 2002 11:20:29 +0000 (12:20 +0100)]
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

22 years agoDaily bump.
GCC Administrator [Fri, 25 Jan 2002 08:16:44 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49210

22 years agoShape.java: Merged with Classpath.
Tom Tromey [Fri, 25 Jan 2002 07:06:06 +0000 (07:06 +0000)]
Shape.java: Merged with Classpath.

* java/awt/Shape.java: Merged with Classpath.
* java/awt/Scrollbar.java: Merged with Classpath.

From-SVN: r49208

22 years agoUpdated copyright date
Tom Tromey [Fri, 25 Jan 2002 07:05:38 +0000 (07:05 +0000)]
Updated copyright date

From-SVN: r49207

22 years agoContainer.java (addNotify): Unconditionally call addNotifyContainerChildren and super...
Tom Tromey [Fri, 25 Jan 2002 07:04:06 +0000 (07:04 +0000)]
Container.java (addNotify): Unconditionally call addNotifyContainerChildren and superclass addNotify.

* java/awt/Container.java (addNotify): Unconditionally call
addNotifyContainerChildren and superclass addNotify.

From-SVN: r49206

22 years agoostream_inserter_char.cc (test07): New.
Benjamin Kosnik [Fri, 25 Jan 2002 06:36:32 +0000 (06:36 +0000)]
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

22 years agoh8300.md (negation patterns): Tighten predicates to register_operand.
Kazu Hirata [Fri, 25 Jan 2002 06:12:28 +0000 (06:12 +0000)]
h8300.md (negation patterns): Tighten predicates to register_operand.

* config/h8300/h8300.md (negation patterns): Tighten
predicates to register_operand.

From-SVN: r49204

22 years agoColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue.
Tom Tromey [Fri, 25 Jan 2002 05:44:03 +0000 (05:44 +0000)]
ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue.

* java/awt/image/ColorModel.java (getAlpha(Object)): Call
getAlpha, not getBlue.

From-SVN: r49203

22 years agoFix up last entry.
Bryce McKinlay [Fri, 25 Jan 2002 04:42:12 +0000 (04:42 +0000)]
Fix up last entry.

From-SVN: r49202

22 years agoPixelGrabber.java (grabPixels()): Call grabPixels(0).
Bryce McKinlay [Fri, 25 Jan 2002 04:39:04 +0000 (04:39 +0000)]
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

22 years agoloop.c (emit_prefetch_instructions): Use the prefetch insn's mode, not Pmode.
Aldy Hernandez [Fri, 25 Jan 2002 04:32:46 +0000 (04:32 +0000)]
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

22 years agostl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
Phil Edwards [Fri, 25 Jan 2002 04:14:40 +0000 (04:14 +0000)]
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

22 years agonatObject.cc (X86 compare_and_swap): Use +m constraint.
Bryce McKinlay [Fri, 25 Jan 2002 02:53:37 +0000 (02:53 +0000)]
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

22 years agoscanasm.exp (scan-assembler-dem, [...]): Remove first, non-varying, argument.
Hans-Peter Nilsson [Fri, 25 Jan 2002 02:53:15 +0000 (02:53 +0000)]
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

22 years agoMAINTAINERS (Write After Approval): Move my contact info from here...
Jason Thorpe [Thu, 24 Jan 2002 22:25:17 +0000 (22:25 +0000)]
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

22 years agoios_base.h: Use _Atomic_word for reference counts.
Andrew Pollard [Thu, 24 Jan 2002 21:14:41 +0000 (21:14 +0000)]
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::id::_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

22 years agosh.md (sym_label2reg): Make sure all CONSTs have modes.
Alexandre Oliva [Thu, 24 Jan 2002 20:52:10 +0000 (20:52 +0000)]
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

22 years agonum_put_members_wchar_t.cc (test03): Use _GLIBCPP_HAVE_SETENV.
Benjamin Kosnik [Thu, 24 Jan 2002 20:46:34 +0000 (20:46 +0000)]
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

22 years agoImproved ChangeLog entry for verify.cc (is_assignable_from_slow).
Per Bothner [Thu, 24 Jan 2002 20:10:17 +0000 (12:10 -0800)]
Improved ChangeLog entry for verify.cc (is_assignable_from_slow).

From-SVN: r49190

22 years agoverify.cc (is_assignable_from_slow): If source is an interface, we must also check...
Per Bothner [Thu, 24 Jan 2002 20:02:21 +0000 (12:02 -0800)]
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

22 years agoh8300.c (print_operand): Remove support for operand character 'A'.
Kazu Hirata [Thu, 24 Jan 2002 19:48:53 +0000 (19:48 +0000)]
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

22 years agoh8300.c (print_operand): Remove support for operand character 'U'.
Kazu Hirata [Thu, 24 Jan 2002 19:42:39 +0000 (19:42 +0000)]
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

22 years ago* config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
Andris Pavenis [Thu, 24 Jan 2002 18:05:40 +0000 (20:05 +0200)]
* config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.

From-SVN: r49186

22 years ago* gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
Tom Tromey [Thu, 24 Jan 2002 16:44:37 +0000 (16:44 +0000)]
* gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.

From-SVN: r49184

22 years agoAllow SImode values to be assigned to the stack pointer.
Nick Clifton [Thu, 24 Jan 2002 16:27:51 +0000 (16:27 +0000)]
Allow SImode values to be assigned to the stack pointer.

From-SVN: r49183

22 years agoemit_rtl.c (gen_lowpart_common): Conversion from const_int to const_double needs...
Hartmut Penner [Thu, 24 Jan 2002 12:30:37 +0000 (12:30 +0000)]
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

22 years agosparc.md (call-jump peepholes): Pass the right insn to can_throw_internal.
Jason Merrill [Thu, 24 Jan 2002 10:42:55 +0000 (05:42 -0500)]
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

22 years agoDaily bump.
GCC Administrator [Thu, 24 Jan 2002 08:16:43 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49175

22 years agofold-const.c (fold): Change UINT_MAX test to check vs precision rather than TYPE_MAX_...
Richard Henderson [Thu, 24 Jan 2002 07:36:18 +0000 (23:36 -0800)]
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

22 years agopthread1.cc: New test.
Loren J. Rittle [Thu, 24 Jan 2002 07:35:11 +0000 (07:35 +0000)]
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

22 years agoBorderLayout.java (addLayoutComponent): Added missing `else'.
Tom Tromey [Thu, 24 Jan 2002 06:39:29 +0000 (06:39 +0000)]
BorderLayout.java (addLayoutComponent): Added missing `else'.

* java/awt/BorderLayout.java (addLayoutComponent): Added missing
`else'.

From-SVN: r49172

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 24 Jan 2002 06:31:02 +0000 (06:31 +0000)]
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

22 years agosh.md (symGOT_load, [...]): New expands.
Alexandre Oliva [Thu, 24 Jan 2002 06:16:58 +0000 (06:16 +0000)]
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

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 24 Jan 2002 05:51:34 +0000 (05:51 +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: r49169

22 years agoh8300.md: Fix xorqi and xorqi so that they will accept to accept 0x80 as operands[2].
Kazu Hirata [Thu, 24 Jan 2002 05:02:35 +0000 (05:02 +0000)]
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

22 years ago* config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
Alexandre Oliva [Thu, 24 Jan 2002 04:42:12 +0000 (04:42 +0000)]
* config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.

From-SVN: r49167

22 years agoalpha.md (call_value_osf_1_er peepholes): Fix typo.
Richard Henderson [Thu, 24 Jan 2002 04:01:11 +0000 (20:01 -0800)]
alpha.md (call_value_osf_1_er peepholes): Fix typo.

        * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.

        * gcc.dg/inline-2.c: New.

        * lib/scanasm.exp (scan-assembler): Remove optional vmessage arg.
        Add optional target arg.  Check number of arguments.
        (scan-assembler-not, scan-assembler-dem): Likewise.
        (scan-assembler-dem-not): Likewise.

From-SVN: r49166

22 years ago* gcc.dg/20020122-4.c: Use multiple outputs on the asm.
Richard Henderson [Thu, 24 Jan 2002 03:34:14 +0000 (19:34 -0800)]
* gcc.dg/20020122-4.c: Use multiple outputs on the asm.

From-SVN: r49165

22 years agocrash8.C: Don't expect an error on line 12.
Zack Weinberg [Thu, 24 Jan 2002 03:31:34 +0000 (03:31 +0000)]
crash8.C: Don't expect an error on line 12.

* g++.old-deja/g++.brendan/crash8.C: Don't expect an error on
line 12.
* g++.old-deja/g++.brendan/parse3.C,
g++.old-deja/g++.other/crash26.C,
g++.old-deja/g++.other/crash28.C,
g++.old-deja/g++.other/crash29.C,
g++.old-deja/g++.other/crash30.C,
g++.old-deja/g++.other/crash35.C: Remove XFAILs where appropriate.

From-SVN: r49164

22 years agoMake-lang.in (parse.c): Adjust expected number of shift-reduce conflicts.
Zack Weinberg [Thu, 24 Jan 2002 03:27:30 +0000 (03:27 +0000)]
Make-lang.in (parse.c): Adjust expected number of shift-reduce conflicts.

* Make-lang.in (parse.c): Adjust expected number of
shift-reduce conflicts.
(decl.o): Depend on diagnostic.h.
* decl.c: Include diagnostic.h.
(grokdeclarator): Check for null pointer.
(finish_function): Don't abort when
current_binding_level->parm_flag != 1, if errors have
occurred; throw away the statement tree and extra binding
levels, and continue.
* lex.c (note_list_got_semicolon): Check for null pointer.
* method.c (hack_identifier): Just return error_mark_node if
value is error_mark_node.
* parse.y (primary: TYPEID(type_id)): No need to use
TYPE_MAIN_VARIANT here.
(handler_seq): Accept an empty list of catch clauses and
generate a fake handler block to avoid later crashes.
(ansi_raise_identifier): Accept the error token too.
* semantics.c (begin_class_definition,
finish_class_definition): Check for error_mark_node.

From-SVN: r49163

22 years agoc-parse.in (parmlist_or_identifiers): Add maybe_attribute.
Aldy Hernandez [Thu, 24 Jan 2002 01:32:12 +0000 (01:32 +0000)]
c-parse.in (parmlist_or_identifiers): Add maybe_attribute.

2002-01-16  Aldy Hernandez  <aldyh@redhat.com>

        * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
        (parmlist_or_identifiers_1): Verify that only a parmlist follows
        an attribute.

        * gcc.dg/20020115-1.c: New.

From-SVN: r49161

22 years agore PR libstdc++/5198 (3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc)
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

22 years agot-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
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

22 years ago* expr.c (move_by_pieces_1): Extend size before negation.
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

22 years agoMakefile.in: Rebuilt.
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

22 years ago[multiple changes]
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

22 years agoelf.h: New file.
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

22 years agolocale_facets.h (num_get::_M_extract_int): Change prototype.
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

22 years agonatField.cc (setAddr): New function.
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

22 years agotypeck2.c (friendly_abort): Delete definition.
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

22 years agodiagnostic.c (internal_error): Do ICE suppression only when ENABLE_CHECKING is not...
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

22 years agoc-typeck.c (require_complete_type): Return error_mark_node if type is error_mark_node.
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

22 years agocp-tree.h (my_friendly_abort): Remove.
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

22 years ago* gcc.dg/20020122-3.c: New test.
Janis Johnson [Wed, 23 Jan 2002 18:54:27 +0000 (18:54 +0000)]
* gcc.dg/20020122-3.c: New test.

From-SVN: r49148

22 years agospew.c (pending_inlines, [...]): Make static.
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

22 years agotoplev.c (process_options): Disable -fprefetch-loop-arrays with -Os and issue a warning.
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

22 years agotr.po: New file.
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

22 years ago* gcc.dg/c99-intconst-1.c: Mark XFAIL.
Zack Weinberg [Wed, 23 Jan 2002 18:12:37 +0000 (18:12 +0000)]
* gcc.dg/c99-intconst-1.c: Mark XFAIL.

From-SVN: r49143

22 years agofragments.texi, [...]: Update to reflect current (lack of) need for host configuratio...
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

22 years ago* config/locale/c_locale_generic.cc: Fix typename usage.
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

22 years agoarm.h (THUMB_FUNCTION_PROFILER): Define if not currently defined.
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

22 years agocall.c, [...]: Change my_fancy_abort() to abort().
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

22 years agoh8300.md (*andorhi3): Accept 0x8000 as an operand[3].
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

22 years agore PR c++/5453 (Compiled program crash - inheritance/template/friend class problem)
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

22 years agore PR c++/3331 (member pointer inherits const)
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

22 years agore PR c++/5453 (Compiled program crash - inheritance/template/friend class problem)
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

22 years agore PR c++/3331 (member pointer inherits const)
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

22 years agofunction.c (assign_parms): Don't put args of inline functions into registers when...
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

22 years agoUse an UNSPEC instead of a USE to prevent prologue/epilogue insns from being
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

22 years ago* loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
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

22 years agoDaily bump.
GCC Administrator [Wed, 23 Jan 2002 08:16:33 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49127

22 years agore PR c/3504 (__alignof__ not working correctly)
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

22 years agoc_locale_generic.cc: Fix.
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

22 years ago* gcc.pot: Regenerate - now includes Fortran error messages.
Zack Weinberg [Wed, 23 Jan 2002 03:41:30 +0000 (03:41 +0000)]
* gcc.pot: Regenerate - now includes Fortran error messages.

From-SVN: r49124

22 years agobad.c: Include intl.h.
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

22 years agoparams.h: Rename arguments of DEFPARAM so that it will be recognized as a translation...
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

22 years agoexgettext: Merge changes from diffutils.
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

22 years agoextend.texi: Document altivec functions.
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

22 years agomessages.html: Remove angle brackets.
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

22 years agoreload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and auto_inc_dec values.
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

22 years agonetbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space after backslash.
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

22 years agoios_manip_basefield.cc: Enable test02.
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

22 years ago* config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
Alexandre Oliva [Wed, 23 Jan 2002 00:56:28 +0000 (00:56 +0000)]
* config/i386/freebsd-aout.h (ASM_QUAD): Undefine.

From-SVN: r49115

22 years agoalpha.c (split_small_symbolic_mem_operand): Use copy_insn not copy_rtx.
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

22 years agoTextField.java: Replaced with Classpath version.
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

22 years agocombine.c (simplify_and_const_int): Don't trunc_int_for_mode "nonzero" as that might...
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

22 years ago* config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
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

22 years agoalpha.md (divmodsi_internal_er): Generate lituse sequence number for the literal.
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

22 years ago* java/awt/GridBagConstraints.java: Updated copyright.
Tom Tromey [Tue, 22 Jan 2002 23:11:30 +0000 (23:11 +0000)]
* java/awt/GridBagConstraints.java: Updated copyright.

From-SVN: r49109

22 years agoAudit for LANG independence.
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

22 years agoAdd license clarification.
Mark Wielaard [Tue, 22 Jan 2002 22:58:09 +0000 (22:58 +0000)]
Add license clarification.

From-SVN: r49107

22 years agore PR java/4972 (undefined reference to `libiconv')
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

22 years agoAdd license clarification.
Mark Wielaard [Tue, 22 Jan 2002 22:40:42 +0000 (22:40 +0000)]
Add license clarification.

From-SVN: r49104

22 years agoconfigure.in (variable detection): Use arrays of unspecified size instead of plain...
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

22 years agoecos.exp: Append .exe instead of a.out as the link output.
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

22 years agoButtonPeer.java: Replace with Classpath version.
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