[Bug fortran/94931] New: request: print include path

2020-05-02 Thread ryofurue at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 Bug ID: 94931 Summary: request: print include path Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/94922] Functional cast from base class to derived class incorrectly accepted with -std=c++2a

2020-05-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94922 Patrick Palka changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/94930] New: Failure to optimize out subvsi in expansion of __builtin_memcmp with 1 as the operand with -ftrapv

2020-05-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94930 Bug ID: 94930 Summary: Failure to optimize out subvsi in expansion of __builtin_memcmp with 1 as the operand with -ftrapv Product: gcc Version: 11.0 Status: UNCONFIRMED

gcc-10-20200502 is now available

2020-05-02 Thread GCC Administrator via Gcc
Snapshot gcc-10-20200502 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200502/ 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

[Bug c++/94923] False positive -Wclass-memaccess with trivially copyable std::optional

2020-05-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94923 Martin Sebor changed: What|Removed |Added Known to fail||10.0, 8.4.0, 9.3.0

[Bug c++/94929] New: GCC 8 chokes on std::max in alignas

2020-05-02 Thread soap at gentoo dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 Bug ID: 94929 Summary: GCC 8 chokes on std::max in alignas Product: gcc Version: 8.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/94923] False positive -Wclass-memaccess with trivially copyable std::optional

2020-05-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94923 Martin Sebor changed: What|Removed |Added Keywords||diagnostic

[Bug gcov-profile/94928] New: Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

2020-05-02 Thread myron.walker at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 Bug ID: 94928 Summary: Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/94912] Non-consistent behaviour of VLAs in C++ mode compared to C

2020-05-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94912 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c++/68531] changing bound variable of a VLA type changes type size

2020-05-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68531 Martin Sebor changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug rtl-optimization/94927] New: cortex-m7: Incorrect insn_reservation for vmaxnm/vminnm instructions

2020-05-02 Thread stas.ibragimov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94927 Bug ID: 94927 Summary: cortex-m7: Incorrect insn_reservation for vmaxnm/vminnm instructions Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal

[Bug c++/94926] New: [9 regression] invalid use of incomplete type not recogniced for static self reference of templated struct

2020-05-02 Thread max.kan...@nu-cost.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94926 Bug ID: 94926 Summary: [9 regression] invalid use of incomplete type not recogniced for static self reference of templated struct Product: gcc Version: 9.1.0

[PATCH] gfortran: Get asan library from TEST_ALWAYS_FLAGS

2020-05-02 Thread H.J. Lu via Gcc-patches
On Fri, May 1, 2020 at 6:04 AM Thomas Koenig via Gcc-patches wrote: > > Hello world, > > because the test case for PR 94788 requires -fsanitize=address to expose > the double free, I have created a subdirectory under gfortran.dg > where such test cases can go. > > I have tested this with > > make

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-05-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #44 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:6abe1c3084798d3e5f32926c352643e557073e01 commit r11-27-g6abe1c3084798d3e5f32926c352643e557073e01 Author: H.J. Lu Date: Sat May 2

Re: [PATCH] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)

2020-05-02 Thread Arnaud Charlet
> This fixes three compilation errors preventing bootstrap of gcc-10/11 > with Ada on x86_64-pc-cygwin. See PR bootstrap/94918 for details. > > Tested by bootstrapping on x86_64-pc-cygwin, and since it touches code > shared with mingw, also by building a cross to x86_64-w64-mingw32. > > Ok for

[PATCH] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)

2020-05-02 Thread Mikael Pettersson via Gcc-patches
This fixes three compilation errors preventing bootstrap of gcc-10/11 with Ada on x86_64-pc-cygwin. See PR bootstrap/94918 for details. Tested by bootstrapping on x86_64-pc-cygwin, and since it touches code shared with mingw, also by building a cross to x86_64-w64-mingw32. Ok for master and

[Bug bootstrap/94918] Ada bootstrap errors on Cygwin64

2020-05-02 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 Mikael Pettersson changed: What|Removed |Added Known to fail||10.0, 8.4.0, 9.3.0 --- Comment #1

[Bug translation/93861] typo in warning: %qs is not valid for %

