Re: [PATCH PR81740]Enforce dependence check for outer loop vectorization

2019-03-25 Thread Bin.Cheng
On Tue, Mar 26, 2019 at 8:56 AM Richard Sandiford wrote: > > Richard Biener writes: > > On Fri, Mar 22, 2019 at 7:12 AM Bin.Cheng wrote: > >> > >> On Thu, Mar 21, 2019 at 8:24 PM Richard Biener > >> wrote: > >> > > >> > On Mon, Dec 18, 2017 at 1:37 PM Richard Biener > >> > wrote: > >> > > > >>

[RS6000] Rename NON_SPECIAL_REGS to GEN_OR_FLOAT_REGS

2019-03-25 Thread Alan Modra
This just chooses a more descriptive name for this register class. Bootstrapped etc. powerpc64le-linux. OK for next stage1? * config/rs6000/rs6000.h: Rename NON_SPECIAL_REGS to GEN_OR_FLOAT_REGS throughout file. * config/rs6000/darwin.h: Likewise. * config/rs6000/r

[PATCH 7/7] [NDS32] Fix nds32_split_ashiftdi3 with large shift amount

2019-03-25 Thread Kito Cheng
From: Kito Cheng Kito Cheng Shiva Chen ChangeLog: gcc/ * config/nds32/nds32-md-auxiliary.c (nds32_split_ashiftdi3): Fix wrong code gen with large shift amount. gcc/testsuite/ * gcc.target/nds32/ashiftdi3.c: New. --- gcc/config/nds32/nds32-md-auxiliary.c | 21 ++

[PATCH 6/7] [NDS32] Handle subreg correctly in wext_odd_dep_p.

2019-03-25 Thread Kito Cheng
From: Kito Cheng Kito Cheng Shiva Chen ChangeLog: gcc/ * config/nds32/nds32-pipelines-auxiliary.c (wext_odd_dep_p): Handle subreg. gcc/testsuite * gcc.target/nds32/wext-dep.c: New. --- gcc/config/nds32/nds32-pipelines-auxiliary.c | 16 gcc/testsuite

[PATCH 4/7] [NDS32] nds32*-linux target using init_array/finit_array for ctor/dtor.

2019-03-25 Thread Kito Cheng
From: Monk Chiang Monk Chiang ChangeLog * config.gcc (nds32*-*-linux*): Set gcc_cv_initfini_array to yes. --- gcc/config.gcc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config.gcc b/gcc/config.gcc index 3eb2e80..a6d63dd 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@

[PATCH 5/7] [NDS32] Refine force unwind, linux kernel only using RT_SIGRETURN.

2019-03-25 Thread Kito Cheng
From: Monk Chiang Monk Chiang ChangeLog libgcc/ * config/nds32/linux-unwind.h (SIGRETURN): Remove. (RT_SIGRETURN): Update. (nds32_fallback_frame_state): Update. --- libgcc/config/nds32/linux-unwind.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff

[PATCH 3/7] [NDS32] Rewrite PIC/TLS patterns.

2019-03-25 Thread Kito Cheng
From: Monk Chiang Monk Chiang Kito Cheng Shiva Chen ChangeLog gcc/ * config/nds32/nds32-md-auxiliary.c (nds32_legitimize_pic_address): Use new PIC pattern. (nds32_legitimize_tls_address): Use new TLS pattern. (nds32_output_symrel): New. * config/nds3

[PATCH 1/7] [NDS32] Provide one valid nds32 assembly instruction to check assembler debugging options and features.

2019-03-25 Thread Kito Cheng
From: Chung-Ju Wu Chung-Ju Wu ChangeLog gcc/ * configure.ac: Add nds32 target for dwarf2 debug_line checking. * configure: Regenerated. --- gcc/configure| 2 +- gcc/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/configure b/gcc/conf

[PATCH 2/7] [NDS32] Fix testsuite for nds32 target

