Ulrich Weigand [Fri, 25 Jan 2002 20:22:31 +0000 (20:22 +0000)]
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
Jan Hubicka [Fri, 25 Jan 2002 19:46:43 +0000 (20:46 +0100)]
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
Geoffrey Keating [Fri, 25 Jan 2002 18:20:27 +0000 (18:20 +0000)]
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
David Edelsohn [Fri, 25 Jan 2002 18:06:24 +0000 (18:06 +0000)]
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
David Edelsohn [Fri, 25 Jan 2002 17:52:43 +0000 (17:52 +0000)]
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
Tom Tromey [Fri, 25 Jan 2002 17:25:26 +0000 (17:25 +0000)]
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
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
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
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
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
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
GCC Administrator [Fri, 25 Jan 2002 08:16:44 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49210
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
Tom Tromey [Fri, 25 Jan 2002 07:05:38 +0000 (07:05 +0000)]
Updated copyright date
From-SVN: r49207
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
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
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
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
Bryce McKinlay [Fri, 25 Jan 2002 04:42:12 +0000 (04:42 +0000)]
Fix up last entry.
From-SVN: r49202
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
GCC Administrator [Thu, 24 Jan 2002 08:16:43 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49175
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
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
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
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
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
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
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
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
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
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
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
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
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
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