OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago PR c++/8461, c++/8625
jason [Wed, 4 Dec 2002 20:13:01 +0000 (20:13 +0000)]
    PR c++/8461, c++/8625
        * integrate.c (copy_decl_for_inlining): Handle explicit invisible
        references.
        * tree-inline.c (initialize_inlined_parameters): Likewise.

2002-12-03  Jason Merrill  <jason@redhat.com>

        PR c++/8461, c++/8625
        * call.c (convert_for_arg_passing): Don't mess with error_mark_node.
        (cp_convert_parm_for_inlining): Remove.
        * cp-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
        Remove.
        * cp-tree.h (ADDR_IS_INVISIREF): Remove.
        * except.c (stabilize_throw_expr): Remove ADDR_IS_INVISIREF code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59827 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-04 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 4 Dec 2002 19:39:57 +0000 (19:39 +0000)]
2002-12-04  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
        macro instruction in a branch delay slot, to avoid assembler
        warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59825 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
jakub [Wed, 4 Dec 2002 15:50:26 +0000 (15:50 +0000)]
* fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59819 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/compile/20021204-1.c: New test.
ebotcazou [Wed, 4 Dec 2002 15:06:23 +0000 (15:06 +0000)]
* gcc.c-torture/compile/20021204-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59818 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c/7622
ebotcazou [Wed, 4 Dec 2002 14:58:19 +0000 (14:58 +0000)]
PR c/7622
* c-semantics (genrtl_scope_stmt): Do not output inlined
nested functions that contain no code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59817 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
hubicka [Wed, 4 Dec 2002 14:21:58 +0000 (14:21 +0000)]
* cfgrtl.c (force_nonfallthru_and_redirect):  Allow abnormal edge
to be forced into nonfallthru.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59816 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR C++/8799
gdr [Wed, 4 Dec 2002 11:32:14 +0000 (11:32 +0000)]
    PR C++/8799
        * error.c (dump_expr): Don't ever try to dump a non-existent
        expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59814 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 4 Dec 2002 08:17:32 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59807 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
dannysmith [Wed, 4 Dec 2002 01:57:27 +0000 (01:57 +0000)]
* make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
Define for hosts with HOST_EXECUTABLE_SUFFIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59797 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
thorpej [Wed, 4 Dec 2002 01:33:38 +0000 (01:33 +0000)]
* config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59795 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-03 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 3 Dec 2002 23:41:32 +0000 (23:41 +0000)]
2002-12-03  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.md (*movv1di_const0): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59791 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/util/jar/JarFile.java (manifest): Not final.
mark [Tue, 3 Dec 2002 22:06:31 +0000 (22:06 +0000)]
    * java/util/jar/JarFile.java (manifest): Not final.
        (manifestRead): New field.
        (JarFile): Don't read Manifest in constructor.
        (getManifest): New method.
        (JarEnumeration.nextElement): Use new method.
        (getEntry): Likewise.
        * java/util/zip/ZipFile.java (name): Final.
        (raf): Likewsie.
        (entries): Change type to Hashtable.
        (closed): New field.
        (ZipFile): Don't read enties in constructor.
        (readEntries): Use Hashtable.
        (close): Set new close flag and set entries to null inside
        synchronized block.
        (entries): Contruct enumeration using new getEntries() method and
        entries Hashtable.
        (getEntryIndex): Removed.
        (getEntries): New method.
        (getEntry): Use new getEntries() method and entries Hastable.
        (getInputStream): Likewise.
        (size): Return getEntries().size().
        (ZipEntryEnumeration): Wrap entries Hashtable elements.
        * java/util/zip/ZipEntry.java (cal): Don't initialize.
        (time): Removed
        (dostime): New field.
        (zipFileIndex): Removed.
        (ZipEntry(ZipEntry)): Copy dostime.
        (setDOSTime): Now final and doesn't convert dos time.
        (getDOSTime): Likewise.
        (setTime): Convert dos time.
        (getTime): Likewise.
        (getCalendar): New method.
        (setExtra): Use setTime().
        * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59785 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
rth [Tue, 3 Dec 2002 22:04:22 +0000 (22:04 +0000)]
    * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59784 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
