Re: [PATCH] Enable GCC support for AMX

2020-07-23 Thread Hongyu Wang via Gcc-patches
PING^2 Hongyu Wang 于2020年7月17日周五 下午1:40写道: > > Update for SAPPHIRERAPIDS and PING > > Hongyu Wang 于2020年7月7日周二 上午11:24写道: > > > > > Hi Kirill, could you help review this patch? > > > > Hongyu Wang 于2020年7月6日周一 上午9:58写道: > > > > > > Hi: > > > > > > This patch is about to support Intel Advanced

[Bug fortran/96024] [9/10/11 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2020-07-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

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

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

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

2020-07-23 Thread Jojo R
在 2020年7月21日 +0800 PM2:55,Bin.Cheng ,写道: > On Tue, Jul 21, 2020 at 11:14 AM Jojo wrote: > > > > gcc/ChangeLog: > > > > * genemit.c (main): Print 'split line'. > > * Makefile.in (insn-emit.c): Define split count and file > > > > Thanks for working one this, following comments are based on the >

[Bug target/96305] Unnecessary signed x unsigned multiplication with squares or signed variables

2020-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96305 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c/96305] New: Unnecessary signed x unsigned multiplication with squares or signed variables

2020-07-23 Thread petr at nejedli dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96305 Bug ID: 96305 Summary: Unnecessary signed x unsigned multiplication with squares or signed variables Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity:

Re: Loading plugins with arm-none-eabi-gcc

2020-07-23 Thread Shuai Wang via Gcc
Sorry I am a newbie to cross compilation, but overall, as far as I can see, the following two options both won't work: 1. If I compile instrument_cov.so with gcc as a x86-64bit ELF executable, then it throws the above error (mentioned in my first email) when being loaded by

Re: libgo patch committed: Update to Go 1.14.6 release

2020-07-23 Thread Ian Lance Taylor via Gcc-patches
On Fri, Jul 17, 2020 at 2:28 PM Ian Lance Taylor wrote: > > This patch to libgo updates it to the Go 1.14.6 release. Bootstrapped > and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. I have now committed this to the GCC 10 branch as well. Ian

Re: [PATCH] [AVX512] [PR87767] Optimize memory broadcast for constant vector under AVX512

2020-07-23 Thread Hongtao Liu via Gcc-patches
On Thu, Jul 23, 2020 at 9:53 PM Hongtao Liu wrote: > > On Thu, Jul 23, 2020 at 4:39 PM Jan Hubicka wrote: > > > > Hello, > > sorry for taking so long to get to this. > > > diff --git a/gcc/config/i386/i386-features.c > > > b/gcc/config/i386/i386-features.c > > > index 535fc7e981d..8f81d101382

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 --- Comment #7 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:b0e5ec934e7a7473275326e2aee58eaf252cdff1 commit r11-2301-gb0e5ec934e7a7473275326e2aee58eaf252cdff1 Author: H.J. Lu Date: Thu Jul 23

Re: committed] correct memcmp expansion of constant representations containing embedded nuls (PR 95189)

2020-07-23 Thread H.J. Lu via Gcc-patches
On Thu, Jul 23, 2020 at 4:50 PM Martin Sebor wrote: > > On 7/23/20 2:18 PM, H.J. Lu wrote: > > On Thu, Jul 23, 2020 at 1:14 PM Martin Sebor via Gcc-patches > > wrote: > >> > >> On 7/22/20 2:23 AM, Rainer Orth wrote: > >>> Hi Martin, > >>> > I have committed this change in r11-2231 after

[Bug target/95907] ICE in unrecognizable insn when using -mpower10

2020-07-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95907 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org

[PATCH] rs6000: ICE in unrecognizable insn when using -mpower10

2020-07-23 Thread Peter Bergner via Gcc-patches
We get an ICE when using -mpower10 and a -mcpu= value that is older than power10. The -mpower10 option requires -mcpu=power10 or later. The following patch enforces that. This passed bootstrap and regtesting with no errors. Ok for trunk? GCC 10 does not ICE on this test case, so I am not

Re: committed] correct memcmp expansion of constant representations containing embedded nuls (PR 95189)

2020-07-23 Thread Martin Sebor via Gcc-patches
On 7/23/20 2:18 PM, H.J. Lu wrote: On Thu, Jul 23, 2020 at 1:14 PM Martin Sebor via Gcc-patches wrote: On 7/22/20 2:23 AM, Rainer Orth wrote: Hi Martin, I have committed this change in r11-2231 after Jeff approved it off list last Thursday. the new gcc.target/i386/memcpy-pr95886.c test

