OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
bkoz [Thu, 6 Feb 2003 08:10:47 +0000 (08:10 +0000)]
2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>

* config/io/basic_file_libio.h: Fixups.
* config/io/c_io_libio.h: Same.
* libio/Makefile.am: Same.
* libio/Makefile.in: Regenerated.

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

21 years ago2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 6 Feb 2003 06:24:21 +0000 (06:24 +0000)]
2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
Explicitly use the "C" locale.
* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.

2003-02-06  Petur Runolfsson  <peturr02@ru.is>

DR 75
DR 305
PR libstdc++/9028 (partial)
PR libstdc++/9224
PR libstdc++/9246
PR libstdc++/9247

* src/codecvt.cc
(codecvt<wchar_t, char, mbstate_t>::do_encoding,
codecvt<wchar_t, char, mbstate_t>::do_length,
codecvt<wchar_t, char, mbstate_t>::do_max_length):
Move...
* config/locale/generic/codecvt_members.cc:  ...here.
* config/locale/gnu/codecvt_members.cc:  ...and here.

* config/locale/generic/codecvt_members.cc,
* config/locale/gnu/codecvt_members.cc
(codecvt<wchar_t, char, mbstate_t>::do_encoding
codecvt<wchar_t, char, mbstate_t>::do_in,
codecvt<wchar_t, char, mbstate_t>::do_length,
codecvt<wchar_t, char, mbstate_t>::do_max_length,
codecvt<wchar_t, char, mbstate_t>::do_out):
New implementation that handles stateless encodings,
including UTF-8.

* config/locale/generic/codecvt_members.cc,
* config/locale/gnu/codecvt_members.cc,
* config/locale/ieee_1003.1-2001/codecvt_specializations.h,
* include/bits/codecvt.h,
* src/codecvt.cc
(codecvt::length, codecvt::do_length):
Change type of first argument of length and do_length from
'const state_type&' to 'state_type&' according to DR 75.

* testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
Cleanup and check for correct return value from encoding
for "C" locale.
* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
* testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
* testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/length/char/2.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
* testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
* testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
* testsuite/22_locale/codecvt/unicode/1.cc:  New test.
* testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
* testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.

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

21 years ago2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 6 Feb 2003 05:58:10 +0000 (05:58 +0000)]
2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (time_put::do_put): Use __write.
(money_put::do_put): Same.

2003-02-05  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/ios_base.h (ios_base): Document reserved storage.

* include/bits/locale_facets.h: (struct __pad): Comment on
implementation.
(__verify_grouping): Same.
(__add_grouping): Same.
* include/bits/locale_facets.tcc (__verify_grouping): Move
comments to declaration.
(__add_grouping): Same.

* include/bits/locale_facets.tcc:
(__write<_CharT, _OutIter>): New function.
(__write<_CharT>): New function specialization.
(num_put::_M_insert): Remove explicit loop over iterator.  Use
__write.
(num_put::_M_widen_float): Remove __basefield.
(num_put::_M_widen_int): Move __basefield to within grouping block.

* include/bits/streambuf_iterator.h: Include <streambuf>.
(ostreambuf_iterator::_M_put): Add.

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

21 years ago * Makefile.in (host_hook_obj): New.
geoffk [Thu, 6 Feb 2003 01:47:56 +0000 (01:47 +0000)]
* Makefile.in (host_hook_obj): New.
(OBJS): Add $(host_hook_obj).
(host_default.o): New rule.
* config.gcc (host_hook_obj): New, default to host-default.o.
(powerpc-*-darwin*): Use host-darwin.o.
(out_host_hook_obj): New.
* configure: Regenerate.
* configure.in: Print information about out_host_hook_obj, substitute
into output files.
* host-default.c: New file.
* hosthooks.h: New file.
* toplev.c (general_init): Call host_hooks.extra_signals.
* config/rs6000/host-darwin.c: New file.
* config/rs6000/x-darwin: New file.
* doc/hostconfig.texi: Add documentation for new host hook.
Rearrange existing documentation.

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

21 years ago * gcc.c-torture/compile/921206-1.c: Rename undeclared function from
sayle [Thu, 6 Feb 2003 01:26:40 +0000 (01:26 +0000)]
* gcc.c-torture/compile/921206-1.c: Rename undeclared function from
"pow" to "foo" to avoid potential confusion with math built-ins.

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

21 years ago * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
sayle [Thu, 6 Feb 2003 01:23:41 +0000 (01:23 +0000)]
* dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
with *targetm.delegitimize_address.
(rtl_for_decl_location): Likewise.
* dwarfout.c (output_mem_loc_descriptor): Likewise.  Include target.h.
* Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)

* config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
* config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
prototype.
* config/i386/i386.c (ix86_delegitimize_address): Renamed from
i386_simplify_dwarf_addr.  Made static.  Prototyped.
(TARGET_DELEGITIMIZE_ADDRESS): Update definition from
i386_simplify_dwarf_addr to ix86_delegitimize_address.
(ix86_find_base_term): Likewise.
(maybe_get_pool_constant): Likewise.

* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
prototype.
* config/s390/s390.c (s390_delegitimize_address): Renamed from
s390_simplify_dwarf_addr.  Made static.  Prototyped.
(TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.

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

21 years agoMark PR for last change.
rth [Thu, 6 Feb 2003 00:37:34 +0000 (00:37 +0000)]
Mark PR for last change.

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

21 years ago * integrate.c (output_inline_function): Reset input_filename
rth [Thu, 6 Feb 2003 00:37:01 +0000 (00:37 +0000)]
    * integrate.c (output_inline_function): Reset input_filename
        and lineno from the decl before rest_of_compilation.

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

21 years ago * gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
ghazi [Thu, 6 Feb 2003 00:33:26 +0000 (00:33 +0000)]
* gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
conditions for SPARC targets.

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

21 years agoDaily bump.
gccadmin [Thu, 6 Feb 2003 00:17:07 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
jakub [Wed, 5 Feb 2003 23:58:57 +0000 (23:58 +0000)]
* src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
attribute.

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

21 years ago * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
rth [Wed, 5 Feb 2003 22:37:54 +0000 (22:37 +0000)]
    * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
        (CTZ_DEFINED_VALUE_AT_ZERO): New.
        * doc/rtl.texi, doc/tm.texi: Document them.

        * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
        of the value at zero properly.
        * fold-const.c (tree_expr_nonnegative_p): Likewise.
        * simplify-rtx.c (simplify_unary_operation): Likewise.

        * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
        (CTZ_DEFINED_VALUE_AT_ZERO): New.

        * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
        (TARGET_EXPAND_BUILTIN): Remove.
        (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
        * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
        (enum arm_builtins): Remove.
        * config/arm/arm.md (UNSPEC_CLZ): Remove.
        (clzsi2): Rename from clz; use clz instead of unspec.
        (ctzsi2): New.
        * config/arm/arm-protos.h: Update.

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

21 years ago * i386-protos.h (x86_emit_floatuns): Declare.
hubicka [Wed, 5 Feb 2003 22:13:40 +0000 (22:13 +0000)]
* i386-protos.h (x86_emit_floatuns):  Declare.
* i386.c (x86_emit_floatuns): New global function.
* i386.md (floatunssisf2, floatunsdisf2,
floatunsdidf2):  New patterns.

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

21 years ago * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
rakdver [Wed, 5 Feb 2003 20:04:53 +0000 (20:04 +0000)]
* cfgloopmanip.c (force_single_succ_latches): Fix missindentation.

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

21 years ago2003-02-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 5 Feb 2003 19:26:24 +0000 (19:26 +0000)]
2003-02-05  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.

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

21 years ago2003-02-04 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 5 Feb 2003 18:11:11 +0000 (18:11 +0000)]
2003-02-04  Hans Boehm <Hans.Boehm@hp.com>

* config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
  config/ia64/linux.h

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

21 years ago * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
sayle [Wed, 5 Feb 2003 18:03:48 +0000 (18:03 +0000)]
* cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.

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

21 years ago PR optimization/8555
jakub [Wed, 5 Feb 2003 11:29:15 +0000 (11:29 +0000)]
PR optimization/8555
* config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
instead of aborting.

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

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

21 years ago * config/i386/i386.md (UNSPEC_BSF): Remove.
rth [Wed, 5 Feb 2003 09:40:57 +0000 (09:40 +0000)]
    * config/i386/i386.md (UNSPEC_BSF): Remove.
        (ffssi2): Split into cmove and no_cmove insns and splitters;
        lose pentium float trick for now.
        (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
        (ctzsi2, clzsi2, bsr): New.

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

21 years ago * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
rth [Wed, 5 Feb 2003 02:25:36 +0000 (02:25 +0000)]
    * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
        UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
        * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
        (ffsdi2): Use popcount instead of unspec.
        (popcountdi2): Rename from *popcnt.
        (ctzdi2, clzdi2, getf_exp_tf): New.

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

21 years ago * genconfig.c (main): Generate CC0_P.
kazu [Wed, 5 Feb 2003 00:56:40 +0000 (00:56 +0000)]
* genconfig.c (main): Generate CC0_P.
* rtl.h (CC0_P): Remove.

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

21 years ago * libgcc2.h, libgcc2.c (__ffsSI2): New.
rth [Wed, 5 Feb 2003 00:52:24 +0000 (00:52 +0000)]
    * libgcc2.h, libgcc2.c (__ffsSI2): New.
        (__ffsDI2): Rename from __ffsdi2.
        * mklibgcc.in (lib2funcs): Add _ffssi2.

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

21 years ago * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
rth [Wed, 5 Feb 2003 00:43:22 +0000 (00:43 +0000)]
    * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
        rounds with a "bit table" lookup.

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

21 years agoDaily bump.
gccadmin [Wed, 5 Feb 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-02-04 Nathan Myers <ncm@cantrip.org>
bkoz [Tue, 4 Feb 2003 23:42:21 +0000 (23:42 +0000)]
2003-02-04  Nathan Myers  <ncm@cantrip.org>

* testsuite/25_algorithms/min_max.cc (test02): Add.

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

21 years ago * reload.c (find_reloads): Do not use the mode specified in the insn
uweigand [Tue, 4 Feb 2003 22:47:23 +0000 (22:47 +0000)]
* reload.c (find_reloads): Do not use the mode specified in the insn
pattern as reload mode for address operands.  Do not generate optional
reloads for operands where a mandatory reload was already pushed.

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

21 years ago PR c++/38
reichelt [Tue, 4 Feb 2003 22:42:34 +0000 (22:42 +0000)]
PR c++/38
* g++.dg/parse/array-size1.C: New test.

PR c++/5657
* g++.dg/parse/undefined3.C: New test.

PR c++/5665
* g++.dg/parse/undefined4.C: New test.

PR c++/5975
* g++.dg/parse/undefined5.C: New test.

PR c++/7259
* g++.dg/parse/tmpl-tmpl-param1.C: New test.

PR c++/8578
* g++.dg/parse/casting-operator1.C: New test.

PR c++/8596
* g++.dg/parse/undefined6.C: New test.

PR c++/8736
* g++.dg/parse/missing-template1.C: New test.

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

21 years ago2003-02-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 4 Feb 2003 22:42:32 +0000 (22:42 +0000)]
2003-02-04  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9439, PR libstdc++/9425
* config/io/basic_file_stdio.cc
(__basic_file<char>::seekoff, seekpos): Return -1L if
fseek fails.
* include/bits/fstream.tcc (basic_filebuf::seekoff):
Check _M_file.seekoff return value; always return
pos_type(off_type(-1)) in case of failure.
(basic_filebuf::pbackfail): Check this->seekoff return
value and return traits_type::eof() in case of failure.
* testsuite/27_io/filebuf_virtuals.cc (test09): Add.

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

21 years ago * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
rth [Tue, 4 Feb 2003 21:48:42 +0000 (21:48 +0000)]
    * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
        builtins instead of inline assembly.

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

21 years ago * libgcc2.c (__subvdi3): Fix typo.
rth [Tue, 4 Feb 2003 21:45:40 +0000 (21:45 +0000)]
    * libgcc2.c (__subvdi3): Fix typo.

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

21 years ago * be.po, de.po: New files.
jsm28 [Tue, 4 Feb 2003 21:11:00 +0000 (21:11 +0000)]
* be.po, de.po: New files.
* da.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po, tr.po: Update.

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

21 years ago * java/io/PipedOutputStream.java (flush): Declare as throwing
tromey [Tue, 4 Feb 2003 21:07:15 +0000 (21:07 +0000)]
* java/io/PipedOutputStream.java (flush): Declare as throwing
IOException.
(close): Likewise.
* java/io/PipedWriter.java (close): Declare as throwing
IOException.
* java/io/StringWriter.java (close): Declare as throwing
IOException.

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

21 years ago2003-02-04 Jerry Quinn <jlquinn@optonline.net>
bkoz [Tue, 4 Feb 2003 20:56:50 +0000 (20:56 +0000)]
2003-02-04  Jerry Quinn  <jlquinn@optonline.net>

* include/std/std_ostream.h (ostream::_M_write): Declare.
        * ostream.tcc (ostream::_M_write): Define.
(basic_ostream::write): Use it.
(operator<<(basic_ostream, _CharT)): Ditto.
(operator<<(basic_ostream, char)): Ditto.
(operator<<(basic_ostream, _CharT*)): Ditto.
(operator<<(basic_ostream, char*)): Ditto.
(operator<<(basic_ostream, basic_string)): Ditto.

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

21 years ago2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 4 Feb 2003 20:53:19 +0000 (20:53 +0000)]
2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/26_numerics/valarray_name_lookup.cc: Fix.

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

21 years ago * i386.md (movti_rex64): Fix constraint.
hubicka [Tue, 4 Feb 2003 20:47:46 +0000 (20:47 +0000)]
* i386.md (movti_rex64):  Fix constraint.

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

21 years ago * gcc.dg/i386-cadd.c: Compile using -march=k8.
hubicka [Tue, 4 Feb 2003 20:45:00 +0000 (20:45 +0000)]
* gcc.dg/i386-cadd.c:  Compile using -march=k8.
* gcc.dg/i386-cmov?.c:  Likewise.
* gcc.dg/i386-fpcvt-?.c:  Likewise.
* gcc.dg/i386-ssefp-1.c:  Likewise.
* gcc.dg/i386-ssetype-?.c:  Likewise; fix for register passing
convetions.

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

21 years ago * gcc.dg/i386-cadd.c: Compile using -march=k8.
hubicka [Tue, 4 Feb 2003 20:43:04 +0000 (20:43 +0000)]
* gcc.dg/i386-cadd.c:  Compile using -march=k8.
* gcc.dg/i386-cmov?.c:  Likewise.
* gcc.dg/i386-fpcvt-?.c:  Likewise.
* gcc.dg/i386-ssefp-1.c:  Likewise.
* gcc.dg/i386-ssetype-?.c:  Likewise; fix for register passing
convetions.

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

21 years ago2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
redi [Tue, 4 Feb 2003 18:24:07 +0000 (18:24 +0000)]
2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
add HTML comment about updating links if numbering changes.

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

21 years ago2003-02-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 4 Feb 2003 18:08:45 +0000 (18:08 +0000)]
2003-02-04  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9538
* include/bits/streambuf.tcc (sputbackc): Access
this->gptr()[-1] only if _M_in_beg < _M_in_cur.
* testsuite/27_io/filebuf_virtuals.cc (test08): Add.

