Re: [PATCH, LRA]: Revert the revert of removal of usless move insns.

2019-04-19 Thread Vladimir Makarov
On 11/21/18 2:33 PM, Uros Bizjak wrote: Hello! Before the recent patch to post-reload mode switching, vzeroupper insertion depended on the existence of the return copy instructions pair in functions that return a value. The first instruction in the pair represents a move to a function return

New German PO file for 'gcc' (version 9.1-b20190414)

2019-04-19 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the German team of translators. The file is available at: https://translationproject.org/latest/gcc/de.po (This file, 'gcc-9.1-b20190414.de.po',

[PATCH] PR fortran/90166 -- check F2018:C1547

2019-04-19 Thread Steve Kargl
The attached patch fixes PR fortran/91066. The original code was feeding a nonsense string of tokens to the assembler causing it to toss its cookies. It turns out that gfortran was not enforcing the constraint C1547 from Fortran 2018. The attached patch now performs that check. Regression

Re: [PATCH 3/3] Fix condition for std::variant to be copy constructible

2019-04-19 Thread Jonathan Wakely
On 17/04/19 17:12 +0100, Jonathan Wakely wrote: The standard says the std::variant copy constructor is defined as deleted unless all alternative types are copy constructible, but we were making it also depend on move constructible. It turns out that was changed by https://wg21.link/lwg2904 and

Re: [PATCH] Delegate PSTL configuration to pstl/pstl_config.h

2019-04-19 Thread Jonathan Wakely
On 18/04/19 17:02 -0700, Thomas Rodgers wrote: * include/bits/c++config: Remove explicit PSTL configuration macros and use definitions from . OK for trunk, thanks.

Re: [PATCH] Cleanup algorithm implementations

2019-04-19 Thread Jonathan Wakely
On 19/04/19 11:59 -0700, Thomas Rodgers wrote: * include/pstl/glue_algorithm_impl.h (stable_sort): Forward execution policy. (mismatch): Forward execution policy. (equal): Qualify call to std::equal(). (partial_sort): Forward execution policy.

Re: [PATCH] Cleanup algorithm implementations

2019-04-19 Thread Ville Voutilainen
On Fri, 19 Apr 2019 at 22:00, Thomas Rodgers wrote: > > * include/pstl/glue_algorithm_impl.h (stable_sort): Forward > execution policy. > (mismatch): Forward execution policy. > (equal): Qualify call to std::equal(). > (partial_sort): Forward execution

New German PO file for 'gcc' (version 9.1-b20190414)

2019-04-19 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the German team of translators. The file is available at: https://translationproject.org/latest/gcc/de.po (This file, 'gcc-9.1-b20190414.de.po',

Re: [PATCH, LRA]: Revert the revert of removal of usless move insns.

2019-04-19 Thread H.J. Lu
On Wed, Nov 21, 2018 at 1:45 PM Vladimir Makarov wrote: > > > > On 11/21/2018 02:33 PM, Uros Bizjak wrote: > > Hello! > > > > Before the recent patch to post-reload mode switching, vzeroupper > > insertion depended on the existence of the return copy instructions > > pair in functions that return

[PATCH] Cleanup algorithm implementations

2019-04-19 Thread Thomas Rodgers
* include/pstl/glue_algorithm_impl.h (stable_sort): Forward execution policy. (mismatch): Forward execution policy. (equal): Qualify call to std::equal(). (partial_sort): Forward execution policy. (inplace_merge): Forward execution policy. >From

Re: [PATCH] PR translation/90118 Missing space between words