[Bug target/96190] --enable-default-pie on sparc uses crtbeginS.o (correct) and crtend.o (incorrect)

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96190 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:ca47325f300462b6f4ea84de2103eef81a4a7684 commit r10-8527-gca47325f300462b6f4ea84de2103eef81a4a7684 Author: Sergei

Re: [PATCH][RFC] diagnostics: Add support for Unicode drawing characters

2020-07-23 Thread Lewis Hyatt via Gcc-patches
On Thu, Jul 23, 2020 at 05:47:28PM -0400, David Malcolm wrote: > On Thu, 2020-07-23 at 12:28 -0400, Lewis Hyatt via Gcc-patches wrote: > > Hello- > > > > The attached patch is complete including docs, but I tagged as RFC > > because I am not sure if anyone will like it, or if the general > >

Re: [PATCH 2/2] Aarch64: Add branch diluter pass

2020-07-23 Thread Segher Boessenkool
On Wed, Jul 22, 2020 at 09:45:08PM +0200, Andrea Corallo wrote: > > Should that actually be a sliding window, or should there actually just > > not be more than N branches per aligned block of machine code? Like, > > per fetch group. > > > > Can you not use ASM_OUTPUT_ALIGN_WITH_NOP (or

gcc-8-20200723 is now available

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

[Bug libstdc++/90415] [9 Regression] std::is_copy_constructible> is incomplete

2020-07-23 Thread familiebaumanns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 Bernd Baumanns changed: What|Removed |Added CC||familiebaumanns at gmail dot com ---

[Bug fortran/94738] C descriptor passed to Fortran from C apepars to have wrong type information.

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94738 Dominique d'Humieres changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

Re: [PATCH][RFC] diagnostics: Add support for Unicode drawing characters

2020-07-23 Thread David Malcolm via Gcc-patches
On Thu, 2020-07-23 at 12:28 -0400, Lewis Hyatt via Gcc-patches wrote: > Hello- > > The attached patch is complete including docs, but I tagged as RFC > because I am not sure if anyone will like it, or if the general > reaction may > be closer to recoiling in horror :). Would appreciate your

libgo patch committed: Add AIX FAT libraries support

2020-07-23 Thread Ian Lance Taylor via Gcc-patches
This patch by Clément Chigot adds AIX FAT library support to libgo. This follows the same general idea as support in other GCC libraries like libgcc and libsdc++. Committed to mainline. Ian 83cc5e2b2f887d4bb2305658da382a65fdcaab29 diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE

[Bug libfortran/93567] G edit descriptor uses E instead of F editing in rounding mode UP

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93567 --- Comment #10 from Dominique d'Humieres --- Created attachment 48922 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48922=edit Patch adjusted for GCC8 and 9

[Bug target/96304] Possible mis-compile of SQLite for ARM using gcc 8.3.0 and -O2

2020-07-23 Thread drh at sqlite dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96304 --- Comment #2 from D. Richard Hipp --- (In reply to Andrew Pinski from comment #1) > Does -fno-strict-aliasing helps? The problem goes away if I compile with -fno-strict-aliasing. I should have thought to try that. But, are we violating

[Bug libfortran/93592] Invalid UP/DOWN rounding with EN descriptor

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93592 --- Comment #10 from Dominique d'Humieres --- The patch applies and regtest cleanly down to GCC8. IMO this is nasty wrong code and it should be fixed on all the active branches.

[Bug target/96304] Possible mis-compile of SQLite for ARM using gcc 8.3.0 and -O2

2020-07-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96304 --- Comment #1 from Andrew Pinski --- Does -fno-strict-aliasing helps?

[Bug c/96304] New: Possible mis-compile of SQLite for ARM using gcc 8.3.0 and -O2

2020-07-23 Thread drh at sqlite dot org
-around here: https://www.sqlite.org/src/info/40c44d38104dfcb6 The forum post in the first link describes how to recreate the problem. I will repeat that text here for completeness: 1. Download https://sqlite.org/tmp/gcc-problem-20200723/sftest.c (7.8MB) and https://sqlite.org/tmp/gcc-problem

[PR95720] protect gluefile and wrap_flags with -Wl too (was: Re: drop -aux{dir,base}, revamp -dump{dir,base})

2020-07-23 Thread Alexandre Oliva
The testglue object file gets interpreted as another input file, changing the dump and aux output names in GCC unless it is protected by -Wl, like board file-named extra inputs. Refactor the code that modifies the board settings so that it can be used to modify regular variables as well, and do