2003-02-04  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9507
* include/bits/fstream.tcc (open): If the 'ate' repositioning
operation fails, calls close _and_ returns a null pointer
to indicate failure (27.8.1.3,4).
* testsuite/27_io/filebuf_members.cc (test_06): Add.

2003-02-04  Petur Runolfsson  <peturr02@ru.is>

* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).

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

21 years ago * i386.md (vector push splitters): Fix typo in resolving conflict.
hubicka [Tue, 4 Feb 2003 18:08:16 +0000 (18:08 +0000)]
* i386.md (vector push splitters):  Fix typo in resolving conflict.

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

21 years ago2003-02-04 Rodney Brown <rbrown64@csc.com.au>
zack [Tue, 4 Feb 2003 18:01:20 +0000 (18:01 +0000)]
2003-02-04  Rodney Brown  <rbrown64@csc.com.au>

* config/i386/i386.c (x86_function_profiler): Fix typo in format.

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

21 years ago2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
redi [Tue, 4 Feb 2003 17:42:19 +0000 (17:42 +0000)]
2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/27_io/howto.html: New section on stdio_filebuf.
* docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
* docs/html/documentation.html: Regenerate.

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

21 years ago2003-02-04 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 4 Feb 2003 16:27:20 +0000 (16:27 +0000)]
2003-02-04  Phil Edwards  <pme@gcc.gnu.org>

