aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-25string_append.cc: Increase number of iterations.Paolo Carlini2-2/+7
2004-01-25 Paolo Carlini <pcarlini@suse.de> * testsuite/performance/string_append.cc: Increase number of iterations. From-SVN: r76551
2004-01-25basic_string.h (erase(size_type, size_type), [...]): Call _M_replace_safe ↵Paolo Carlini2-14/+14
instead, thus avoiding redundant check for length_error. 2004-01-25 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.h (erase(size_type, size_type), erase(iterator), erase(iterator, iterator)): Call _M_replace_safe instead, thus avoiding redundant check for length_error. * include/bits/basic_string.h: Tweak some comments. From-SVN: r76550
2004-01-25mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.Richard Sandiford6-46/+80
* config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete. (mips_regno_mode_ok_for_base_p): Declare. * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77. (FRAME_POINTER_REGNUM): Renumber to 78. (FIRST_PSEUDO_REGISTER): Update comment accordingly. (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete. (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete. (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p. (REG_MODE_OK_FOR_BASE_P): Likewise. * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change entry for 77 to "$arg" and entry for 78 to "$frame". (mips_regno_to_class): Map 77 and 78 to ALL_REGS. (mips_reg_mode_ok_for_base_p): Remove. (mips_regno_mode_ok_for_base_p): New function, derived from old BASE_REG_P macro. Don't enforce the mips16 stack pointer restrictions unless we're being strict. (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p. testsuite/ * gcc.dg/torture/mips-clobber-at.c: New test. From-SVN: r76547
2004-01-25ffi.c (ffi_prep_args_v9): Shift the parameter array when the structure ↵Eric Botcazou5-95/+219
return address is passed in %o0. * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array when the structure return address is passed in %o0. (ffi_V9_return_struct): Rename into ffi_v9_layout_struct. (ffi_v9_layout_struct): Align the field following a nested structure on a word boundary. Use memmove instead of memcpy. (ffi_call): Update call to ffi_V9_return_struct. (ffi_prep_closure): Define 'ctx' only for V8. (ffi_closure_sparc_inner): Clone into ffi_closure_sparc_inner_v8 and ffi_closure_sparc_inner_v9. (ffi_closure_sparc_inner_v8): Return long doubles by reference. Always skip the structure return address. For structures and long doubles, copy the argument directly. (ffi_closure_sparc_inner_v9): Skip the structure return address only if required. Shift the maximum floating-point slot accordingly. For big structures, copy the argument directly; otherwise, left-justify the argument and call ffi_v9_layout_struct to lay out the structure on the stack. * src/sparc/v8.S: Undef STACKFRAME before defining it. (ffi_closure_v8): Pass the structure return address. Update call to ffi_closure_sparc_inner_v8. Short-circuit FFI_TYPE_INT handling. Skip the 'unimp' insn when returning long doubles and structures. * src/sparc/v9.S: Undef STACKFRAME before defining it. (ffi_closure_v9): Increase the frame size by 2 words. Short-circuit FFI_TYPE_INT handling. Load structures both in integers and floating-point registers on return. * README: Update status of the SPARC port. From-SVN: r76543
2004-01-24Remove for real.Andrew Pinski1-8/+0
From-SVN: r76542
2004-01-25c-common.h: Fix comment typos.Kazu Hirata13-16/+31
* c-common.h: Fix comment typos. * c-decl.c: Likewise. * cgraphunit.c: Likewise. * combine.c: Likewise. * et-forest.c: Likewise. * flow.c: Likewise. * function.c: Likewise. * ifcvt.c: Likewise. * integrate.c: Likewise. * jump.c: Likewise. * postreload.c: Likewise. * varray.c: Likewise. From-SVN: r76539
2004-01-25frontends.texi: Update copyright.Kazu Hirata6-5/+13
* doc/frontends.texi: Update copyright. * doc/gcov.texi: Likewise. * doc/gty.texi: Likewise. * doc/sourcebuild.texi: Likewise. * doc/standards.texi: Likewise. From-SVN: r76537
2004-01-24re PR target/12978 (problem with -fweb and c4x target)Herman A.J. ten Brugge2-56/+36
2004-01-24 Herman A.J. ten Brugge <hermantenbrugge@home.nl> PR target/12978 * c4x.md: (movstrqi*) Use match_scratch instead of match_dup. Remove movstrqi_small because it conflicts with movstrqi_large. From-SVN: r76534
2004-01-25* de.po: Update.Joseph Myers2-199/+204
From-SVN: r76532
2004-01-25Daily bump.GCC Administrator2-2/+2
From-SVN: r76529
2004-01-24cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.Kazu Hirata3-9/+37
* config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New. (TARGET_STRUCT_VALUE_RTX): Likewise. (cris_struct_value_rtx): Likewise. * config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove. (CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of STRUCT_VALUE_REGNUM. (STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM. From-SVN: r76525
2004-01-242004-01-24 Michael Koch <konqueror@gmx.de>Michael Koch2-130/+16
* gnu/java/net/protocol/jar/Connection.java (hdrHash): Removed. (hdrVec): Removed. (gotHeaders): Removed. (getHeaderField): Removed. (getHeaderFields): Removed. (getHeaderFieldKey): Removed. (getKey): Removed. (getField): Removed. (getHeaders): Removed. From-SVN: r76523
2004-01-24re PR bootstrap/13848 (bootstrap failure - ICE in ada/utils.c)Ian Lance Taylor4-14/+73
PR bootstrap/13848 * cse.c (cse_cc_succs): Change the mode of the source expression as soon as decide we need a new mode. Don't permit changing modes if we found a match in a successor block. (cse_condition_code_reg): Save original mode of source expression so that we know whether we have to change the mode in other insns. * gcc.dg/20040124-1.c: New test. From-SVN: r76522
2004-01-24Makefile.am: Added library version to gtk peer lib.Michael Koch3-1/+11
2004-01-24 Michael Koch <konqueror@gmx.de> * Makefile.am: Added library version to gtk peer lib. * Makefile.in: Regenerated. From-SVN: r76520
2004-01-24InflaterInputStream.java: Merged class documentation with classpath.Michael Koch2-8/+16
2004-01-24 Michael Koch <konqueror@gmx.de> * java/util/zip/InflaterInputStream.java: Merged class documentation with classpath. From-SVN: r76519
2004-01-24basic_string.tcc (operator+(const _CharT*, const basic_string&)): No need to ↵Paolo Carlini2-1/+7
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
2004-01-24basic_string.tcc (rfind(_CharT, size_type)): Revert last change to use ↵Paolo Carlini2-26/+48
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
2004-01-24pyobjc-tc.c (main): Treat result value as of type ffi_arg.Andreas Tobler3-2/+8
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
2004-01-24emit-rtl.c (change_address, [...]): Return early when there is nothing to ↵Jan Hubicka2-0/+22
change. * emit-rtl.c (change_address, adjust_address_1, offset_address, widen_memory_access): Return early when there is nothing to change. From-SVN: r76512
2004-01-24basic_string.h (insert(size_type, const basic_string&, size_type, ↵Paolo Carlini3-12/+11
size_type)): Define inline here. 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
2004-01-24basic_string.h (assign(const basic_string&, size_type, size_type)): Define ↵Paolo Carlini4-86/+72
inline here. 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
2004-01-24simplify-rtx.c (simplify_relational_operation): Don't simplify address == ↵Jakub Jelinek4-0/+23
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
2004-01-24gcc.c (process_command): Don't internationalize the Copyright message.Kazu Hirata3-3/+9
* gcc.c (process_command): Don't internationalize the Copyright message. * mips-tfile.c (main): Likewise. From-SVN: r76488
2004-01-24cse.c: (cse_cc_succs) Fix comparison warning.Andreas Tobler2-1/+5
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch> * cse.c: (cse_cc_succs) Fix comparison warning. From-SVN: r76487
2004-01-24* config/h8300/h8300.md: Remove extraneous USE in expanders.Kazu Hirata2-20/+24
From-SVN: r76486
2004-01-24h8300-protos.h: Provide prototypes for h8300_legitimate_constant_p and ↵Kazu Hirata4-26/+78
h8300_legitimate_address_p. * 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
2004-01-24h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.Kazu Hirata2-12/+25
* 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
2004-01-24* gcc.dg/builtins-30.c: Move dg-warning marks to the proper lines.Zack Weinberg2-6/+10
From-SVN: r76482
2004-01-24re PR libstdc++/13838 (std::bitset<>::operator |= error with -D_GLIBCXX_DEBUG)Paolo Carlini3-1/+54
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
2004-01-24* cselib.c (remove_useless_values): Do not access discarded values.Jan Hubicka2-1/+6
From-SVN: r76478
2004-01-24c-typeck.c (build_conditional_expr): Do not allow non-lvalue arrays.Joseph Myers5-0/+61
* 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
2004-01-24basic_string.tcc (insert(size_type, const _CharT*, size_type __n)): Fix ↵Paolo Carlini2-19/+38
length_error check. 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
2004-01-23Makefile.def (target_modules): Don't stage.DJ Delorie3-23/+6
* Makefile.def (target_modules) [libiberty]: Don't stage. * Makefile.in: Rebuilt. From-SVN: r76475
2004-01-24mt_allocator.h: Reduce lock contention.Stefan Olsson2-67/+121
2004-01-23 Stefan Olsson <stefan@snon.net> * include/ext/mt_allocator.h: Reduce lock contention. From-SVN: r76474
2004-01-24Daily bump.GCC Administrator2-2/+2
From-SVN: r76471
2004-01-23* recog.c: Fix a typo in copyright.Kazu Hirata2-1/+5
From-SVN: r76467
2004-01-23re PR c++/13701 (g++.old-deja/g++.eh/cleanup2.C ICEs)Andrew Pinski2-2/+9
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
2004-01-2320030121-1.c: Move to ..Andrew Pinski2-0/+13
2004-01-23 Andrew Pinski <apinski@apple.com> * gcc.dg/20030121-1.c: Move to .. * gcc.dg/20040121-1.c: here. From-SVN: r76463
2004-01-23rs6000.md (call): Fix misappiled patch.Andrew Pinski2-2/+7
2004-01-23 Andrew Pinski <apinski@apple.com> * config/rs6000/rs6000.md (call): Fix misappiled patch. (call_value): Likewise. From-SVN: r76462
2004-01-23combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.Richard Henderson2-7/+15
* 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
2004-01-23xtensa.c (xtensa_va_arg): Handle complex values as separate real and ↵Bob Wilson3-1/+28
imaginary parts. * 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
2004-01-23re PR rtl-optimization/13674 (ICE in reload_cse_simplify_operands, at ↵Hartmut Penner2-1/+7
postreload.c:378 on PPC64) 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
2004-01-23emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing change.Jan Hubicka2-0/+6
* emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing change. From-SVN: r76457
2004-01-23alloc-pool.c (align_four): Kill.Jan Hubicka2-2/+12
* alloc-pool.c (align_four): Kill. (create_alloc_pool): Align size to eight. (free_alloc_pool, free_pool): Invalidate deallocated data. From-SVN: r76456
2004-01-23re PR target/1532 (-O3 generates (obviously) redundant tests and jumps)Ian Lance Taylor12-5/+488
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
2004-01-23inclhack.def (bad_lval): Renamed to ...Rainer Orth5-114/+91
* 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
2004-01-23re PR c/13814 (rejects different prototypes than builtin function)Andrew Pinski1-1/+1
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
2004-01-23* gcc.dg/builtins-29.c: New test case.Roger Sayle3-2/+100
From-SVN: r76444
2004-01-23re PR c/18314 (Abnormal behavior in optimization)Zack Weinberg4-10/+53
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
2004-01-23config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to ↵Jakub Jelinek2-1/+10
default{32,64}. * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to default{32,64}. From-SVN: r76439