2019-03-25 Thread Kito Cheng
From: Kito Cheng Chung-Ju Wu Shiva Chen ChangeLog: gcc/testsuite/ * gcc.c-torture/execute/20010122-1.c: Add -malways-save-lp for nds32. * gcc.c-torture/execute/pr60822.c: Add -mcmodel=large for nds32. * gcc.c-torture/execute/pr79286.c: Ditto. * gcc.dg

[RS6000] Fix typos

2019-03-25 Thread Alan Modra
Applying as obvious. * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Correct rs6000_vector_mem init. Correct wI and wJ comment. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f132c3a27c8..03c91432bff 100644 --- a/gcc/config/rs6000/rs6000.c +

[RS6000] Don't rely on rs6000_hard_regno_mode_ok being zero

2019-03-25 Thread Alan Modra
rs6000_hard_regno_mode_ok_uncached result depends on target flags, and nowadays it is possible that TARGET_OPTION_OVERRIDE be called not just at the start of compilation but per-function by the action of function attributes or "#pragma GCC target". At the start of compilation rs6000_hard_regno_mod

Re: [committed] [PR rtl-optimization/87761] Improve MIPS splitters to sometimes avoid unnecessary cross-unit register copies

2019-03-25 Thread Segher Boessenkool
On Mon, Mar 25, 2019 at 11:39:27AM -0600, Jeff Law wrote: > On 3/24/19 11:42 AM, Segher Boessenkool wrote: > > On Fri, Mar 22, 2019 at 12:16:30PM -0600, Jeff Law wrote: > >> So I finally started looking at the fpr-moves regression in this BZ. No > >> surprise this is further fallout from the combi

Re: [PATCH PR81740]Enforce dependence check for outer loop vectorization

2019-03-25 Thread Richard Sandiford
Richard Biener writes: > On Fri, Mar 22, 2019 at 7:12 AM Bin.Cheng wrote: >> >> On Thu, Mar 21, 2019 at 8:24 PM Richard Biener >> wrote: >> > >> > On Mon, Dec 18, 2017 at 1:37 PM Richard Biener >> > wrote: >> > > >> > > On Fri, Dec 15, 2017 at 7:39 PM, Bin.Cheng wrote: >> > > > On Fri, Dec 15,

Re: [PATCH] sched-ebb.c: avoid moving table jumps (PR rtl-optimization/88423)

2019-03-25 Thread Jeff Law
On 1/24/19 8:43 AM, Alexander Monakov wrote: > On Wed, 23 Jan 2019, Alexander Monakov wrote: > >> It appears that sched-deps tries to take notice of a barrier after a jump, >> but >> similarly to sched-ebb doesn't anticipate that for a tablejump the barrier >> will >> appear after two more insns

[PATCH] Improve hash-table.h generated code without --enable-gather-detailed-mem-stats

2019-03-25 Thread Jakub Jelinek
On Mon, Mar 25, 2019 at 09:42:01PM +0100, Jakub Jelinek wrote: > BTW, why don't do something like following (dunno if it is valid not to > define the static data member out of the class unless it would be constexpr > or inline, but it isn't really ODR used, is it?), because at least looking > at cu

Re: [PATCH] Update assertion in sched-ebb.c to cope with table jumps

2019-03-25 Thread Jeff Law
On 1/23/19 8:11 AM, David Malcolm wrote: > On Wed, 2019-01-23 at 16:52 +0300, Alexander Monakov wrote: >> On Wed, 23 Jan 2019, Andrey Belevantsev wrote: >> >>> For that, I'm not sure. Your patch will leave the tablejump >>> unscheduled at >>> all, i.e. any fields like INSN_TICK would be unfilled a

Re: [PATCH] sched-ebb.c: avoid moving table jumps (PR rtl-optimization/88423)

2019-03-25 Thread Jeff Law
On 1/24/19 2:10 PM, Segher Boessenkool wrote: > On Thu, Jan 24, 2019 at 06:43:38PM +0300, Alexander Monakov wrote: >> On Wed, 23 Jan 2019, Alexander Monakov wrote: >> >>> It appears that sched-deps tries to take notice of a barrier after a jump, >>> but >>> similarly to sched-ebb doesn't anticipat