2020-05-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93861 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[pushed] Darwin: Fix a diagnostic spelling [PR93861]

2020-05-02 Thread Iain Sandoe
Hi, As noted in the PR, there’s a missing ‘-‘ at the start of a diagnostic switch. Fixed thus. tested on x86_64-darwin16, applied to master, thanks Iain gcc/ChangeLog: 2020-05-02 Iain Sandoe PR translation/93861 * config/darwin-driver.c (darwin_driver_init): Adjust

[Bug translation/93861] typo in warning: %qs is not valid for %

2020-05-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93861 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:7df457899078c5889194c1736cffcfd4d50f5305 commit r11-26-g7df457899078c5889194c1736cffcfd4d50f5305 Author: Iain Sandoe Date: Sat

[Bug translation/93861] typo in warning: %qs is not valid for %

2020-05-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93861 Iain Sandoe changed: What|Removed |Added Target||*-darwin* Status|UNCONFIRMED

[Bug fortran/94925] New: Undesired runtime warning message

2020-05-02 Thread siteg at mathalacarte dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 Bug ID: 94925 Summary: Undesired runtime warning message Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/94923] False positive -Wclass-memaccess with trivially copyable std::optional

2020-05-02 Thread dawid_jurek at vp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94923 --- Comment #2 from dawid_jurek at vp dot pl --- Yeah, that's the correct reproducer of issue I reported. I noticed missing bracket after pasting it from godbolt but unfortunately couldn't edit my comment after posting.

[Bug c++/94923] False positive -Wclass-memaccess with trivially copyable std::optional

2020-05-02 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94923 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-05-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #43 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:116784bbde9ed391393320d936ae2fff37442779 commit r11-25-g116784bbde9ed391393320d936ae2fff37442779 Author: Thomas Koenig Date:

בשורות טובות לעסקים :האוצר הגדיל את הקרן ל-14 מילארד בדוק זכאותך

2020-05-02 Thread עוף via Gcc
לרגל המצב משרד האוצר העמיד 14 מיליארד תוספת של 6 מיליארד לטובת עסקים נפגעי הקורונה וכעת קבלו גם ייעוץ לצמיחה מחודשת לעסק אופציה להגשת בקשת מימון כפולה מקרן ערבות מדינה ומקרן קורונה אופציה לגרייס לשנה עד חצי מיליון שח. 500,000 שח תנאי סף ללא חזרות המחאות מהחשבון בשנה האחרונה . ללא אכ"מ לבדיקת

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-05-02 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #210 from dave.anglin at bell dot net --- On 2020-05-02 12:14 a.m., peter.bisroev at groundlabs dot com wrote: > Looks like we might have to get the fix into GNU AS first to get PCREL60B > working. I will try to look into how we can

[Bug c++/94924] New: Default equality operator for C-array compares addresses, not data

2020-05-02 Thread rhalbersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94924 Bug ID: 94924 Summary: Default equality operator for C-array compares addresses, not data Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94923] New: False positive -Wclass-memaccess with trivially copyable std::optional

2020-05-02 Thread dawid_jurek at vp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94923 Bug ID: 94923 Summary: False positive -Wclass-memaccess with trivially copyable std::optional Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/94921] Failure to optimize nots with sub into single add

2020-05-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94921 --- Comment #1 from Marc Glisse --- x + y ?

Re: Not usable email content encoding

2020-05-02 Thread Segher Boessenkool
On Fri, May 01, 2020 at 10:37:48PM +0200, Martin Jambor wrote: > On Fri, May 01 2020, Jeff Law wrote: > >> I also find writing them useful as it forces me to go through every > >> patch one last time before submitting it :-) If you spend some time > >> configuring your text editor and git, the

[Bug c++/94922] Functional cast from base class to derived class incorrectly accepted with -std=c++2a

2020-05-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94922 --- Comment #2 from Patrick Palka --- Another testcase that exhibits the 10/11 regression: struct base {}; struct derived : base {}; void foo() { derived a = derived(base()); }

[Bug c++/94922] Functional cast from base class to derived class incorrectly accepted with -std=c++2a

