[Bug libstdc++/96416] New: address_of() is broken by static_assert in pointer_traits

2020-08-01 Thread whatwasthataddress at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 Bug ID: 96416 Summary: address_of() is broken by static_assert in pointer_traits Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/96404] [10 Regression] Bootstrap failure

2020-08-01 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96404 --- Comment #13 from David Edelsohn --- The symptom I see on AIX is that the labels for DWARF variable locations differ between stage2 and stage3 for some files. The difference started with the recent change to the var-tracking pass. Once the

[Bug tree-optimization/96415] New: GCC produces incorrect code for loops with -O3 for skylake-avx512 and icelake-server

2020-08-01 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96415 Bug ID: 96415 Summary: GCC produces incorrect code for loops with -O3 for skylake-avx512 and icelake-server Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/96414] Second char relation test incorrect with constexpr dynamic allocation

2020-08-01 Thread pkeir at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96414 --- Comment #1 from Paul Keir --- constexpr int lt_fun(const char& c1, const char& c2) { return c1 < c2; } constexpr bool doit() { char *pc = new char; const char* s = "a"; *pc = 'b'; lt_fun(*s, *pc); // a < b *pc = 'a';

[Bug c++/96414] New: Second char relation test incorrect with constexpr dynamic allocation

2020-08-01 Thread pkeir at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96414 Bug ID: 96414 Summary: Second char relation test incorrect with constexpr dynamic allocation Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

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

[Bug libstdc++/96413] New: Is single parameter specialisation useful besides variadic template?