Re: [PATCH v2, d] PR d/87799 Fix build on windows hosts

2019-03-25 Thread Johannes Pfau
Am 25.03.19 um 20:04 schrieb Johannes Pfau: Am 24.03.19 um 17:49 schrieb Iain Buclaw: Does this mean that we can remove MinGW from the special casing in the toplevel configure?  See r265658. I will however bootstrap this on MinGW again, just to be sure. Bootstrapped properly on x86_64 mingw

One more patch for PR89676

2019-03-25 Thread Vladimir Makarov
  Jeff Law recently found that my latest patch break some existing code compilation (the code is big to make test out of it). Here is the patch to fix it.  The patch was successfully bootstrapped on x86-64.  The patch actually results in less new transformations the previous patch introduced. 

Re: [PATCH] Remove unused extern variables from debug (PR debug/86964)

2019-03-25 Thread Jeff Law
On 2/19/19 5:51 AM, Johan Carlsson wrote: > PR debug/86964 > * dwarf2out.c (premark_used_variables): New function. > (prune_unused_types_walk): Do not mark not premarked external > variables. > (prune_unused_types): Call premark_used_variables. > > * gcc.dg/debu

Re: [PATCH] Allow lazy construction of hash_{table,set,map}

2019-03-25 Thread Jakub Jelinek
On Mon, Mar 25, 2019 at 03:10:04PM -0400, Jason Merrill wrote: > > 2) has the false -> true fixed > > 3) ditto, but furthermore is moved out of add_capture into the lambda > > introducer parsing routine only, tests for [this, this] and [this, *this] > > etc. are done using LAMBDA_EXPR_THIS_CAPTURE

Re: [PATCH, asmcons] Fix PR rtl-optimization/89313: ICE in process_alt_operands, at lra-constraints.c:2962

2019-03-25 Thread Jeff Law
On 2/20/19 8:19 PM, Peter Bergner wrote: > PR89313 exposes a bug in the asmcons pass where it replaces input operands > with matching constraints with their associated output operands, as well as > all other uses of its pseudo registers. This is normally fine. However, if > the matched output ope

New Ukrainian PO file for 'gcc' (version 9.1-b20190324)

2019-03-25 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 Ukrainian team of translators. The file is available at: https://translationproject.org/latest/gcc/uk.po (This file, 'gcc-9.1-b20190324.uk.po

New template for 'gcc' made available

2019-03-25 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. (If you have any questions, send them to .) A new POT file for textual domain 'gcc' has been made available to the language teams for translation. It is archived as: https://translationproject.org/POT-files/gcc

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-25 Thread Martin Sebor
On 3/25/19 11:14 AM, Jeff Law wrote: On 3/25/19 11:04 AM, Martin Sebor wrote: On 3/25/19 10:07 AM, Jeff Law wrote: On 3/24/19 6:21 PM, Martin Sebor wrote: The error issued when the aligned attribute argument is too big to be represented is incorrect: it says the maximum alignment is 1U << 31 w

Re: [PATCH] Allow lazy construction of hash_{table,set,map}

2019-03-25 Thread Jason Merrill
On 3/21/19 1:48 PM, Jakub Jelinek wrote: On Thu, Mar 21, 2019 at 10:25:25AM -0400, Jason Merrill wrote: Attached (so far without changelog, selftest additions and only tested with make -j32 -k check-c++-all RUNTESTFLAGS="dg.exp='pr89767.C *lambda* *desig*'" ) is 1) hash_{table,set} implementati

Re: [PATCH v2, d] PR d/87799 Fix build on windows hosts

2019-03-25 Thread Johannes Pfau
Am 24.03.19 um 17:49 schrieb Iain Buclaw: I've done the front-end merge, leaving just the following. diff --git a/gcc/d/d-system.h b/gcc/d/d-system.h index efece15f3bc..6c18b69d4df 100644 --- a/gcc/d/d-system.h +++ b/gcc/d/d-system.h @@ -55,4 +55,10 @@ #undef tolower #define tolower(c) TOL