[Bug fortran/92006] storage_size() returns incorrect value on unlimited polymorphic variable (CLASS(*)) when passed a CHARACTER variable

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92006 --- Comment #8 from Dominique d'Humieres --- My draft of the standard says: the argument A shall be a data object of any type. If it is polymorphic it shall not be an undefined pointer. If it is unlimited polymorphic or has any deferred type

Re: [PATCH][RFC] diagnostics: Add support for Unicode drawing characters

2020-07-23 Thread Martin Sebor via Gcc-patches
On 7/23/20 10:28 AM, Lewis Hyatt via Gcc-patches wrote: Hello- The attached patch is complete including docs, but I tagged as RFC because I am not sure if anyone will like it, or if the general reaction may be closer to recoiling in horror :). Would appreciate your thoughts, please... I don't

Re: [PATCH PR96230] driver: ICE in process_command, at gcc.c:5095

2020-07-23 Thread Alexandre Oliva
On Jul 23, 2020, Richard Biener wrote: > On Thu, 23 Jul 2020, Zhanghaijian (A) wrote: >> # This option restores naming of aux and dump output files >> # after input files when multiple input files are named, >> # instead of getting them combined with the output name. > Does it actually do what

Re: [PATCH] rs6000: Disable -fcaller-saves by default

2020-07-23 Thread Segher Boessenkool
On Thu, Jul 23, 2020 at 02:29:00PM -0600, Jeff Law wrote: > On Thu, 2020-07-23 at 15:19 -0500, Segher Boessenkool wrote: > > On Thu, Jul 23, 2020 at 01:42:59PM -0600, Jeff Law wrote: > > > On Thu, 2020-07-23 at 14:25 -0500, Pat Haugen via Gcc-patches wrote: > > > > Disable -fcaller-saves by

[Bug target/95750] [x86] Use dummy atomic insn instead of mfence in __atomic_thread_fence(seq_cst)

2020-07-23 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95750 --- Comment #15 from Uroš Bizjak --- (In reply to Joseph C. Sible from comment #14) > I notice this change affects -Os too, even though "lock orq $0,(%rsp)" is 6 > bytes and "mfence" is only 3 bytes. Yes, we can emit mfence for -Os. I'm testing

Re: [PATCH] rs6000: Disable -fcaller-saves by default

2020-07-23 Thread Jeff Law via Gcc-patches
On Thu, 2020-07-23 at 15:19 -0500, Segher Boessenkool wrote: > Hi! > > On Thu, Jul 23, 2020 at 01:42:59PM -0600, Jeff Law wrote: > > On Thu, 2020-07-23 at 14:25 -0500, Pat Haugen via Gcc-patches wrote: > > > Disable -fcaller-saves by default. > > > > > > This patch turns off -fcaller-saves by

[Bug c++/96213] GCC doesn't complain about ill-formed non-dependent template default argument

2020-07-23 Thread arthur.j.odwyer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96213 --- Comment #2 from Arthur O'Dwyer --- Here's a similar situation I just ran into again, somehow! // https://godbolt.org/z/3TKG1z struct S {}; template void f() {} template void g() {} int main() { f(); // correctly errors out g(); //

Re: committed] correct memcmp expansion of constant representations containing embedded nuls (PR 95189)

2020-07-23 Thread H.J. Lu via Gcc-patches
On Thu, Jul 23, 2020 at 1:14 PM Martin Sebor via Gcc-patches wrote: > > On 7/22/20 2:23 AM, Rainer Orth wrote: > > Hi Martin, > > > >> I have committed this change in r11-2231 after Jeff approved it > >> off list last Thursday. > > > > the new gcc.target/i386/memcpy-pr95886.c test FAILs on 32-bit

Re: [PATCH] rs6000: Disable -fcaller-saves by default

2020-07-23 Thread Segher Boessenkool
Hi! On Thu, Jul 23, 2020 at 01:42:59PM -0600, Jeff Law wrote: > On Thu, 2020-07-23 at 14:25 -0500, Pat Haugen via Gcc-patches wrote: > > Disable -fcaller-saves by default. > > > > This patch turns off -fcaller-saves by default so that IRA doesn't try > > to use volatile regs for pseudos that are

Re: committed] correct memcmp expansion of constant representations containing embedded nuls (PR 95189)

