- 05 Sep, 2006 12 commits
-
-
From-SVN: r116702
Geoffrey Keating committed -
2006-09-05 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/26847 * simplify-rtx.c (struct simplify_plus_minus_op_data): Remove ix. (simplify_plus_minus_op_data_cmp): For REGs, break ties on the regno. (simplify_plus_minus): Count n_constants while filling ops. Replace qsort with insertion sort. Before going through the array to simplify pairs, sort it. Delay early exit until after the first sort, exiting only if no swaps occurred. Simplify pairs in reversed order, without special-casing the first iteration. Pack ops after simplifying pairs. From-SVN: r116701
Paolo Bonzini committed -
2006-09-05 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (find(const _CharT*, size_type, size_type)): Robustify. * include/ext/vstring.tcc (find(const _CharT*, size_type, size_type)): Likewise. From-SVN: r116700
Paolo Carlini committed -
* config/avr/avr.c (avr_mcu_types): Add support for at90pwm1 device. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). (avr_rtx_costs): Mark 'outer_code' argument with ATTRIBUTE_UNUSED. From-SVN: r116699
Anatoly Sokolov committed -
basic_string.tcc (find(const _CharT*, size_type, size_type)): Reimplement in terms of traits::eq and traits::compare. 2006-09-05 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (find(const _CharT*, size_type, size_type)): Reimplement in terms of traits::eq and traits::compare. * include/ext/vstring.tcc (find(const _CharT*, size_type, size_type)): Likewise. * src/string-inst.cc: Remove unneded std::search instantiation. From-SVN: r116698
Paolo Carlini committed -
2006-09-05 Richard Guenther <rguenther@suse.de> PR tree-optimization/28900 * tree-if-conv.c (find_phi_replacement_condition): Gimplify compound conditional before creating COND_EXPR condition. * gcc.dg/torture/pr28900.c: New testcase From-SVN: r116697
Richard Guenther committed -
2006-09-05 Richard Guenther <rguenther@suse.de> PR tree-optimization/28905 * tree-vrp.c (fix_equivalence_set): Manually implement !value_ranges_intersect_p to also handle symbolic ranges. * gcc.c-torture/compile/pr28905.c: New testcase. From-SVN: r116696
Richard Guenther committed -
2006-09-05 Richard Guenther <rguenther@suse.de> PR middle-end/28935 * tree-ssa-ccp.c (fold_stmt_r): Make sure to fold the condition of a COND_EXPR. * gcc.dg/pr28935.c: New testcase. From-SVN: r116695
Richard Guenther committed -
* java/net/SocketPermission.java (maybeBracketIPv6Address): Renamed to processHostport. (processHostport): Also translate "" to "localhost". (setHostPort): Remove special cases for empty hostport and for extra colons in hostport (processHostport handles these now). From-SVN: r116694
Gary Benson committed -
* gcc.c-torture/execute/20060905-1.c: New test. From-SVN: r116692
Eric Botcazou committed -
2006-09-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/28908 REGRESSION FIX * gfortran.h : Restore the gfc_dt_list structure and reference to it in gfc_namespace. * resolve.c (resolve_fl_derived): Restore the building of the list of derived types for the current namespace. Modify the restored code so that a check is made to see if the symbol is already in the list. (resolve_fntype): Make sure that the specification block version of the derived type is used for a module function that returns that type. * symbol.c (gfc_free_dt_list): Restore. (gfc_free_namespace): Restore call to previous. * trans-types.c (copy_dt_decls_ifequal): Restore. (gfc_get_derived_type): Restore all the paraphenalia for association of derived types, including calls to previous. Modify the restored code such that all derived types are built if their symbols are found in the parent namespace; not just non-module types. Add backend_decls to like derived types in sibling namespaces, as well as that of the derived type. 2006-09-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/28908 * gfortran.dg/used_types_7.f90: New test. * gfortran.dg/used_types_8.f90: New test. * gfortran.dg/used_types_9.f90: New test. From-SVN: r116690
Paul Thomas committed -
From-SVN: r116688
GCC Administrator committed
-
- 04 Sep, 2006 6 commits
-
-
PR rtl-optimization/27616 * cse.c (table_size): New static variable. (new_basic_block): Initialize it to 0. (remove_from_table): Decrement it. (insert): Increment it. (fold_rtx_mem_1): New function, renamed from fold_rtx_mem. (fold_rtx_mem): Enforce a cap on the recursion depth. Call fold_rtx_mem_1 if under the cap. (fold_rtx) <RTX_COMM_ARITH>: In the associative case, delay a little the lookup of the equivalent expression and test for equality of the first operand of the equivalent expression before in turn looking up an equivalent constant for the second operand. From-SVN: r116683
Eric Botcazou committed -
From-SVN: r116681
Eric Botcazou committed -
2006-09-04 Benjamin Kosnik <bkoz@redhat.com> PR c++/28871 * include/ext/bitmap_allocator.h: Add comment for end of anonymous namespace. * include/ext/rope: Same. * include/bits/cpp_type_traits.h: Same. * include/tr1/tuple: Same. * include/tr1/functional_iterate.h: Same. * include/bits/cpp_type_traits.h: Revert anonymous namespace change, use nested detail instead. * testsuite/lib/libstdc++.exp (libstdc++_init): PCHFLAGS revert to stdc++.h. From-SVN: r116680
Benjamin Kosnik committed -
cp/ PR 23287 Revert my 2006-09-01 patch. * parser.c: Reverted. * pt.c: Reverted. testsuite/ PR c++/23287 Revert my 2006-09-01 patch * g++.dg/parse/dtor12.C: Remove. From-SVN: r116679
Nathan Sidwell committed -
2006-09-04 Paolo Carlini <pcarlini@suse.de> * src/mt_allocator.cc (__pool<true>::_M_reclaim_block): Do not name a variable __used, badname on BSD. From-SVN: r116678
Paolo Carlini committed -
From-SVN: r116675
GCC Administrator committed
-
- 03 Sep, 2006 3 commits
-
-
From-SVN: r116670
Joseph Myers committed -
From-SVN: r116668
Joseph Myers committed -
From-SVN: r116666
GCC Administrator committed
-
- 02 Sep, 2006 8 commits
-
-
2006-09-02 Lee Millward <lee.millward@codesourcery.com> PR c++/27670 PR c++/27493 PR c++/27494 PR c++/27397 * parser.c (cp_parser_template_parameter_list): Add invalid template parameters to the parameter list as error_mark_node. * g++.dg/template/operator9.C: New test. * g++.dg/template/operator7.C: New test. * g++.dg/template/operator8.C: New test. * g++.dg/template/crash57.C: New test. * g++.dg/template/typedef4.C: Adjust error markers. * g++.dg/template/typedef5.C: Likewise. From-SVN: r116661
Lee Millward committed -
2006-09-02 Paolo Carlini <pcarlini@suse.de> Richard Guenther <rguenther@suse.de> PR libstdc++/24469 * src/mt_allocator.cc (__pool<true>::_M_reserve_block, __pool<true>::_M_reclaim_block): Fix the logic to avoid races, exploit atomic counters stored in second part of the memory pointed by _M_used. (__pool<true>::_M_initialize): Adjust _M_used allocation. * include/ext/mt_allocator.h (__pool<true>::_Bin_record): Update comment. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r116660
Paolo Carlini committed -
2006-03-17 Alexandre Oliva <aoliva@redhat.com> * dwarf2out.c (dwarf2out_stack_adjust): Always track the stack pointer, instead of assuming it is possible to derive the correct args size from a call insn. From-SVN: r116659
Geoffrey Keating committed -
PR middle-end/27567 * builtins.c (fold_builtin_memcpy, fold_builtin_memmove): Remove. (fold_builtin_mempcpy): Rename to... (fold_builtin_memory_op): ... this. Optimize one element copy into an assignment. (fold_builtin_memset, fold_builtin_bzero, fold_builtin_bcopy): New functions. (expand_builtin_strcpy, expand_builtin_strncpy): Handle COMPOUND_EXPR. (expand_builtin_memcpy, expand_builtin_mempcpy, expand_builtin_memmove): Likewise. Use fold_builtin_memory_op. (fold_builtin_1): Handle BUILT_IN_MEMSET, BUILT_IN_BZERO and BUILT_IN_BCOPY. Use fold_builtin_memory_op for BUILT_IN_MEM{CPY,PCPY,MOVE}. From-SVN: r116656
Jakub Jelinek committed -
PR c++/28878 * except.c (build_throw): Only set current_function_returns_abnormally if cfun is not NULL. * g++.dg/parse/crash33.C: New test. From-SVN: r116655
Jakub Jelinek committed -
PR c++/26917 * repo.c (repo_file): Remove. (open_repo_file, reopen_repo_file_for_write): Return fopened FILE * instead of setting global repo_file variable. (init_repo): Adjust caller. (finish_repo): Likewise. Return instead of goto out before reopen_repo_file_for_write has been called. From-SVN: r116654
Jakub Jelinek committed -
* config/m32c/cond.md (cbranch<mode>4): Defer splitting until after reload. (stzx_16): Likewise. ("stzx_24_<mode>"): Likewise. ("stzx_reversed_<mode>"): Likewise, and make mode-specific. ("cmp<mode>_op"): New. (cmp<mode>): Change to expander; just save operands. (b<code>_op): New. (b<code>): Change to expander, emit compare here. (s<code>_op): Change to use split and expander. (s<code>_24_op): Likewise. (s<code>_<mode>): New. (s<code>_<mode>_24): New. (movqicc_<code>_<mode): New. (movhicc_<code>_<mode>): New. (s<code>): New. (s<code>_24): New. * config/m32c/m32c.c (compare_op0, compare_op1): New. (m32c_pend_compare): New. (m32c_unpend_compare): New. (m32c_expand_scc): New. (m32c_expand_movcc): Emit the compare also. * config/m32c/predicates.md (mra_nopp_operand): New. From-SVN: r116653
DJ Delorie committed -
From-SVN: r116651
GCC Administrator committed
-
- 01 Sep, 2006 11 commits
-
-
2006-09-01 J"orn Rennecke <joern.rennecke@st.com> Richard Guenther <rguenther@suse.de> Adam Nemet <anemet@caviumnetworks.com> PR middle-end/27226 * builtins.c (get_pointer_alignment): Handle more forms of base addresses that can be used to derive more precise information about alignment. * gcc.target/mips/memcpy-1.c: New testcase. * gcc.dg/pr27226.c: Likewise. Co-Authored-By: Adam Nemet <anemet@caviumnetworks.com> Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r116641
J"orn Rennecke committed -
* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Pass -lgcj to linker for C++ files on Darwin. From-SVN: r116639
Geoffrey Keating committed -
cp/ PR c++/28705 * semantics.c (finish_call_expr): Add assert. * name-lookup.c (lookup_arg_dependent): Check we found an overload or an object. testsuite/ PR c++/28705 * g++.dg/lookup/koenig5.C: New. * g++.dg/template/crash56.C: New. From-SVN: r116638
Nathan Sidwell committed -
PR c++/28899 * gimplify.c (gimplify_modify_expr_rhs) [BIND_EXPR]: Handle want_value. * gimplify.c (voidify_wrapper_expr): Handle null type. From-SVN: r116637
Jason Merrill committed -
* jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop. (THREAD_CHECK_VALID): Likewise. (THREAD_CHECK_IS_ALIVE): Likewise. (NULL_CHECK): Likewise. (ILLEGAL_ARGUMENT): Likewise. From-SVN: r116636
Keith Seitz committed -
* include/jvm.h (_Jv_JVMTI_Init): Declare. * jvmti.cc (_Jv_JVMTI_Init): New function. * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI. * jvmti.cc (ILLEGAL_ARGUMENT): New macro. (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT. * jvmti.cc (_jvmtiEnvironments): New linked list of JVMTI environments. (FOREACH_ENVIRONMENT): New macro. (_envListLock): New object to act as synchronization lock for _jvmtiEnvironments. (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment. Remove the environment from the list of known environments. (_Jv_GetJVMTIEnv): Add the new environment to the list of known environments. From-SVN: r116635
Keith Seitz committed -
2006-09-01 Josh Conner <jconner@apple.com> PR c++/25505 gcc.dg/nrv3.c: New test. gcc.dg/nrv4.c: New test. gcc.dg/nrv5.c: New test. From-SVN: r116634
Josh Conner committed -
2006-09-01 Josh Conner <jconner@apple.com> PR c++/25505 * tree-nrv.c (dest_safe_for_nrv_p): New function. (execute_return_slot_opt): Use it. From-SVN: r116633
Josh Conner committed -
InetAddress.java (getLocalHost): Refactor to avoid security check if getLocalHostname() fails and to provide... 2006-09-01 Gary Benson <gbenson@redhat.com> * java/net/InetAddress.java (getLocalHost): Refactor to avoid security check if getLocalHostname() fails and to provide more meaningful exceptions it the security check fails. From-SVN: r116627
Gary Benson committed -
cp/ PR c++/23287 * parser.c (cp_parser_id_expression): Add member_p argument. Update all callers. (cp_parser_unqualified_id): Likewise. Lookup a destructor name in the object's scope, if valid. (cp_parser_global_scope_opt): Add object_scope_valid_p. Update callers. (cp_parser_postfix_dot_deref_expression): Set object_scope. * pt.c (tsubst_copy_and_build): Lookup dependent dtor name here. testsuite/ PR c++/23287 * g++.dg/parse/dtor12.C: New. From-SVN: r116623
Nathan Sidwell committed -
InetAddress.java (getByAddress): Create Inet4Address objects when passed IPv4-mapped IPv6 addresses. 2006-09-01 Gary Benson <gbenson@redhat.com> * java/net/InetAddress.java (getByAddress): Create Inet4Address objects when passed IPv4-mapped IPv6 addresses. (getByName, getAllByName): Defer to the above to ensure that the correct Inet*Address objects are returned. From-SVN: r116622
Gary Benson committed
-