* doc/install.texi (*-*-linux-gnu):  Mention glibc requirements
for recent libstdc++.  Remove formatting cruft.

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

21 years ago * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
jakub [Tue, 4 Feb 2003 13:30:02 +0000 (13:30 +0000)]
* dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
attribute even if input file name is absolute, but one of the
includes is relative.

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

21 years ago * libU77/configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.
aj [Tue, 4 Feb 2003 10:04:04 +0000 (10:04 +0000)]
* libU77/configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.
* libU77/config.hin: Regenerated.
* libU77/configure: Regenerated.

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

21 years ago PR c++/7129
mmitchel [Tue, 4 Feb 2003 07:23:14 +0000 (07:23 +0000)]
PR c++/7129
* call.c (z_candidate): Add args.
(convert_class_to_reference): Set it.
(implicit_conversion): Tidy.
(add_candidate): Add args parameter.
(add_function_candidate): Adjust call to add_candidate.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
(build_user_type_conversion_1): Eliminate wasteful tree_cons
usage.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(add_candidates): New function.
(build_new_op): Use it.
(covert_like_real): Adjust call to build_over_call.
(build_over_call): Remove args parameter.
* operators.def: Add <?= and >?=.

PR c++/7129
* testsuite/g++.dg/ext/max.C: New test.

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

21 years agofastjar:
jsm28 [Tue, 4 Feb 2003 01:27:53 +0000 (01:27 +0000)]
fastjar:
* fastjar.texi: Update to GFDL 1.2.

gcc:
* doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
* doc/install.texi: Update copyright dates.  Update to GFDL 1.2.

gcc/ada:
* gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.

gcc/f:
* g77.texi, invoke.texi: Update to GFDL 1.2.

gcc/java:
* gcj.texi: Update to GFDL 1.2.

gcc/treelang:
* treelang.texi: Update to GFDL 1.2.

libiberty:
* libiberty.texi: Update to GFDL 1.2.

libstdc++-v3:
* docs/html/17_intro/porting.texi: Update to GFDL 1.2.
* docs/html/17_intro/porting.html: Regenerate.

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

21 years agoDaily bump.
gccadmin [Tue, 4 Feb 2003 00:18:06 +0000 (00:18 +0000)]
Daily bump.

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

21 years ago * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
rth [Mon, 3 Feb 2003 22:42:20 +0000 (22:42 +0000)]
    * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
        __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
        return type to "int".  Shuffle declarations and undef int trap.
        * libgcc2.h: Remove their declarations.
        * optabs.c (expand_unop): Force outmode to int for bitops.

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