Re: [PATCH] libgomp: Add master thread to thread pool

2019-03-25 Thread Jakub Jelinek
On Fri, Feb 22, 2019 at 06:11:44PM -0700, Kevin Buettner wrote: > For debugging purposes, I need to be able to find the master thread > in the thread pool. > > Without this patch, I see over 20 failures in the tests that I've > written for GDB. > > I've also tested this in the gcc tree - no regre

[C++ PATCH] PR c++/87748 - substitution failure error with decltype.

2019-03-25 Thread Jason Merrill
This issue is similar to PR 87480; in both cases we were doing non-dependent substitution with processing_template_decl set, leading to member access expressions seeming still instantiation-dependent, and therefore decltype not being simplified to its actual type. And as in that PR, the fix is to

Re: New target hook for function scratch registers (PR 89628)

2019-03-25 Thread Richard Sandiford
Richard Biener writes: > On Tue, Mar 12, 2019 at 10:50 AM Richard Sandiford > wrote: >> >> Steve Ellcey writes: >> > Richard, >> > >> > I don't necessarily disagree with anything in your comments and long >> > term I think that is the right direction, but I wonder if that level of >> > change is

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-25 Thread Jeff Law
On 3/24/19 6:21 PM, Martin Sebor wrote: > The error issued when the aligned attribute argument is too big > to be represented is incorrect: it says the maximum alignment > is 1U << 31 when it should actually be 1 << 28.  This was a typo > introduced when the error message was enhanced earlier in GC

Re: [committed] [PR rtl-optimization/87761] Improve MIPS splitters to sometimes avoid unnecessary cross-unit register copies

2019-03-25 Thread Jeff Law
On 3/24/19 11:42 AM, Segher Boessenkool wrote: > Hi! > > On Fri, Mar 22, 2019 at 12:16:30PM -0600, Jeff Law wrote: >> So I finally started looking at the fpr-moves regression in this BZ. No >> surprise this is further fallout from the combiner changes. > > It *exposed* the problem, yes :-) Well,

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-25 Thread Jeff Law
On 3/25/19 11:04 AM, Martin Sebor wrote: > On 3/25/19 10:07 AM, Jeff Law wrote: >> On 3/24/19 6:21 PM, Martin Sebor wrote: >>> The error issued when the aligned attribute argument is too big >>> to be represented is incorrect: it says the maximum alignment >>> is 1U << 31 when it should actually be

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-25 Thread Martin Sebor
On 3/25/19 10:07 AM, Jeff Law wrote: On 3/24/19 6:21 PM, Martin Sebor wrote: The error issued when the aligned attribute argument is too big to be represented is incorrect: it says the maximum alignment is 1U << 31 when it should actually be 1 << 28.  This was a typo introduced when the error me

Re: [v3 PATCH] PR libstdc++/89816

2019-03-25 Thread Jonathan Wakely
On 25/03/19 18:23 +0200, Ville Voutilainen wrote: I looked at the codegen of this before and after the patch, and it does the right thing. Variant's tests run on Linux-x64. OK for trunk? OK, thanks (and thanks Antony for the bug report and suggestion).

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-25 Thread Paul Koning
> On Mar 25, 2019, at 12:07 PM, Jeff Law wrote: > >> ... >> 1) Does GCC support building with compilers where int is not 32 >>bits wide, or where BITS_PER_UNIT is not 3? (I.e., either is >>less or more?) > We've certainly supported 16 bit ints in the past. H8/300 would be an > example

[v3 PATCH] PR libstdc++/89816

2019-03-25 Thread Ville Voutilainen
I looked at the codegen of this before and after the patch, and it does the right thing. Variant's tests run on Linux-x64. OK for trunk? 2019-03-25 Ville Voutilainen PR libstdc++/89816 Fix based on a suggestion by Antony Polukhin. * include/std/variant (__variant_construct): Captur

Re: [C++ Patch] Fix c++/84661, c++/85013, and other recovery regressions in cp_parser_binary_expression

