Re: [PATCH][GSoC] Extend shared_ptr to support arrays

2015-06-24 Thread Fan You
Hi, Here is the revised patch including all the test case. This can also be seen at https://github.com/Noeyfan/gcc-1 on branch shared_arrays Any comments? 2015-06-23 12:19 GMT+08:00 Tim Shen tims...@google.com: On Sun, Jun 21, 2015 at 3:50 AM, Tim Shen tims...@google.com wrote: Quickly

Re: Debug mode enhancements

2015-06-24 Thread François Dumont
Hello Is this one ok ? François On 12/06/2015 19:11, François Dumont wrote: Hi This is a patch to: - Enhance __get_distance to get a better feedback about distance between iterators so that we can take sharper decision about what is right or not. This function is now aware about

C++ PATCH for c++/66647 (ICE with alias templates)

2015-06-24 Thread Jason Merrill
Another issue with dependent alias template specializations. In this case, we were dealing with an alias template that expands to a function type; dependent_type_p_r was looking at the function type and never considering whether the alias specialization itself was dependent. Fixed by checking

Re: [PATCH] [aarch64] Implemented reciprocal square root (rsqrt) estimation in -ffast-math

2015-06-24 Thread Dr. Philipp Tomsich
Evandro, Shouldn't ‘execute_cse_reciprocals_1’ take care of this, once the reciprocal-division is implemented? Do you think there’s additional work needed to catch all cases/opportunities? Best, Philipp. On 24 Jun 2015, at 20:19, Evandro Menezes e.mene...@samsung.com wrote: Benedikt,

Re: [gomp4.1] Add new versions of GOMP_target{,_data,_update} and GOMP_target_enter_exit_data

2015-06-24 Thread Ilya Verbin
On Wed, Jun 24, 2015 at 13:39:03 +0200, Jakub Jelinek wrote: Thinking about this more, for always modifier this isn't really sufficient. Consider: void foo (int *p) { #pragma omp target data (alloc:p[0:32]) { #pragma omp target data (always, from:p[7:9]) { ... }

Re: Do not take address of empty string front

2015-06-24 Thread François Dumont
On 22/06/2015 17:10, Jonathan Wakely wrote: On 20/06/15 12:59 +0100, Jonathan Wakely wrote: On 20/06/15 12:03 +0200, François Dumont wrote: Hi 2 experimental tests are failing in debug mode because __do_str_codecvt is sometimes taking address of string front() and back() even if empty. It

Re: [gomp4.1] Add new versions of GOMP_target{,_data,_update} and GOMP_target_enter_exit_data

2015-06-24 Thread Jakub Jelinek
On Wed, Jun 24, 2015 at 11:11:12PM +0300, Ilya Verbin wrote: Indeed, here is the fix, make check-target-libgomp passed. libgomp/ * libgomp.h (struct target_var_desc): Add offset and length. * target.c (gomp_map_vars_existing): New argument tgt_var, fill it.

Re: [PR fortran/66528] unbalanced IF/ENDIF with -fmax-errors=1 causes invalid free

2015-06-24 Thread Steve Kargl
On Wed, Jun 24, 2015 at 08:36:45PM +0200, Manuel López-Ibáñez wrote: The problem is that diagnostic_action_after_output tries to delete the active pretty-printer which tries to delete its output_buffer, which is normally dynamically allocated via placement-new, but the output_buffer used by

<    1   2