- 17 Mar, 2013 9 commits
-
-
PR c++/56447 PR c++/55532 * pt.c (instantiate_class_template_1): Instantiate lambda capture list here. (tsubst_copy_and_build): Not here. From-SVN: r196729
Jason Merrill committed -
re PR c++/55017 ([DR 1051] [C++11] Rvalue-reference member should cause copy constructor to be deleted, but still declared) PR c++/55017 * method.c (walk_field_subobs): Disallow copy of rvalue ref. From-SVN: r196728
Jason Merrill committed -
re PR c++/55240 ([c++0x] ICE on non-static data member initialization using 'auto' variable from containing function) PR c++/55240 * parser.c (parsing_nsdmi): New. * semantics.c (outer_automatic_var_p): Check it. (finish_id_expression): Likewise. * cp-tree.h: Declare it. From-SVN: r196727
Jason Merrill committed -
PR c++/55241 * error.c (dump_expr) [SIZEOF_EXPR]: Print sizeof... properly. From-SVN: r196726
Jason Merrill committed -
* parser.c (lookup_literal_operator): Correct parm/arg naming mixup. From-SVN: r196725
Jason Merrill committed -
re PR c++/56238 (ICE in tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_conversions, at cp/search.c:2515) PR c++/56238 * pt.c (fold_non_dependent_expr_sfinae): Check instantiation_dependent_expression_p. From-SVN: r196724
Jason Merrill committed -
PR debug/49090 * dwarf2out.c (gen_generic_params_dies): Indicate default arguments with DW_AT_default_value. From-SVN: r196723
Jason Merrill committed -
PR c++/56095 * class.c (resolve_address_of_overloaded_function): Accept a reference to function for target_type. (instantiate_type): Likewise. * pt.c (convert_nontype_argument): Pass it to convert_nontype_argument_function. From-SVN: r196722
Jason Merrill committed -
From-SVN: r196721
GCC Administrator committed
-
- 16 Mar, 2013 10 commits
-
-
PR libstdc++/56468 * libsupc++/exception_ptr.h (type_info): Declare. From-SVN: r196709
Jonathan Wakely committed -
re PR libstdc++/56002 ([C++11] allow generic locks to be used without requiring plattform support for threads) PR libstdc++/56002 * include/std/mutex (lock_guard, unique_lock, lock): Define without depending on _GLIBCXX_HAS_GTHREADS. * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets. From-SVN: r196706
Jonathan Wakely committed -
From-SVN: r196705
Jakub Jelinek committed -
PR c++/56607 * typeck.c (cp_build_binary_op): When calling warn_for_div_by_zero, pass op1 through maybe_constant_value first. * g++.dg/warn/Wdiv-by-zero-2.C: New test. * c-c++-common/pr56607.c: New test. From-SVN: r196704
Jakub Jelinek committed -
/cp 2013-03-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56582 * semantics.c (cxx_eval_array_reference): Check for negative index. /testsuite 2013-03-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56582 * g++.dg/cpp0x/constexpr-array5.C: New. From-SVN: r196701
Paolo Carlini committed -
From-SVN: r196700
Eric Botcazou committed -
From-SVN: r196698
Jakub Jelinek committed -
From-SVN: r196697
Jakub Jelinek committed -
PR libstdc++/56492 * include/std/future (__future_base::_Result): Add result_type typedef. (__future_base::_S_allocate_result): Overload for std::allocator. (__future_base::_Task_setter): Use _Result::result_type instead of deducing the type from the task. (__future_base::_Task_state): Store allocator to allow shared state to be reset. Replace std::function with member of target object type accessed via ... (__future_base::_Task_state_base): New abstract base class. (__future_base::_Task_state_base::_M_run): New virtual function to invoke type-erased target object. (__future_base::_Task_state_base::_M_reset): New virtual function to create new shared_state using same target object and allocator. (__future_base::__create_task_state): Allocate a new _Task_state. (packaged_task::packaged_task): Use __create_task_state. (packaged_task::reset): Use _Task_state_base::_M_reset. * testsuite/30_threads/packaged_task/cons/56492.cc: New. From-SVN: r196695
Jonathan Wakely committed -
From-SVN: r196694
GCC Administrator committed
-
- 15 Mar, 2013 8 commits
-
-
From-SVN: r196683
Joseph Myers committed -
From-SVN: r196682
Joseph Myers committed -
2013-03-15 Tobias Burnus <burnus@net-b.de> PR fortran/56615 * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Pack arrays if they are not simply contiguous. 2013-03-15 Tobias Burnus <burnus@net-b.de> PR fortran/56615 * gfortran.dg/transfer_intrinsic_5.f90: New. From-SVN: r196675
Tobias Burnus committed -
* libsupc++/unwind-cxx.h: Include sys/sdt.h if detected. (PROBE2): New macro. * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe. * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe. * configure.ac: Check for sys/sdt.h. * configure, config.h.in: Rebuild. From-SVN: r196674
Tom Tromey committed -
* gcc.target/i386/movti.c: Don't test for x64 mingw. * gcc.target/i386/pr20020-1.c: Likewise. * gcc.target/i386/pr20020-2.c: Likewise. * gcc.target/i386/pr20020-3.c: Likewise. * gcc.target/i386/pr53425-1.c: Likewise. * gcc.target/i386/pr53425-2.c: Likewise. * gcc.target/i386/pr55093.c: Likewise. * gcc.target/i386/pr53907.c: Adjust test for LLP64 targets. From-SVN: r196673
Kai Tietz committed -
re PR debug/56307 (FAIL: gcc.dg/tree-ssa/pr55579.c scan-tree-dump esra "Created a debug-only replacement for s") PR debug/56307 * gcc.dg/tree-ssa/pr55579.c: Add -fvar-tracking-assignments to dg-options. Remove 32-bit hppa*-*-hpux* xfail. From-SVN: r196672
Jakub Jelinek committed -
The TSX HLE/RTM intrinsics were missing documentation. Add this to the manual. gcc/: 2013-03-14 Andi Kleen <ak@linux.intel.com> PR target/56619 * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. Document _x* TSX intrinsics. From-SVN: r196671
Andi Kleen committed -
From-SVN: r196669
GCC Administrator committed
-
- 14 Mar, 2013 12 commits
-
-
PR libstdc++/56613 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use allocator_traits instead of calling construct directly. * testsuite/23_containers/map/56613.cc: New. From-SVN: r196666
Jonathan Wakely committed -
* configure.ac: Add MicroBlaze TLS support detection. * configure: Regenerate. * config/microblaze/microblaze-protos.h: (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, symbol_mentioned_p, label_mentioned_p): Add prototypes. * config/microblaze/microblaze.c (microblaze_address_type): Add ADDRESS_TLS and tls_reloc address types. (microblaze_address_info): Add tls_reloc. (TARGET_HAVE_TLS): Define. (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, load_tls_operand, microblaze_call_tls_get_addr, microblaze_legitimize_tls_address): New functions. (microblaze_classify_unspec): Handle UNSPEC_TLS. (get_base_reg): Use microblaze_tls_symbol_p. (microblaze_classify_address): Handle TLS. (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, label_mentioned_p and microblaze_tls_referenced_p. (microblaze_legitimize_address): Handle TLS. (microblaze_address_insns): Handle ADDRESS_TLS. (pic_address_needs_scratch): Handle TLS. (print_operand_address): Handle TLS. (microblaze_expand_prologue): Check TLS_NEEDS_GOT. (microblaze_expand_move): Handle TLS. (microblaze_legitimate_constant_p): Check microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. (TARGET_CANNOT_FORCE_CONST_MEM): Define. * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define (PIC_OFFSET_TABLE_REGNUM): Set. * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. * config/microblaze/microblaze.md (UNSPEC_TLS): Define. (addsi3, movsi_internal2, movdf_internal): Update constraints * config/microblaze/predicates.md (arith_plus_operand): Define (move_operand): Redefine as move_src_operand, check microblaze_tls_referenced_p. Co-Authored-By: David Holsgrove <david.holsgrove@xilinx.com> From-SVN: r196659
Edgar E. Iglesias committed -
re PR c++/56614 (error: default argument 'std::vector<E>(std::initializer_list<E>{((const E*)(& ._0)), 1u}, (*(const std::allocator<E>*)(& std::allocator<E>())))' uses local variable '._0') PR c++/56614 * decl.c (local_variable_p_walkfn): Check DECL_ARTIFICIAL again. From-SVN: r196658
Jason Merrill committed -
PR c++/56346 * decl.c (register_dtor_fn): Pass null to __cxa_thread_atexit dso_handle parm on targets without __cxa_atexit. From-SVN: r196657
Jason Merrill committed -
From-SVN: r196656
Ian Bolton committed -
PR tree-optimization/53265 * gcc.dg/graphite/scop-3.c (toto): Increase array size to avoid undefined behavior. * gcc.dg/graphite/id-6.c (test): Likewise. * gcc.dg/graphite/pr35356-2.c: Adjust regexp patterns to only look for MIN_EXPR and MAX_EXPR in GIMPLE stmts. From-SVN: r196655
Jakub Jelinek committed -
From-SVN: r196654
Ian Bolton committed -
PR tree-optimization/53265 * common.opt (Waggressive-loop-optimizations): New option. * tree-ssa-loop-niter.c: Include tree-pass.h. (do_warn_aggressive_loop_optimizations): New function. (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds if number_of_latch_executions returned constant. (estimate_numbers_of_iterations_loop): Call number_of_latch_executions early. If number_of_latch_executions returned constant, set nb_iterations_upper_bound back to it. * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations field. * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. * gcc.dg/pr53265.c: New test. * gcc.dg/torture/pr49518.c: Add -Wno-aggressive-loop-optimizations to dg-options. * g++.dg/opt/longbranch2.C (EBCOTLut): Double sizes of a2 and a3 arrays. * gcc.dg/tree-ssa/cunroll-10.c (main): Rename to foo. Add argument n, use it as high bound instead of 4. * unwind-dw2.c (execute_cfa_program): Avoid -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save on targets with DWARF_FRAME_REGISTERS < 32. * testsuite/libmudflap.c/fail37-frag.c: Add optimization barrier. From-SVN: r196650
Jakub Jelinek committed -
* config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. (MULTILIB_OSDIRNAMES): Set. * genmultilib: If defaultosdirname doesn't start with :: , set defaultosdirname2 instead, clear it and emit two . multilib_raw entries instead of just one. From-SVN: r196649
Jakub Jelinek committed -
2013-03-13 Benjamin Kosnik <bkoz@redhat.com> * doc/html/*: Regenerate. From-SVN: r196647
Benjamin Kosnik committed -
* config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. (SUBTARGET_OVERRIDE_OPTIONS): New. From-SVN: r196646
Kaz Kojima committed -
From-SVN: r196645
GCC Administrator committed
-
- 13 Mar, 2013 1 commit
-
-
2013-03-12 Andrew John Hughes <gnu.andrew@redhat.com> * include/posix-threads.h: (_Jv_MutexCheckMonitor(_Jv_Mutex_t)): Use pthread_equal rather than !=. From-SVN: r196639
Andrew John Hughes committed
-