- 03 Feb, 2010 18 commits
-
-
PR c++/4926 PR c++/38600 * mangle.c (write_unqualified_id): Split out from write_expression. (write_unqualified_name): Call it. (write_member_name): Likewise. (write_expression): Support TEMPLATE_ID_EXPR. Disambiguate operator names. From-SVN: r156482
Jason Merrill committed -
PR c++/12909 * mangle.c (write_type) [VECTOR_TYPE]: Change mangling. From-SVN: r156481
Jason Merrill committed -
* config/h8300/h8300.md (can_delay): Fix attibute condition. From-SVN: r156480
Kaushik Phatak committed -
2010-02-03 Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/condition_variable (condition_variable_any): Provide definitions for all members. * src/condition_variable.cc (condition_variable_any): Adjust definitions. * config/abi/pre/gnu.ver: Adjust exports for condition_variable_any. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Adjust dg-error line number. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/members/1.cc: New. * testsuite/30_threads/condition_variable_any/members/2.cc: New. * testsuite/30_threads/condition_variable_any/requirements/ standard_layout.cc: Remove. * testsuite/30_threads/condition_variable_any/native_handle/ typesizes.cc: Remove. From-SVN: r156479
Jonathan Wakely committed -
re PR rtl-optimization/42941 (-fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable) 2010-02-03 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimizations/42941 * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead of xmalloc. From-SVN: r156472
Vladimir Makarov committed -
From-SVN: r156470
Jason Merrill committed -
PR c++/35652 * builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics. From-SVN: r156469
Jason Merrill committed -
2010-02-03 Alexandre Oliva <aoliva@redhat.com> PR debug/42896 * cselib.h (struct cselib_val_struct): Add uid. Rename value to hash. (cselib_reset_table): Renamed from... (cselib_reset_table_with_next_value): ... this. (cselib_get_next_uid): Renamed from... (cselib_get_next_unknown_value): ... this. * cselib.c (next_uid): Renamed from... (next_unknown_value): ... this. (cselib_clear_table): Adjust. (cselib_reset_table): Adjust. Renamed from... (cselib_reset_table_with_next_value): ... this. (cselib_get_next_uid): Adjust. Renamed from... (cselib_get_next_unknown_value): ... this. (get_value_hash): Use hash. (cselib_hash_rtx): Likewise. (new_cselib_val): Adjust. Set and dump uid. (cselib_lookup_mem): Pass next_uid as hash. (cselib_subst_to_values): Likewise. (cselib_log_lookup): Dump uid. (cselib_lookup): Pass next_uid as hash. Adjust. (cselib_process_insn): Adjust. (cselib_init): Initialize next_uid. (cselib_finish): Adjust. (dump_cselib_table): Likewise. * dse.c (canon_address): Dump value uid. * print-rtl.c (print_rtx): Print value uid. * var-tracking.c (VARIABLE_HASH_VAL): Dropped. (dvuid): New type. (dv_uid): New function, sort of renamed from... (dv_htab_hash): ... this, reimplemented in terms of it and... (dv_uid2hash): ... this. New. (variable_htab_eq): Drop excess assertions. (tie_break_pointers): Removed. (canon_value_cmp): Compare uids. (variable_post_merge_New_vals): Print uids. (vt_add_function_parameters): Adjust. (vt_initialize): Reset table. Adjust. From-SVN: r156468
Alexandre Oliva committed -
2010-02-03 Richard Guenther <rguenther@suse.de> PR tree-optimization/42944 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc. (call_may_clobber_ref_p_1): Likewise. Properly handle malloc and calloc clobbering errno. * gcc.dg/errno-1.c: New testcase. From-SVN: r156467
Richard Guenther committed -
* doc/invoke.texi: Fix name of sched1 dump. * opts.c (decode_options): Set flag_tree_switch_conversion only conditionally on optimize >= 2. * gcse.c: Assorted comment fixes in pass description. From-SVN: r156466
Steven Bosscher committed -
From-SVN: r156465
Anthony Green committed -
2010-02-03 Richard Guenther <rguenther@suse.de> PR middle-end/42927 * tree-cfg.c (verify_gimple_assign_binary): Fix shift verification. * gcc.c-torture/compile/pr42927.c: New testcase. From-SVN: r156464
Richard Guenther committed -
* config.gcc: Reenable check for obsolete targets. Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*, mips-sgi-irix6.[0-4]*. From-SVN: r156462
Rainer Orth committed -
re PR fortran/42936 (Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg) 2010-02-03 Tobias Burnus <burnus@net-b.de> PR fortran/42936 * interface.c (compare_parameter): Disable rank-checking for NULL(). 2010-02-03 Tobias Burnus <burnus@net-b.de> PR fortran/42936 * gfortran.dg/null_4.f90: New test. From-SVN: r156461
Tobias Burnus committed -
2010-02-02 Paolo Carlini <paolo.carlini@oracle.com> * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix for -fno-exceptions. From-SVN: r156460
Paolo Carlini committed -
2010-02-02 Benjamin Kosnik <bkoz@redhat.com> * include/bits/allocator.h: Fix for -fno-exceptions. * include/bits/basic_string.h (basic_string::shrink_to_fit): Same. From-SVN: r156459
Benjamin Kosnik committed -
From-SVN: r156458
GCC Administrator committed -
PR c++/41090 * decl.c (cp_finish_decl): Add local statics to cfun->local_decls. * optimize.c (clone_body): Remap their initializers when making base variants. (maybe_clone_body): Complain if multiple clones aren't safe. From-SVN: r156455
Jason Merrill committed
-
- 02 Feb, 2010 8 commits
-
-
Adjust date of the last ChangeLog entry. From-SVN: r156452
Paolo Carlini committed -
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/30_threads/unique_future: Rename to /future. From-SVN: r156451
Paolo Carlini committed -
2010-02-02 Tobias Burnus <burnus@net-b.de> PR fortran/42650 * parse.c (decode_specification_statement): Use sym->result not * sym. 2010-02-02 Tobias Burnus <burnus@net-b.de> PR fortran/42650 * gfortran.dg/func_result_5.f90: New test. From-SVN: r156449
Tobias Burnus committed -
* config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum constant size of 4 as being the same as 0. * doc/invoke.texi (RX Options): Document that -mmax-constant-size can take values in the range 0..4. From-SVN: r156447
Nick Clifton committed -
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> PR java/41991 * include/posix.h: Redefine _Unwind_FindEnclosingFunction. From-SVN: r156446
Jack Howarth committed -
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> PR java/41991 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to SHLIB_MAPFILES. From-SVN: r156445
Jack Howarth committed -
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> PR java/41991 * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction() as _darwin10_Unwind_FindEnclosingFunction(). * libgcc-libsystem.ver: New. From-SVN: r156444
Jack Howarth committed -
From-SVN: r156440
GCC Administrator committed
-
- 01 Feb, 2010 8 commits
-
-
2010-02-01 Tobias Burnus <burnus@net-b.de> PR fortran/42922 * decl.c (variable_decl): Allow default initializer in TYPE declarations in PURE functions. 2010-02-01 Tobias Burnus <burnus@net-b.de> PR fortran/42922 * gfortran.dg/pure_initializer_3.f90: News test. From-SVN: r156433
Tobias Burnus committed -
2010-02-01 Vladimir Makarov <vmakarov@redhat.com> PR target/41399 * sched-deps.c (sched_analyze_insn): Ignore fixed registers for implicitly set registers. From-SVN: r156431
Vladimir Makarov committed -
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/42408 * include/bits/random.h (linear_congruential_engine<>:: linear_congruential_engine(seed_seq&), linear_congruential_engine<>::seed(seed_seq&), mersenne_twister<>::mersenne_twister(seed_seq&), mersenne_twister<>::seed(seed_seq&), subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&), subtract_with_carry_engine<>::seed(seed_seq&), discard_block_engine<>::discard_block_engine(seed_seq&), discard_block_engine<>::seed(seed_seq&), independent_bits_engine<>::independent_bits_engine(seed_seq&), independent_bits_engine<>::seed(seed_seq&), shuffle_order_engine<>::shuffle_order_engine(seed_seq&), shuffle_order_engine<>::seed(seed_seq&)): Templatize. * include/bits/random.tcc: Adjust. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed_seq.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ cons/seed_seq.cc: Likewise. From-SVN: r156430
Paolo Carlini committed -
* arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K. (arm_override_options): Allow automatic selection of the thread pointer register if thumb2. (legitimize_pic_address): Improve code sequences for Thumb2. (arm_call_tls_get_addr): Likewise. (legitimize_tls_address): Likewise. * arm.md (pic_load_addr_arm): Delete. Replace with ... (pic_load_addr_32bit): ... this. New named pattern. * thumb2.md (pic_load_addr_thumb2): Delete. (pic_load_dot_plus_four): Delete. (tls_load_dot_plus_four): New named pattern. From-SVN: r156428
Richard Earnshaw committed -
PR libgomp/29986 * doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry. Document fix for TLS bug. From-SVN: r156427
Rainer Orth committed -
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/forward_list.h (forward_list<>::resize(size_type), forward_list(size_type)): Only declare. * include/bits/forward_list.tcc (forward_list<>::resize(size_type), forward_list(size_type)): Define, don't assume CopyConstructible. * testsuite/23_containers/forward_list/cons/10.cc: New. * testsuite/23_containers/forward_list/modifiers/6.cc: Likewis. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. * include/bits/forward_list.h: Use _M_get_Node_allocator throughout. From-SVN: r156426
Paolo Carlini committed -
From-SVN: r156423
Joseph Myers committed -
From-SVN: r156422
GCC Administrator committed
-
- 31 Jan, 2010 6 commits
-
-
2010-01-31 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/array/requirements/exception/ generation_prohibited.c: Remove, swap can indeed throw (DR 774). * testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix. * testsuite/util/testsuite_container_traits.h (traits<__versa_string>): Enable insert tests. 2010-01-31 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/forward_list.h (forward_list<>::insert_after (const_iterator, size_type, const _Tp&), insert_after(const_iterator, _InputIterator, _InputIterator), insert_after(const_iterator, std::initializer_list<>)): Fix return type per N3000. * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc: Adjust. * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r156419
Paolo Carlini committed -
gcc/fortran/ 2010-01-31 Janus Weil <janus@gcc.gnu.org> PR fortran/42888 * resolve.c (resolve_allocate_expr): Move default initialization code here from gfc_trans_allocate. * trans.c (gfc_trans_code): Call gfc_trans_class_assign also for EXEC_INIT_ASSIGN. * trans-expr.c (gfc_trans_class_assign): Handle default initialization of CLASS variables via memcpy. * trans-stmt.c (gfc_trans_allocate): Move default initialization code to resolve_allocate_expr. gcc/testsuite/ 2010-01-31 Janus Weil <janus@gcc.gnu.org> PR fortran/42888 * gfortran.dg/allocate_derived_2.f90: New test. From-SVN: r156418
Janus Weil committed -
PR middle-end/42898 * gcc.dg/torture/pr42898-2.c: New test. From-SVN: r156414
Eric Botcazou committed -
2010-01-31 Richard Guenther <rguenther@suse.de> * tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be conservatively correct. From-SVN: r156413
Richard Guenther committed -
PR target/42850 Revert: 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. From-SVN: r156410
John David Anglin committed -
* configure.ac: Add "recommended" version checks for GMP/MPC. Update recommended GMP/MPFR/MPC versions. * configure: Regenerate. gcc: * doc/install.texi: Update recommended GMP/MPFR/MPC versions. From-SVN: r156408
Kaveh R. Ghazi committed
-