OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 3 Apr 2002 02:32:52 +0000 (02:32 +0000)]
2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/5268
* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
* testsuite/27_io/ios_init.cc (tests04): Add test.

libstdc++/3983
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
* include/bits/basic_ios.tcc: Same. Remove outdated comments.
* include/bits/istream.tcc: Use _M_fctype, make consistent with
ostream.
* testsuite/27_io/ios_init.cc (tests03): Add test.

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

22 years ago * local-alloc.c (contains_replace_regs): LO_SUM may contain
rth [Wed, 3 Apr 2002 02:06:26 +0000 (02:06 +0000)]
    * local-alloc.c (contains_replace_regs): LO_SUM may contain
        replace regs.

* gcc.c-torture/execute/20020402-2.c: New.

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

22 years ago * g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
hp [Wed, 3 Apr 2002 02:01:31 +0000 (02:01 +0000)]
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
* g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto.

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

22 years ago * g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
hp [Wed, 3 Apr 2002 01:45:43 +0000 (01:45 +0000)]
* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
g77.f-torture/execute/20001201.x,
g77.f-torture/execute/u77-test.x: New files.

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

22 years ago * gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
hp [Wed, 3 Apr 2002 01:22:14 +0000 (01:22 +0000)]
* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
* gcc.dg/wchar_t-1.c: Ditto.

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

22 years ago * doc/standards.texi: Document required freestanding libc entry points.
rth [Wed, 3 Apr 2002 00:12:59 +0000 (00:12 +0000)]
    * doc/standards.texi: Document required freestanding libc entry points.

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

22 years ago2002-04-02 Alan Modra <amodra@bigpond.net.au>
dje [Tue, 2 Apr 2002 22:49:44 +0000 (22:49 +0000)]
2002-04-02  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
        associated splitter.  Remove MQ constraint.
        (ctrdi_internal4): Correct CCmode clobber.

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