2020-07-23 Thread Martin Sebor via Gcc-patches
On 7/22/20 2:23 AM, Rainer Orth wrote: Hi Martin, I have committed this change in r11-2231 after Jeff approved it off list last Thursday. the new gcc.target/i386/memcpy-pr95886.c test FAILs on 32-bit x86 (i386-pc-solaris2.11): +FAIL: gcc.target/i386/memcpy-pr95886.c scan-rtl-dump-times

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:8598657c607500512075f6c4ee3b10460c94903d commit r11-2298-g8598657c607500512075f6c4ee3b10460c94903d Author: Martin Sebor Date: Thu

[Bug fortran/94331] Bind(C) corrupts array descriptors

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94331 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2020-07-23 Ever confirmed|0

[Bug fortran/95980] ICE in get_unique_type_string, at fortran/class.c:485

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95980 --- Comment #18 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a3980ada1bd99cf8df22284862693088e5d1ca7c commit r10-8525-ga3980ada1bd99cf8df22284862693088e5d1ca7c Author: Harald Anlauf

[Bug fortran/95980] ICE in get_unique_type_string, at fortran/class.c:485

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95980 --- Comment #19 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:76a8ff3948ad5a36ccae7305a2e9a7c2499418e5 commit r10-8526-g76a8ff3948ad5a36ccae7305a2e9a7c2499418e5 Author: Harald Anlauf

[Bug fortran/89574] [8/9/10/11 Regression] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3792

2020-07-23 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89574 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/89574] [8/9/10/11 Regression] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3792

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89574 --- Comment #14 from CVS Commits --- The releases/gcc-8 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:41c072bded24642d6b4a38e3f5e2890c1aa8c5a1 commit r8-10372-g41c072bded24642d6b4a38e3f5e2890c1aa8c5a1 Author: Harald Anlauf

[Bug fortran/89574] [8/9/10/11 Regression] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3792

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89574 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b2fe9b1bf79037a90bc5146efe77417b888a86a0 commit r9-8762-gb2fe9b1bf79037a90bc5146efe77417b888a86a0 Author: Harald Anlauf

[Bug fortran/93091] [OOP] Apparent bugs in "sizeof" and "transfer" intrinsic functions

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93091 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

Re: [PATCH] rs6000: Disable -fcaller-saves by default

2020-07-23 Thread Jeff Law via Gcc-patches
On Thu, 2020-07-23 at 14:25 -0500, Pat Haugen via Gcc-patches wrote: > Disable -fcaller-saves by default. > > This patch turns off -fcaller-saves by default so that IRA doesn't try > to use volatile regs for pseudos that are live across a call, which > would then require LRA to save/restore the

[Bug target/96236] __builtin_mma_disassemble_acc() doesn't store elements correctly in LE mode

2020-07-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96236 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79627] Ice with type of VLA in lambda

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79627 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/54367] [meta-bug] lambda expressions

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 79627, which changed state. Bug 79627 Summary: Ice with type of VLA in lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79627 What|Removed |Added

[Bug c++/16994] [meta-bug] VLA and C++

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 79627, which changed state. Bug 79627 Summary: Ice with type of VLA in lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79627 What|Removed |Added

[Bug c++/89336] internal compiler error when compiling a constexpr function

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug fortran/92006] storage_size() returns incorrect value on unlimited polymorphic variable (CLASS(*)) when passed a CHARACTER variable

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92006 Dominique d'Humieres changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/67491] [meta-bug] concepts issues

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 83583, which changed state. Bug 83583 Summary: ICE in synthesize_implicit_template_parm, at cp/parser.c:38794 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83583 What|Removed |Added

[Bug c++/83583] ICE in synthesize_implicit_template_parm, at cp/parser.c:38794

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83583 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/86002] ICE with requires in constexpr if condition

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86002 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[PATCH] rs6000: Disable -fcaller-saves by default

2020-07-23 Thread Pat Haugen via Gcc-patches
Disable -fcaller-saves by default. This patch turns off -fcaller-saves by default so that IRA doesn't try to use volatile regs for pseudos that are live across a call, which would then require LRA to save/restore the reg around the call. Bootstrap/regtest on powerpc64le with no new regressions.

[Bug libstdc++/96303] [10/11 Regression] Ambiguous overload for operator!= for std::__debug::bitset compiled with -std=c++20 and -pedantic.

2020-07-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96303 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at

Re: [PATCH] avoid -Wnonnull on synthesized condition in static_cast (PR 96003)

2020-07-23 Thread Martin Sebor via Gcc-patches
Another test case added to the bug since I posted the patch shows that the no-warning bit set by the C++ front end is easily lost during early folding, triggering the -Wnonull again despite the suppression. The attached revision tweaks the folder in just this one case to let the suppression take

