Re: C++ PATCH for c++/86915, ICE with auto[]

2018-08-12 Thread Jason Merrill
OK. On Sun, Aug 12, 2018 at 4:53 AM, Marek Polacek wrote: > This fixes ICE-on-invalid with an array of auto. The problem was that > create_array_type_for_decl got null name, so the error call crashed. We > need to handle this case as elsewhere in the function. > > Bootstrapped/regtested on x86_

Re: C++ PATCH to implement C++20 P0806R2, Deprecate implicit capture of this via [=]

2018-08-12 Thread Jason Merrill
On Sun, Aug 12, 2018 at 3:53 PM, Marek Polacek wrote: > - var = add_capture (lambda, > -id, > -initializer, > -/*by_reference_p=*/ > - (this_capture_p > -|

[[Patch, fortran] PR86863 - [OOP][F2008] type-bound module procedure name not recognized

2018-08-12 Thread Paul Richard Thomas
I have cast around for a better way to fix this bug but have not come up with anything. Although brute force, the patch does the job. The testcase has been extended to include a MODULE PROCEDURE in a submodule, which I think must have been the contributor's original intention. Bootstrapped and reg

Re: [PATCH][x86] Match movss and movsd "blend" instructions

2018-08-12 Thread Uros Bizjak
On Sat, Aug 11, 2018 at 11:54 AM, Allan Sandfeld Jensen wrote: > On Samstag, 11. August 2018 11:18:39 CEST Jakub Jelinek wrote: >> On Sat, Aug 11, 2018 at 10:59:26AM +0200, Allan Sandfeld Jensen wrote: >> > +/* A subroutine of ix86_expand_vec_perm_builtin_1. Try to implement D >> > + using movs

[PING] [PATCH] Fix wrong code with truncated string literals (PR 86711/86714)

2018-08-12 Thread Bernd Edlinger
Hi, I'd like to ping for this patch: https://gcc.gnu.org/ml/gcc-patches/2018-07/msg01800.html I will add a new BZ entry for the (minor) regression this patch introduces in gcc.dg/strlenopt-49.c and assign it to myself. Thanks Bernd. On 07/29/18 12:56, Bernd Edlinger wrote: > Hi! > > This fix