21 years ago2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
tromey [Mon, 3 Feb 2003 21:23:59 +0000 (21:23 +0000)]
2003-02-03  Ranjit Mathew <rmathew@hotmail.com>

* java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
could also have been exported as "JNI_OnLoad@8" (MinGW) or
"_JNI_OnLoad@8" (MSVC).

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

21 years ago2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
tromey [Mon, 3 Feb 2003 21:07:22 +0000 (21:07 +0000)]
2003-02-03  Ranjit Mathew <rmathew@hotmail.com>

* resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
convention on Win32 to invoke native JNI methods.

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

21 years ago * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
bwilson [Mon, 3 Feb 2003 20:23:24 +0000 (20:23 +0000)]
    * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
        coprocessor registers before floating-point registers.
        * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
        to account for a previously removed register.
        (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
        Delete unused macros.

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

21 years ago * i386.c (ix86_expand_store_builtin): Always force op1 to register.
hubicka [Mon, 3 Feb 2003 20:20:36 +0000 (20:20 +0000)]
* i386.c (ix86_expand_store_builtin):  Always force op1 to register.
(mov*_internal): Fix predicates; require one of operands to not be
memory.
(SSE?MMX move expanders):  Fix predicates; force one of operands to
register.
(SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
(movups/movupd/movdqu patterns): Force one of operands to not be
memory.

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

21 years ago * hooks.c (hook_rtx_rtx_identity): Generic hook function that
sayle [Mon, 3 Feb 2003 19:40:58 +0000 (19:40 +0000)]
* hooks.c (hook_rtx_rtx_identity): Generic hook function that
takes a single rtx and returns it unmodified.
* hooks.h (hook_rtx_rtx_identity): Prototype here.
* target.h (struct gcc_target): Add "delegitimize_address"
field to target structure.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS):  Provide default
for delegitimize_address target using hook_rtx_rtx_identity.
(TARGET_INITIALIZER): Initialize delegitimize_address field
using TARGET_DELEGITIMIZE_ADDRESS macro.
* simplify-rtx.c (avoid_constant_pool_reference): Handle float
extensions of constant pool references.  Use delegitimize_address
to undo the obfuscation of "-fpic".
* Makefile.in (simplify-rtx.o): Add dependency on target.h.

* config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
i386_simplify_dwarf_addr.
(ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
   (maybe_get_pool_constant): Likewise.

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

21 years ago2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
pme [Mon, 3 Feb 2003 19:37:53 +0000 (19:37 +0000)]
2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
            Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
numeric_limits for bits-per-word values.
(_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
Use __builtin_popcountl instead.
(_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
_Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
Use __builtin_ctzl instead.
(_S_bit_count, _S_first_one):  Remove.
* config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
* src/Makefile.am (sources):  Remove bitset.cc.
* src/bitset.cc:  Delete file.
* src/Makefile.in:  Regenerate.

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

21 years ago2003-01-31 Andrew Haley <aph@redhat.com>
aph [Mon, 3 Feb 2003 17:44:55 +0000 (17:44 +0000)]
2003-01-31  Andrew Haley  <aph@redhat.com>

        * parse.y (java_expand_classes): Scan the whole class list looking
        for access methods that haven't yet been expanded.

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

21 years agoFix ChangeLog entry.
aph [Mon, 3 Feb 2003 17:14:38 +0000 (17:14 +0000)]
Fix ChangeLog entry.

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

21 years ago2003-02-03 Andrew Haley <aph@emcee.cambridge.redhat.com>
aph [Mon, 3 Feb 2003 17:10:16 +0000 (17:10 +0000)]
2003-02-03  Andrew Haley  <aph@emcee.cambridge.redhat.com>

        * configure.host (x86_64): Enable interpreter.

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

21 years agoAdd missing TOC link from previous commit. Regenerate .txt file.
pme [Mon, 3 Feb 2003 16:47:44 +0000 (16:47 +0000)]
Add missing TOC link from previous commit.  Regenerate .txt file.

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

21 years ago2003-02-03 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Feb 2003 16:44:44 +0000 (16:44 +0000)]
2003-02-03  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/9527, PR libstdc++/8713
* docs/html/install.html:  Mention glibc version requirement.
* docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
with 3.2.1+ (formatting bugfixes).
* docs/html/faq/index.txt:  Regenerate.

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

21 years ago * libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH
uweigand [Mon, 3 Feb 2003 16:20:30 +0000 (16:20 +0000)]
* libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH
to find libgcc_s.  Set JAVA_CLASSPATH to find libgcj.jar.

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

21 years ago2003-02-03 Andrew Haley <aph@redhat.com>
aph [Mon, 3 Feb 2003 15:59:48 +0000 (15:59 +0000)]
2003-02-03  Andrew Haley  <aph@redhat.com>

* libgcj.spec.in (jc1): Add BACKTRACESPEC.
        * configure.host (x86_64): Default to -fno-omit-frame-pointer.
        * configure.in (BACKTRACESPEC): New.
        * configure: Regenerate.

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

21 years ago * gcc.c-torture/execute/20030203-1.c: New test.
hubicka [Mon, 3 Feb 2003 15:07:50 +0000 (15:07 +0000)]
* gcc.c-torture/execute/20030203-1.c: New test.

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

21 years ago * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
hubicka [Mon, 3 Feb 2003 15:02:07 +0000 (15:02 +0000)]
* i386.c (ix86_expand_int_movcc):  Fix setcc sign bit case.

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

21 years ago * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
hubicka [Mon, 3 Feb 2003 15:02:02 +0000 (15:02 +0000)]
* i386.c (ix86_expand_int_movcc):  Fix setcc sign bit case.

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

21 years ago2003-01-31 Adrian Bunk <bunk@fs.tum.de>
aph [Mon, 3 Feb 2003 13:57:15 +0000 (13:57 +0000)]
2003-01-31 Adrian Bunk <bunk@fs.tum.de>

Fix for java/4269:

* jv-scan.c: Use HAVE_LANGINFO_CODESET instead of HAVE_NL_LANGINFO
to fix bootstrap on sparc-unknown-netbsdelf1.5.
* jcf-parse.c: Likewise.

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

21 years ago PR libstdc++/9234
reichelt [Mon, 3 Feb 2003 10:38:36 +0000 (10:38 +0000)]
PR libstdc++/9234
* include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
operator.

* include/bits/valarray_before.h (__not_equal_to): Use != instead of ==.

* testsuite/26_numerics/valarray_operators.cc: New test.

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

21 years ago* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is
rearnsha [Mon, 3 Feb 2003 10:15:15 +0000 (10:15 +0000)]
* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is
'natural-endian'.

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

21 years ago * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
ccorn [Mon, 3 Feb 2003 00:55:32 +0000 (00:55 +0000)]
* Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
be created if necessary.
(ada.install-common): Let $(DESTDIR)$(bindir) be created
if necessary.  Remove erroneous and redundant gnatchop
installation commands. Test for gnatdll before attempting
to install it.
(ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
and gnatdll from all plausible locations.

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

21 years ago * regclass.c (cannot_change_mode_set_regs): Correct argument order.
hubicka [Mon, 3 Feb 2003 00:31:53 +0000 (00:31 +0000)]
* regclass.c (cannot_change_mode_set_regs): Correct argument order.

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

21 years agoDaily bump.
gccadmin [Mon, 3 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * configure: Rebuilt.
tromey [Sun, 2 Feb 2003 23:08:35 +0000 (23:08 +0000)]
* configure: Rebuilt.
* configure.in (TOOLKIT) [xlib]: Set correctly.

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

21 years ago * Makefile.in: Rebuilt.
tromey [Sun, 2 Feb 2003 23:06:39 +0000 (23:06 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
libstdc++.

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

21 years ago * MAINTAINERS (Write after approval): Add myself.
ccorn [Sun, 2 Feb 2003 20:44:31 +0000 (20:44 +0000)]
* MAINTAINERS (Write after approval): Add myself.

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

21 years ago * mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't
ghazi [Sun, 2 Feb 2003 19:55:15 +0000 (19:55 +0000)]
* mips/_tilib.c: Don't include tsystem.h or defaults.h.  Don't
define LIBGCC2_WORDS_BIG_ENDIAN.  Include coretypes.h and tm.h.

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

21 years ago * varasm.c (asm_output_aligned_bss): Declare as possibly unused.
schwab [Sun, 2 Feb 2003 17:30:49 +0000 (17:30 +0000)]
* varasm.c (asm_output_aligned_bss): Declare as possibly unused.

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

21 years ago* arm.md (sibcall_epilogue): Set the "conds" to "clob".
rearnsha [Sun, 2 Feb 2003 16:20:31 +0000 (16:20 +0000)]
* arm.md (sibcall_epilogue): Set the "conds" to "clob".
(epilogue_insns): Likewise.

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

21 years ago * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
danglin [Sun, 2 Feb 2003 06:08:58 +0000 (06:08 +0000)]
* doc/install.texi (hppa*-hp-hpux11*): Update installation notes.

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

21 years ago * pa-protos.h (attr_length_millicode_call): Remove second argument.
danglin [Sun, 2 Feb 2003 06:04:58 +0000 (06:04 +0000)]
* pa-protos.h (attr_length_millicode_call): Remove second argument.
(attr_length_indirect_call, attr_length_indirect_call,
attr_length_save_restore_dltp): New prototypes.
* pa.c (attr_length_millicode_call): Remove second argument.  Check
INSN_ADDRESSES_SET_P in distance calculation.
(output_millicode_call): Check INSN_ADDRESSES_SET_P before using
INSN_ADDRESSES.
(attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
(output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
Call attr_length_call directly.
(attr_length_indirect_call, output_indirect_call,
attr_length_save_restore_dltp): New functions.
* pa.md (attr_length_millicode_call): Drop second argument from all
patterns.
(return_internal_pic): Delete.
(return_external_pic): Remove use of PIC register and pic operand and
flag checks.
(epilogue): Use return_internal for both normal and pic code.
(call, call_value): Emit new 32-bit pic patterns for symref and
indirect calls.  Remove uses for arg pointer and pic register.
(call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
call_reg_pic_post_reload, call_val_symref_pic,
call_val_symref_pic_post_reload, call_val_reg_pic,
call_val_reg_pic_post_reload): New pre and post reload insn patterns.
Implement define_split and define_peephole2 patterns for pre reload
patterns.
(call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
call_value_internal_reg_64bit): Shorten names.
(all call patterns): Explicitly indicate registers used and clobbered.
Use attr_length_indirect_call and attr_length_save_restore_dltp for
attribute length calculation.  Move code generation for indirect calls
to output_indirect_call.
(sibcall, sibcall_value): Don't restore PIC register.
(exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
register retore.

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

21 years ago * doc/install.texi (Testing): Simplify and compress instructions
gerald [Sun, 2 Feb 2003 01:52:15 +0000 (01:52 +0000)]
* doc/install.texi (Testing): Simplify and compress instructions
concerning Dejagnu.

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

21 years ago * collect2.c (pexecute_pid): Rename to pid.
danglin [Sun, 2 Feb 2003 01:31:40 +0000 (01:31 +0000)]
* collect2.c (pexecute_pid): Rename to pid.
(collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
pid.

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

21 years ago * doc/extend.texi (Function Attributes): Remove documentation
geoffk [Sun, 2 Feb 2003 01:21:21 +0000 (01:21 +0000)]
* doc/extend.texi (Function Attributes): Remove documentation
for PowerPC Windows NT function attributes..

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

21 years agoDaily bump.
gccadmin [Sun, 2 Feb 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-02-01 Phil Edwards <pme@gcc.gnu.org>
pme [Sat, 1 Feb 2003 21:47:13 +0000 (21:47 +0000)]
2003-02-01  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Correct link to libg++ information.
* docs/html/faq/index.txt:  Regenerated.

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

21 years ago * dwarf2out.c (gen_type_die): Check for typedefs before calling
drow [Sat, 1 Feb 2003 21:12:55 +0000 (21:12 +0000)]
* dwarf2out.c (gen_type_die): Check for typedefs before calling
for TYPE_MAIN_VARIANT.

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

21 years ago * libgcc2.c: Include auto-host.h.
rth [Sat, 1 Feb 2003 20:58:35 +0000 (20:58 +0000)]
    * libgcc2.c: Include auto-host.h.
        (ATTRIBUTE_HIDDEN): New.
        (__clz_tab): Don't declare here for clz and ctz.
        (__clzsi2, __clzdi2): Use count_leading_zeros.
        (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
        (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
        (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
        * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.

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

21 years ago * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
rth [Sat, 1 Feb 2003 20:18:05 +0000 (20:18 +0000)]
    * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
        to the conditional.
        (ashlsi3_1_zext splitter): Likewise.

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

21 years ago2003-02-01 Richard Henderson <rth@redhat.com>
rth [Sat, 1 Feb 2003 19:00:02 +0000 (19:00 +0000)]
2003-02-01  Richard Henderson  <rth@redhat.com>

* optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
__popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
return type to Wtype.

* libgcc-std.ver (GCC_3.4): Fix inheritance.

* config/i386/i386.md (ffssi2): Use nonimmediate_operand for
expander input constraint.

2003-02-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>

        * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
        OTI_parity.
        (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
        * optabs.c (widen_clz, expand_parity): New.
        (expand_unop): Handle clz and parity.  Hardcode SImode as outmode
        for libcalls to clz, ctz, popcount, and parity.
        (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
        parity_optab, and set up libfunc handlers.
        * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
        __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
        __popcount_tab): New.
        * libgcc2.h: Declare them.
        * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
        * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
        and parity_optab.
        * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
        * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
        BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
        BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
        BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
        BUILT_IN_PARITYLL): New.
        * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
        and add optab argument.
        (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
        * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
        * expr.c (expand_expr): Handle them.
        * fold-const.c (tree_expr_nonnegative_p): Likewise.
        * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
        * reload1.c (eliminate_regs): Handle them.
        (elimination_effects): Likewise.
        * function.c (instantiate_virtual_regs_1): Likewise
        * genattrtab.c (check_attr_value): Likewise.
        * simplify-rtx.c (simplify_unary_operation): Likewise.
        * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
        * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
        (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
        * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
        * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
        __builtin_arm_clz.
        * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
        * mklibgcc.in (lib2funcs): ...here and merge.  Add new members.
        * doc/extend.texi (Other Builtins): Add new builtins.
        * doc/md.texi (Standard Names): Add new patterns.

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

21 years ago * reload.c: Revert 2003-01-31 change.
uweigand [Sat, 1 Feb 2003 17:14:32 +0000 (17:14 +0000)]
* reload.c: Revert 2003-01-31 change.

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

21 years ago2003-02-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 1 Feb 2003 16:37:20 +0000 (16:37 +0000)]
2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
    Benjamin Kosnik  <bkoz@redhat.com>

Const correctness issue:
http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
* include/bits/locale_classes.h
(locale::_Impl::_M_facets): Change type to const facet**.
(locale::_Impl::_M_install_facet): Change declaration to
take const facet*.
(locale::facet::_M_references): Make mutable.
(locale::facet::_M_add_reference): Declare const.
(locale::facet::_M_remove_reference): Likewise.
* include/bits/locale_facets.tcc
(use_facet(const locale&)): Tweak for const facet** _M_facets.
(has_facet(const locale&)): Likewise.
* src/locale.cc
(locale::facet::_M_add_reference): Adjust definition.
(locale::facet::_M_remove_reference): Likewise.
* src/localename.cc
(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
const facet** _M_facets.
(locale::_Impl::_Impl(const char*, size_t)): Likewise.
(locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
(locale::_Impl::_M_install_facet): Adjust definition to take
const facet* and for const facet** _M_facets.
* testsuite/22_locale/locale/cons/8.cc: Add.

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

21 years ago * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts.
hubicka [Sat, 1 Feb 2003 13:16:29 +0000 (13:16 +0000)]
* combine.c (combine_simplify_rtx):  Use reversed_comparison_code_parts.

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

21 years ago * flags.h (flag_volatile): Remove declaration.
rsandifo [Sat, 1 Feb 2003 13:09:41 +0000 (13:09 +0000)]
* flags.h (flag_volatile): Remove declaration.
(flag_volatile_global, flag_volatile_static): Likewise.
* c-typeck.c (build_indirect_ref): Don't check flag_volatile.
* toplev.c (flag_volatile): Remove definition.
(flag_volatile_global, flag_volatile_static): Likewise.
(f_options): Remove corresponding entries here.
* varasm.c (make_decl_rtl): Don't check flag_volatile_global
or flag_volatile_static.
* doc/invoke.texi: Remove documentation of -fvolatile,
-fvolatile-global and -fvolatile-static.

cp/
* typeck.c (build_indirect_ref): Don't check flag_volatile.

ada/
* utils2.c (build_unary_op): Don't check flag_volatile.
* gnat_ug.texi: Remove -fvolatile from example.
* gnat_ug_vxw.texi: Likewise.

testsuite/
* g++.dg/init/new1.C: Remove -fvolatile dg-options line.
* g++.dg/init/new2.C: Likewise.
* g++.dg/other/new1.C: Likewise.

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

21 years agoFix wrongly applied last patch.
aj [Sat, 1 Feb 2003 11:16:19 +0000 (11:16 +0000)]
Fix wrongly applied last patch.

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

21 years agoCorrect ChangeLog entry.
ljrittle [Sat, 1 Feb 2003 05:35:21 +0000 (05:35 +0000)]
Correct ChangeLog entry.

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

21 years ago * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
danglin [Sat, 1 Feb 2003 04:26:29 +0000 (04:26 +0000)]
* pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
updating of total_code_bytes from prologue to epilogue.

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

21 years ago * Makefile.in: Rebuilt.
mark [Sat, 1 Feb 2003 01:36:17 +0000 (01:36 +0000)]
   * Makefile.in: Rebuilt.
       * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.

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

21 years ago * gjavah.c (throwable_p): Allocate 1 more byte for string.
mark [Sat, 1 Feb 2003 01:31:31 +0000 (01:31 +0000)]
   * gjavah.c (throwable_p): Allocate 1 more byte for string.

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

21 years agogcc/
uweigand [Sat, 1 Feb 2003 01:01:38 +0000 (01:01 +0000)]
gcc/
* reload.c (find_reloads): Do not use the mode specified in the insn
pattern as reload mode for address operands.  Do not generate optional
reloads for operands where a mandatory reload was already pushed.
Generate optional reloads only in the final pass though find_reloads.
(have_replacement_p): New function.

gcc/testsuite/
* gcc.dg/20030129-1.c: New test.

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

21 years agoDaily bump.
gccadmin [Sat, 1 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * doc/install.texi (Testing): Remove a reference to our obsolete
gerald [Fri, 31 Jan 2003 23:58:30 +0000 (23:58 +0000)]
* doc/install.texi (Testing): Remove a reference to our obsolete
/testresults web pages and strip redundant information concerning
test results.
(Binaries): Refer to Microsoft Windows instead of listing all
possible variants.

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