2020-05-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94922 --- Comment #1 from Patrick Palka --- The above appears to be a 10/11 regression, but note that all versions of GCC >= 4.7 also incorrectly accept the following testcase: struct base {}; struct derived : base {}; template void foo(); void

[Bug c++/94922] New: Functional cast from base class to derived class incorrectly accepted with -std=c++2a

2020-05-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94922 Bug ID: 94922 Summary: Functional cast from base class to derived class incorrectly accepted with -std=c++2a Product: gcc Version: 10.0 Status: UNCONFIRMED

Re: Not usable email content encoding

2020-05-02 Thread Segher Boessenkool
On Fri, May 01, 2020 at 09:51:53AM -0600, Jeff Law wrote: > On Thu, 2020-04-23 at 15:14 -0600, Tom Tromey wrote: > > > > > > > "Segher" == Segher Boessenkool > > > > > > > writes: > > > > Segher> My point was that this should *never* be part of patches, already. > > > > FWIW, I use a few

[Bug tree-optimization/94921] New: Failure to optimize nots with sub into single add

2020-05-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94921 Bug ID: 94921 Summary: Failure to optimize nots with sub into single add Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/83118] [8/9/10/11 Regression] Bad intrinsic assignment of class(*) array component of derived type

2020-05-02 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 --- Comment #34 from Paul Thomas --- (In reply to Rainer Orth from comment #33) > What's going to happen with the fix? It works for me on > sparc-sun-solaris2.11 > and obviously several other targets. This has been open for months now with > a

[PATCH] x86: Add UNSPECV_PATCHABLE_AREA

2020-05-02 Thread H.J. Lu via Gcc-patches
Currently patchable area is at the wrong place. It is placed immediately after function label, before both .cfi_startproc and ENDBR. This patch adds UNSPECV_PATCHABLE_AREA for pseudo patchable area instruction and changes ENDBR insertion pass to also insert patchable area instruction.

[Bug tree-optimization/94919] Failure to recognize max pattern

2020-05-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94919 --- Comment #1 from Marc Glisse --- This seems related to another one you reported, in the category: i&-b == b?i:0 (for b∈{0,1}). The first form has the advantage of no branch, while the second is less obfuscated and simplifies more naturally

[Bug tree-optimization/94920] New: Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0

2020-05-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94920 Bug ID: 94920 Summary: Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0 Product: gcc Version: 11.0 Status: UNCONFIRMED

[committed] tilegx: Unbreak build

2020-05-02 Thread Jakub Jelinek via Gcc-patches
../../gcc/config/tilegx/tilegx.md:4109:1: ambiguous attribute 'n'; could be '1' (via 'I124MODE:n') or '4' (via 'I48MODE:n') ../../gcc/config/tilegx/tilegx.md:4109:1: ambiguous attribute 'n'; could be '1' (via 'I124MODE:n') or '' (via 'I48MODE:n') ../../gcc/config/tilegx/tilegx.md:4109:1:

[Bug tree-optimization/94919] New: Failure to recognize max pattern

2020-05-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94919 Bug ID: 94919 Summary: Failure to recognize max pattern Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/94918] New: Ada bootstrap errors on Cygwin64

2020-05-02 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 Bug ID: 94918 Summary: Ada bootstrap errors on Cygwin64 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug fortran/93114] Use span passing components of derived types

2020-05-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93114 --- Comment #2 from Thomas Koenig --- Created attachment 48430 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48430=edit Preliminary partial patch Here is a very preliminary implementation, which only looks at the return values of maxloc

[Bug bootstrap/94917] Ada bootstrap errors on Cygwin64

2020-05-02 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94917 Mikael Pettersson changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/94917] New: Ada bootstrap errors on Cygwin64

2020-05-02 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94917 Bug ID: 94917 Summary: Ada bootstrap errors on Cygwin64 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug tree-optimization/94916] New: Failure to optimize pattern into difference or zero selector

2020-05-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94916 Bug ID: 94916 Summary: Failure to optimize pattern into difference or zero selector Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/94915] New: MAX_EXPR weirdly optimized on x86 with -mtune=core2

2020-05-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94915 Bug ID: 94915 Summary: MAX_EXPR weirdly optimized on x86 with -mtune=core2 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3