* gcc.c-torture/execute/va-arg-15.x: New file. Fails on
mips-sgi-irix6.* because the MIPS ABI passes floating-point
parameters in registers, and there is no way for a varargs
function to know in which order the integer and floating-point
parameters should be interleaved when they are placed on the
stack.
* gcc.c-torture/execute/va-arg-16.x: Likewise.
* gcc.c-torture/execute/va-arg-17.x: Likewise.
J"orn Rennecke [Tue, 7 Nov 2000 06:28:34 +0000 (06:28 +0000)]
flow.c (verify_local_live_at_start): Back out last change.
* flow.c (verify_local_live_at_start): Back out last change.
* combine.c (distribute_notes): When parts of a hard reg are
neither set nor referenced in PLACE, search backwards for a
place to put a REG_UNUSED note; if none found, ask for flow
info refresh.
Alexandre Oliva [Tue, 7 Nov 2000 02:00:22 +0000 (02:00 +0000)]
acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of alternatives for CXX_libstdcxx, now that it is useless.
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
alternatives for CXX_libstdcxx, now that it is useless.
* aclocal.m4, configure: Rebuilt.
Jakub Jelinek [Mon, 6 Nov 2000 12:29:02 +0000 (13:29 +0100)]
crash24.C: New test.
* g++.old-deja/g++.other/crash24.C: New test.
* g++.old-deja/g++.other/crash25.C: New test.
* g++.old-deja/g++.other/crash26.C: New test.
* g++.old-deja/g++.other/crash27.C: New test.
* g++.old-deja/g++.other/crash28.C: New test.
* g++.old-deja/g++.other/crash29.C: New test.
* g++.old-deja/g++.other/crash30.C: New test.
* g++.old-deja/g++.other/crash31.C: New test.
* g++.old-deja/g++.other/crash32.C: New test.
* g++.old-deja/g++.other/crash33.C: New test.
* g++.old-deja/g++.other/crash34.C: New test.
* g++.old-deja/g++.other/crash35.C: New test.
Jakub Jelinek [Mon, 6 Nov 2000 10:42:20 +0000 (11:42 +0100)]
sparc.md (adddi3): If operands[2] is 4096 and operands[1] is constant...
* config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
operands[1] is constant, calculate the sum and generate movdi.
(addsi3): Similarly. Use SImode in call to arith_4096_operand.
(subsi3): Use SImode in call to arith_4096_operand.
Tom Tromey [Sun, 5 Nov 2000 22:59:56 +0000 (22:59 +0000)]
lex.c (java_parse_escape_sequence): Only read two octal characters if the first one is greater than 3.
* lex.c (java_parse_escape_sequence): Only read two octal
characters if the first one is greater than 3. Don't allow
"octal" numbers to include the digits 8 or 9.
Joseph Myers [Sun, 5 Nov 2000 10:35:33 +0000 (10:35 +0000)]
Makefile.in: Remove all targets related to building distributions and diffs, or INSTALL.
* Makefile.in: Remove all targets related to building
distributions and diffs, or INSTALL.
* INSTALL, install1.texi: Remove.
* configure.in: Remove mention of distdir.
* configure: Regenerate.
* objc/Make-lang.in: Remove mention of distdir.
Mark Mitchell [Sat, 4 Nov 2000 20:00:52 +0000 (20:00 +0000)]
p755.C: Tweak handling of exit.
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
* g++.old-deja/g++.mike/p755a.C: Likewise.
* g++.old-deja/g++.mike/p9706.C: Don't assume that the standard
library makes no calls to `operator new' during initialization.
* hashtab.c (htab_expand): Change to return int. Use calloc or
xcalloc depending on htab->return_allocation_failure. Return zero
if calloc fails.
(htab_create): Update comment to cover memory allocation.
(htab_try_create): New.
(htab_find_slot_with_hash): Return NULL if htab_expand fails.
Update comment to cover this.
hashtab.h (struct htab): Add member return_allocation_failure.
* hashtab.h (struct htab): Add member return_allocation_failure.
(htab_try_create): New prototype. Mention which functions may
return NULL when this is used.
Tom Tromey [Sat, 4 Nov 2000 04:57:33 +0000 (04:57 +0000)]
lang-options.h: Mention -Wout-of-date.
* lang-options.h: Mention -Wout-of-date.
* jcf-dump.c (flag_newer): New global.
* gjavah.c (flag_newer): New global.
* jcf-io.c (find_class): Only warn when flag_newer set.
* lang.c (flag_newer): New global.
(struct string_option): New declaration.
(lang_W_options): New global.
(process_option_with_no): New function.
(lang_decode_option): Use it.
Phil Edwards [Sat, 4 Nov 2000 03:00:12 +0000 (03:00 +0000)]
[multiple changes]
2000-11-03 David Edelsohn <dje@watson.ibm.com>
* acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
flag based on multilib definition of $CXX.
* mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
based on multilib definition of $CXX.
* config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
Tom Tromey [Fri, 3 Nov 2000 20:27:07 +0000 (20:27 +0000)]
lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
* lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
(JAVA_ID_CHAR_P): Also try java_ignorable_control_p.
* lex.c (java_read_unicode): Removed `term_context' argument.
Recognize any number of `u' in `\u'.
(java_read_unicode_collapsing_terminators): New function.
(java_get_unicode): Use it.
(java_lineterminator): Removed.
(yylex): Produce error if character literal is newline or single
quote. Return if eof found in middle of `//' comment. EOF in
`//' comment is only an error if pedantic.
(java_ignorable_control_p): New function.
(java_parse_end_comment): Return if eof found in middle of
comment.
Include flags.h.
* jv-scan.c (pedantic): New global.
Kaveh R. Ghazi [Fri, 3 Nov 2000 19:42:17 +0000 (19:42 +0000)]
Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
* Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
(toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
(simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
Warren Levy [Fri, 3 Nov 2000 08:04:33 +0000 (08:04 +0000)]
ObjectInputStream.java (readObject): Added code to conditionally dump out the serialized data.
* java/io/ObjectInputStream.java (readObject): Added code to
conditionally dump out the serialized data.
Handle ENDBLOCKDATA case a bit more gracefully since the current
behavior doesn't seem to work as expected.
(readStreamHeader): Added code for serialized data dumper.
(readNextBlock): Ditto.
(readFields): Ditto.
(dump): New private static field for turning on/off dumper.
(setDump): New native method.
(dumpElement): New native method.
(dumpElementln): New native method.
* java/io/natObjectInputStream.cc (setDump): New method.
(dumpElement): New method.
(dumpElementln): New method.
Serialization dumper. Enable by configuring with --enable-libgcj-debug
and calling java.io.ObjectInputStream.setDump(true) in your test program.
The output will be generated as the object is deserialized (i.e. the
readObject() method is executed).
Warren Levy [Fri, 3 Nov 2000 07:43:06 +0000 (07:43 +0000)]
InetAddress.java (addr): Renamed from 'address'.
* java/net/InetAddress.java (addr): Renamed from 'address'.
(address): New field to match Serialized Form doc.
(hostName): Renamed from 'hostname' to match Serialized Form doc.
(family): New serialization field.
(serialVersionUID): New field.
(readObject): New method.
(writeObject): New method.
(getFamily): New native method.
(InetAddress): Set family.
* java/net/natInetAddress.cc (getFamily): New method.
(addr): Renamed from 'address'.
(hostName): Renamed from 'hostname' to match Serialized Form doc.
* java/net/natPlainDatagramSocketImpl.cc (addr): Renamed from 'address'.
* java/net/natPlainSocketImpl.cc (addr): Renamed from 'address'.
Mark Mitchell [Fri, 3 Nov 2000 02:28:07 +0000 (02:28 +0000)]
codecvt_unicode_char.cc: Don't run it if not _GLIBCPP_USE_WCHAR_T.
* testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
if not _GLIBCPP_USE_WCHAR_T.
* testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
* testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
* testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.