[PATCH][debug] Handle debug references to skipped params

2018-07-08 Thread Tom de Vries
On Fri, Jul 06, 2018 at 04:38:50PM +0200, Richard Biener wrote: > On Fri, Jul 6, 2018 at 12:47 PM Tom de Vries wrote: > > On 07/05/2018 01:39 PM, Richard Biener wrote: > I now also spotted the code in remap_ssa_name that is supposed to handle > this it seems and for the testcase we only give up

[PATCH][debug] Reuse debug exprs generated in remap_ssa_name

2018-07-08 Thread Tom de Vries
On Sun, Jul 08, 2018 at 11:22:41AM +0200, Tom de Vries wrote: > On Fri, Jul 06, 2018 at 04:38:50PM +0200, Richard Biener wrote: > > On Fri, Jul 6, 2018 at 12:47 PM Tom de Vries wrote: > > > On 07/05/2018 01:39 PM, Richard Biener wrote: > > > > > I now also spotted the code in remap_ssa_name tha

Re: [PATCH] Fix PR86413

2018-07-08 Thread Jason Merrill
OK. On Fri, Jul 6, 2018 at 8:14 PM, Richard Biener wrote: > > The following fixes > > FAIL: gcc.dg/guality/pr48437.c -O2 -flto -fno-use-linker-plugin > -flto-partition=none line 14 i == 0 > > because we now prune non-local/VAR_DECLs from BLOCK trees during > free-lang-data (after we emitted ea

Re: [PATCH][debug] Handle debug references to skipped params

2018-07-08 Thread Jakub Jelinek
On Sun, Jul 08, 2018 at 11:22:41AM +0200, Tom de Vries wrote: > --- a/gcc/cfgexpand.c > +++ b/gcc/cfgexpand.c > @@ -5141,6 +5141,10 @@ expand_debug_source_expr (tree exp) > >switch (TREE_CODE (exp)) > { > +case VAR_DECL: > + if (DECL_ABSTRACT_ORIGIN (exp)) > + return expand_

Re: [PATCH] C++: Fix PR86083

2018-07-08 Thread Jason Merrill
On Fri, Jul 6, 2018 at 5:20 PM, Andreas Krebbel wrote: > On 06/20/2018 01:41 PM, Andreas Krebbel wrote: >> When turning a user-defined numerical literal into an operator >> invocation the literal needs to be translated to the execution >> character set. >> >> Bootstrapped and regtested on s390x. x

[C++ Patch] Use rich_location::add_range in three more places

2018-07-08 Thread Paolo Carlini
Hi, noticed three additional error messages where an additional range seems appropriate. Tested x86_64-linux. Thanks, Paolo. // /cp 2018-07-08 Paolo Carlini * decl.c (grokdeclarator): Use rich_location::add_range in three more places; include gcc-rich-loca

[PATCH, doc] Small clarification on define_subst

2018-07-08 Thread Paul Koning
In doing CCmode work I was confused how define_subst handles cases where the same argument appears more than once. The attached clarifies this. Ok for trunk? paul ChangeLog: 2018-07-08 Paul Koning * doc/md.texi (define_subst): Document how multiple occurrences of t

Re: [PATCH v3] [aarch64] Add HiSilicon tsv110 CPU support

2018-07-08 Thread Zhangshaokun
Hi maintainers, A gentle ping. Thanks, Shaokun On 2018/6/21 19:13, Shaokun Zhang wrote: > This patch adds HiSilicon's an mcpu: tsv110, which supports v8_4A. > It has been tested on aarch64 and no regressions from this patch. > > --- > gcc/ChangeLog| 8 +++ > gcc/c