2020-08-01 Thread gogdizzy at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96413 Bug ID: 96413 Summary: Is single parameter specialisation useful besides variadic template? Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[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

gcc-10-20200801 is now available

2020-08-01 Thread GCC Administrator via Gcc
Snapshot gcc-10-20200801 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200801/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

FWIW

2020-08-01 Thread Nino Pereira via Gcc
https://gcc.gnu.org/onlinedocs/gfortran/INT.html#INT has two occurrences of 'or' next to each other. Arguments: A Shall be of type INTEGER, REAL, or COMPLEX or or a boz-literal-constant. HTH, Nino

[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 ---

[Bug c/96407] LTO inlined functions don't inherit disabled warnings

2020-08-01 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96407 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2020-08-01

[Bug ipa/96337] [10/11 Regression] GCC 10.2: twice as slow for -O2 -march=x86-64 vs. GCC 9.3/8.4

2020-08-01 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96337 --- Comment #15 from Jan Hubicka --- > I think, this inliner change needs to be reverted. People expect -O2 to > produce > decently optimized binaries, and starting with gcc 10.x it doesn't deliver. > -O3 > traditionally enabled optimizations

Re: [Bug ipa/96337] [10/11 Regression] GCC 10.2: twice as slow for -O2 -march=x86-64 vs. GCC 9.3/8.4

2020-08-01 Thread Jan Hubicka
> I think, this inliner change needs to be reverted. People expect -O2 to > produce > decently optimized binaries, and starting with gcc 10.x it doesn't deliver. > -O3 > traditionally enabled optimizations that may or may not improve performance > (and historically, sometimes even break code),

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.

[Bug ipa/96337] [10/11 Regression] GCC 10.2: twice as slow for -O2 -march=x86-64 vs. GCC 9.3/8.4

2020-08-01 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96337 --- Comment #14 from Dávid Bolvanský --- Or change -Os to be gcc10 -O2 with less inlining, -revert O2 to gcc9 -02 and implement -Oz to create agressive “-Os”.

[Bug d/96140] internal compiler error: in expand_intrinsic_vaarg

2020-08-01 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96140 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug ipa/96337] [10/11 Regression] GCC 10.2: twice as slow for -O2 -march=x86-64 vs. GCC 9.3/8.4

2020-08-01 Thread andysem at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96337 --- Comment #13 from andysem at mail dot ru --- I think, this inliner change needs to be reverted. People expect -O2 to produce decently optimized binaries, and starting with gcc 10.x it doesn't deliver. -O3 traditionally enabled optimizations

[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

[Bug d/96140] internal compiler error: in expand_intrinsic_vaarg

2020-08-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96140 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:a6e2dc45099d5d23dfeae245617f316e95ac646b commit r9-8776-ga6e2dc45099d5d23dfeae245617f316e95ac646b Author: Iain Buclaw Date:

[Bug d/96140] internal compiler error: in expand_intrinsic_vaarg

2020-08-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96140 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:891bd1f15280def813bf6a363495d44951e13e04 commit r10-8558-g891bd1f15280def813bf6a363495d44951e13e04 Author: Iain Buclaw

[Bug c++/96412] New: format suggestion issue

2020-08-01 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96412 Bug ID: 96412 Summary: format suggestion issue Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

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:

[Bug bootstrap/96404] [10 Regression] Bootstrap failure

2020-08-01 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96404 --- Comment #12 from David Edelsohn --- r11-2446 succeeds and r11-2447 fails, so the failure (at least on AIX) is the var-tracking dataflow patch.

[Bug c++/96411] New: erroneous "trait used in its own initializer" error when using concepts in a requirement

2020-08-01 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96411 Bug ID: 96411 Summary: erroneous "trait used in its own initializer" error when using concepts in a requirement Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug c/96407] LTO inlined functions don't inherit disabled warnings

2020-08-01 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96407 Mark Wielaard changed: What|Removed |Added CC||mark at gcc dot gnu.org --- Comment #1

[Bug c++/96409] A lambda with a template parameter list inside the template function using C++20 nested requirements clauses occurs internal compiler error

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96409 --- Comment #2 from 康桓瑋 --- Equivalent example: https://godbolt.org/z/n47Gfh

[Bug c++/96408] C++20 new attribute [[no_unique_address]] occurs internal compile error

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96408 --- Comment #3 from 康桓瑋 --- Live example: https://godbolt.org/z/vMT5Md

[Bug c++/96410] A lambda with a template parameter list inside the template function using C++20 requires clauses is not usable in a constant expression

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96410 --- Comment #1 from 康桓瑋 --- Equivalent example: https://godbolt.org/z/chYW3c

[Bug c++/96410] New: A lambda with a template parameter list using C++20 requires clauses is not usable in a constant expression

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96410 Bug ID: 96410 Summary: A lambda with a template parameter list using C++20 requires clauses is not usable in a constant expression Product: gcc Version: 10.2.0

[Bug c++/96214] gcc warn unreached else {}

2020-08-01 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96214 --- Comment #5 from Jonny Grant --- I saw this similar one too:- https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options -Wduplicated-cond Warn about duplicated conditions in an if-else-if chain. For instance, warn for the

[Bug c++/96408] C++20 new attribute [[no_unique_address]] occurs the internal compile error

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96408 --- Comment #2 from 康桓瑋 --- Created attachment 48979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48979=edit the source file

[Bug c++/96409] A lambda with a template parameter list inside the template function using C++20 nested requirements clauses occurs internal compiler error

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96409 --- Comment #1 from 康桓瑋 --- Created attachment 48978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48978=edit the source file

[Bug c++/96409] New: A lambda with a template parameter list inside the template function using C++20 nested requirements clauses occurs internal compiler error

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96409 Bug ID: 96409 Summary: A lambda with a template parameter list inside the template function using C++20 nested requirements clauses occurs internal compiler error Product:

[Bug c++/96408] C++20 new attribute [[no_unique_address]] occurs the internal compile error

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96408 --- Comment #1 from 康桓瑋 --- Created attachment 48976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48976=edit the preprocessed file gcc -v -save-temps -std=c++20 main.cpp

[Bug c++/96408] New: C++20 new attribute [[no_unique_address]] occurs the internal compile error

2020-08-01 Thread hewillk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96408 Bug ID: 96408 Summary: C++20 new attribute [[no_unique_address]] occurs the internal compile error Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug target/96377] [10/11 Regression] GCC 10.2/11 doesn't build Linux kernel anymore

2020-08-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 --- Comment #11 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:7d599ad27b9bcf5165f87710f1abc64bbabd06ae commit r11-2481-g7d599ad27b9bcf5165f87710f1abc64bbabd06ae Author: Richard Sandiford

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

[Bug bootstrap/96404] [10 Regression] Bootstrap failure

2020-08-01 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96404 --- Comment #11 from David Edelsohn --- r11-2447 fails. Testing r11-2446.

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

[Bug c/96407] New: LTO inlined functions don't inherit disabled warnings

2020-08-01 Thread rjones at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96407 Bug ID: 96407 Summary: LTO inlined functions don't inherit disabled warnings Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/95433] Failure to completely optimize simple compare after operations

2020-08-01 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95433 --- Comment #5 from Marc Glisse --- Patch posted at https://gcc.gnu.org/pipermail/gcc-patches/2020-August/551154.html for the original testcase. Note that solving univariate polynomial equations *in the integers* (the rationals are not much

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.