[Bug fortran/96086] ICE in gfc_match_select_rank, at fortran/match.c:6645

2020-07-23 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96086 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/96086] ICE in gfc_match_select_rank, at fortran/match.c:6645

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96086 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6dd74062d215682e1f9b3ca618a9d38585dd4831 commit r10-8524-g6dd74062d215682e1f9b3ca618a9d38585dd4831 Author: Harald Anlauf

[Bug fortran/89574] [8/9/10/11 Regression] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3792

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89574 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bab0c51af90f475dab8f1b306737cd04b06d4b04 commit r10-8523-gbab0c51af90f475dab8f1b306737cd04b06d4b04 Author: Harald Anlauf

[Bug libstdc++/96303] New: Ambiguous overload for operator!= for std::__debug::bitset compiled with -std=c++20 and -pedantic.

2020-07-23 Thread matt.lawson at precisionplanting dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96303 Bug ID: 96303 Summary: Ambiguous overload for operator!= for std::__debug::bitset compiled with -std=c++20 and -pedantic. Product: gcc Version: 10.1.1

[committed] Resolve PR rtl-optimization/96298: XOR doesn't distribute over XOR.

2020-07-23 Thread Roger Sayle
Many thanks to Segher Boessenkool for the speedy review. The following patch has been committed after testing on x86_64-pc-linux-gnu. In the recent patch to simplify-rtx.c I had incorrectly extrapolated from AND distributing over AND, and IOR distributing over IOR, that XOR distributes over

[Bug c++/91525] ICE (Segmentation Fault) on a bool conversion operator with concepts

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91525 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug fortran/96224] -fdump-tree-original could use more sophisticated or mangled procedure names

2020-07-23 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96224 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #1) > Could you be more explicit about what you would like? How about: mod::init () or mod.init () to indicate the relevant namespace.

Re: [PATCH 4/5] MSP430: Implement TARGET_INSN_COST

2020-07-23 Thread Segher Boessenkool
Hi! On Thu, Jul 23, 2020 at 04:56:14PM +0100, Jozef Lawrynowicz wrote: > +static int > +msp430_insn_cost (rtx_insn *insn, bool speed ATTRIBUTE_UNUSED) > +{ > + int cost; > + > + if (recog_memoized (insn) < 0) > +return 0; > + > + cost = get_attr_length (insn); > + if

[Bug fortran/96018] [9/10/11 Regression] Optimization issue with external HDF5 library

2020-07-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96018 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/96018] [9/10/11 Regression] Optimization issue with external HDF5 library

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96018 --- Comment #18 from CVS Commits --- The releases/gcc-9 branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:7be5add5534f4310b294f1b7ad8855a424edb8c1 commit r9-8761-g7be5add5534f4310b294f1b7ad8855a424edb8c1 Author: Thomas Koenig

[Bug c++/90623] compilation error with fold expression and parameter pack

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90623 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/89871] Wall + designated initializers

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89871 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/90301] RangeV3 usage, ICE internal compiler error: canonical types differ for identical types

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90301 Marek Polacek changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/87032] incorrect nested structure with union initialization

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87032 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug fortran/96220] -fc-prototypes forgets types for doubles

2020-07-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96220 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

New German PO file for 'gcc' (version 10.2.0)

2020-07-23 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 German team of translators. The file is available at: https://translationproject.org/latest/gcc/de.po (This file, 'gcc-10.2.0.de.po', has

[Bug c++/87765] Internal compiler error: coerce_template_parms (8.2) or cxx_eval_constant_expression (trunk)

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug ada/96302] New: Linux build of gnat/ada fails for lack of gnatdll

2020-07-23 Thread andy.riebs at hpe dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96302 Bug ID: 96302 Summary: Linux build of gnat/ada fails for lack of gnatdll Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/96298] [11 Regression] wrong code with -O -fno-tree-forwprop

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96298 --- Comment #8 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:d4b3ea941b1a15cadb79e7ff8a36891131f8804b commit r11-2296-gd4b3ea941b1a15cadb79e7ff8a36891131f8804b Author: Roger Sayle Date: Thu

Re: [PATCH] contrib/vimrc: detect more C-like files

2020-07-23 Thread Patrick Palka via Gcc-patches
On Thu, 23 Jul 2020, Martin Liška wrote: > On 7/23/20 4:44 PM, Patrick Palka via Gcc-patches wrote: > > Here's a rebased patch. Can another Vim user verify that this does the > > right thing? > > Yes, it works correctly for me! I tested that before and after your change > for

