- 06 Feb, 2003 10 commits
-
-
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. From-SVN: r62475
Peter Soetens committed -
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. From-SVN: r62474
Benjamin Kosnik committed -
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. From-SVN: r62473
Benjamin Kosnik committed -
* 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. From-SVN: r62470
Geoffrey Keating committed -
* gcc.c-torture/compile/921206-1.c: Rename undeclared function from "pow" to "foo" to avoid potential confusion with math built-ins. From-SVN: r62469
Roger Sayle committed -
dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR with *targetm.delegitimize_address. * 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. From-SVN: r62468
Roger Sayle committed -
From-SVN: r62465
Richard Henderson committed -
integrate.c (output_inline_function): Reset input_filename and lineno from the decl before rest_of_compilation. * integrate.c (output_inline_function): Reset input_filename and lineno from the decl before rest_of_compilation. From-SVN: r62464
Richard Henderson committed -
* gcc.c-torture/execute/20020227-1.x: Update specific XFAIL conditions for SPARC targets. From-SVN: r62463
Kaveh R. Ghazi committed -
From-SVN: r62462
GCC Administrator committed
-
- 05 Feb, 2003 14 commits
-
-
* src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility attribute. From-SVN: r62454
Jakub Jelinek committed -
* 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. From-SVN: r62453
Richard Henderson committed -
* i386-protos.h (x86_emit_floatuns): Declare. * i386.c (x86_emit_floatuns): New global function. * i386.md (floatunssisf2, floatunsdisf2, floatunsdidf2): New patterns. From-SVN: r62452
Jan Hubicka committed -
From-SVN: r62451
Zdenek Dvorak committed -
2003-02-05 Paolo Carlini <pcarlini@unitus.it> * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo. From-SVN: r62450
Paolo Carlini committed -
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 From-SVN: r62448
Hans Boehm committed -
From-SVN: r62447
Roger Sayle committed -
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. From-SVN: r62438
Jakub Jelinek committed -
* 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. From-SVN: r62434
Richard Henderson committed -
* 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. From-SVN: r62428
Richard Henderson committed -
* genconfig.c (main): Generate CC0_P. * rtl.h (CC0_P): Remove. From-SVN: r62423
Kazu Hirata committed -
* libgcc2.h, libgcc2.c (__ffsSI2): New. (__ffsDI2): Rename from __ffsdi2. * mklibgcc.in (lib2funcs): Add _ffssi2. From-SVN: r62422
Richard Henderson committed -
* libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction rounds with a "bit table" lookup. From-SVN: r62421
Richard Henderson committed -
From-SVN: r62420
GCC Administrator committed
-
- 04 Feb, 2003 16 commits
-
-
2003-02-04 Nathan Myers <ncm@cantrip.org> * testsuite/25_algorithms/min_max.cc (test02): Add. From-SVN: r62412
Nathan Myers committed -
reload.c (find_reloads): Do not use the mode specified in the insn pattern as reload mode for address... * 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. From-SVN: r62410
Ulrich Weigand committed -
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. From-SVN: r62409
Volker Reichelt committed -
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. From-SVN: r62408
Paolo Carlini committed -
* longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use builtins instead of inline assembly. From-SVN: r62407
Richard Henderson committed -
From-SVN: r62406
Falk Hueffner committed -
* be.po, de.po: New files. * da.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po, tr.po: Update. From-SVN: r62403
Joseph Myers committed -
* 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. From-SVN: r62401
Tom Tromey committed -
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. From-SVN: r62399
Jerry Quinn committed -
2003-02-04 Benjamin Kosnik <bkoz@redhat.com> * testsuite/26_numerics/valarray_name_lookup.cc: Fix. From-SVN: r62398
Benjamin Kosnik committed -
From-SVN: r62396
Jan Hubicka committed -
* 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. From-SVN: r62395
Jan Hubicka committed -
* 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. From-SVN: r62394
Jan Hubicka committed -
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. From-SVN: r62390
Jonathan Wakely committed -
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). From-SVN: r62388
Paolo Carlini committed -
From-SVN: r62387
Jan Hubicka committed
-