2019-03-25 Thread Jason Merrill
On 3/25/19 5:28 AM, Paolo Carlini wrote: Hi, a while ago I noticed that in cp_parser_binary_expression we were calling cp_fully_fold first to disable the warnings for not executed expressions, and then, seemingly in a very redundant and inconsistent with other situations way, to re-enable the

Re: C++ PATCH for c++/89214 - ICE when initializing aggregates with bases

2019-03-25 Thread Jason Merrill
On 3/25/19 12:02 PM, Marek Polacek wrote: On Fri, Mar 22, 2019 at 04:20:43PM -0400, Jason Merrill wrote: On 3/22/19 4:12 PM, Jason Merrill wrote: On 3/22/19 2:14 PM, Marek Polacek wrote: On Fri, Mar 22, 2019 at 10:48:32AM -0400, Jason Merrill wrote: +  B b10 = {{B{42}}}; +  B b11 = {{B{{42}

Re: Please help me to review the patch about improve cse optimization for insn with inout ops

2019-03-25 Thread Jeff Law
On 3/23/19 11:46 AM, 钟云德 wrote: > hi, all >I am a new guy work on this GCC Bugzilla, and need some help to review > patch detailed showed on > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83855, thanks! > Also note we're in regression bugfix state only right now in preparation for gcc-9. F

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-25 Thread Jeff Law
On 3/24/19 6:21 PM, Martin Sebor wrote: > The error issued when the aligned attribute argument is too big > to be represented is incorrect: it says the maximum alignment > is 1U << 31 when it should actually be 1 << 28.  This was a typo > introduced when the error message was enhanced earlier in GC

Re: C++ PATCH for c++/89214 - ICE when initializing aggregates with bases

2019-03-25 Thread Marek Polacek
On Fri, Mar 22, 2019 at 04:20:43PM -0400, Jason Merrill wrote: > On 3/22/19 4:12 PM, Jason Merrill wrote: > > On 3/22/19 2:14 PM, Marek Polacek wrote: > > > On Fri, Mar 22, 2019 at 10:48:32AM -0400, Jason Merrill wrote: > > > > > > > > +  B b10 = {{B{42}}}; > > > > > > +  B b11 = {{B{{42; > >

Re: [PATCH] document vector_size type attribute

2019-03-25 Thread Sandra Loosemore
On 3/25/19 9:13 AM, Martin Sebor wrote: On 3/24/19 8:00 PM, Sandra Loosemore wrote: On 3/22/19 10:58 AM, Martin Sebor wrote: Attribute vector_size applies to types as much as it does to variables but is only documented for the latter.  Attached is an update to the manual to document the attribu

Re: [PATCH] document vector_size type attribute

2019-03-25 Thread Martin Sebor
On 3/24/19 8:00 PM, Sandra Loosemore wrote: On 3/22/19 10:58 AM, Martin Sebor wrote: Attribute vector_size applies to types as much as it does to variables but is only documented for the latter.  Attached is an update to the manual to document the attribute's effects in type definitions. This

[PATCH] Fix PR89463 (and dups?), wrong-debug with loop removal

2019-03-25 Thread Richard Biener
This PR and possibly quite some dups that have been accumulating lately run into an artifact of DCEs edge removal code when generating debug stmts. Here DCE removes edges from the CFG at the same time it removes dead controlling stmts but before PHI nodes are removed. This causes us to remove P

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-25 Thread Paul Koning
> On Mar 24, 2019, at 8:21 PM, Martin Sebor wrote: > > ... > PS I have a couple of questions related to the affected code: > 1) Does GCC support building with compilers where int is not 32 > bits wide, or where BITS_PER_UNIT is not 3? (I.e., either is > less or more?) Yes. pdp11 int can

Re: [PATCH] make ggc pick up comp_dir_string() cache value. (dwarf2out.c)

2019-03-25 Thread Richard Biener
On Mon, Mar 25, 2019 at 1:25 PM Richard Biener wrote: > > On Fri, Mar 22, 2019 at 10:22 AM Otto, Thomas wrote: > > > > > > And I still think this function and the static variable which never > > > > changes > > > > once set does not require any GC. Just setting the cached_wd variable to > > > >

Re: [PATCH PR81740]Enforce dependence check for outer loop vectorization

2019-03-25 Thread Richard Biener
On Fri, Mar 22, 2019 at 7:12 AM Bin.Cheng wrote: > > On Thu, Mar 21, 2019 at 8:24 PM Richard Biener > wrote: > > > > On Mon, Dec 18, 2017 at 1:37 PM Richard Biener > > wrote: > > > > > > On Fri, Dec 15, 2017 at 7:39 PM, Bin.Cheng wrote: > > > > On Fri, Dec 15, 2017 at 1:19 PM, Richard Biener >

[PATCH] Fix PR89789

2019-03-25 Thread Richard Biener
Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2019-03-25 Richard Biener PR tree-optimization/89789 * tree-ssa-sccvn.c (set_ssa_val_to): Do not allow lattice changes from non-undefined back to undefined. * gcc.dg/torture/pr89789.c: N

Re: New target hook for function scratch registers (PR 89628)

2019-03-25 Thread Richard Biener
On Tue, Mar 12, 2019 at 10:50 AM Richard Sandiford wrote: > > Steve Ellcey writes: > > Richard, > > > > I don't necessarily disagree with anything in your comments and long > > term I think that is the right direction, but I wonder if that level of > > change is appropriate for GCC Stage 4 which

Re : add tsv110 pipeline scheduling

2019-03-25 Thread wuyuan (E)
Hi ,James: The modified patch has been uploaded for ten days. Looking forward to your reply, thank you very much!

Re: [PATCH] make ggc pick up comp_dir_string() cache value. (dwarf2out.c)

2019-03-25 Thread Richard Biener
On Fri, Mar 22, 2019 at 10:22 AM Otto, Thomas wrote: > > > > And I still think this function and the static variable which never > > > changes > > > once set does not require any GC. Just setting the cached_wd variable to > > > the unchanged pointer from get_src_pwd() or allocating one in the fun

Re: [PATCH][Tree-optimization/PR89730]grant always_inline when -flive-patching=inline-only-static

2019-03-25 Thread Richard Biener
On Wed, Mar 20, 2019 at 4:16 PM Qing Zhao wrote: > > Hi, > > there is a bug in the current support for -flive-patching=inline-only-static: > > it rejects inlining of external always_inline routine, therefore triggers a > compilation time error. > > we should always inline “always_inline” routines

Re: [PATCH] Fix PR89779

2019-03-25 Thread Richard Biener
On Thu, 21 Mar 2019, Richard Biener wrote: > > The testcase in this PR shows that IVOPTs ends up using cached > control IV information of IVs that have been elimiated by it. > IVOPTs fails to properly release that information as scev_reset > just resets ->nb_iterations but not control-IVs. > > A

[committed] Fix PR libgfortran/79540

2019-03-25 Thread John David Anglin
With the following fortran format from the gfortran.dg/fmt_fw_d.f90 test print '(f2.1)',100.00 end The computed number of digits is negative. On hppa-hpux, this causes a stack overflow in memcpy. The attached change skips the copy when ndigits is not positive. We also only fill put w

[committed] Fix up thread_local11.C on darwin (PR c++/60702)

2019-03-25 Thread Jakub Jelinek
Hi! One of the newly added tests fails on Darwin (and other !TARGET_SUPPORTS_ALIASES targets). As we don't have an alias effective target, I've done it by removing the _ZTH* tests from the existing test and adding another test with dg-require-alias into which I've moved those. Tested on x86_64-li

[PATCH 2/3] [ARC] Refurb eliminate regs.

2019-03-25 Thread Claudiu Zissulescu
Refurbish eliminable regs howto by introducing a fake FRAME_POINTER_REGNUM with the purpose to release FP register to be used freely by the register allocator. gcc/ -xx-xx Claudiu Zissulescu * config/arc/arc.c (arc_hard_regno_modes): Add two missing modes for last two fake

[PATCH 0/3] [ARC] Improve register elimination, and other LRA

2019-03-25 Thread Claudiu Zissulescu
Hi Andrew, Please find a small set of patches which are improving our debug experience (Emit blockage...), refurbs the register elimination in our backend, and the removing of Rs5 constraint for increasing the backend stability. Ok to apply? Claudiu Claudiu Zissulescu (3): [ARC] Emit blockage

[PATCH 1/3] [ARC] Emit blockage regardless to avoid delay slot scheduling.

2019-03-25 Thread Claudiu Zissulescu
1.The delay slot scheduler can reschedule some of the frame related instructions resulting in having incorect CFI information. This patch introduces a schedule blockage to avoid this problem. 2.There are cases when an interrupt may happen and not all the current function stack operations are done,

[PATCH 3/3] [ARC] Remove Rs5 constraint.

2019-03-25 Thread Claudiu Zissulescu
New LRA algorithms require the all the register constraints to be defined using define_register_constraint keyword. However, Rs5 constraint was not LRA proof. Remove it and replace it by equivalent Rcd constraint. gcc/ -xx-xx Claudiu Zissulescu * config/arc/arc.md (sibcall_insn): U

[PATCH] [ARC] Restore blink first when optimizing for speed.

2019-03-25 Thread Claudiu Zissulescu
Hi, When not optimizing for size, we can restore first blink, hence the return instruction will be executed faster. OK to apply? Claudiu gcc/ -xx-xx Claudiu Zissulescu * config/arc/arc.c (GMASK_LEN): Define. (arc_restore_callee_saves): Restore first blink when !op

[PATCH] Fix EH info for FMA folding

2019-03-25 Thread Richard Biener
The following patch fixes missing EH info transfer after folding. Bootstrap and regtest running on x86_64-unknown-linux-gnu. Richard. 2019-03-25 Richard Biener PR tree-optimization/89802 * tree-ssa-math-opts.c (convert_mult_to_fma_1): Properly move EH data to folded

[Committed] S/390: Cleanup builtin types file

2019-03-25 Thread Andreas Krebbel
gcc/ChangeLog: 2019-03-25 Andreas Krebbel * config/s390/s390-builtin-types.def: Remove few unused types and fix sort order for others. --- gcc/config/s390/s390-builtin-types.def | 102 +++-- 1 file changed, 45 insertions(+), 57 deletions(-) diff --

[Committed] S/390: Improve debug output for builtin matching

2019-03-25 Thread Andreas Krebbel
gcc/ChangeLog: 2019-03-25 Andreas Krebbel * config/s390/s390-c.c (s390_fn_types_compatible): Print the expected and found types with -mdebug during builtin matching. --- gcc/config/s390/s390-c.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/con

Re: [PATCH] Restore defensive check in tree_nop_conversion (also PR89779 "fix")

2019-03-25 Thread Richard Biener
On Fri, 22 Mar 2019, Christophe Lyon wrote: > On Thu, 21 Mar 2019 at 14:44, Richard Biener wrote: > > > > On Thu, 21 Mar 2019, Richard Biener wrote: > > > > > > > > This also avoids the ICE in PR89779 but IMHO is not a real fix. > > > > > > Still it restores a previously active check against rele

[C++ Patch] Fix c++/84661, c++/85013, and other recovery regressions in cp_parser_binary_expression

2019-03-25 Thread Paolo Carlini
Hi, a while ago I noticed that in cp_parser_binary_expression we were calling cp_fully_fold first to disable the warnings for not executed expressions, and then, seemingly in a very redundant and inconsistent with other situations way, to re-enable the warnings (*). Thus, I meant to investiga

Re: [PATCHv2] Fix not 8-byte aligned ldrd/strd on ARMv5 (PR 89544)

2019-03-25 Thread Richard Biener
On Fri, 22 Mar 2019, Bernd Edlinger wrote: > On 3/21/19 12:15 PM, Richard Biener wrote: > > On Sun, 10 Mar 2019, Bernd Edlinger wrote: > > Finally... > > > > Index: gcc/function.c > > === > > --- gcc/function.c (revision 269264)