Re: [PATCH v4] genemit.c (main): split insn-emit.c for compiling parallelly

2020-08-01 Thread Segher Boessenkool
On Sat, Aug 01, 2020 at 07:02:07PM +0800, Jojo R wrote: > +insn-generated-split-num = $(shell nproc) nproc isn't portable, is not the same on every system, and can lead to a number of processes quadratic in the number of processors being launched (say, if someone does make -jK with K some

[committed] wwwdocs: help.github.com is now docs.github.com.

2020-08-01 Thread Gerald Pfeifer
Pushed. Gerald --- htdocs/codingconventions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/codingconventions.html b/htdocs/codingconventions.html index c0377315..162e1dda 100644 --- a/htdocs/codingconventions.html +++ b/htdocs/codingconventions.html @@ -145,7

[committed] wwwdocs: Remove reference to dead www.milepost.eu.

2020-08-01 Thread Gerald Pfeifer
--- htdocs/git.html | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/git.html b/htdocs/git.html index f7f87a9d..905ce80e 100644 --- a/htdocs/git.html +++ b/htdocs/git.html @@ -1117,7 +1117,6 @@ merged. milepost-branch This branch is for GCC developments done in the Milepost

[committed] libstdc++: Move www.stroustrup.com to https

2020-08-01 Thread Gerald Pfeifer
Pushed. libstdc++-v3/ChangeLog: 2020-08-02 Gerald Pfeifer * doc/xml/manual/using_exceptions.xml: Move www.stroustrup.com to https. * doc/html/manual/using_exceptions.html: Regenerate. --- libstdc++-v3/doc/html/manual/using_exceptions.html | 2 +-

[committed] wwwdocs: Update reference for PCOMMIT instruction deprecation.

2020-08-01 Thread Gerald Pfeifer
For once corporate webmasters who keep their house in order and added proper redirects. Pushed. Gerald --- htdocs/gcc-6/changes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-6/changes.html b/htdocs/gcc-6/changes.html index 3713a394..e95aabbe 100644 ---

libgo patch committed: Update to go1.15rc1

2020-08-01 Thread Ian Lance Taylor via Gcc-patches
This libgo patch updates the sources to the go1.15rc1 release candidate. As usual, the changes for this update are too large to include in an e-mail message. I've just included the highlights and changes to GCC-specific files below. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.

[PATCH] genmatch: Avoid unused parameter warnings in generated code.

2020-08-01 Thread Roger Sayle
This patch silences a number of unused parameter warnings whilst compiling both generic-match.c and gimple-match.c. The problem is that multiple (polymorphic) functions are generated for generic_simplify and gimple_simplify, each handling tree codes with a specific number of children.

Re: [Patch, fortran] PR96325 - Unclassifiable statement with syntax similar to a type-bound procedure call is accepted

2020-08-01 Thread Thomas Koenig via Gcc-patches
Hi Paul, The attached patch regtests on FC31/x86_64 - OK for trunk? OK. Thanks for the patch! Best regards Thomas

Cap frequency of self recursive calls

2020-08-01 Thread Jan Hubicka
Hi, the frequency of self recursive call can never be 1 or more or the function would never finish. Yet we could do that based on static guesses and that may confuse IPA passes expondentially increasing frequency of functions. This patch fixes it by simply capping the BB containing self recursive

Add order verification

2020-08-01 Thread Jan Hubicka
Hi, while looking into the chromium build issue I noticed that order can get pretty large. This patch adds checking so we know if it ever overflows or if someone uses it incorrectly (the second is important since one uninitialized order may disturb lto streaming) Honza gcc/ChangeLog:

Re: [PATCH v4] genemit.c (main): split insn-emit.c for compiling parallelly

2020-08-01 Thread Václav Haisman via Gcc-patches
On 01. 08. 20 13:02, Jojo R wrote: > gcc/ChangeLog: > > * genemit.c (main): Print 'split line'. > * Makefile.in (insn-emit.c): Define split count and file > > --- > gcc/Makefile.in | 11 +++ > gcc/genemit.c | 87 - > 2 files

Re: [PATCH] CSKY: Add -mfloat-abi= option.

2020-08-01 Thread Xianmiao Qu
Committed to trunk, Thanks. Xianmiao On 7/31/20 3:18 PM, Jojo R wrote: gcc/ChangeLog: * config/csky/csky_opts.h (float_abi_type): New. * config/csky/csky.h (TARGET_SOFT_FLOAT): New. (TARGET_HARD_FLOAT): New. (TARGET_HARD_FLOAT_ABI): New.

[PATCH v4] genemit.c (main): split insn-emit.c for compiling parallelly

2020-08-01 Thread Jojo R
gcc/ChangeLog: * genemit.c (main): Print 'split line'. * Makefile.in (insn-emit.c): Define split count and file --- gcc/Makefile.in | 11 +++ gcc/genemit.c | 87 - 2 files changed, 60 insertions(+), 38 deletions(-) diff

[Patch, fortran] PR96325 - Unclassifiable statement with syntax similar to a type-bound procedure call is accepted

2020-08-01 Thread Paul Richard Thomas via Gcc-patches
The attached patch regtests on FC31/x86_64 - OK for trunk? Cheers Paul Commit message: This patch fixes PR96325. See the explanatory comment in the testcase. 2020-08-01 Paul Thomas gcc/fortran PR target/96325 * primary.c (gfc_match_varspec): In the case that a component reference is added

Re: [Patch, fortran] PR96320 - gfortran 8-10 shape mismatch in assumed-length dummy argument character array

2020-08-01 Thread Paul Richard Thomas via Gcc-patches
Hi Thomas, I discovered the bit about the ChangeLogs last night but thanks for the warning:-) The commit message reads: This patch fixes PR96320. See the explanatory comment in the testcase. 2020-08-01 Paul Thomas gcc/fortran PR target/96320 * interface.c (gfc_check_dummy_characteristics):

Re: [Patch, fortran] PR96320 - gfortran 8-10 shape mismatch in assumed-length dummy argument character array

2020-08-01 Thread Thomas Koenig via Gcc-patches
Hi Paul, This is my first foray into gfortran for quite a little while so I am going cautiously on this 'obvious' patch. The comment in the patch and the ChangLog are clear enough that no further explanation is needed. Regtests on FC31.x86_64 - OK for trunk? If I read the PR correctly, this

Simplify X * C1 == C2 with undefined overflow

2020-08-01 Thread Marc Glisse
Hello, this transformation is quite straightforward, without overflow, 3*X==15 is the same as X==5 and 3*X==5 cannot happen. Adding a single_use restriction for the first case didn't seem necessary, although of course it can slightly increase register pressure in some cases.