platform/upstream/linaro-gcc.git
23 years ago2001-04-26 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 26 Apr 2001 21:13:29 +0000 (21:13 +0000)]
2001-04-26  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/compile/20010426.f: New test.
* g77.f-torture/execute/20010426.f: New test.

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

23 years ago*** empty log message ***
toon [Thu, 26 Apr 2001 21:02:07 +0000 (21:02 +0000)]
*** empty log message ***

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

23 years ago * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
geoffk [Thu, 26 Apr 2001 20:56:08 +0000 (20:56 +0000)]
* config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
common to other movsf patterns.  Move up so that in future
people who change the other patterns will change it too.
(movsf_lo_sum): Allow even for soft-float; add appropriate
constraints.
(movsf_high): Likewise.
(movsf_high+1): Allow even for soft-float.

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

23 years ago * function.c (expand_function_end): Always clobber the
geoffk [Thu, 26 Apr 2001 20:54:51 +0000 (20:54 +0000)]
* function.c (expand_function_end): Always clobber the
return registers, even if there is no return label.

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

23 years ago * docs/html/17_intro/BADNAMES: Remove EGCS reference.
mmitchel [Thu, 26 Apr 2001 20:13:47 +0000 (20:13 +0000)]
* docs/html/17_intro/BADNAMES: Remove EGCS reference.
Indicate obsolete nature of thelist for G++ 3.0.

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

23 years ago * g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
law [Thu, 26 Apr 2001 20:06:25 +0000 (20:06 +0000)]
    * g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
        Tweak slightly to work with g++.dg framework.
        * g++.dg/special/ecos.exp: Run initp1.C test.
        * g++.old-deja/g++.ext/initp1.C: Moved to g++.dg/special.

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

23 years ago * invoke.texi: Document more C++ command-line options.
mmitchel [Thu, 26 Apr 2001 20:05:34 +0000 (20:05 +0000)]
* invoke.texi: Document more C++ command-line options.

