- 24 Jan, 2004 20 commits
-
-
basic_string.tcc (operator+(const _CharT*, const basic_string&)): No need to go through the append taking two iterators. 2004-01-24 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (operator+(const _CharT*, const basic_string&)): No need to go through the append taking two iterators. From-SVN: r76517
Paolo Carlini committed -
basic_string.tcc (rfind(_CharT, size_type)): Revert last change to use std::min: machine language is worse. 2004-01-24 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (rfind(_CharT, size_type)): Revert last change to use std::min: machine language is worse. (find_last_of(const _CharT*, size_type, size_type)): Ditto. (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. (find_last_not_of(_CharT, size_type)): Ditto. * include/bits/basic_string.tcc (insert(size_type, const _CharT*, size_type)): Discard the value returned by _M_check. (replace(size_type, size_type, const _CharT*, size_type)): Ditto. (append(const basic_string&, size_type, size_type)): Ditto. (copy(_CharT*, size_type, size_type)): Ditto. (compare(size_type, size_type, const basic_string&)): Ditto. (compare(size_type, size_type, const basic_string&, size_type, size_type)): Ditto. (compare(size_type, size_type, const _CharT*)): Ditto. (compare(size_type, size_type, const _CharT*, size_type)): Ditto. From-SVN: r76514
Paolo Carlini committed -
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libffi.call/pyobjc-tc.c (main): Treat result value as of type ffi_arg. * testsuite/libffi.call/struct3.c (main): Fix CHECK. From-SVN: r76513
Andreas Tobler committed -
* emit-rtl.c (change_address, adjust_address_1, offset_address, widen_memory_access): Return early when there is nothing to change. From-SVN: r76512
Jan Hubicka committed -
2004-01-24 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.h (insert(size_type, const basic_string&, size_type, size_type)): Define inline here. * include/bits/basic_string.tcc (insert(size_type, const basic_string&, size_type, size_type)): Move inline. From-SVN: r76509
Paolo Carlini committed -
2004-01-24 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.h (assign(const basic_string&, size_type, size_type)): Define inline here. (replace(size_type, size_type, const basic_string&, size_type, size_type)): Ditto. (_M_replace_dispatch(iterator, iterator, _InputIterator, _InputIterator, __false_type)): Only declare. (_M_replace(iterator, iterator, _InputIterator, _InputIterator)): Remove. * include/bits/basic_string.tcc (assign(const basic_string&, size_type, size_type)): Move inline. (replace(size_type, size_type, const basic_string&, size_type, size_type)): Ditto. (_M_replace_dispatch(iterator, iterator, _InputIterator, _InputIterator, __false_type)): Define, now does also what _M_replace did before. * src/string-inst.cc (_M_replace): Don't instantiate. * include/bits/basic_string.tcc (find(const _CharT*, size_type, size_type)): Tidy. (rfind(_CharT, size_type)): Ditto. (find_first_not_of(const _CharT*, size_type, size_type)): Ditto. (find_first_not_of(_CharT, size_type)): Ditto. (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. (find_last_not_of(_CharT, size_type)): Ditto. From-SVN: r76508
Paolo Carlini committed -
simplify-rtx.c (simplify_relational_operation): Don't simplify address == constant into address + -constant == 0. * simplify-rtx.c (simplify_relational_operation): Don't simplify address == constant into address + -constant == 0. * gcc.dg/20040123-1.c: New test. From-SVN: r76490
Jakub Jelinek committed -
* gcc.c (process_command): Don't internationalize the Copyright message. * mips-tfile.c (main): Likewise. From-SVN: r76488
Kazu Hirata committed -
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch> * cse.c: (cse_cc_succs) Fix comparison warning. From-SVN: r76487
Andreas Tobler committed -
From-SVN: r76486
Kazu Hirata committed -
* config/h8300/h8300-protos.h: Provide prototypes for h8300_legitimate_constant_p and h8300_legitimate_address_p. * config/h8300/h8300.c (h8300_legitimate_constant_p): New. (h8300_rtx_ok_for_base_p): Likewise. (h8300_legitimate_address_p): Likewise. * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use h8300_legitimate_constant_p. (RTX_OK_FOR_BASE_P): Remove. (GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p. From-SVN: r76484
Kazu Hirata committed -
* config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New. (REG_OK_FOR_BASE_NONSTRICT_P): Likewise. (REG_OK_FOR_INDEX_STRICT_P): Likewise. (REG_OK_FOR_BASE_STRICT_P): Likewise. (REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P. (REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P. (REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P. (REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P. From-SVN: r76483
Kazu Hirata committed -
From-SVN: r76482
Zack Weinberg committed -
2004-01-23 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13838 * include/debug/bitset (operator|=): Fix typo. * testsuite/23_containers/bitset/operations/13838.cc: New. From-SVN: r76479
Paolo Carlini committed -
From-SVN: r76478
Jan Hubicka committed -
* c-typeck.c (build_conditional_expr): Do not allow non-lvalue arrays. testsuite: * gcc.dg/c90-array-lval-7.c, gcc.dg/c99-array-lval-7.c: New tests. From-SVN: r76477
Joseph Myers committed -
2004-01-23 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (insert(size_type, const _CharT*, size_type __n)): Fix length_error check. (replace(size_type, size_type, const _CharT*, size_type): Ditto; call _M_replace_safe. (_M_replace_aux(size_type, size_type, size_type, _CharT): Fix length_error check. (_M_replace(iterator, iterator, _InputIterator, _InputIterator)): Ditto, tweak. (_M_replace_safe(size_type, size_type, const _CharT*, size_type)): Remove length_error check. * include/bits/basic_string.tcc (append(const basic_string&), append(const basic_string&, size_type, size_type)): Tweak comment. * include/bits/basic_string.tcc (copy(_CharT*, size_type, size_type)): If __n == 0 don't call traits::copy. From-SVN: r76476
Paolo Carlini committed -
* Makefile.def (target_modules) [libiberty]: Don't stage. * Makefile.in: Rebuilt. From-SVN: r76475
DJ Delorie committed -
2004-01-23 Stefan Olsson <stefan@snon.net> * include/ext/mt_allocator.h: Reduce lock contention. From-SVN: r76474
Stefan Olsson committed -
From-SVN: r76471
GCC Administrator committed
-
- 23 Jan, 2004 20 commits
-
-
From-SVN: r76467
Kazu Hirata committed -
2004-01-23 Andrew Pinski <pinskia@physics.uc.edu> PR c++/13701 * decl.c (finish_function): Move the call to finish_fname_decls below the call to finish_eh_spec_block. From-SVN: r76464
Andrew Pinski committed -
2004-01-23 Andrew Pinski <apinski@apple.com> * gcc.dg/20030121-1.c: Move to .. * gcc.dg/20040121-1.c: here. From-SVN: r76463
Andrew Pinski committed -
2004-01-23 Andrew Pinski <apinski@apple.com> * config/rs6000/rs6000.md (call): Fix misappiled patch. (call_value): Likewise. From-SVN: r76462
Andrew Pinski committed -
* combine.c (SHIFT_COUNT_TRUNCATED): Provide default value. (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0) if SHIFT_COUNT_TRUNCATED is set. From-SVN: r76461
Richard Henderson committed -
* config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as separate real and imaginary parts. * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define. From-SVN: r76459
Bob Wilson committed -
2004-01-23 Hartmut Penner <hpenner@de.ibm.com> PR target/13674 * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage loading into GPR. From-SVN: r76458
Hartmut Penner committed -
* emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing change. From-SVN: r76457
Jan Hubicka committed -
* alloc-pool.c (align_four): Kill. (create_alloc_pool): Align size to eight. (free_alloc_pool, free_pool): Invalidate deallocated data. From-SVN: r76456
Jan Hubicka committed -
PR gcc/1532 * cse.c (cse_change_cc_mode): New static function. (cse_change_cc_mode_insns, cse_cc_succs): Likewise. (cse_condition_code_reg): New function. * rtl.h (cse_condition_code_reg): Declare. * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg. * target.h (struct gcc_target): Add fixed_condition_code_regs and cc_modes_compatible. * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define. (TARGET_CC_MODES_COMPATIBLE): Define. (TARGET_INITIALIZER): Add new initializers. * targhooks.c (default_cc_modes_compatible): New function. * targhooks.c (default_cc_modes_compatible): Declare. * hooks.c (hook_bool_intp_intp_false): New function. * hooks.h (hook_bool_intp_intp_false): Declare. * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define. (TARGET_CC_MODES_COMPATIBLE): Define. (ix86_fixed_condition_code_regs): New static function. (ix86_cc_modes_compatible): Likewise. * doc/tm.texi (Condition Code): Document new hooks. From-SVN: r76454
Ian Lance Taylor committed -
* fixinc/inclhack.def (bad_lval): Renamed to ... (alpha_bad_lval): ... this. Removed file list. Restrict to alpha*-dec-osf*. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/dirent.h: Remove, moving test ... * fixinc/tests/base/testing.h: ... here, reflecting new name. From-SVN: r76450
Rainer Orth committed -
2004-01-23 Zack Weinberg <zack@codesourcery.com> PR c/13814 * c-decl.c (diagnose_mismatched_decls): Also discard a built-in if we encounter an old-style definition with the same name. From-SVN: r76445
Andrew Pinski committed -
From-SVN: r76444
Roger Sayle committed -
PR 18314 * c-decl.c (diagnose_mismatched_decls): Also discard a built-in if we encounter an old-style definition with the same name. testsuite: * gcc.dg/builtins-30.c: New testcase. From-SVN: r76441
Zack Weinberg committed -
* config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to default{32,64}. From-SVN: r76439
Jakub Jelinek committed -
* config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR) [!__powerpc64__]: Corrected to handle kernels with changed ucontext. * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the header. For __powerpc64__ provide the default-signal.h definitions for now. * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h instead of the dummy definitions. * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC. (powerpc64*-*): Remove with_libffi_default. Only add -mminimal-toc for 64-bit compilations. * configure.in: Use powerpc-signal.h on powerpc64 as well. (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX. Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h. * configure: Rebuilt. From-SVN: r76437
Jakub Jelinek committed -
fold-const.c (fold_binary_op_with_conditional_arg): Only build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR. * fold-const.c (fold_binary_op_with_conditional_arg): Only build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR. Co-Authored-By: Olivier Hainque <hainque@act-europe.fr> From-SVN: r76434
Eric Botcazou committed -
2004-01-23 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13831 * include/bits/fstream.tcc (underflow): Remove unused variable. * include/bits/streambuf_iterator.h (equal): Ditto. * include/bits/locale_facets.h (_M_convert_from_char): Ditto. From-SVN: r76433
Paolo Carlini committed -
PR c/13814 * config/linker-map.gnu (nan): Delete. * libmath/mathconf.h (NAN, nan): Delete. * linkage.m4 (nan): Don't check for it. * libmath/nan.c: Delete file. * config.h.in, configure: Regenerate. From-SVN: r76431
Kaveh R. Ghazi committed -
* config/arm/arm.c (arm_legitimate_address_p): Don't check the mode size for minipool references. From-SVN: r76429
Daniel Jacobowitz committed
-