- 26 Aug, 2005 21 commits
-
-
From-SVN: r103542
Jakub Jelinek committed -
re PR rtl-optimization/23561 (nonoverlapping_memrefs_p returns true even for overlapping memory references) PR rtl-optimization/23561 * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless at most LEN bytes long memory fits into the field. (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr, expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp, expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers. * gcc.c-torture/execute/20050826-1.c: New test. From-SVN: r103541
Jakub Jelinek committed -
PR rtl-opt/23560 * gcc.c-torture/execute/20050826-2.c: New test. From-SVN: r103540
Jakub Jelinek committed -
PR rtl-opt/23560 * loop.c (biased_biv_may_wrap_p): New. (maybe_eliminate_biv_1): Use it to suppress non-equality comparison transformations. Delete disabled code. From-SVN: r103539
Richard Henderson committed -
2005-08-26 Dale Johannesen <dalej@apple.com> * gcc.dg/20030711-1.c: Modify to work on Darwin. * gcc.dg/20050826-1.c: New. From-SVN: r103538
Dale Johannesen committed -
2005-08-26 Ian Lance Taylor <ian@airs.com> * combine.c (make_extraction): Avoid reference outside object. From-SVN: r103537
Ian Lance Taylor committed -
2005-08-26 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/20534 (contd) * src/debug.cc (__gnu_debug): Remove __fancy_abort definition. Remove cstdio and cstdlib includes. * include/debug/debug.h: Define inline here. Remove _GLIBCXX_DEBUG_ABORT. * include/debug/macros.h: Remove __fancy_abort declaration, _GLIBXX_DEBUG_ABORT definition. * config/linker-map.gnu: Remove export. From-SVN: r103535
Benjamin Kosnik committed -
2005-08-26 Benjamin Kosnik <bkoz@redhat.com> * scripts/check_compile (UNIQUE_ID): New. Use to name output files. From-SVN: r103534
Benjamin Kosnik committed -
PR c++/19004 * pt.c (uses_template_parms): Handle IDENTIFIER_NODE. (type_dependent_expression_p): Allow BASELINKs whose associated functions are simply a FUNCTION_DECL. PR c++/19004 * g++.dg/template/nontype13.C: New test. From-SVN: r103531
Mark Mitchell committed -
re PR c++/23491 (new declarator with constant expression gives "error: invalid use of array with unspecified bounds") PR c++/23491 * cp-tree.h (build_vec_init): Adjust prototype. * init.c (perform_member_init): Adjust call to build_vec_init. (build_aggr_init): Likewise. (build_new_1): Do not call build_default_init for array types. (build_vec_init): Add explicit_default_init_p parameter. Perform default initialization of vector elements when set. * typeck.c (build_modify_expr): Adjust call to build_vec_init. PR c++/23491 * g++.dg/init/new14.C: New test. * g++.dg/expr/anew1.C: Do not XFAIL. * g++.dg/expr/anew2.C: Likewise. * g++.dg/expr/anew3.C: Likewise. From-SVN: r103530
Mark Mitchell committed -
stor-layout.c (finalize_type_size): Restore behaviour for non-aggregate types to the status quo ante of the patch... * stor-layout.c (finalize_type_size): Restore behaviour for non-aggregate types to the status quo ante of the patch for pr 23467. Document why it matters. From-SVN: r103527
J"orn Rennecke committed -
PR c/23506 * c-common.c (c_common_nodes_and_builtins): Increase builtin_types array by one element, initialize the BT_LAST element with NULL. From-SVN: r103526
Jakub Jelinek committed -
2005-08-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/23081 * include/tr1/array: Implement members back(), front(), data(), and the tuple interface; tidy. * testsuite/tr1/6_containers/array/element_access/back.cc: New. * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise. * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise. * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc: Likewise. * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc: Likewise. From-SVN: r103525
Paolo Carlini committed -
2005-08-26 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/22439 * gcc.dg/vla-3.c: New test. From-SVN: r103524
Andrew Pinski committed -
* config/rs6000/rs6000.md (eq<mode>_compare): Only enable when optimizing for size. (plus_eqsi): Same. (compare_plus_eqsi): Same. (plus_eqsi_compare): Same. (neg_eq0<mode>): Same. (neg_eq<mode>): Same. * config/rs6000/aix52.h (PROCESSOR_DEFAULT): Change to PROCESSOR_POWER4. From-SVN: r103522
David Edelsohn committed -
* config/v850/v850.c (ep_memory_operand): Return FALSE if TARGET_EP is not defined. * config/v850/c850.h (TARGET_CPU_CPP_BUILTINS): Define __EP__ if TARGET_EP is enabled. (OPTIMIZATION_OPTIONS): Do not define MASK_EP when optimizing. * config/v850/v850.md (save_all_interrupt): Only use the EP register if TARGET_EP is defined. (restore_all_interrupt): Likewise. * config/v850/lib1funcs.asm: Update functions so that the EP register is only used if __EP__ is defined. From-SVN: r103520
Nick Clifton committed -
mips.c (mips_expand_prologue): Handle case when generating for MIPS16 and the outgoing argument area is more... * config/mips/mips.c (mips_expand_prologue): Handle case when generating for MIPS16 and the outgoing argument area is more than SMALL_OPERAND. Use the frame pointer as temporary to generate the add instruction. From-SVN: r103519
David Ung committed -
* config/crx/crx.md: Make doloop_end pattern usage controllable via mloop-nesting=<max-nesting> command line switch. Make sure the combiner cannot use doloop_end_<mode> in an illegal way. * config/crx/crx.c: Use regs up to r6 for argument passing. Refine crx_address_cost (non cst4 displacements are expensive). * config/crx/crx.opt: Add switch for mloop-nesting=. From-SVN: r103518
Paul Woegerer committed -
2005-08-26 Adrian Straetling <straetling@de.ibm.com> * config/s390/s390.md: ("movstr", "*movstr"): Add patterns. (UNSPEC_MVST): New constant. From-SVN: r103516
Adrian Straetling committed -
2005-08-26 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/predicates.md ("shift_count_operand", "setmem_operand"): Reject operands containing eliminable registers. * testsuite/gcc.dg/20050825-1.c: New testcase. From-SVN: r103515
Andreas Krebbel committed -
[[Split portion of a mixed commit.]] From-SVN: r103505.2
GCC Administrator committed
-
- 25 Aug, 2005 11 commits
-
-
2005-08-25 Erik Edelmann <eedelman@acclab.helsinki.fi> fortran/ PR fortran/20363 * symbol.c (find_special): Remove. (build_sym, add_init_expr, attr_decl1): Remove calls to find_special in favor of calls to gfc_get_symbol. testsuite/ PR fortran/20363 * gfortran.dg/named_interface.f90: New. From-SVN: r103486
Erik Edelmann committed -
From-SVN: r103485
Maciej W. Rozycki committed -
2005-08-25 Paolo Carlini <pcarlini@suse.de> * include/tr1/hashtable: Use __throw_exception_again, not naked throw, in the catch clauses. From-SVN: r103483
Paolo Carlini committed -
cp: PR c++/20817 * typeck.c (build_x_unary_op): Make sure OFFSET_REF is not for a ->*. testsuite: PR c++/20817 * g++.old-deja/g++.benjamin/13908.C: Robustify expected error. From-SVN: r103481
Nathan Sidwell committed -
From-SVN: r103480
Alan Modra committed -
* gcc.dg/20020103-1.c: Scan for LC[0-9], not LC. * gcc.dg/altivec-22.c: Rename from.. * gcc.dg/altivec-nomfcr.c: ..this. From-SVN: r103479
Alan Modra committed -
2005-08-24 Paolo Bonzini <bonzini@gnu.org> PR tree-optimization/23546 * gcc.dg/tree-ssa/pr23546.c: New test. From-SVN: r103473
Paolo Bonzini committed -
2005-08-24 Paolo Bonzini <bonzini@gnu.org> Jan Hubicka <jh@suse.cz> * regmove.c (reg_is_remote_constant_p): Reorganize to not use log links. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r103472
Paolo Bonzini committed -
2005-08-24 Paolo Bonzini <bonzini@gnu.org> PR tree-optimization/23546 * tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST and REAL_CST nodes. From-SVN: r103471
Paolo Bonzini committed -
PR target/23404 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Correct placement of stack homed fp args. (ffi_status ffi_prep_cif_machdep): Correct stack sizing for same. From-SVN: r103462
Alan Modra committed -
[[Split portion of a mixed commit.]] From-SVN: r103458.2
GCC Administrator committed
-
- 24 Aug, 2005 8 commits
-
-
2005-08-24 Lawrence Lim <llim@redhat.com> Jakub Jelinek <jakub@redhat.com> Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/23550 * testsuite/21_strings/char_traits/requirements/char/1.cc (test01): Simplify counting. * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc (test02): Same. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r103451
Lawrence Lim committed -
2005-08-24 Pete Steinmetz <steinmtz@us.ibm.com> * params.def (PARAM_MIN_SPEC_PROB): New. * sched-rgn.c (MIN_PROBABILITY): Delete. (compute_trg_info): Convert to PARAM_VALUE. * doc/invoke.texi (param): Document min-spec-prob. From-SVN: r103450
Pete Steinmetz committed -
2005-08-24 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/17758 * gfortran.h (symbol_attribute): Add noreturn to the structure. (gfc_intrinsic_sym): Add noreturn to the structure. * intrinsic.c (make_noreturn): New function. (add_subroutines): Mark subroutines abort and exit as noreturn. (gfc_intrinsic_sub_interface): Copy noreturn attribute from isym to the resolved symbol. * trans-decl.c (gfc_get_extern_function_decl): Set function as VOLATILE (== noreturn) if the noreturn attribute is set. 2005-08-24 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/17758 gfortran.dg/nonreturning_statements.f90: New test. From-SVN: r103449
Thomas Koenig committed -
OKed by Mike Stump. From-SVN: r103447
Fariborz Jahanian committed -
2005-08-24 Paolo Bonzini <bonzini@gnu.org> * config/rs6000/rs6000.md: Fix thinko in the peephole2 I added yesterday. From-SVN: r103443
Paolo Bonzini committed -
2005-08-24 Paolo Carlini <pcarlini@suse.de> Chris Jefferson <chris@bubblescope.net> PR libstdc++/23465 * include/tr1/hashtable (hash_code_base::m_swap): Use std::swap. (hashtable<>::hashtable(const hashtable&)): Use copy_code; fix m_allocate_node call. * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New. Co-Authored-By: Chris Jefferson <chris@bubblescope.net> From-SVN: r103441
Paolo Carlini committed -
cp: PR c++/22454 * parser.c (cp_lexer_peek_nth_token): Relax assert. testsuite: PR c++/22454 * g++.dg/parse/crash29.C: New. From-SVN: r103438
Nathan Sidwell committed -
* bb-reorder.c (copy_bb, duplicate_computed_gotos): Add argument to duplicate_block. * cfghooks.c (duplicate_block): Added position where to place new block as argument. * cfghooks.h (duplicate_block): Declaration changed. * cfglayout.c (copy_bbs): Add argument after. Pass it to duplicate_block. * cfglayout.h (copy_bbs): Declaration changed. * cfgloop.h (loop_version): Declaration changed. * cfgloopmanip.c (duplicate_loop_to_header_edge): Pass position to copy_bbs. (loop_version): Pass position to duplicate_loop_to_header_edge. Add place_after argument and position new blocks according to it. * modulo-sched.c (sms_schedule): Pass place_after argument to loop_version. * tracer.c (tail_duplicate): Pass argument to duplicate_block. * tree-cfg.c (split_edge_bb_loc): New function. (tree_split_edge, tree_duplicate_sese_region): Use split_edge_bb_loc to determine position of new blocks. * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass argument to loop_version. * tree-ssa-threadupdate.c (create_block_for_threading): Pass argument to duplicate_block. * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg): Pass position to copy_bbs. From-SVN: r103437
Zdenek Dvorak committed
-