[Bug c++/79367] ICE with decltype of VLA in lambda

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79367 Marek Polacek changed: What|Removed |Added Keywords|ice-checking, |rejects-valid

[Bug fortran/96220] -fc-prototypes forgets types for doubles

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96220 --- Comment #3 from CVS Commits --- The releases/gcc-9 branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:159c7ca3c3ce34e401b9e57734ecca8b37d8a0ec commit r9-8760-g159c7ca3c3ce34e401b9e57734ecca8b37d8a0ec Author: Thomas Koenig

New template for 'gcc' made available

2020-07-23 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:

[Bug c++/56673] multi-versioning not GC safe

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56673 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug target/95750] [x86] Use dummy atomic insn instead of mfence in __atomic_thread_fence(seq_cst)

2020-07-23 Thread josephcsible at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95750 Joseph C. Sible changed: What|Removed |Added CC||josephcsible at gmail dot com ---

[Bug c++/35098] ICE with attribute unused in template

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35098 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/96236] __builtin_mma_disassemble_acc() doesn't store elements correctly in LE mode

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96236 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:5497677b497b95a261089d19f5295cc80f99a2b6 commit r10-8522-g5497677b497b95a261089d19f5295cc80f99a2b6 Author: Peter Bergner

[Bug rtl-optimization/96298] [11 Regression] wrong code with -O -fno-tree-forwprop

2020-07-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96298 Segher Boessenkool changed: What|Removed |Added Assignee|segher at gcc dot gnu.org |sayle at gcc dot gnu.org

[Bug c++/67491] [meta-bug] concepts issues

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 68826, which changed state. Bug 68826 Summary: [concepts] ICE in fold expression with requires https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68826 What|Removed |Added

[Bug c++/68828] [concepts] ICE in fold with requires and function call around parameters

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68828 --- Comment #4 from Marek Polacek --- *** Bug 68826 has been marked as a duplicate of this bug. ***

[Bug c++/68826] [concepts] ICE in fold expression with requires

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68826 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug target/94065] AIX rs6000 NO_SUM_IN_TOC and NO_FP_IN_TOC disable logic reversed in aix config files

2020-07-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94065 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by David Edelsohn : https://gcc.gnu.org/g:eb0a835d643394d89b13d4f0ac12f2af3e78228d commit r9-8759-geb0a835d643394d89b13d4f0ac12f2af3e78228d Author: David Edelsohn

[Bug c++/67491] [meta-bug] concepts issues

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 68827, which changed state. Bug 68827 Summary: [concepts] ICE in fold where requires parameter shadows function argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68827 What|Removed

[Bug c++/68828] [concepts] ICE in fold with requires and function call around parameters

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68828 --- Comment #3 from Marek Polacek --- *** Bug 68827 has been marked as a duplicate of this bug. ***

[Bug c++/68827] [concepts] ICE in fold where requires parameter shadows function argument

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68827 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/68828] [concepts] ICE in fold with requires and function call around parameters

2020-07-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68828 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-07-23

[Bug fortran/93690] Type Bound Generic Assignment Bug Using Intrinsic Assignments

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93690 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug d/96301] d: internal compiler error: Segmentation fault during RTL pass: expand on armhf/armel/s390x

2020-07-23 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96301 --- Comment #1 from Iain Buclaw --- The static array path has a different ICE, but the underlying cause is the same. test.d:20:18: internal compiler error: in convert_memory_address_addr_space_1, at explow.c:302 20 | auto result

[Bug d/96301] New: d: internal compiler error: Segmentation fault during RTL pass: expand on armhf/armel/s390x

2020-07-23 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96301 Bug ID: 96301 Summary: d: internal compiler error: Segmentation fault during RTL pass: expand on armhf/armel/s390x Product: gcc Version: 10.1.0 Status: UNCONFIRMED

[Bug fortran/94048] ICE and other problems using rank intrinsic to set array size

2020-07-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94048 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[PATCH][RFC] diagnostics: Add support for Unicode drawing characters

2020-07-23 Thread Lewis Hyatt via Gcc-patches
Hello- The attached patch is complete including docs, but I tagged as RFC because I am not sure if anyone will like it, or if the general reaction may be closer to recoiling in horror :). Would appreciate your thoughts, please... Currently, if a UTF-8 locale is detected, GCC changes the quote

  1   2   3   4   >