[PATCH][SPARC] PR target/80968 Prevent stack loads in return delay slot.

2017-06-03 Thread David Miller
This is an attempt to fix PR target/80968. This bug has existed basically forever. The stack_tie sequence seems to be how other targets deal with this issue. I only emit this when alloca is used. If there are other conditions that potentially would necessitate such a barrier, just let me

Re: [rs6000] Fix ICE with -fstack-limit-register and large frames

2017-06-03 Thread Segher Boessenkool
On Sat, Jun 03, 2017 at 12:34:21PM +0200, Eric Botcazou wrote: > > Because you cannot during reload, or another reason? We always use LRA > > on powerpc nowadays, and LRA can deal with this. > > Because you cannot during prologue/epilogue generation. Ah, this code is generated only then, I see

Re: [i386] __builtin_ia32_stmxcsr could be pure

2017-06-03 Thread Marc Glisse
Hello, I don't think Richard's "sounds good" was meant as "ok to commit". Does an x86 maintainer want to approve or criticize the patch? https://gcc.gnu.org/ml/gcc-patches/2017-05/msg02009.html On Fri, 26 May 2017, Richard Biener wrote: On Fri, May 26, 2017 at 10:55 AM, Marc Glisse

Re: Reorgnanization of profile count maintenance code, part 1

2017-06-03 Thread Bernhard Reutner-Fischer
On Thu, Jun 01, 2017 at 01:35:56PM +0200, Jan Hubicka wrote: Just some very minor nits. > Index: final.c > === > --- final.c (revision 248684) > +++ final.c (working copy) > @@ -1951,9 +1951,11 @@ dump_basic_block_info (FILE

Re: [Patch, fortran] PR35339 Optimize implied do loops in io statements

2017-06-03 Thread Bernhard Reutner-Fischer
On Sat, Jun 03, 2017 at 09:25:31AM -0700, Jerry DeLisle wrote: > On 06/03/2017 06:48 AM, Nicolas Koenig wrote: > > Hello everyone, > > > > here is a version of the patch that includes a workaround for PR 80960. I > > have > > also included a separate test case for the failure that Dominique

Re: [PATCH 0/5 v3] Vect peeling cost model

2017-06-03 Thread Andreas Schwab
> No regressions on s390x, x86-64 and ppc64. Bootstrapped. Patch 6 breaks no-vfa-vect-57.c on powerpc. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [Patch, fortran] PR35339 Optimize implied do loops in io statements

2017-06-03 Thread Jerry DeLisle
On 06/03/2017 06:48 AM, Nicolas Koenig wrote: > Hello everyone, > > here is a version of the patch that includes a workaround for PR 80960. I have > also included a separate test case for the failure that Dominique detected. > The > style issues should be fixed. > > Regression-tested. OK for

Re: [Patch, fortran] PR35339 Optimize implied do loops in io statements

2017-06-03 Thread Nicolas Koenig
Hello everyone, here is a version of the patch that includes a workaround for PR 80960. I have also included a separate test case for the failure that Dominique detected. The style issues should be fixed. Regression-tested. OK for trunk? Nicolas Changelog: 2017-06-03 Nicolas Koenig

Re: [rs6000] Fix ICE with -fstack-limit-register and large frames

2017-06-03 Thread Eric Botcazou
> Because you cannot during reload, or another reason? We always use LRA > on powerpc nowadays, and LRA can deal with this. Because you cannot during prologue/epilogue generation. > Only the first hunk (rs6000.md) applies, the rest is ignored (there is a > blank line here instead of a diff

Update baseline symbols for powerpc-linux

2017-06-03 Thread Andreas Schwab
Committed. Andreas. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update. diff --git a/libstdc++-v3/config/abi/post/powerpc-linux-gnu/baseline_symbols.txt b/libstdc++-v3/config/abi/post/powerpc-linux-gnu/baseline_symbols.txt index 742df2f20d..79bee650a2 100644 ---

Re: About hang in gcov_exit with gnu arm toolchain

2017-06-03 Thread Reetesh Ranjan
Hi Nathan, Please see comments inline. > On 02-Jun-2017, at 5:14 PM, Nathan Sidwell wrote: > > hi, > >> I have opened this bug >> https://bugs.launchpad.net/gcc-arm-embedded/+bug/1694644 as per the findings >> I had. > > This is Canonical's bug tracker and you seem to be

Re: [PATCH][4/4] SLP induction vectorization

2017-06-03 Thread Richard Biener
On June 3, 2017 1:38:14 AM GMT+02:00, Michael Meissner wrote: >On Fri, Jun 02, 2017 at 03:22:27PM +0200, Richard Biener wrote: >> >> This implements vectorization of SLP inductions (in the not outer >loop >> vectorization case for now). >> >> Bootstrapped and