2019-04-19 Thread Martin Sebor
On 4/19/19 3:38 AM, Jakub Jelinek wrote: On Fri, Apr 19, 2019 at 11:28:41AM +0200, Christophe Lyon wrote: --- a/contrib/check-internal-format-escaping.py +++ b/contrib/check-internal-format-escaping.py @@ -58,6 +58,10 @@ for i, l in enumerate(lines): print('%s: %s' %

Re: [Patch, fortran] PR57284 - [OOP] ICE with find_array_spec for polymorphic arrays

2019-04-19 Thread Steve Kargl
On Fri, Apr 19, 2019 at 06:19:00PM +0100, Paul Richard Thomas wrote: > The part of this patch in resolve.c had essentially already been > sorted out by Tobias Burnus in comment #2 of the PR. I suspect that he > must have been put off the trail by the segfault that occurred when > this was

[Patch, fortran] PR57284 - [OOP] ICE with find_array_spec for polymorphic arrays

2019-04-19 Thread Paul Richard Thomas
The part of this patch in resolve.c had essentially already been sorted out by Tobias Burnus in comment #2 of the PR. I suspect that he must have been put off the trail by the segfault that occurred when this was implemented. In the end, the reason for the segfault is quite straight forward and

Re: [PATCH] tree-call-cdce: If !HONOR_NANS do not make code with NaNs (PR88055)

2019-04-19 Thread Segher Boessenkool
On Fri, Apr 19, 2019 at 10:15:31AM -0600, Jeff Law wrote: > On 4/18/19 3:23 PM, Segher Boessenkool wrote: > > If we don't HONOR_NANS we should not try to use any unordered > > comparison results. Best case those will just be optimized away; > > realistically, they ICE. For example, the rs6000

Re: [PATCH] tree-call-cdce: If !HONOR_NANS do not make code with NaNs (PR88055)

2019-04-19 Thread Jeff Law
On 4/18/19 3:23 PM, Segher Boessenkool wrote: > If we don't HONOR_NANS we should not try to use any unordered > comparison results. Best case those will just be optimized away; > realistically, they ICE. For example, the rs6000 backend has some > code that specifically checks we never do this. >

libgo patch committed: Define SockaddrDataLink on AIX

2019-04-19 Thread Ian Lance Taylor
This patch by Clément Chigot defines SockaddrDatalink on AIX. It is required for the golang.org/x/net repo. Bootstrapped on x86_64-pc-linux-gnu. Committed to mainline. Ian Index: gcc/go/gofrontend/MERGE === ---

Re: [PATCH] Fix PR90131, wrong-debug

2019-04-19 Thread Jeff Law
On 4/19/19 3:26 AM, Jakub Jelinek wrote: > On Thu, Apr 18, 2019 at 11:20:32AM +0200, Richard Biener wrote: >> >> This fixes another case similar to the fixed PR89892, mergephi >> via remove_forwarder_block_with_phi caused out-of-date debug >> binds to become live and thus needs similar treatment

Fwd:

2019-04-19 Thread C.R. Chafer
  Gcc https://www.mdmgames.com/dreamweddingdemo/trk.aspx?t=outbound=http://tiny.cc/jxwe5y -- Forwarded message - From: crcha...@yahoo.co.uk Date: Friday, April 19, 2019 04:23:36 PM Subject: To: http://www.bing.com/search?q==DDKYZRVTSTV=GRHBQVUGHPRRFER

Re: [PATCH] PR translation/90118 Missing space between words

2019-04-19 Thread Christophe Lyon
On Fri, 19 Apr 2019 at 11:57, Richard Sandiford wrote: > > Christophe Lyon writes: > > On Fri, 19 Apr 2019 at 11:23, Richard Sandiford > > wrote: > >> > >> Christophe Lyon writes: > >> > On Thu, 18 Apr 2019 at 18:25, Richard Sandiford > >> > wrote: > >> >> > >> >> Christophe Lyon writes: >

Re: [PATCH] Fix tree-outof-ssa.c ICE with vector types (PR middle-end/90139)

2019-04-19 Thread Richard Biener
On April 19, 2019 10:52:50 AM GMT+02:00, Jakub Jelinek wrote: >Hi! > >We use SSA_NAMEs even for vector types which have BLKmode, e.g. neither >x86 >nor sparc targets have V1SFmode and thus such VECTOR_TYPEs have >BLKmode. >In some cases outof ssa subpass calls get_temp_reg, but that will

Re: [PATCH] PR translation/90118 Missing space between words

2019-04-19 Thread Richard Sandiford
Christophe Lyon writes: > On Fri, 19 Apr 2019 at 11:23, Richard Sandiford > wrote: >> >> Christophe Lyon writes: >> > On Thu, 18 Apr 2019 at 18:25, Richard Sandiford >> > wrote: >> >> >> >> Christophe Lyon writes: >> >> > Hi, >> >> > >> >> > This patch adds the missing space before '%<' in >>

Re: [C++ PATCH] Fix process_template_parm error-recovery (PR c++/90138)

2019-04-19 Thread Jason Merrill
OK. On Fri, Apr 19, 2019 at 1:43 AM Jakub Jelinek wrote: > > Hi! > > On the following testcase, there is a type template argument, for which > we create a decl (decl == parm in that case) and pushdecl it. But, if > the pushdecl detects a redeclaration in that scope, duplicate_decls will >

Re: [C/C++ PATCH] Fix promoted switch condition out of range diagnostics (PR c/89888, take 2)

2019-04-19 Thread Jason Merrill
On Fri, Apr 19, 2019 at 1:39 AM Jakub Jelinek wrote: > > On Thu, Apr 18, 2019 at 10:41:55PM -0700, Jason Merrill wrote: > > > + node = splay_tree_predecessor (cases, (splay_tree_key) min_value); > > ... > > > + if (CASE_HIGH ((tree) node->value) > > > + &&

Re: [PATCH] PR translation/90118 Missing space between words

2019-04-19 Thread Jakub Jelinek
On Fri, Apr 19, 2019 at 11:28:41AM +0200, Christophe Lyon wrote: > > >> > --- a/contrib/check-internal-format-escaping.py > > >> > +++ b/contrib/check-internal-format-escaping.py > > >> > @@ -58,6 +58,10 @@ for i, l in enumerate(lines): > > >> > print('%s: %s' % (origin,

Re: [PATCH] PR translation/90118 Missing space between words

2019-04-19 Thread Christophe Lyon
On Fri, 19 Apr 2019 at 11:23, Richard Sandiford wrote: > > Christophe Lyon writes: > > On Thu, 18 Apr 2019 at 18:25, Richard Sandiford > > wrote: > >> > >> Christophe Lyon writes: > >> > Hi, > >> > > >> > This patch adds the missing space before '%<' in > >> > config/aarch64/aarch64.c and

Re: [PATCH] Fix PR90131, wrong-debug

2019-04-19 Thread Jakub Jelinek
On Thu, Apr 18, 2019 at 11:20:32AM +0200, Richard Biener wrote: > > This fixes another case similar to the fixed PR89892, mergephi > via remove_forwarder_block_with_phi caused out-of-date debug > binds to become live and thus needs similar treatment as > remove_forwarder_block. Previously it

Re: [PATCH] PR translation/90118 Missing space between words

2019-04-19 Thread Richard Sandiford
Christophe Lyon writes: > On Thu, 18 Apr 2019 at 18:25, Richard Sandiford > wrote: >> >> Christophe Lyon writes: >> > Hi, >> > >> > This patch adds the missing space before '%<' in >> > config/aarch64/aarch64.c and gcc/cp/call.c. It also updates the >> > check-internal-format-escaping.py

Re: [PATCH] PR translation/90118 Missing space between words

2019-04-19 Thread Christophe Lyon
On Thu, 18 Apr 2019 at 18:25, Richard Sandiford wrote: > > Christophe Lyon writes: > > Hi, > > > > This patch adds the missing space before '%<' in > > config/aarch64/aarch64.c and gcc/cp/call.c. It also updates the > > check-internal-format-escaping.py checker to warn about such cases. > > > >

[PATCH] Fix tree-outof-ssa.c ICE with vector types (PR middle-end/90139)

2019-04-19 Thread Jakub Jelinek
Hi! We use SSA_NAMEs even for vector types which have BLKmode, e.g. neither x86 nor sparc targets have V1SFmode and thus such VECTOR_TYPEs have BLKmode. In some cases outof ssa subpass calls get_temp_reg, but that will gen_reg_rtx (BLKmode) in that case, which is something that doesn't really

[C++ PATCH] Fix process_template_parm error-recovery (PR c++/90138)

2019-04-19 Thread Jakub Jelinek
Hi! On the following testcase, there is a type template argument, for which we create a decl (decl == parm in that case) and pushdecl it. But, if the pushdecl detects a redeclaration in that scope, duplicate_decls will ggc_free the decl passed to it and we then add that ggc_freed tree into the

Re: [C/C++ PATCH] Fix promoted switch condition out of range diagnostics (PR c/89888, take 2)

2019-04-19 Thread Jakub Jelinek
On Thu, Apr 18, 2019 at 10:41:55PM -0700, Jason Merrill wrote: > > + node = splay_tree_predecessor (cases, (splay_tree_key) min_value); > ... > > + if (CASE_HIGH ((tree) node->value) > > + && tree_int_cst_compare (CASE_HIGH ((tree) node->value), > > +