hp [Tue, 3 Dec 2002 21:00:16 +0000 (21:00 +0000)]
* bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
Initialize tmp.using_obstack to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59782 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/lang/Character.java (forDigit): Formatting fix.
tromey [Tue, 3 Dec 2002 20:13:43 +0000 (20:13 +0000)]
* java/lang/Character.java (forDigit): Formatting fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59781 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
schwab [Tue, 3 Dec 2002 19:45:30 +0000 (19:45 +0000)]
* config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
(EH_RETURN_STACKADJ_RTX): Define.
(EH_RETURN_HANDLER_RTX): Define.
(ASM_PREFERRED_EH_DATA_FORMAT): Define.
* config/m68k/m68k.c (m68k_save_reg): New function.  Handle eh
registers and don't save fixed registers.
(m68k_output_function_prologue): Use it.
(use_return_insn): Likewise.
(m68k_output_function_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59780 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-03 Raif Naffah <raif@fl.net.au>
mark [Tue, 3 Dec 2002 18:46:59 +0000 (18:46 +0000)]
2002-12-03  Raif Naffah  <raif@fl.net.au>

        * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
        * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
        * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59779 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * call.c (build_user_type_conversion_1): Don't set ICS_BAD_FLAG on
jason [Tue, 3 Dec 2002 17:29:43 +0000 (17:29 +0000)]
    * call.c (build_user_type_conversion_1): Don't set ICS_BAD_FLAG on
        an ambiguous conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59775 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (single_one_operand): Fix a warning.
kazu [Tue, 3 Dec 2002 14:36:41 +0000 (14:36 +0000)]
* config/h8300/h8300.c (single_one_operand): Fix a warning.
(single_zero_operand): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59772 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-03 Andrew Haley <aph@redhat.com>
aph [Tue, 3 Dec 2002 13:53:27 +0000 (13:53 +0000)]
2002-12-03  Andrew Haley  <aph@redhat.com>

        * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
_Jv_PushClass.
        (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
        (_Jv_PopClass): New.
        (_Jv_PushClass): New.
        * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
        discover the ClassLoader of our caller.
        (_Jv_CheckArrayStore): Don't check that a class is assignment
        compatible with Object.
        * java/lang/natVMTHrowable.cc: Delete.
        * gnu/gcj/runtime/StackTrace.java: New, partly copied from
java.lang.VMThrowable.
        (StackTrace(), StackTrace(int)): New constructors.
        (classAt, methodAt, update, methodAtAddress): New methods.
        (map): New field.
* java/lang/VMThrowable.java: Use StackTrace instead of
natVMTHrowable.
* java/lang/Class.h (getClassLoaderInternal): New.
        (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
        Be friendly with gnu::gcj::runtime::StackTrace.
        (Object.chain): New field.
        * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
        gnu::gcj::runtime::StackTrace.
* gnu/gcj/runtime/natStackTrace.cc: New file.
* gnu/gcj/runtime/MethodRef.java: New file.
        * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
        instead of getClassLoader().
        * verify.cc (class _Jv_BytecodeVerifier): Likewise.
        java::lang::VMThrowable.
        * Makefile.am (core_java_source_files): Add MethodRef.java,
StackTrace.java.
        (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
        * Makefile.in: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59771 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-03 Andrew Haley <aph@redhat.com>
aph [Tue, 3 Dec 2002 13:50:40 +0000 (13:50 +0000)]
2002-12-03  Andrew Haley  <aph@redhat.com>

        * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
_Jv_PushClass.
        (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
        (_Jv_PopClass): New.
        (_Jv_PushClass): New.
        * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
        discover the ClassLoader of our caller.
        (_Jv_CheckArrayStore): Don't check that a class is assignment
        compatible with Object.
        * java/lang/natVMTHrowable.cc: Delete.
        * gnu/gcj/runtime/StackTrace.java: New, partly copied from
java.lang.VMThrowable.
        (StackTrace(), StackTrace(int)): New constructors.
        (classAt, methodAt, update, methodAtAddress): New methods.
        (map): New field.
* java/lang/VMThrowable.java: Use StackTrace instead of
natVMTHrowable.
* java/lang/Class.h (getClassLoaderInternal): New.
        (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
        Be friendly with gnu::gcj::runtime::StackTrace.
        (Object.chain): New field.
        * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
        gnu::gcj::runtime::StackTrace.
        * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
        instead of getClassLoader().
        * verify.cc (class _Jv_BytecodeVerifier): Likewise.
        java::lang::VMThrowable.
        * Makefile.am (core_java_source_files): Add MethodRef.java,
StackTrace.java.
        (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
        * Makefile.in: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59770 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-03 Andrew Haley <aph@redhat.com>
aph [Tue, 3 Dec 2002 13:50:05 +0000 (13:50 +0000)]
2002-12-03  Andrew Haley  <aph@redhat.com>

        * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
_Jv_PushClass.
        (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
        (_Jv_PopClass): New.
        (_Jv_PushClass): New.
        * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
        discover the ClassLoader of our caller.
        (_Jv_CheckArrayStore): Don't check that a class is assignment
        compatible with Object.
        * java/lang/natVMTHrowable.cc: Delete.
        * gnu/gcj/runtime/StackTrace.java: New, partly copied from
java.lang.VMThrowable.
        (StackTrace(), StackTrace(int)): New constructors.
        (classAt, methodAt, update, methodAtAddress): New methods.
        (map): New field.
* java/lang/VMThrowable.java: Use StackTrace instead of
natVMTHrowable.
* java/lang/Class.h (getClassLoaderInternal): New.
        (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
        Be friendly with gnu::gcj::runtime::StackTrace.
        (Object.chain): New field.
        * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
        gnu::gcj::runtime::StackTrace.
        * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
        instead of getClassLoader().
        * verify.cc (class _Jv_BytecodeVerifier): Likewise.
        java::lang::VMThrowable.
        * Makefile.am (core_java_source_files): Add MethodRef.java,
StackTrace.java.
        (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
        * Makefile.in: Rebuild.

2002-12-03  Andrew Haley  <aph@redhat.com>

* class.c (make_class_data): New field, "chain".
* decl.c (java_init_decl_processing): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59769 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8688
mmitchel [Tue, 3 Dec 2002 09:05:36 +0000 (09:05 +0000)]
PR c++/8688
* decl.c (reshape_init): Handle erroneous initializers.

PR c++/8688
* g++.dg/init/brace3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59768 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Tue, 3 Dec 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59766 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8720
mmitchel [Tue, 3 Dec 2002 06:52:25 +0000 (06:52 +0000)]
PR c++/8720
* spew.c (remove_last_token): Make sure that last_chunk is set
correctly.

PR c++/8615
* error.c (dump_expr): Handle character constants with
TREE_OVERFLOW set.

PR c++/8720
* g++.dg/parse/defarg1.C: New test.

PR c++/8615
* g++.dg/template/char1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59757 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * jni.cc: Added `name' argument.
tromey [Tue, 3 Dec 2002 03:54:05 +0000 (03:54 +0000)]
* jni.cc: Added `name' argument.
* include/jni.h (struct JNINativeInterface) [DefineClass]: Added
`const char *' argument.
(class _Jv_JNIEnv) [DefineClass]: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59756 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (dosize): Replace argument op with
kazu [Mon, 2 Dec 2002 22:22:05 +0000 (22:22 +0000)]
* config/h8300/h8300.c (dosize): Replace argument op with
sign.
(h8300_output_function_prologue): Update the call to dosize.
(h8300_output_function_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59746 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 2 Dec 2002 22:15:54 +0000 (22:15 +0000)]
2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/basic_string.h (compare(const basic_string&)):
Fully qualify min() with std::.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59745 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Bug compatibility, for PR libgcj/8738:
tromey [Mon, 2 Dec 2002 21:30:13 +0000 (21:30 +0000)]
Bug compatibility, for PR libgcj/8738:
* java/io/CharArrayWriter.java (close): Do nothing.
(flush): Likewise.
(reset): Don't touch `closed'.
(write(int)): Don't throw IOException.
(write(char[],int,int)): Likewise.
(write(String,int,int)): Likewise.
(closed): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59743 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
bwilson [Mon, 2 Dec 2002 21:24:44 +0000 (21:24 +0000)]
    * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59740 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/20020210-1.c: Fix a comment typo.
kazu [Mon, 2 Dec 2002 20:28:38 +0000 (20:28 +0000)]
* gcc.dg/20020210-1.c: Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59736 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* configure.in: Use "missing" script to generate warning if
dj [Mon, 2 Dec 2002 20:22:14 +0000 (20:22 +0000)]
* configure.in: Use "missing" script to generate warning if
flex or bison programs not found, instead of invoking "false".
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59735 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.dg/template/varmod1.C: Fix typo.
mmitchel [Mon, 2 Dec 2002 19:44:13 +0000 (19:44 +0000)]
* g++.dg/template/varmod1.C: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59733 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
hubicka [Mon, 2 Dec 2002 19:29:45 +0000 (19:29 +0000)]
* unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59732 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 2 Dec 2002 19:24:11 +0000 (19:24 +0000)]
2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (libtool_VERSION): Update to 5:2:0.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59729 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago For PR java/8740:
tromey [Mon, 2 Dec 2002 19:04:14 +0000 (19:04 +0000)]
For PR java/8740:
* parse.y (do_resolve_class): Handle qualified name via
recursion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59728 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 2 Dec 2002 18:53:41 +0000 (18:53 +0000)]
2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/basic_string.tcc
(basic_string::append(const basic_string&, size_type,
size_type), basic_string::compare(size_type, size_type,
const basic_string&), basic_string::compare(size_type,
size_type, const basic_string&, size_type, size_type),
basic_string::compare(const _CharT*), basic_string::
compare(size_type, size_type, const _CharT*),
basic_string::compare(size_type, size_type, const _CharT*,
size_type), _S_string_copy(const basic_string&, _CharT*,
typename _Alloc::size_type)): Fully qualify min() with std::.

2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/basic_string.tcc
(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Delay the declaration of __dnew,
fully qualify distance() with std::.
(basic_string::_M_replace_safe): Fully qualify distance()
with std::.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59726 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.c (ix86_expand_int_movcc): Avoid overflow.
hubicka [Mon, 2 Dec 2002 18:44:05 +0000 (18:44 +0000)]
* i386.c (ix86_expand_int_movcc):  Avoid overflow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59724 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago DR 180
lerdsuwa [Mon, 2 Dec 2002 17:03:13 +0000 (17:03 +0000)]
DR 180
* decl.c (grokdeclarator): Require class-key for all friend class.
Output the correct type and context in the error message.

* g++.old-deja/g++.pt/crash32.C: Expect error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59719 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
kazu [Mon, 2 Dec 2002 16:54:14 +0000 (16:54 +0000)]
* config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
(push): Likewise.
(pop): Likewise.
(h8300_output_function_prologue): Likewise.
(h8300_output_function_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59718 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expmed.c (store_bit_field): Use int_mode_for_mode to find
amylaar [Mon, 2 Dec 2002 14:44:17 +0000 (14:44 +0000)]
* expmed.c (store_bit_field): Use int_mode_for_mode to find
corresponding mode of non-integer mode, unless it is VOIDmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59716 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (stm_h8300s_2): New.
kazu [Mon, 2 Dec 2002 14:24:11 +0000 (14:24 +0000)]
* config/h8300/h8300.md (stm_h8300s_2): New.
(stm_h8300s_3): Likewise.
(stm_h8300s_4): Likewise.
(five define_peephole2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59715 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 2 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59712 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ra-build.c: Fix a comment typo.
kazu [Mon, 2 Dec 2002 05:12:53 +0000 (05:12 +0000)]
* ra-build.c: Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59705 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (h8300_output_function_prologue):
kazu [Mon, 2 Dec 2002 02:02:43 +0000 (02:02 +0000)]
* config/h8300/h8300.c (h8300_output_function_prologue):
Remove variable idx.
(h8300_output_function_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59703 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function.
tromey [Sun, 1 Dec 2002 23:50:03 +0000 (23:50 +0000)]
* libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function.
(gcj_jacks_parse): Use it; set up xfails.
* libjava.jacks/jacks.xfail: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59702 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/5919
mmitchel [Sun, 1 Dec 2002 20:46:08 +0000 (20:46 +0000)]
PR c++/5919
* g++.dg/template/varmod1.C: New test.

PR c++/5919
* pt.c (unify): Use variably_modified_type_p to test validity of
template argument types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59698 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8727
mmitchel [Sun, 1 Dec 2002 20:27:37 +0000 (20:27 +0000)]
PR c++/8727
* g++.dg/inherit/typeinfo1.C: New test.

PR c++/8663
* g++.dg/inherit/typedef1.C: New test.

PR c++/8727
* cp-tree.h (lang_type_class): Add typeinfo_var.
(CLASSTYPE_TYPEINFO_VAR): New macro.
* rtti.c (get_tinfo_decl): Use it.

PR c++/8663
* init.c (expand_member_init): Always get the main variant of a
base class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59694 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/frv/xm-frv.h: Delete, unnecessary.
zack [Sun, 1 Dec 2002 19:16:12 +0000 (19:16 +0000)]
* config/frv/xm-frv.h: Delete, unnecessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59693 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md: Add comments for define_peephole2.
kazu [Sun, 1 Dec 2002 18:04:06 +0000 (18:04 +0000)]
* config/h8300/h8300.md: Add comments for define_peephole2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59690 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8332
mmitchel [Sun, 1 Dec 2002 17:51:51 +0000 (17:51 +0000)]
PR c++/8332
PR c++/8493
* decl.c (cxx_init_decl_processing): Use size_type_node, not
c_size_type_node.
* decl2.c (coerce_new_type): Likewise.
* except.c (do_allocate_exception): Likewise.

* builtin-types.def (BT_SIZE): Use size_type_node.
* builtins.c (fold_builtin): Make the builtin strlen returns a
size_t, not a sizetype.
* c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
c_size_type_node.
(c_alignof_expr): Likewise.
(c_common_nodes_and_builtins): Likewise.
* c-common.h (CTI_C_SIZE_TYPE): Remove.
(c_size_type_node): Likewise.
* c-format.c (T_ST): Use size_type_node, not c_size_type_node.
* tree.h (TI_SIZE_TYPE): New enumeral.
(size_type_node): Likewise.

PR c++/8332
PR c++/8493
* g++.dg/template/strlen1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59689 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoRevert change accidentally applied to wrong branch
zack [Sun, 1 Dec 2002 17:32:33 +0000 (17:32 +0000)]
Revert change accidentally applied to wrong branch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59688 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/lang/SecurityManager.java: Remerge comments, indenting and
mark [Sun, 1 Dec 2002 16:16:19 +0000 (16:16 +0000)]
   * java/lang/SecurityManager.java: Remerge comments, indenting and
       checkXXX methods with Classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59685 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.mauve/xfails: Remove Inspector FAILs that now PASS.
mark [Sun, 1 Dec 2002 15:50:33 +0000 (15:50 +0000)]
    * libjava.mauve/xfails: Remove Inspector FAILs that now PASS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59680 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 1 Dec 2002 08:17:11 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59679 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoi * configure.in: Don't put ${tm_file} into host_xm_file,
zack [Sun, 1 Dec 2002 05:43:14 +0000 (05:43 +0000)]
i * configure.in: Don't put ${tm_file} into host_xm_file,
build_xm_file, or xm_file.  Do put tm-preds.h into tm_p_file.
Take location of tm-preds.h into account when calculating
tm_p_file_list.
* configure: Regenerate.
* mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
arguments.  Do not provide rtx, rtvec, tree, or GTY here.
Remove special case code for tm_p.h and *config.h; add new
special case code for tm.h and tconfig.h. Clean up a bit.

* Makefile.in (tm_file, tm_file_list): New variables set from
@-substitutions.
(GCONFIG_H): Deleted.
(GTM_H, TM_H): New.
(CONFIG_H): Is now just config.h $(host_xm_file_list).
(TM_P_H): Move up with the other mkconfig.sh-generated
headers; don't mention tm-preds.h explicitly.
(tm.h, cs-tm.h): New rule.
(cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
invocations of mkconfig.sh for changes to that program.
(mostlyclean): Delete print-rtl1.c.
(clean): Delete tm.h.
* Makefile.in, ada/Make-lang.in, cp/Make-lang.in,
f/Make-lang.in, java/Make-lang.in, objc/Make-lang.in,
treelang/Make-lang.in: Update dependencies for the files
listed below.
* mklibgcc.in:  Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.

* coretypes.h: New file.
* system.h: #define malloc to xmalloc and realloc to xrealloc
when FLEX_SCANNER or YYBISON is defined, independent of the
value of GCC_VERSION.
* alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
gencheck.c, gencodes.c, genconditions.c, genconfig.c,
genconstants.c, genemit.c, genextract.c, genflags.c,
gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
print-tree.c, profile.c, protoize.c, ra-build.c,
ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
regrename.c, reload.c, reload1.c, reorg.c, resource.c,
rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
xcoffout.c, config/darwin-c.c, config/darwin.c,
config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
config/i960/i960-c.c, config/i960/i960.c,
config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
config/m32r/m32r.c, config/m68hc11/m68hc11.c,
config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
config/mips/irix6-libc-compat.c, config/mips/mips.c,
config/mmix/mmix.c, config/mn10200/mn10200.c,
config/mn10300/mn10300.c, config/ns32k/ns32k.c,
config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
config/sparc/sparc.c, config/stormy16/stormy16.c,
config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
Include coretypes.h and tm.h.

* genattrtab.c, genconditions.c, genemit.c, genextract.c,
gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
genrecog.c: Include coretypes.h and tm.h from the file
generated by this program.

* unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
coretypes.h and tm.h, and tsystem.h when not already included.
No need to include stddef.h nor stdlib.h.

* ada/cuintp.c, ada/decl.c, ada/deftarg.c, ada/misc.c,
ada/targtyps.c, ada/trans.c, ada/utils.c, ada/utils2.c:
Include coretypes.h and tm.h, and system.h when not already
included.

* cp/call.c, cp/class.c, cp/cp-lang.c, cp/cvt.c, cp/cxxfilt.c,
cp/decl.c, cp/decl2.c, cp/dump.c, cp/error.c, cp/except.c,
cp/expr.c, cp/friend.c, cp/g++spec.c, cp/init.c, cp/lex.c,
cp/mangle.c, cp/method.c, cp/optimize.c, cp/parse.y, cp/pt.c,
cp/ptree.c, cp/repo.c, cp/rtti.c, cp/search.c, cp/semantics.c,
cp/spew.c, cp/tree.c, cp/typeck.c, cp/typeck2.c:
Include coretypes.h and tm.h.

* f/proj.h, f/ansify.c, f/g77spec.c, f/intdoc.c:
Include coretypes.h and tm.h.

* fixinc/fixlib.h: Include coretypes.h and tm.h.  Do not
include auto-host.h or ansidecl.h/
* fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
* fixinc/procopen.c: Include server.h after fixlib.h.  Do not
include auto-host.h, ansidecl.h, or system.h.
* fixinc/server.c: Likewise.  Also, do not include signal.h,
and do not redefine volatile.

* java/boehm.c, java/buffer.c, java/builtins.c,
java/check-init.c, java/class.c, java/constants.c,
java/decl.c, java/except.c, java/expr.c, java/gjavah.c,
java/jcf-depend.c, java/jcf-dump.c, java/jcf-io.c,
java/jcf-parse.c, java/jcf-path.c, java/jcf-write.c,
java/jv-scan.c, java/jvgenmain.c, java/jvspec.c, java/lang.c,
java/mangle.c, java/mangle_name.c, java/parse-scan.y,
java/parse.y, java/typeck.c, java/verify.c, java/xref.c,
java/zextract.c: Include coretypes.h and tm.h.

* treelang/lex.l: Move "%{" below copyright notice; get rid of
"/*" embedded in comment.  Do not #undef IN_GCC; do not
include stdio.h, memory.h, or ansidecl.h; do not include
config.h twice.  Do include coretypes.h and tm.h.
* treelang/parse.y: Do not #undef IN_GCC, provide bogus
definitions of tree and rtx typedefs, or include stdio.h,
stdlib.h, string.h, or ansidecl.h. Do include coretypes.h and
tm.h.
* treelang/tree1.c: Do not include ansidecl.h, stdlib.h,
unistd.h, ctype.h, stdarg.h, string.h, or stdio.h.  Do include
coretypes.h and tm.h.
* treelang/treetree.c: Do not include stdlib.h, unistd.h,
safe-ctype.h, errno.h. stdarg.h, limits.h, string.h, fcntl.h,
getopt.h. stdio.h, or ansidecl.h.  Do include coretypes.h and
tm.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59673 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8227
mmitchel [Sun, 1 Dec 2002 04:55:20 +0000 (04:55 +0000)]
PR c++/8227
* decl.c (layout_var_decl): Deal gracefully with erroneous types.
(check_initializer): Validate the type of the initialized
variable, even if the initializer is absent.
* typeck.c (cp_type_quals): Deal gracefully with erroneous types.

PR c++/8227
* g++.dg/template/ctor2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59672 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
danglin [Sun, 1 Dec 2002 03:52:04 +0000 (03:52 +0000)]
* cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
pseudo register number plus 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59669 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8214
mmitchel [Sun, 1 Dec 2002 02:11:05 +0000 (02:11 +0000)]
PR c++/8214
* g++.dg/init/string1.C: New test.

PR c++/8214
* typeck.c (convert_for_assignment): Do not use
decl_constant_value on the operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59668 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8511
mmitchel [Sat, 30 Nov 2002 21:57:32 +0000 (21:57 +0000)]
PR c++/8511
* pt.c (instantiate_decl): Handle template friends defined outside
of the class correctly.

PR c++/8511
* g++.dg/template/friend8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59665 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 30 Nov 2002 08:17:11 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59657 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-29 Scott Gilbertson <scottg@mantatest.com>
tromey [Sat, 30 Nov 2002 04:51:11 +0000 (04:51 +0000)]
2002-11-29  Scott Gilbertson  <scottg@mantatest.com>

* java/awt/image/ColorModel.java (getUnnormalizedComponents,
getNormalizedComponents): Fix calculation which was using one too
many bits in the unnormalized format.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59651 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-29 Gary Benson <gbenson@redhat.com>
tromey [Sat, 30 Nov 2002 04:41:59 +0000 (04:41 +0000)]
2002-11-29  Gary Benson  <gbenson@redhat.com>

For PR libgcj/8759:
* java/beans/Introspector.java (flushCaches): New method.
(flushFromCaches): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59650 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplib.c (_cpp_test_assertion): Default *value to 0.
hp [Fri, 29 Nov 2002 22:41:04 +0000 (22:41 +0000)]
* cpplib.c (_cpp_test_assertion): Default *value to 0.

* cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59648 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.dg/lookup/anon2.C: New test.
mmitchel [Fri, 29 Nov 2002 22:08:36 +0000 (22:08 +0000)]
* g++.dg/lookup/anon2.C: New test.

* parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for
anonymous structs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59647 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (walk_subobject_offsets): Recur on binfos as well as on
mmitchel [Fri, 29 Nov 2002 21:17:05 +0000 (21:17 +0000)]
* class.c (walk_subobject_offsets): Recur on binfos as well as on
types.
(layout_nonempty_base_or_field): Pass it a binfo when processing a
base class.
(layout_empty_base): Likewise.
(build_base_field): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59643 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/s390/t-crtstuff: New target makefile fragment.
uweigand [Fri, 29 Nov 2002 19:59:25 +0000 (19:59 +0000)]
* config/s390/t-crtstuff: New target makefile fragment.
* config.gcc [s390-*-linux, s390x-*-linux]: Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59641 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-18 Krister Walfridsson <cato@df.lth.se>
kristerw [Fri, 29 Nov 2002 17:53:45 +0000 (17:53 +0000)]
2002-10-18  Krister Walfridsson  <cato@df.lth.se>

       * libU77/configure.in (_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED,
       __EXTENSIONS__, _FILE_OFFSET_BITS): Check that _XOPEN_SOURCE 500L
       may be defined before defining these.
       * libU77/configure: Regenerate.
       * libI77/configure.in (_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED,
       __EXTENSIONS__, _FILE_OFFSET_BITS): Check that _XOPEN_SOURCE 500L
       may be defined before defining these.
       * libI77/configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59639 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (movsi_h8300hs): Change the order of
kazu [Fri, 29 Nov 2002 16:24:58 +0000 (16:24 +0000)]
* config/h8300/h8300.md (movsi_h8300hs): Change the order of
alternatives to correct the length when the memory operand is
either pre_dec or post_inc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59637 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (an anonymous pattern): Give an
kazu [Fri, 29 Nov 2002 16:10:21 +0000 (16:10 +0000)]
* config/h8300/h8300.md (an anonymous pattern): Give an
internal name *tst_extzv_bitqi_1_n.
Accept bit_operand instead of bit_memory_operand.
Do not accept bit tests with the MSB.
(*tst_extzv_memqi_1_n): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59636 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-29 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 29 Nov 2002 12:32:17 +0000 (12:32 +0000)]
2002-11-29  Michael Koch <konqueror@gmx.de>

* java/nio/channels/DatagramChannel.java
(open): Added exception documentation.
(write): Added exception documentation.
(connect): Added exception documentation.
(disconnect): Added exception documentation.
(isConnected): Added exception documentation.
(read): Added exception documentation.
(receive): Added exception documentation.
(send): Added exception documentation.
(validOps): Added exception documentation.
* java/nio/channels/SocketChannel.java
(open): Added exception documentation.
(read): Added exception documentation.
(write): Added exception documentation.
(connect): Added exception documentation.
(finishConnect): Added exception documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59633 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-29 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 29 Nov 2002 09:57:05 +0000 (09:57 +0000)]
2002-11-29  Michael Koch <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl:
(fd): New member variable to store file descriptor of socket.
* gnu/java/nio/SelectionKeyImpl.java:
(ops): Removed.
(readyOps): New member variable.
(interestOps): New member variable.
(readyOps): Implemented.
(readyOps): New method to set member variable readyOps.
(interestOps): Replaced ops by interestOps.
* gnu/java/nio/SelectorImpl.java:
(SelectorImpl): Initialize key sets.
(select): Call select with -1 instead of Long.MAX_VALUE).
(java_do_select): Make it a native method.
(getFDsAsArray): New helper method.
(select): Remove canceled keys, give only interested file discriptors
to java_do_select, set ready ops.
(add): No need to initialize keys set here.
(add_selected): No need to initialize selected set here.
(deregisterCanceledKeys): New helper method.
(register): Set interest ops, set attachments, added handling of datagram
channels.
* gnu/java/nio/ServerSocketChannelImpl:
(SocketAccept): Renamed from NioSocketAccept.
(implConfigureBlocking): Implemented.
(accept): Use SocketAccept instead of NioSocketAccept.
* gnu/java/nio/SocketChannelImpl:
Reactivate native methods.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59632 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 29 Nov 2002 08:17:51 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59631 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-29 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 29 Nov 2002 07:56:58 +0000 (07:56 +0000)]
2002-11-29  Michael Koch <konqueror@gmx.de>

* gnu/java/nio/natByteBufferImpl.cc,
gnu/java/nio/natCharBufferImpl.cc,
gnu/java/nio/natDoubleBufferImpl.cc,
gnu/java/nio/natFloatBufferImpl.cc,
gnu/java/nio/natIntBufferImpl.cc,
gnu/java/nio/natLongBufferImpl.cc,
gnu/java/nio/natSelectorImpl.cc,
gnu/java/nio/natServerSocketChannelImpl.cc,
gnu/java/nio/natShortBufferImpl.cc,
gnu/java/nio/natSocketChannelImpl.cc:
New files that implement native functionalities.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59625 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-29 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 29 Nov 2002 07:50:46 +0000 (07:50 +0000)]
2002-11-29  Michael Koch <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java
(ByteBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/CharBufferImpl.java:
Reformated.
(endian): New member variable string endianess of buffer.
(CharBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
(subSequence): Implemented.
* gnu/java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/FloatBufferImpl.java
Reformated.
(FloatBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/IntBufferImpl.java
Added needed imports, Reformated.
(IntBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/LongBufferImpl.java
Reformated.
(LongBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.
* gnu/java/nio/ShortBufferImpl.java
Reformated.
(ShortBufferImpl): Moved position() after limit.
(nio_*): Use native implementation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59624 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
kazu [Fri, 29 Nov 2002 02:15:52 +0000 (02:15 +0000)]
* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
Fix a comment typo.
(h8300_tiny_constant_address_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59623 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-28 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 28 Nov 2002 21:28:20 +0000 (21:28 +0000)]
2002-11-28  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/8716
* testsuite/21_strings/ctor_copy_dtor.cc (test05):  Also test
the NULL-pointer, zero-size case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59616 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/passes.texi: Mention the other register allocator.
matz [Thu, 28 Nov 2002 20:53:45 +0000 (20:53 +0000)]
* doc/passes.texi: Mention the other register allocator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59615 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Move host-specific darwin noconfigdirs into
geoffk [Thu, 28 Nov 2002 20:27:44 +0000 (20:27 +0000)]
* configure.in: Move host-specific darwin noconfigdirs into
the host-specific section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59614 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 28 Nov 2002 19:15:04 +0000 (19:15 +0000)]
2002-11-28  Jonathan Wakely  <redi@gcc.gnu.org>
* docs/html/faq/index.html: Add tip about namespace for extensions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59613 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (6 new peephole2 patterns): New.
kazu [Thu, 28 Nov 2002 18:02:46 +0000 (18:02 +0000)]
* config/h8300/h8300.md (6 new peephole2 patterns): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59611 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/strct-varg-1.x: Remove xfail on the
kazu [Thu, 28 Nov 2002 17:41:12 +0000 (17:41 +0000)]
* gcc.c-torture/execute/strct-varg-1.x: Remove xfail on the
h8300 port.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59610 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 28 Nov 2002 17:29:24 +0000 (17:29 +0000)]
2002-11-28  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>

* src/localename.cc
(locale::_Impl::_Impl(const char*, size_t)):
Improve previous fix for the strtok vs MT issue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59609 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
jakub [Thu, 28 Nov 2002 14:47:02 +0000 (14:47 +0000)]
* config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
* config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
* config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59607 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (h8300_and_costs): New.
kazu [Thu, 28 Nov 2002 14:08:34 +0000 (14:08 +0000)]
* config/h8300/h8300.c (h8300_and_costs): New.
* config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
* config/h8300/h8300-protos.h: Add a prototype for
h8300_and_costs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59606 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 28 Nov 2002 12:25:32 +0000 (12:25 +0000)]
2002-11-28  Paolo Carlini  <pcarlini@unitus.it>

* config/locale/gnu/c_locale.cc (locale::_S_categories):
Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
* config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59604 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 28 Nov 2002 08:17:17 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59603 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (altivec_init_builtins): Make the
zack [Thu, 28 Nov 2002 05:29:12 +0000 (05:29 +0000)]
* config/rs6000/rs6000.c (altivec_init_builtins): Make the
pointer argument in the prototypes of the following builtins
be (const TYPE *) rather than (TYPE *):
 + __builtin_altivec_ld_internal_4sf
 + __builtin_altivec_ld_internal_4si
 + __builtin_altivec_ld_internal_8hi
 + __builtin_altivec_ld_internal_16qi
 + __builtin_altivec_lvsl
 + __builtin_altivec_lvsr
 + __builtin_altivec_lvebx
 + __builtin_altivec_lvehx
 + __builtin_altivec_lvewx
 + __builtin_altivec_lvxl
 + __builtin_altivec_lvx
 + __builtin_altivec_dst
 + __builtin_altivec_dstt
 + __builtin_altivec_dstst
 + __builtin_altivec_dststt

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59596 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl.c (java_init_decl_processing): Use `LL' on 64-bit constant.
ghazi [Thu, 28 Nov 2002 02:12:01 +0000 (02:12 +0000)]
* decl.c (java_init_decl_processing): Use `LL' on 64-bit constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59594 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * except.c (default_exception_section): Move variable into the
ghazi [Thu, 28 Nov 2002 02:10:46 +0000 (02:10 +0000)]
* except.c (default_exception_section): Move variable into the
scope where it is used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59593 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-27 Krister Walfridsson <cato@df.lth.se>
kristerw [Thu, 28 Nov 2002 00:09:54 +0000 (00:09 +0000)]
2002-11-27  Krister Walfridsson  <cato@df.lth.se>

* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
correct version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59592 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
kazu [Wed, 27 Nov 2002 22:41:36 +0000 (22:41 +0000)]
* config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59591 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-27 Julian Dolby <dolby@us.ibm.com>
tromey [Wed, 27 Nov 2002 22:41:07 +0000 (22:41 +0000)]
2002-11-27  Julian Dolby  <dolby@us.ibm.com>

* java/util/Locale.java (toString): Improve efficiency if country
and variant are both empty.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59590 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (h8300_shift_costs): New.
kazu [Wed, 27 Nov 2002 22:21:11 +0000 (22:21 +0000)]
* config/h8300/h8300.c (h8300_shift_costs): New.
* config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
* config/h8300/h8300-protos.h: Add a prototype for
h8300_shift_costs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59588 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago- Fix typo in rs6000_output_load_multiple commit.
dje [Wed, 27 Nov 2002 22:14:14 +0000 (22:14 +0000)]
- Fix typo in rs6000_output_load_multiple commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59587 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-22 Jim Wilson <wilson@redhat.com>
aldyh [Wed, 27 Nov 2002 20:58:37 +0000 (20:58 +0000)]
2002-11-22  Jim Wilson  <wilson@redhat.com>

        * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
        in output template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59584 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (build_base_field): Make sure we get the canonical base
mmitchel [Wed, 27 Nov 2002 20:44:16 +0000 (20:44 +0000)]
* class.c (build_base_field): Make sure we get the canonical base
when descending through primary bases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59582 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
rth [Wed, 27 Nov 2002 20:04:16 +0000 (20:04 +0000)]
    * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
        * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
        DLL_IMPORT_EXPORT_PREFIX, not '@'.
        (i386_pe_dllimport_name_p): Likewise.
        (i386_pe_mark_dllexport): Likewise.
        (i386_pe_mark_dllimport): Likewise.
        (i386_pe_encode_section_info): Likewise.
        (i386_pe_strip_name_encoding): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59580 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * mkmap-symver.awk (BEGIN): Set sawsymbol false.
rth [Wed, 27 Nov 2002 20:00:14 +0000 (20:00 +0000)]
    * mkmap-symver.awk (BEGIN): Set sawsymbol false.
        (nm && NF == 3): Set sawsymbol true.
        (END): Exit if no symbols seen.
        (output): Fix map syntax error if no globals for the version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59578 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * src/s390/sysv.S (.eh_frame section): Make section read-only.
uweigand [Wed, 27 Nov 2002 16:44:35 +0000 (16:44 +0000)]
* src/s390/sysv.S (.eh_frame section): Make section read-only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59574 138bc75d-0d04-0410-961f-82ee72b054a4