Re: [patch, fortran] New take on PR 82373

2017-10-15 Thread Thomas Koenig
Hi Steve, I like this patch much better than the last. It's ok with me, but you might want give 24 hours to let the world rotate before committing (ie., allow others to comment) Committed as r253768. Thanks for the review! I don't think it is worth backporting, so I'll close the bug. If som

[PATCH] Use Pcrt1.o%s/gPcrt1.o%s for -static-pie

2017-10-15 Thread H.J. Lu
crt1.o is used to create dynamic and non-PIE static executables. Static PIE needs to link with Pcrt1.o, instead of crt1.o, to relocate static PIE at run-time. When -pg is used with -static-pie, gPcrt1.o should be used. Tested on x86-64. OK for master? Thanks. H.J. --- * config/gnu-use

[patch, fortran] Fix PR 79795

2017-10-15 Thread Thomas Koenig
Hello world, the attached patch fixes a regression by turning an ICE-on-invalid into an error message (and making sure that it fits). Regression-tested on trunk. OK for all affected branches (8/7/6)? Regards Thomas 2017-10-15 Thomas Koenig PR fortran/79795 * resol

Re: Go patch committed to GCC 7 branch: Update MIPS architecture names

2017-10-15 Thread Ian Lance Taylor
On Mon, Oct 9, 2017 at 9:59 AM, Ian Lance Taylor wrote: > I've committed a set of patches by James Cowgill to the GCC 7 branch, > backported from trunk. These patches update the MIPS architecture > names to the names expected by Go programmers. The backported patches > are: > https://golang.

[PATCH, RFC] Add a pass counter for "are we there yet" purposes

2017-10-15 Thread Sandra Loosemore
This patch is a first cut at solving the problem discussed in this thread https://gcc.gnu.org/ml/gcc/2017-10/msg00016.html where I have some nios2 backend patches in my queue that need a way of knowing whether the split1 pass has run yet. There seemed to be agreement that a general way to que

Re: [Bug libstdc++/82558] [8 Regression] V8 JavaScript engine segfaults since r249235

2017-10-15 Thread François Dumont
Hi     Attached patch applied as trivial. 2017-10-16  François Dumont      PR libstdc++/82558     * include/bits/stl_bvector.h (fill): Add iterator offset check.     * testsuite/23_containers/vector/bool/82558.cc: New. Thanks for the report. François On 16/10/2017 07:25, fdumont at gcc dot

[PATCH] Update -ffunction/data-sections documentation

2017-10-15 Thread Sebastian Huber
gcc/ * invoke.texi (ffunction-sections and fdata-sections): Update. --- gcc/doc/invoke.texi | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 4e7dfb33c31..7bc051a1fc5 100644 --- a/gcc/doc/i

Re: [PATCH PR/82546] tree node size

2017-10-15 Thread Richard Biener
On October 13, 2017 8:29:40 PM GMT+02:00, Nathan Sidwell wrote: >[Although I filed this as a middle-end bug, it's really a core infra >bug, not sure who the best reviewer is] > >In working on tree streaming in the modules branch, I discovered poor >tree node size and hierarchy bits. > >Here's a

Re: [PATCH, RFC] Add a pass counter for "are we there yet" purposes

2017-10-15 Thread Richard Biener
On October 16, 2017 7:38:50 AM GMT+02:00, Sandra Loosemore wrote: >This patch is a first cut at solving the problem discussed in this >thread > >https://gcc.gnu.org/ml/gcc/2017-10/msg00016.html > >where I have some nios2 backend patches in my queue that need a way of >knowing whether the split1