Remove support for -Wextern-inline, -flabels-ok, -fvtable-gc, -fxref
* cp-tree.h (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
* decl2.c (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
(lang_f_options): Remove labels-ok, vtable-gc, xref.
(unsupported_options): Add them.
(cxx_decode_option): Don't accept -Wextern-inline.
* method.c (hack_identifier): Remove -flabels-ok support.
* spew.c (see_typename): Likewise.

* g++.dg/vtgc1.C: XFAIL.
* g++.old-deja/g++.other/crash18.C: Likewise.

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

23 years ago Fix method search wrt scope of inner classes to match JLS2.
bothner [Thu, 26 Apr 2001 19:40:34 +0000 (19:40 +0000)]
Fix method search wrt scope of inner classes to match JLS2.

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

23 years ago * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
hubicka [Thu, 26 Apr 2001 18:33:25 +0000 (18:33 +0000)]
* (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.

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

23 years ago * jcf-write.c (generate_bytecode_insns case SWITCH_EXPR):
bothner [Thu, 26 Apr 2001 18:32:22 +0000 (18:32 +0000)]
* jcf-write.c (generate_bytecode_insns case SWITCH_EXPR):
Fix thinko:  If a single case, use if_icmpeq, not ifeq.

* constants.c (find_methodref_with_class_index):  New function.
(find_methodref_index):  Use find_methodref_with_class_index.
* java-tree.h (find_methodref_with_class_index):  New declaration.
* jcf-write.c (generate_bytecode_insns case CALL_EXPR):  Don't change
DECL_CONTEXT, instead use new find_methodref_with_class_index function.
If context changed from interface to class, don't use invokeinterface.

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

23 years ago * verify.c (verify_jvm_instructions): For field instructions,
bothner [Thu, 26 Apr 2001 18:11:02 +0000 (18:11 +0000)]
* verify.c (verify_jvm_instructions):  For field instructions,
check that field index is valid.  For invoke instructions, check that
method index is valid.

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

23 years ago * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
hubicka [Thu, 26 Apr 2001 18:10:44 +0000 (18:10 +0000)]
* i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
(pushqi2_rex64, pushhi2_rex64): Add.

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

23 years ago2001-04-26 Andrew Haley <aph@redhat.com>
aph [Thu, 26 Apr 2001 17:49:01 +0000 (17:49 +0000)]
2001-04-26  Andrew Haley  <aph@redhat.com>

        * except.c (expand_eh_region_end_cleanup): Force pending stack
        adjust before emitting label that branches around cleanup code.

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

23 years ago * g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
law [Thu, 26 Apr 2001 17:13:04 +0000 (17:13 +0000)]
    * g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
        its linker doesn't give line numbers either.
        * g++.old-deja/g++.ext/instantiate3.C: Similarly.

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

23 years ago * src/ia64/unix.S: Restore stack pointer when returning from
hboehm [Thu, 26 Apr 2001 16:08:59 +0000 (16:08 +0000)]
* src/ia64/unix.S: Restore stack pointer when returning from
ffi_closure_UNIX.
* src/ia64/ffi.c: Fix typo in comment

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

23 years ago2001-04-26 H.J. Lu (hjl@gnu.org)
hjl [Thu, 26 Apr 2001 16:02:05 +0000 (16:02 +0000)]
2001-04-26  H.J. Lu  (hjl@gnu.org)

* config.gcc (mips*-*-linux*): Add elfos.h to tm_file.

* config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
define.
* config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
(ASM_FILE_START): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(ASM_DECLARE_OBJECT_NAME): Likewise.
(ASM_FILE_END): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
(ASM_OUTPUT_INTERNAL_LABEL): Likewise.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_CASE_LABEL): Likewise.
(ASM_OUTPUT_SKIP): Likewise.
(ASM_OUTPUT_ASCII): Likewise.
(ASM_OUTPUT_IDENT): Likewise.
(READONLY_DATA_SECTION): Likewise.
(EXTRA_SECTIONS): Likewise.
(EXTRA_SECTION_FUNCTIONS): Likewise.
(SELECT_RTX_SECTION): Likewise.
(SELECT_SECTION): Likewise.

* config/mips/linux.h (INVOKE__main): Undefine.
(CTOR_LIST_BEGIN): Likewise.
(CTOR_LIST_END): Likewise.
(DTOR_LIST_BEGIN): Likewise.
(DTOR_LIST_END): Likewise.
(SET_ASM_OP): Defined it to ".dummy".
(ASM_OUTPUT_DEF): Defined.
(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.

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

23 years agoDefine ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.
nickc [Thu, 26 Apr 2001 15:37:02 +0000 (15:37 +0000)]
Define ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.

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

23 years ago.:
nathan [Thu, 26 Apr 2001 15:12:55 +0000 (15:12 +0000)]
.:
* c-lex.c (c_lex): Remove # from %o diagnostic formatting.
testsuite:
* g++.old-deja/g++.other/lex1.C: New test.

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

23 years ago * integrate.c (expand_inline_function): Check for error_mark_node
jakub [Thu, 26 Apr 2001 11:36:23 +0000 (11:36 +0000)]
* integrate.c (expand_inline_function): Check for error_mark_node
in actual argument.

* gcc.dg/noncompile/20010425-1.c: New test.

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

23 years ago * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
jakub [Thu, 26 Apr 2001 10:30:17 +0000 (10:30 +0000)]
* config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
-m386 and -m486.

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

23 years agocp:
nathan [Thu, 26 Apr 2001 08:34:06 +0000 (08:34 +0000)]
cp:
* mangle.c (write_chars): New macro.
(hwint_to_ascii): New function
(write_number): Use it.
(write_integer_cst): Deal with really big numbers.
testsuite:
* g++.old-deja/g++.pt/mangle2.C: New test.

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

23 years agoDaily bump.
gccadmin [Thu, 26 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
aoliva [Thu, 26 Apr 2001 05:28:55 +0000 (05:28 +0000)]
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

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

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
aoliva [Thu, 26 Apr 2001 05:12:36 +0000 (05:12 +0000)]
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

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

23 years ago* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
aoliva [Thu, 26 Apr 2001 05:10:04 +0000 (05:10 +0000)]
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.

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

23 years ago* configure.in: Obtain THREADS with `gcc -v'.
aoliva [Thu, 26 Apr 2001 04:29:57 +0000 (04:29 +0000)]
* configure.in: Obtain THREADS with `gcc -v'.
* configure: Rebuilt.

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

23 years ago* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
aoliva [Thu, 26 Apr 2001 04:29:15 +0000 (04:29 +0000)]
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
target_thread_file with `gcc -v'.
* aclocal.m4, configure: Rebuilt.

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

23 years ago* configure.in (configargs.h): Define thread_model.
aoliva [Thu, 26 Apr 2001 04:28:50 +0000 (04:28 +0000)]
* configure.in (configargs.h): Define thread_model.
* configure: Rebuilt.
* gcc.c (main): Print it with -v.

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

23 years ago2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 26 Apr 2001 02:23:52 +0000 (02:23 +0000)]
2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
* include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
* include/c_std/bits/std_cwchar.h (std): Same.
* acconfig.h (std): Remove c99 injection into std.
* config.h.in: Regenerate.

* testsuite/README: Fix typo.

* include/bits/codecvt.h: Remove warnings.

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

23 years ago Fix PR libgcj/2237:
bryce [Thu, 26 Apr 2001 02:02:05 +0000 (02:02 +0000)]
Fix PR libgcj/2237:
* java/io/ObjectStreamClass.java (setClass): Calculate
serialVersionUID for local class and compare it against the UID
from the Object Stream. Throw InvalidClassException upon mismatch.
(setUID): Renamed to...
(getClassUID): this. Return the calculated class UID rather than
setting uid field directly.
(getDefinedSUID): Removed.
* java/io/ObjectInputStream.java (resolveClass): Use the
three-argument Class.forName().
* java/io/InvalidClassException (toString): Don't include classname in
result if it is null.

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

23 years agoRestore stack pointer when returning from ffi_closure_UNIX.
hboehm [Thu, 26 Apr 2001 00:46:38 +0000 (00:46 +0000)]
Restore stack pointer when returning from ffi_closure_UNIX.

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

23 years ago * optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting
mmitchel [Thu, 26 Apr 2001 00:33:18 +0000 (00:33 +0000)]
* optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting
the clone.

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

23 years ago*** empty log message ***
hboehm [Thu, 26 Apr 2001 00:30:36 +0000 (00:30 +0000)]
*** empty log message ***

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

23 years ago * invoke.texi: Document -Wmissing-braces, -dumpspecs,
jsm28 [Wed, 25 Apr 2001 22:38:10 +0000 (22:38 +0000)]
* invoke.texi: Document -Wmissing-braces, -dumpspecs,
-dumpmachine, -dumpversion, -fmem-report and -ftime-report.
* gcc.1: Regenerate.

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

23 years ago * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
rth [Wed, 25 Apr 2001 22:27:04 +0000 (22:27 +0000)]
    * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
        is_redundant_typedef): Use static inline instead of inline static.

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

23 years ago* config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that this
cgf [Wed, 25 Apr 2001 22:23:33 +0000 (22:23 +0000)]
* config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that this
directory is always searched.

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

23 years ago * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
rth [Wed, 25 Apr 2001 21:56:54 +0000 (21:56 +0000)]
    * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
        of registers to restore along non eh_return path.

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

23 years ago* config-lang.in (target_libs): Copy from $libgcj_saved.
aoliva [Wed, 25 Apr 2001 21:30:21 +0000 (21:30 +0000)]
* config-lang.in (target_libs): Copy from $libgcj_saved.

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

23 years ago* configure.in (libgcj_saved): Copy from $libgcj.
aoliva [Wed, 25 Apr 2001 21:29:48 +0000 (21:29 +0000)]
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

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

23 years ago * c-format.c (check_format_info_recurse): Handle
jakub [Wed, 25 Apr 2001 21:18:20 +0000 (21:18 +0000)]
* c-format.c (check_format_info_recurse): Handle
PLUS_EXPR for format string.

* gcc.dg/format/plus-1.c: New test.

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

23 years ago * config/ia64/ia64.h (CC1_SPEC): Define.
jakub [Wed, 25 Apr 2001 21:06:10 +0000 (21:06 +0000)]
* config/ia64/ia64.h (CC1_SPEC): Define.
* config/ia64/linux.h (CC1_SPEC): Define.

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

23 years ago * java/net/natInetAddress.cc (java::net::InetAddress::aton):
ghazi [Wed, 25 Apr 2001 20:27:06 +0000 (20:27 +0000)]
* java/net/natInetAddress.cc (java::net::InetAddress::aton):
Wrap use of inet_pton in HAVE_INET6.

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

23 years agoremove self as maintainer
gavin [Wed, 25 Apr 2001 17:25:53 +0000 (17:25 +0000)]
remove self as maintainer

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

23 years ago * emit-rtl.c (constant_subword): Also do sign extension in
amylaar [Wed, 25 Apr 2001 16:14:24 +0000 (16:14 +0000)]
* emit-rtl.c (constant_subword): Also do sign extension in
BITS_PER_WORD == 16 case.

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

23 years agoForgot this file on last commit.
bryce [Wed, 25 Apr 2001 15:48:05 +0000 (15:48 +0000)]
Forgot this file on last commit.

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

23 years agogcc/java:
bryce [Wed, 25 Apr 2001 15:45:15 +0000 (15:45 +0000)]
gcc/java:

2001-04-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* decl.c (init_decl_processing): Add new class "protectionDomain"
field.
* class.c (make_class_data): Set initial value for "protectionDomain".

libjava:

2001-04-25  Bryce McKinlay  <bryce@albatross.co.nz>

java.security merge and ClassLoader compliance fixes.

* java/lang/Class.h (Class): Include ProtectionDomain.h.
New protectionDomain field.
(forName): Add initialize parameter. Fixes declaration to comply with
JDK spec.
* java/lang/natClass.cc (forName): Correct declaration of the three-arg
variant. Honour "initialize" flag.
(getProtectionDomain0): New method.
* java/lang/Class.java: Fix forName() declaration.
(getPackage): New method based on Classpath implementation.
(getProtectionDomain0): New native method decl.
(getProtectionDomain): New method.
* java/lang/ClassLoader.java (getParent): Now final.
(definedPackages): New field.
(getPackage): New.
(defineClass): New variant with protectionDomain argument.
(definePackage): New.
(getPackages): New.
(findSystemClass): Now final.
(getSystemResourceAsStream): Remove redundant "final" modifier.
(getSystemResource): Remove redundant "final" modifier.
(getResources): Now final.
(protectionDomainPermission): New static field.
(unknownProtectionDomain): Ditto.
(defaultProtectionDomain): Ditto.
(getSystemClassLoader): Now non-native.
* java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct
arguments for Class.forName().
* java/lang/Package.java: New file.
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed.
(instance): Static initialize singleton.
(findClass): Override this, not findSystemClass.
* java/lang/natClassLoader.cc (defineClass0): Set class's
protectionDomain field as specified.
(getSystemClassLoader): Removed.
(findClass): Renamed from findSystemClass. Call the interpreter via
URLClassLoader.findClass if loading class via dlopen fails.

* java/security/*.java: java.security import/merge with Classpath.
* java/security/acl/*.java: Likewise.
* java/security/interfaces/*.java: Likewise.
* java/security/spec/*.java: Likewise.
* java/net/NetPermission.java: Likewise.
* java/net/SocketPermission.java: Likewise.
* gnu/java/security/provider/DefaultPolicy.java: Likewise.

* Makefile.am: Add new classes.
* Makefile.in: Rebuilt.
* gcj/javaprims.h: CNI namespace rebuild.

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

23 years agooops
jason [Wed, 25 Apr 2001 15:28:30 +0000 (15:28 +0000)]
oops

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

23 years ago * loop.c (try_swap_copy_prop): Go back to checking insn.
jason [Wed, 25 Apr 2001 15:27:28 +0000 (15:27 +0000)]
    * loop.c (try_swap_copy_prop): Go back to checking insn.

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

23 years ago * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
jakub [Wed, 25 Apr 2001 09:57:00 +0000 (09:57 +0000)]
* emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
if check_mode is non-zero.

* gcc.dg/20010423-1.c: New test.

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

23 years ago * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
jakub [Wed, 25 Apr 2001 09:51:25 +0000 (09:51 +0000)]
* config/i386/i386.c (ix86_expand_int_movcc): If overlap between
out and comparison sequence has been detected, put result into
proper temporary pseudo.

* gcc.c-torture/execute/20010422-1.c: New test.

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

23 years agocp:
nathan [Wed, 25 Apr 2001 08:31:19 +0000 (08:31 +0000)]
cp:
* decl.c (grokdeclarator): Set context of namespace scope
TYPE_DECLS.
testsuite:
* g++.old-deja/g++.ns/type2.C: New test.

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

23 years agoDaily bump.
gccadmin [Wed, 25 Apr 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
zack [Wed, 25 Apr 2001 00:58:04 +0000 (00:58 +0000)]
* Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
* libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
* libgcc2.c: Remove __dummy and __builtin_saveregs.
* libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
* config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
for future reference.

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

23 years ago * except.c (reachable_handlers): Step out one level from a RESX.
jason [Wed, 25 Apr 2001 00:23:10 +0000 (00:23 +0000)]
    * except.c (reachable_handlers): Step out one level from a RESX.

        * except.c (struct eh_region): Rename 'last' to 'resume'.
        (mark_eh_region, duplicate_eh_region_1): Adjust.
        (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
        (build_post_landing_pads): Likewise.
        (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
        (expand_eh_region_end_must_not_throw): Likewise.
        (connect_post_landing_pads): Thread (only) regions with non-deleted
        resume insns.

        * except.c (expand_eh_region_end_cleanup): Save the EH return data
        registers around the cleanup.
        (get_exception_filter): New fn.
        (finish_eh_generation): Use it.

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

23 years ago * cp/optimize.c: Include hashtab.h.
zack [Wed, 25 Apr 2001 00:07:07 +0000 (00:07 +0000)]
* cp/optimize.c: Include hashtab.h.
(struct inline_data): Add tree_pruner.
(expand_call_inline, expand_calls_inline): Use it when calling
walk_tree.
(optimize_function): Initialize and free tree_pruner.

* g++.old-deja/g++.other/perf1.C: New test.

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

23 years ago* configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS
aoliva [Tue, 24 Apr 2001 11:27:20 +0000 (11:27 +0000)]
* configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS
for libtool tests.  Pre-create gnu/classpath/Configuration.java.
* configure: Rebuilt.

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

23 years ago * c-semantics.c (add_scope_stmt): Don't call
nathan [Tue, 24 Apr 2001 08:25:56 +0000 (08:25 +0000)]
* c-semantics.c (add_scope_stmt): Don't call
current_scope_stmt_stack multiple times.

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

23 years agogcc:
nathan [Tue, 24 Apr 2001 08:22:06 +0000 (08:22 +0000)]
gcc:
Lazy __FUNCTION__ generation.
* c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
RID_C99_FUNCTION_NAME): New _RIDs.
(CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
(CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
global tree slots.
(function_id_node, pretty_function_id_node, func_id_node): Remove.
(c99_function_name_decl_node, function_name_decl_node,
pretty_function_name_decl_node, saved_function_name_decls):
Declare.
(struct language_function): Remove x_function_name_declared_p.
(make_fname_decl): Remove a parameter.
(declare_function_names): Remove prototype.
(start_fname_decls, finish_fname_decls): Prototype.
(fname_as_string): Likewise.
(fname_string, fname_decl): Likewise.
* c-common.c (make_fname_decl): Adjust.
(struct fname_var_t): New struct.
(fname_vars): New static array.
(declare_function_name): Remove.
(start_fname_decls, finish_fname_decls): New functions.
(fname_as_string): New function from remnants of
declare_function_name.
(fname_string, fname_decl): New functions.

* c-decl.c (c_function_name_declared_p): Remove.
(init_decl_processing): Don't generate __FUNCTION__ et al ids,
don't call declare_function_name. Call start_fname_decls.
(c_make_fname_decl): Adjust parameters. Generate the name. Don't
clobber the line number. Call finish_decl.
(start_function): Call start_fname_decls.
(finish_function): Call finish_fname_decls.
Remove c_function_name_declared_p.
(push_c_function_context): Don't push c_function_name_declared_p.
(pop_c_function_context): Don't pop c_function_name_declared_p.
(c_begin_compound_stmt): Don't check c_function_name_declared_p.
* c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
(program): Call finish_fname_decls for C.
(primary): Add VAR_FUNC_NAME.
(reswords): Add slots for __FUNCTION__ et al.
(rid_to_yy): Add mappings for __FUNCTION__ et al.
(yylexname): If it's a STRING_FUNC_NAME generate the function name
now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
* c-semantics.c (prune_unused_decls): Remove.
(finish_stmt_tree): Don't call prune_unused_decls.
(genrtl_decl_stmt): Don't prune unused decls here.
cp:
Lazy __FUNCTION__ generation.
* cp-tree.def (FUNCTION_NAME): Remove.
* cp-tree.h (function_name_declared_p): Remove.
(cp_fname_init): Prototype.
* decl.c (init_decl_processing): Don't generate __FUNCTION__ et al ids,
don't call declare_function_name. Call start_fname_decls.
(cp_make_fname_decl): Adjust parameters. Generate the name. Don't
clobber the line number.
(cp_fname_init): New function.
(start_function): Call start_fname_decls.
(finish_function): Call finish_fname_decls.
* lex.c (reswords): Add slots for __FUNCTION__ et al.
(rid_to_yy): Add mappings for __FUNCTION__ et al.
* optimize.c (maybe_clone_body): Remove function_name_declared_p.
* parse.y (VAR_FUNC_NAME): New token.
(primary): Add VAR_FUNC_NAME.
* pt.c (tsubst_decl): Adjust a DECL_PRETTY_FUNCTION_P's
generation.
(tsubst, FUNCTION_NAME case): Remove.
(tsubst_copy, FUNCTION_NAME case): Remove.
(tsubst_expr, DECL_STMT case): Be careful with a
DECL_PRETTY_FUNCTION_P.
(instantiate_decl): Remove function_name_declared_p.
* semantics.c (begin_compound_statement): Don't call
declare_function_name here.
(setup_vtbl_ptr). Don't save & restore function_name_declared_p.
(finish_translation_unit): Call finish_fname_decls.
(expand_body): Remove function_name_declared_p.
* typeck2.c (digest_init): Allow any ERROR_MARK.
testsuite:
* gcc.dg/c99-func-2.c: Remove xfail.
* gcc.dg/c99-func-3.c: Remove xfail.
* gcc.dg/c99-func-4.c: Remove xfail.

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

23 years agocp:
nathan [Tue, 24 Apr 2001 08:13:38 +0000 (08:13 +0000)]
cp:
* pt.c (tsubst_decl): Use VOID_TYPE_P.
* semantics.c: Fix some typos.

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

23 years agoIf a SYMBOL_REF is in the constant pool, use the pool's SYMBOL_REF.
nickc [Tue, 24 Apr 2001 08:06:04 +0000 (08:06 +0000)]
If a SYMBOL_REF is in the constant pool, use the pool's SYMBOL_REF.

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

23 years agoAlways set STRICT_ALIGNMENT
nickc [Tue, 24 Apr 2001 08:00:44 +0000 (08:00 +0000)]
Always set STRICT_ALIGNMENT

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

23 years agoDaily bump.
gccadmin [Tue, 24 Apr 2001 07:17:10 +0000 (07:17 +0000)]
Daily bump.

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

23 years ago * gcc.c-torture/execute/20010124-1.c: No longer expected to fail.
zack [Tue, 24 Apr 2001 03:10:08 +0000 (03:10 +0000)]
* gcc.c-torture/execute/20010124-1.c: No longer expected to fail.

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

23 years ago2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Mon, 23 Apr 2001 23:17:20 +0000 (23:17 +0000)]
2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/ext/slist: Include required header files.

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

23 years ago * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
jsm28 [Mon, 23 Apr 2001 22:55:32 +0000 (22:55 +0000)]
* c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
passing nested NOP_EXPRs to fold.

testsuite:
* gcc.c-torture/compile/20010423-1.c: New test.

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

23 years ago * include/c_std/bits/std_cerrno.h (errno): Define macro from
ljrittle [Mon, 23 Apr 2001 19:54:34 +0000 (19:54 +0000)]
* include/c_std/bits/std_cerrno.h (errno): Define macro from
identifier declared with external linkage, if needed.
* include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
* include/c_std/bits/std_cstdarg.h (va_end): Likewise.

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

23 years ago2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
bkoz [Mon, 23 Apr 2001 19:50:00 +0000 (19:50 +0000)]
2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>

* acinclude.m4 (CXX): Set to CXX so that in-directory
re-configures find the build compiler.
(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
libstdc++/2609.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

23 years ago * configure.in: Move *-chorusos target case to the proper switch.
green [Mon, 23 Apr 2001 16:47:08 +0000 (16:47 +0000)]
    * configure.in: Move *-chorusos target case to the proper switch.
        Disable libgcj.

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

23 years ago * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
hubicka [Mon, 23 Apr 2001 13:29:42 +0000 (13:29 +0000)]
* reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.

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

23 years agoDaily bump.
gccadmin [Mon, 23 Apr 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * loop.c (loop_delete_insns): Add prototype.
mmitchel [Mon, 23 Apr 2001 04:49:07 +0000 (04:49 +0000)]
* loop.c (loop_delete_insns): Add prototype.

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

23 years ago2001-04-23 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 23 Apr 2001 04:07:16 +0000 (04:07 +0000)]
2001-04-23  Phil Edwards  <pme@sources.redhat.com>

* configure.in:  Remove ENABLE_STD_NAMESPACE.
* cp/decl2.c (flag_honor_std):  Always initialize to 1.
* config.in:  Regenerated.
* configure:  Regenerated.

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

23 years ago * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
shebs [Mon, 23 Apr 2001 01:14:03 +0000 (01:14 +0000)]
    * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
        into xm_defines.
        * config/rs6000/xm-darwin.h: Remove file.

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

23 years ago * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
ghazi [Mon, 23 Apr 2001 00:36:28 +0000 (00:36 +0000)]
* collect2.c (main): Use concat in lieu of xmalloc/sprintf.
(write_c_file_stat): Likewise.

* dbxout.c (dbxout_init): Likewise.

* profile.c (output_func_start_profiler): Likewise.

cp:
* xref.c (GNU_xref_file): Use concat in lieu of xmalloc/sprintf.

f:
* com.c (ffecom_subscript_check_): Use concat in lieu of
xmalloc/sprintf.

java:
* jvspec.c (lang_specific_driver): Fix memory allocation
deficit, by using concat in lieu of xmalloc/sprintf.

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

23 years ago * except.c (build_throw): Wrap the initialization of the exception
jason [Sun, 22 Apr 2001 23:50:06 +0000 (23:50 +0000)]
    * except.c (build_throw): Wrap the initialization of the exception
        object in a MUST_NOT_THROW_EXPR.
        (do_free_exception): #if 0.

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

23 years ago * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
pthomas [Sun, 22 Apr 2001 22:33:45 +0000 (22:33 +0000)]
* ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
require it instead of the CVS version.
        * cpperror.c (v_message): Put a blank before the macro
        body to not confuse exgettext.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Sun, 22 Apr 2001 17:01:18 +0000 (17:01 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.

* java/awt/Menu.java (addNotify): Wrote.

* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.

* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.

* java/awt/List.java (replaceItem): Notify peer.

* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.

* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.

* java/awt/RenderingHints.java (Key): Class now public.

* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.

* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.

* java/awt/FileDialog.java: Wrote.

* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.

* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.

* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.

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

23 years agoDaily bump.
gccadmin [Sun, 22 Apr 2001 07:17:40 +0000 (07:17 +0000)]
Daily bump.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Sun, 22 Apr 2001 03:05:39 +0000 (03:05 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.

* java/awt/Menu.java (addNotify): Wrote.

* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.

* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.

* java/awt/List.java (replaceItem): Notify peer.

* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.

* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.

* java/awt/RenderingHints.java (Key): Class now public.

* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.

* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.

* java/awt/FileDialog.java: Wrote.

* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.

* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.

* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.

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

23 years ago2001-04-21 Kazu Hirata <kazu@hxi.com>
kazu [Sat, 21 Apr 2001 21:38:22 +0000 (21:38 +0000)]
2001-04-21  Kazu Hirata  <kazu@hxi.com>

* calls.c (expand_call): Fix a comment typo.

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

23 years ago * flow.c (proagate_one_insn): Remove useless assignment.
mmitchel [Sat, 21 Apr 2001 18:45:00 +0000 (18:45 +0000)]
* flow.c (proagate_one_insn): Remove useless assignment.
* jump.c (delete_insn): Tidy.
* loop.c (try_copy_prop): When deleting an instruction with a
REG_RETVAL note, delete the entire libcall sequence.
(loop_delete_insns): New function.
* unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
we're not substituting into them yet.

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

23 years ago2001-04-21 Kazu Hirata <kazu@hxi.com>
kazu [Sat, 21 Apr 2001 16:14:45 +0000 (16:14 +0000)]
2001-04-21  Kazu Hirata  <kazu@hxi.com>

* config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
Fix a comment typo.
* config/i960/i960.c (signed_arith_operand): Likewise.

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

23 years ago2001-04-21 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 21 Apr 2001 16:11:14 +0000 (16:11 +0000)]
2001-04-21  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Update release information for 0.5.27.

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

23 years ago2001-04-21 Kazu Hirata <kazu@hxi.com>
kazu [Sat, 21 Apr 2001 16:00:13 +0000 (16:00 +0000)]
2001-04-21  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (general_operand_src): Fix a comment typo.

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

23 years agoDaily bump.
gccadmin [Sat, 21 Apr 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * java/awt/List.java: Wrote.
tromey [Sat, 21 Apr 2001 02:48:35 +0000 (02:48 +0000)]
* java/awt/List.java: Wrote.
* java/awt/Dialog.java: Wrote.

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

23 years ago * cp-tree.h (finish_enum): Change prototype.
mmitchel [Sat, 21 Apr 2001 00:04:09 +0000 (00:04 +0000)]
* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Reorganize.
* parse.y (structsp): Adjust calls to finish_enum.

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

23 years ago * cp-tree.h (finish_enum): Change prototype.
mmitchel [Sat, 21 Apr 2001 00:04:08 +0000 (00:04 +0000)]
* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Reorganize.
* parse.y (structsp): Adjust calls to finish_enum.

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

23 years ago Fixes to compile multiple .class files at once.
bothner [Sat, 21 Apr 2001 00:01:12 +0000 (00:01 +0000)]
Fixes to compile multiple .class files at once.

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

23 years ago * configure.in: Probe for times, clock, struct tms, and clock_t.
zack [Fri, 20 Apr 2001 23:06:55 +0000 (23:06 +0000)]
* configure.in: Probe for times, clock, struct tms, and clock_t.
* configure, config.in: Regenerate.
* timevar.c: Replace ifdef forest in get_time with (relatively)
straightforward series of checks based on autoconf's probes.

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

23 years ago2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 20 Apr 2001 22:26:55 +0000 (22:26 +0000)]
2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* include/backward/backward_warning.h: Format correctly.

* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.

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

23 years ago2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 20 Apr 2001 22:19:57 +0000 (22:19 +0000)]
2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* include/backward/backward_warning.h: Format correctly.

* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.

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

23 years ago2001-04-20 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 20 Apr 2001 20:16:37 +0000 (20:16 +0000)]
2001-04-20  Phil Edwards  <pme@sources.redhat.com>

* include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
__iterator_category.

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

23 years ago * config/pa/som.h (NM_FLAGS): Define.
law [Fri, 20 Apr 2001 18:22:53 +0000 (18:22 +0000)]
    * config/pa/som.h (NM_FLAGS): Define.

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

23 years agocp:
nathan [Fri, 20 Apr 2001 16:06:06 +0000 (16:06 +0000)]
cp:
* tree.c (cp_tree_equal): Adjust final switch formatting. Add
't' case.
testsuite:
* g++.old-deja/g++.pt/typename28.C: New test.

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

23 years agocp:
nathan [Fri, 20 Apr 2001 15:29:09 +0000 (15:29 +0000)]
cp:
* class.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.
(layout_empty_base): Return at end flag.
(build_base_field): Likewise.
(build_base_fields): Likewise.
(layout_virtual_bases): Don't add 1 to eoc value.
(end_of_class): Use full size for empty bases.
(layout_class_type): Clear CLASSNEARLY_EMPTY_P if we appended
empty bases. Don't add 1 to eoc value. Only add trailing padding
if we're an empty class with no empty bases.
(dump_class_hierarchy): Dump size and alignment.
testsuite:
* g++.old-deja/g++.abi/empty2.C: New test.
* g++.old-deja/g++.abi/empty3.C: New test.

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

23 years agoBetter scheduling of shifts
bernds [Fri, 20 Apr 2001 12:19:47 +0000 (12:19 +0000)]
Better scheduling of shifts

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

23 years ago * java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.
warrenl [Fri, 20 Apr 2001 09:43:52 +0000 (09:43 +0000)]
* java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.
* java/text/SimpleDateFormat.java
(indexInArray): Removed private method.
(processYear): Removed private method.
(parseLenient): Removed private method.
(parseLeadingZeros): Removed private method.
(parseStrict): Removed private method.
(expect): Added new private method.
(parse): Reverted to pre-Classpath merge version with minor fixes.
* java/util/natGregorianCalendar.cc (computeTime): Handle strict
calendars.

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

23 years ago* config/i386/i386.c (ix86_expand_int_movcc,
aoliva [Fri, 20 Apr 2001 09:36:34 +0000 (09:36 +0000)]
* config/i386/i386.c (ix86_expand_int_movcc,
ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.

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

23 years ago* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
aoliva [Fri, 20 Apr 2001 09:26:56 +0000 (09:26 +0000)]
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

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