22 years ago * java/lang/natClassLoader.cc (findClass): Compare against `3',
tromey [Tue, 2 Apr 2002 22:20:30 +0000 (22:20 +0000)]
* java/lang/natClassLoader.cc (findClass): Compare against `3',
not `0'.

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

22 years ago 2002-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 2 Apr 2002 22:01:54 +0000 (22:01 +0000)]
2002-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

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

22 years ago * milli64.S ($$dyncall): New function.
danglin [Tue, 2 Apr 2002 19:44:45 +0000 (19:44 +0000)]
* milli64.S ($$dyncall): New function.
* t-linux (LIB1ASMFUNCS): Revise module list.
(LIB1ASMSRC): Use pa/milli64.S.

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

22 years ago * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
rth [Tue, 2 Apr 2002 18:32:10 +0000 (18:32 +0000)]
    * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
        rename solaris_sys_varargs_h.

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

22 years agoRemove previous delta
nickc [Tue, 2 Apr 2002 16:44:39 +0000 (16:44 +0000)]
Remove previous delta

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

22 years ago * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
mark [Tue, 2 Apr 2002 14:20:44 +0000 (14:20 +0000)]
    * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
        list of testsuite crashers.

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

22 years ago * java/util/IdentityHashMap.java (put): Set new threshold correctly
bryce [Tue, 2 Apr 2002 13:55:14 +0000 (13:55 +0000)]
* java/util/IdentityHashMap.java (put): Set new threshold correctly
when resizing table.

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

22 years ago(output_return_instruction): Do not create the conditional part of the return
nickc [Tue, 2 Apr 2002 13:51:01 +0000 (13:51 +0000)]
(output_return_instruction): Do not create the conditional part of the return
instruction, if there is no condition to be used.

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

22 years ago2002-04-02 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 2 Apr 2002 12:57:23 +0000 (12:57 +0000)]
2002-04-02  Phil Edwards  <pme@gcc.gnu.org>

* include/Makefile.am (install-data-local):  Use mkinstalldirs.
* include/Makefile.in:  Regenerate.

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

22 years ago2002-04-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 2 Apr 2002 12:07:07 +0000 (12:07 +0000)]
2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>
            Philip Martin  <philip@codematters.co.uk>

* include/bits/basic_string.h
(replace(i1, i2, _CharT* k1, _CharT* k2),
replace(i2, i2, const _CharT* k1, const _CharT* k2),
replace(i1, i2, iterator k1, iterator k2,
replace(i1, i2, const_iterator k1, const_iterator k2):
New specializations to optimize for the common cases of
pointers and iterators.
(replace(pos, n1, s, n2)): Tweak.
* include/bits/basic_string.tcc: Tweak comments.
* testsuite/21_strings/replace.cc (test04): New tests.

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

22 years ago * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
kenner [Tue, 2 Apr 2002 12:00:30 +0000 (12:00 +0000)]
* stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
the same mode as its component.

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

22 years ago PR opt/190
rth [Tue, 2 Apr 2002 08:35:51 +0000 (08:35 +0000)]
    PR opt/190
        * final.c (this_is_asm_operands): Export.
        * output.h (this_is_asm_operands): Declare.
        * config/i386/i386.c (print_operand): Error odd asm operands.

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

22 years agoDaily bump.
gccadmin [Tue, 2 Apr 2002 08:18:58 +0000 (08:18 +0000)]
Daily bump.

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

22 years ago * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
rth [Tue, 2 Apr 2002 08:14:57 +0000 (08:14 +0000)]
    * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.

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

22 years ago2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 2 Apr 2002 02:41:50 +0000 (02:41 +0000)]
2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/5542
* acinclude: More extensive checks for msgfmt, --enable-nls.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

22 years ago2002-04-01 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 2 Apr 2002 02:07:22 +0000 (02:07 +0000)]
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
* docs/html/18_support/howto.html:  Document the demangler.
* docs/html/17_intro/howto.html:  And link to it.

* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
* docs/doxygen/run_doxygen:  Print user-vs-maintainer.

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

22 years ago * fixinc/inclhack.def (solaris_sys_varargs_h): New.
rth [Tue, 2 Apr 2002 01:44:51 +0000 (01:44 +0000)]
    * fixinc/inclhack.def (solaris_sys_varargs_h): New.
        * fixinc/fixincl.x: Rebuild.

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

22 years ago * gcc.c-torture/compile/920625-1.x: XFAIL -O1.
rth [Tue, 2 Apr 2002 00:05:39 +0000 (00:05 +0000)]
    * gcc.c-torture/compile/920625-1.x: XFAIL -O1.

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

22 years ago * config/ia64/unwind-ia64.c: Include ia64intrin.h.
rth [Mon, 1 Apr 2002 23:28:46 +0000 (23:28 +0000)]
    * config/ia64/unwind-ia64.c: Include ia64intrin.h.
        (atomic_alloc, atomic_free): New.
        (SIZE, MASK_FOR, PTR_IN): New.
        (emergency_reg_state, emergency_reg_state_free): New.
        (emergency_labeled_state, emergency_labeled_state_free): New.
        (reg_state_alloced, labeled_state_alloced): New.
        (alloc_reg_state, free_reg_state): New.
        (alloc_label_state, free_label_state, free_label_states): New.
        (push, pop, dup_state_stack, free_state_stack): Use them.
        (desc_label_state): Likewise.
        (uw_frame_state_for): Free label states and state stack.
        (uw_update_reg_address): Eliminate warnings.

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

22 years ago2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 1 Apr 2002 22:44:29 +0000 (22:44 +0000)]
2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>

* config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
        ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.

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

22 years ago2002-04-01 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 1 Apr 2002 21:56:42 +0000 (21:56 +0000)]
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

* config/linker-map.gnu:  Export __verbose_terminate_handler.
* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
Make new LTCOMPILE variable, use it in new special build rules.
* libsupc++/Makefile.in:  Rebuild.
* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
runtime __cxa_demangle.

* docs/html/install.html:  Update prereqs and instructions.
* docs/html/19_diagnostics/howto.html:  Bring naming for
verbose_terminate_handler into line with reality.

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

22 years ago2002-04-01 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 1 Apr 2002 21:55:12 +0000 (21:55 +0000)]
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

* cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
not compile if IN_GLIBCPP_V3 defined.
* dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.

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

22 years ago2002-04-01 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 1 Apr 2002 21:54:28 +0000 (21:54 +0000)]
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

* dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.

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

22 years ago * c-decl.c (grokdeclarator): Update.
neil [Mon, 1 Apr 2002 20:26:18 +0000 (20:26 +0000)]
* c-decl.c (grokdeclarator): Update.
* c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* c-tree.h (c_mark_addressable): New.
* c-typeck.c (default_function_array_conversion, build_unary_op,
build_array_ref, convert_for_assignment): Update.
(mark_addressable): Rename.
* calls.c (try_to_integrate, expand_call): Use langhook.
* expr.c (expand_expr): Use langhook.
* langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook.
* stmt.c (expand_asm_operands): Use langhook.
* tree.h (mark_addressable): Remove.
ada:
* decl.c (gnat_to_gnu_entity): Update.
* gigi.h (mark_addressable): Rename.
* misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* trans.c (tree_transform): Update.
* utils.c (create_var_decl): Update.
* util2.c (build_binary_op, build_unary_op,
fill_vms_descriptor): Update.
(mark_addressable): Rename, update.
cp:
* call.c (build_addr_func): Update.
* class.c (resolve_address_of_overloaded_function): Update.
* cp-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* cp-tree.h (cxx_mark_addressable): New.
* decl.c (register_dtor_fn, cxx_maybe_build_cleanup): Update.
* decl2.c (build_cleanup): Update.
* except.c (build_throw): Update.
* init.c (resolve_offset_ref): Update.
* pt.c (convert_nontype_argument): Update.
* semantics.c (finish_asm_stmt, simplify_affr_init_exprs_r): Update.
* typeck.c (decay_conversion, build_array_ref, build_unary_op,
unary_complex_lvalue): Update.
(mark_addressable): Rename.
f:
* com.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
(mark_addressable): Rename.
(ffecom_arrayref_, ffecom_1): Update.
java:
* java-tree.h (java_mark_addressable): New.
* lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* typeck.c (mark_addressable): Rename, update.
objc:
* objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.

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

22 years ago * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
bwilson [Mon, 1 Apr 2002 20:07:21 +0000 (20:07 +0000)]
    * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
        in previous change.

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

22 years ago * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
mark [Mon, 1 Apr 2002 19:59:12 +0000 (19:59 +0000)]
    * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
        NegativeArraySizeException
        (clear(int)): Use sign extended shift.
        (flip(int)): Likewise.
        (get(int)): Likewise.
        (nextClearBit(int)): Likewise.
        (nextSetBit(int)): Likewise.
        (set(int)): Likewise.

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

22 years ago * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
bwilson [Mon, 1 Apr 2002 19:52:18 +0000 (19:52 +0000)]
    * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
        for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).

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

22 years ago * g++.dg/other/new1.C: Use __SIZE_TYPE__.
rth [Mon, 1 Apr 2002 19:28:39 +0000 (19:28 +0000)]
    * g++.dg/other/new1.C: Use __SIZE_TYPE__.

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

22 years ago2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 1 Apr 2002 18:39:37 +0000 (18:39 +0000)]
2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/3129
* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
(basic_ios::_M_streambuf_state): Move.
* include/bits/ios_base (ios_base): To here.
* include/bits/ios_base.h (ios_base::_S_local_words): To
_S_local_word_size.
(ios_base::_M_word_array): To _M_local_word.
(ios_base::_M_words_limit): To _M_word_size.
(ios_base::_M_words): To _M_word.
Comment.
* include/bits/basic_ios.tcc: Adjust.
* src/ios.cc (ios_base::_M_grow_words): Tweak.
* testsuite/27_io/ios_base_storage.cc: Add tests.

libstdc++/5207
Kenny Simpson <theonetruekenny@yahoo.com>
* include/bits/ios_base.h: Fix.

Richard Henderson  <rth@redhat.com>
* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
last change.

* include/bits/basic_string.h: Tweak formatting.

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

22 years ago * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
mark [Mon, 1 Apr 2002 18:09:25 +0000 (18:09 +0000)]
    * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
        that can be compiled now and add testsuite crashers to ignore list.

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

22 years ago * gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
ghazi [Mon, 1 Apr 2002 16:33:55 +0000 (16:33 +0000)]
* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.

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

22 years ago PR c++/5998:
mmitchel [Mon, 1 Apr 2002 16:32:59 +0000 (16:32 +0000)]
PR c++/5998:
* decl.c (duplicate_decls):  Overwrite the RTL when (and only
when) overwriting a built-in function.  Don't use COPY_DECL_RTL,
but follow the SET_DECL_RTL idiom used elsewhere in the function.

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

22 years ago * g++.dg/inherit/template-as-base.C: Expect error.
gdr [Mon, 1 Apr 2002 14:01:24 +0000 (14:01 +0000)]
    * g++.dg/inherit/template-as-base.C: Expect error.
        * g++.dg/inherit/namespace-as-base.C: Likewise.

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

22 years ago2002-04-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 1 Apr 2002 08:55:05 +0000 (08:55 +0000)]
2002-04-01  Paolo Carlini  <pcarlini@unitus.it>

* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
By definition, sizeof(char) == 1.
* include/bits/locale_facets.tcc (money_get::do_get,
money_put::do_put): Ditto.
* testsuite/21_strings/inserters_extractors.cc
(test04): Ditto.

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

22 years ago * c-common.c (unsigned_conversion_warning, convert_and_check,
neil [Mon, 1 Apr 2002 08:46:10 +0000 (08:46 +0000)]
* c-common.c (unsigned_conversion_warning, convert_and_check,
unsigned_type, signed_type, shorten_compare,
c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
* c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
New.
* c-decl.c (grokdeclarator): Update.
* c-format.c (check_format_types): Update.
* c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* c-typeck.c (build_binary_op, convert_for_assignment): Update.
* convert.c (convert_to_integer): Use new hooks.
* expmed.c (make_tree): Use new hooks.
* expr.c (store_expr): Use new hooks.
* fold-const.c (operand_equal_for_comparison_p, build_range_check,
all_ones_mask_p, unextend, fold): Use new hooks.
* langhooks.h (struct lang_hooks_for_types): New hooks.
* tree.h (signed_or_unsigned_type, signed_type,
unsigned_type): Remove.
ada:
* gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
* misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* trans.c (tree_transform, convert_with_check): Update.
* utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
cp:
* cp-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* decl.c (grokdeclarator): Update.
* mangle.c (write_integer_cst): Update.
* typeck.c (build_binary_op): Update.
f:
* com.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
java:
* expr.c (build_java_binop): Update.
* java-tree.h (java_signed_type, java_unsigned_type,
java_signed_or_unsigned_type): Update.
* lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* parse.y (patch_binop): Update.
* typeck.c (signed_or_unsigned_type, unsigned_type,
signed_type): Update.
objc:
* objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.

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

22 years agoDaily bump.
gccadmin [Mon, 1 Apr 2002 08:17:05 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
rth [Mon, 1 Apr 2002 06:52:45 +0000 (06:52 +0000)]
* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
(desc_frgr_mem): Fix reference to f16-f31.

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

22 years ago * varray.h (VARRAY_CHECK): Const-ify.
ghazi [Mon, 1 Apr 2002 05:08:51 +0000 (05:08 +0000)]
* varray.h (VARRAY_CHECK): Const-ify.
* ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
ggc_mark_rtvec, ggc_mark): Const-ify.

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

22 years ago * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
ghazi [Mon, 1 Apr 2002 03:18:49 +0000 (03:18 +0000)]
* rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
RTVEC_ELT): Const-ify.

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

22 years ago * diagnostic.c: Include langhooks-def.h.
neil [Sun, 31 Mar 2002 22:59:14 +0000 (22:59 +0000)]
* diagnostic.c: Include langhooks-def.h.
* Makefile.in (diagnostic.o): Update.

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

22 years ago * c-common.c (c_unsafe_for_reeval): Rename.
neil [Sun, 31 Mar 2002 22:40:57 +0000 (22:40 +0000)]
* c-common.c (c_unsafe_for_reeval): Rename.
* c-common.h (c_unsafe_for_reeval): Rename.
* c-decl.c (finish_incomplete_decl): Rename.
(c_init_decl_processing): Don't set langhook.
* c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
* c-objc-common.c (c_objc_common_init): Don't set langhook.
* c-tree.h (finish_incomplete_decl): Rename.
* langhooks-def.h (lhd_unsafe_for_reeval): New.
(LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_unsafe_For_reeval): New.
* langhooks.h (struct langhooks): New hooks.
* toplev.c (incomplete_decl_finalize_hook): Remove.
(wrapup_global_declarations): Update.
* tree.c (lang_unsafe_for_reeval): Remove.
(unsafe_for_reeval): Update.
* tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
Remove.
ada:
* gigi.h (finish_incomplete_decl): Rename.
* misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
* utils.c (gnat_init_decl_processing): Don't set hook.
(finish_incomplete_decl): Rename.
cp:
* cp-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
* lex.c (cxx_init): Don't set hook.
objc:
* objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.

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

22 years ago * diagnostic.c (print_error_function): Remove.
neil [Sun, 31 Mar 2002 22:32:05 +0000 (22:32 +0000)]
* diagnostic.c (print_error_function): Remove.
(default_print_error_function): Rename.
(report_error_function): Update.
* diagnostic.h (print_error_function): Remove.
(default_print_error_function): Remove.
* langhooks-def.h (struct diagnostic_context): Predeclare.
(lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct diagnostic context): Predeclare.
(struct lang_hooks): New hook.
cp:
* Make-lang.in (error.o): Update.
* cp-lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
* cp-tree.h (struct diagnostic_context): Predeclare.
(cxx_print_error_function): New.
* error.c: Include langhooks-def.h.
(lang_print_error_function): Rename.  Update.
(init_error): Don't set hook.
f:
* com.c (lang_print_error_function): Rename.
(LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
(ffe_init): Don't set hook.
java:
* lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
(java_dummy_print): Remove.
(lang_print_error): Rename.  Exit early if inhibiting output.
(inhibit_error_printing_function): New.
(java_init): Don't set hook.
(lang_init_source): Use new boolean.

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

22 years ago 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 31 Mar 2002 22:12:27 +0000 (22:12 +0000)]
2002-03-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
(PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
!flag_pic.
(CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
* config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
of PIC_OFFSET_TABLE_REGNUM thruout.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/darwin.h: Likewise.

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

22 years ago * emit-rtl.c (adjust_address_1, offset_address): Cast value to
kenner [Sun, 31 Mar 2002 19:48:22 +0000 (19:48 +0000)]
* emit-rtl.c (adjust_address_1, offset_address): Cast value to
unsigned HOST_WIDE_INT, not unsigned int.

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

22 years ago PR middle-end/6096, middle-end/6098, middle-end/6099
jakub [Sun, 31 Mar 2002 18:45:21 +0000 (18:45 +0000)]
PR middle-end/6096, middle-end/6098, middle-end/6099
* reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
CODE_LABELs.
(fill_slots_from_thread): Likewise.

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

22 years ago * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
jakub [Sun, 31 Mar 2002 18:43:31 +0000 (18:43 +0000)]
* config/sparc/sparc.c (function_arg_record_value_1): Pass complex
floating fields in float regs.
(function_arg_record_value_2): Likewise.

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

22 years ago * config/mmix/mmix.md (define_constants): Remove misleading
hp [Sun, 31 Mar 2002 18:38:57 +0000 (18:38 +0000)]
* config/mmix/mmix.md (define_constants): Remove misleading
FIXME.  Add MMIX_fp_rO_OFFSET.
("nonlocal_goto_receiver"): Don't have stack-frame address of
saved rO as part of the pattern.  Remove FIXME.
("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
here, at output-time.

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

22 years ago PR middle-end/6100
jakub [Sun, 31 Mar 2002 18:37:36 +0000 (18:37 +0000)]
PR middle-end/6100
* config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
REG_BR_PRED.
(output_v9branch): Likewise.

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

22 years ago* libgcj.spec.in, libgcj-test.spec.in: Revert for now.
aoliva [Sun, 31 Mar 2002 18:24:59 +0000 (18:24 +0000)]
* libgcj.spec.in, libgcj-test.spec.in: Revert for now.

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

22 years ago* gcc.c: Revert previous patch for now.
aoliva [Sun, 31 Mar 2002 18:24:49 +0000 (18:24 +0000)]
* gcc.c: Revert previous patch for now.
* config/i386/djgpp.h: Likewise.

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

22 years ago * g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C,
hp [Sun, 31 Mar 2002 16:29:04 +0000 (16:29 +0000)]
* g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C,
g++.dg/ext/instantiate3.C: Tweak match patterns.

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

22 years ago * g++.old-deja/g++.pt/static11.C: Skip on mmix-knuth-mmixware.
hp [Sun, 31 Mar 2002 15:49:29 +0000 (15:49 +0000)]
* g++.old-deja/g++.pt/static11.C: Skip on mmix-knuth-mmixware.
* g++.dg/other/static11.C: Copy g++.old-deja/g++.pt/static11.C for
-da test.

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

22 years agoFix date in last entry
hp [Sun, 31 Mar 2002 15:09:20 +0000 (15:09 +0000)]
Fix date in last entry

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

22 years ago * config/mmix/crti.asm (_init): Register _fini with atexit.
hp [Sun, 31 Mar 2002 15:07:55 +0000 (15:07 +0000)]
* config/mmix/crti.asm (_init): Register _fini with atexit.
* config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".

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

22 years ago * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
rth [Sun, 31 Mar 2002 11:50:43 +0000 (11:50 +0000)]
    * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
        (ASM_OUTPUT_DEF_FROM_DECLS): New.

        * gcc.dg/special/alias-2.c: New.
        * gcc.dg/special/ecos.exp: Run it.

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

22 years ago * config/alpha/alpha.md (trap): New.
rth [Sun, 31 Mar 2002 11:09:48 +0000 (11:09 +0000)]
    * config/alpha/alpha.md (trap): New.

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

22 years ago * libgcc2.c (__bb_exit_func): Make static.
rth [Sun, 31 Mar 2002 10:58:55 +0000 (10:58 +0000)]
    * libgcc2.c (__bb_exit_func): Make static.

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

22 years ago * builtins.c (expand_builtin_va_arg): Give warnings not errors for
rth [Sun, 31 Mar 2002 09:52:42 +0000 (09:52 +0000)]
    * builtins.c (expand_builtin_va_arg): Give warnings not errors for
        promoted argument types; build trap.
        (expand_builtin_trap): New.
        (expand_builtin): Use it.
        * stmt.c (expand_nl_goto_receivers): Likewise.
        * expr.h (expand_builtin_trap): Declare.
        * libfuncs.h (LTI_abort, abort_libfunc): New.
        * optabs.c (init_optabs): Init abort_libfunc.

        * gcc.dg/va-arg-1.c: Expect warnings, not errors.

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

22 years ago* libgcj.spec.in: Override libgcc, not lib.
aoliva [Sun, 31 Mar 2002 09:33:05 +0000 (09:33 +0000)]
* libgcj.spec.in: Override libgcc, not lib.
* libgcj-test.spec.in: Likewise.

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

22 years ago* gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
aoliva [Sun, 31 Mar 2002 09:32:52 +0000 (09:32 +0000)]
* gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
(LINK_COMMAND_SPEC): ... from here.
(init_gcc_specs): Duplicate it here too, omitting
shared_name in the second copy.
(init_spec): Test for duplicate
* config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.

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

22 years agoDaily bump.
gccadmin [Sun, 31 Mar 2002 08:17:00 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
davem [Sun, 31 Mar 2002 08:02:54 +0000 (08:02 +0000)]
* config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
* config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.

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

22 years agoFix main return value.
rth [Sun, 31 Mar 2002 07:40:08 +0000 (07:40 +0000)]
Fix main return value.

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

22 years ago * gcc.dg/weak-1.c: Disable on h8300 port.
kazu [Sun, 31 Mar 2002 06:45:26 +0000 (06:45 +0000)]
* gcc.dg/weak-1.c: Disable on h8300 port.

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

22 years ago * regmove.c (combine_stack_adjustments_for_block): Avoid
rth [Sun, 31 Mar 2002 03:34:55 +0000 (03:34 +0000)]
    * regmove.c (combine_stack_adjustments_for_block): Avoid
        emitting a stack adjustment of zero bytes.  Let delete_insn
        update bb->head.

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

22 years ago * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
rth [Sun, 31 Mar 2002 03:11:20 +0000 (03:11 +0000)]
    * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
        (sparc_emitting_epilogue): New.
        (leaf_label, output_return, sparc_return_peephole_ok): Remove.
        * config/sparc/sparc-protos.h: Update.
        * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
        (TARGET_SWITCHES): Update.
        * config/sparc/sparc.md (return): Remove.
        (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
        * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
        config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
        config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
        config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
        config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
        config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
        Remove MASK_EPILOGUE.
        * doc/invoke.texi: Update.

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

22 years ago PR c++/3719
rth [Sun, 31 Mar 2002 02:56:34 +0000 (02:56 +0000)]
    PR c++/3719
        * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
        data out of the exception struct before calling unexpectedHandler.

* g++.dg/eh/unexpected1.C: New.

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

22 years ago2002-03-30 Daniel Berlin <dan@dberlin.org>
dberlin [Sun, 31 Mar 2002 00:36:47 +0000 (00:36 +0000)]
2002-03-30  Daniel Berlin  <dan@dberlin.org>

* dwarf2out.c (dwarf2out_define): Remove start_source_file call,
CPP will start the file for us.

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

22 years ago2002-03-30 Krister Walfridsson <cato@df.lth.se>
bryce [Sun, 31 Mar 2002 00:33:17 +0000 (00:33 +0000)]
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

* configure.in (i*86-*-netbsdelf*): Don't disable libgcj.

libffi:
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

* configure.in: Enable i*86-*-netbsdelf*.
* configure: Rebuilt.

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

22 years ago2002-03-30 Krister Walfridsson <cato@df.lth.se>
bryce [Sun, 31 Mar 2002 00:15:36 +0000 (00:15 +0000)]
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
        NetBSD/i386.

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

22 years ago * config/ia64/ia64.c (group_barrier_needed_p): Special case
rth [Sun, 31 Mar 2002 00:15:19 +0000 (00:15 +0000)]
    * config/ia64/ia64.c (group_barrier_needed_p): Special case
        prologue_allocate_stack.
        (ia64_single_set): Use insn codes for recognition of special
        cases, not rtl matching.
        * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.

* gcc.c-torture/compile/20020330-1.c: New.

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

22 years ago * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
hubicka [Sat, 30 Mar 2002 22:49:56 +0000 (22:49 +0000)]
* cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.

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

22 years ago * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
rth [Sat, 30 Mar 2002 21:01:19 +0000 (21:01 +0000)]
    * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
        or -fomit-frame-pointer with profiling.
        (SUBTARGET_OVERRIDE_OPTIONS): Remove.
        (FUNCTION_PROFILER): Do nothing.
        (PROFILE_HOOK): New.
        * config/sparc/sparc.c (sparc_override_options): Don't check
        code models for profiling.
        (sparc_function_profiler): Remove.
        (sparc_profile_hook): New.
        * config/sparc/sparc-protos.h: Update.

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

22 years agoFix whitespace.
rth [Sat, 30 Mar 2002 20:47:54 +0000 (20:47 +0000)]
Fix whitespace.

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

22 years ago PR optimization/6086
jakub [Sat, 30 Mar 2002 18:50:34 +0000 (18:50 +0000)]
PR optimization/6086
* combine.c (combine_simplify_rtx): If simplify_rtx failed because
of SUBREG of volatile MEM or because the MEM was mode dependent,
return CLOBBER instead of unmodified SUBREG.

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

22 years ago * local-alloc.c (local_alloc): Avoid call of update_equiv_regs when not optimizing.
hubicka [Sat, 30 Mar 2002 13:26:19 +0000 (13:26 +0000)]
* local-alloc.c (local_alloc): Avoid call of update_equiv_regs when not optimizing.

* toplev.c (rest_of_compilation): Cann mark_constant_function
only when optimizing.

* flow.c (calculate_global_regs_live): Ensure that all AUX fields are NULL.

* cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
(thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
(try_optimize_cfg): clear all AUX fields.

* i386.c (aligned_operand): Be prepared for SUBREGed registers.
(ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
(ix86_address_cost): Be prepared for SUBREGed registers.
(legitimate_address_p): Accept SUBREGed registers.

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

22 years agoDaily bump.
gccadmin [Sat, 30 Mar 2002 08:17:30 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
bryce [Sat, 30 Mar 2002 03:30:36 +0000 (03:30 +0000)]
* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
if it is NULL.

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

22 years ago PR target/5672
rth [Sat, 30 Mar 2002 02:16:41 +0000 (02:16 +0000)]
    PR target/5672
        * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.

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

22 years ago 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sat, 30 Mar 2002 01:00:23 +0000 (01:00 +0000)]
2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
for aggregate and TFmode types.

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

22 years ago * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
hp [Sat, 30 Mar 2002 00:40:53 +0000 (00:40 +0000)]
* cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].

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

22 years agoRecord pr numbers.
rth [Fri, 29 Mar 2002 23:45:43 +0000 (23:45 +0000)]
Record pr numbers.

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

22 years ago * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
rth [Fri, 29 Mar 2002 23:39:05 +0000 (23:39 +0000)]
    * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
        * config/ia64/hpux.h, config/ia64/linux.h: Likewise.

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

22 years ago * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
rth [Fri, 29 Mar 2002 23:24:20 +0000 (23:24 +0000)]
    * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
        (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
        * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
        * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
        conditional.
        * docs/invoke.texi: Update -mno-fancy-math-387 docs.

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

22 years ago * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
hboehm [Fri, 29 Mar 2002 22:52:13 +0000 (22:52 +0000)]
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
(GC_local_gcj_malloc): Add assertion.
(start_mark_threads): Fix abort message.
* mark.c (GC_mark_from): Generalize assertion.
* reclaim.c (GC_clear_fl_links): New function.
(GC_start_reclaim): Must clear some freelist links.
* include/private/specific.h, specific.c: Add assertions.
Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
Rearrange tse fields.

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

22 years ago * loop.c (combine_movables): Do allow combination of pseudos.
rth [Fri, 29 Mar 2002 22:36:56 +0000 (22:36 +0000)]
    * loop.c (combine_movables): Do allow combination of pseudos.

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

22 years ago2002-03-29 Martin Kahlert <martin.kahlert@infineon.com>
apbianco [Fri, 29 Mar 2002 22:27:29 +0000 (22:27 +0000)]
2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>

* parse.y (do_resolve_class): Fix infinite recursion.

(http://gcc.gnu.org/ml/java/2002-03/msg00654.html)

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

22 years ago * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
ljrittle [Fri, 29 Mar 2002 22:01:18 +0000 (22:01 +0000)]
* config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
* config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
No functional change except ...
* config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
* doc/install.texi (*-*-freebsd*): Document port configuration.

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

22 years ago2002-03-29 Tom Tromey <tromey@redhat.com>
apbianco [Fri, 29 Mar 2002 21:58:49 +0000 (21:58 +0000)]
2002-03-29  Tom Tromey  <tromey@redhat.com>

* parse.y (check_inner_circular_reference): Ignore incomplete
types.

(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01987.html)

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

22 years ago * g++.dg/dg.exp: Ignore tests in new directories bprob and gcov.
janis [Fri, 29 Mar 2002 21:56:12 +0000 (21:56 +0000)]
* g++.dg/dg.exp: Ignore tests in new directories bprob and gcov.
* g++.dg/bprob/bprob.exp: New driver for profile-directed branch
ordering tests.
* g++.dg/bprob/bprob-1.C: New test.
* g++.dg/gcov/gcov.exp: New driver for gcov tests.
* g++.dg/gcov/gcov-1.C: New test.
* g++.dg/gcov/gcov-1.x: New file.
* g++.dg/gcov/gcov-2.C: New test.
* g++.dg/gcov/gcov-3.C: New test.
* g++.dg/gcov/gcov-3.h: New file.

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

22 years ago * Makefile.in (convert.o, calls.o, expmed.o): Update.
neil [Fri, 29 Mar 2002 21:46:27 +0000 (21:46 +0000)]
* Makefile.in (convert.o, calls.o, expmed.o): Update.
* attribs.c (handle_mode_attribute, handle_vector_size_attribute):
Use new hooks.
* builtin-types.def (BT_PTRMODE): Update.
* c-common.c (type_for_size): Rename c_common_type_for_size.
(type_for_mode): Similarly.
(shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
Use new hook.
* c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
* c-decl.c (finish_enum, build_enumerator): Use new hooks.
* c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* c-typeck.c (common_type, comptypes, default_conversion):
Use new hooks.
* calls.c: Include langhooks.h.
(emit_library_call_value_1): Use new hooks.  Avoid redundant
calls.
* convert.c: Include langhooks.h
(convert_to_pointer, convert_to_integer): Use new hooks.
* except.c (init_eh): Similarly.
* expmed.c: Include langhooks.h.
(expand_mult_add): Use new hooks.
* expr.c (store_expr, store_constructor, expand_expr, do_jump,
try_casesi): Similarly.
* fold-const.c (optimize_bit_field_compare, make_range,
decode_field_reference, fold_truthop, fold): Similarly.
* function.c (assign_stack_local_1, assign_stack_temp_for_type,
put_var_into_stack): Similarly.
* langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
LANG_HOOKS_TYPE_FOR_SIZE): New.
(LANG_HOOKS_TYPES_INITIALIZER): Update.
* langhooks.h (lang_hooks_for_types): New hooks.
* stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
* tree.c (get_unwidened, get_narrower): Similarly.
* tree.h (type_for_mode, type_for_size): Remove.
* varasm.c (force_const_mem): Use new hooks.
ada:
* gigi.h (type_for_size, type_for_mode): Rename.
* misc.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* trans.c (tree_transform): Update.
* utils.c (gnat_init_decl_processing, init_gigi_decls,
builtin_function, float_type_for_size, signed_or_unsigned_type,
build_vms_descriptor, unchecked_convert): Update.
(type_for_mode, type_for_size): Rename.
* utils2.c (nonbinary_modular_operation): Update.
cp:
* cp-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
* cvt.c (cp_convert_to_pointer, type_promotes_to): Use new hooks.
* decl.c (finish_enum): Similarly.
* error.c (dump_type): Similarly.
* lex.c (cxx_init): Similarly.
* mangle.c (write_builtin_type): Similarly.
* typeck.c (comptypes): Similarly.
f:
* com.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
Redefine.
(type_for_mode, type_for_size): Rename.
(signed_or_unsigned_type, signed_type, truthvalue_conversion,
unsigned_type): Use new hooks.
java:
* Make-lang.in (builtins.o): Update.
* boehm.c (get_boehm_type_descriptor): Update.
* builtins.c: Include langhooks.h.
* decl.c (java_init_decl_processing): Update.
* java-tree.h (java_type_for_mode, java_type_for_size): New.
* lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
Redefine.
* typeck.c (type_for_mode, type_for_size): Update.
objc:
* objc-act.c (handle_impent): Update.
* objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
Redefine.

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

22 years ago * include/c_std/std_cmath.h: To prevent problems overloading
mmitchel [Fri, 29 Mar 2002 20:41:53 +0000 (20:41 +0000)]
* include/c_std/std_cmath.h:  To prevent problems overloading
g++ builtins, use the double variants from the global namespace
before defining float and long double variants in std::.

PR c++/5998:
* decl.c (cxx_init_decl_processing): Re-enable built-in functions
in the g++ front-end.
(duplicate_decl): Allow redefinition of anticipated built-ins.
Fix inlining problem by over-writing the old DECL_RTL.
(lookup_namespace_name): Fail to find an identifier in the
specified namespace if its still anticipated.
(builtin_function_1): New function split out from builtin_function
to create a builtin in the current namespace with given context.
(builtin_function): Call builtin_function_1 to define the
appropriate builtins in both the std and global namespaces.
(select_decl): Don't test for anticipated decls here.
(unqualified_namespace_lookup): Instead ignore them whilst
searching through scopes and namespaces.
* decl2.c (do_nonmember_using_decl): If a using declaration
specifies an anticipated built-in function, mark it as no longer
anticipated in that scope.
(ambiguous_decl):  Avoid resolving to an anticipated decl.
* lex.c (do_scoped_id): Fail to find an identifier in the global
namespace if its still anticipated.

* g++.old-deja/g++.other/builtins5.C: New test.
* g++.old-deja/g++.other/builtins6.C: New test.
* g++.old-deja/g++.other/builtins7.C: New test.
* g++.old-deja/g++.other/builtins8.C: New test.
* g++.old-deja/g++.other/builtins9.C: New test.

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

22 years ago2002-03-29 Martin Kahlert <martin.kahlert@infineon.com>
tromey [Fri, 29 Mar 2002 19:33:25 +0000 (19:33 +0000)]
2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>

* lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.

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