[Bug middle-end/94895] ICE in expand_block_tm, at trans-mem.c:2643

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94895 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-04

[Bug c++/94907] ICE: Segmentation fault (in check_return_expr) since r10-8016-gbce54ed494fd0e61

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94907 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug fortran/94909] Rejects valid code for recursion where there is none

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94909 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/94926] [9/10/11 regression] invalid use of incomplete type not recogniced for static self reference of templated struct since r9-297-g683be2f77b3ce4db

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94926 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

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

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug c++/94932] [10/11 Regression] ICE in ovl_skip_hidden, at cp/tree.c:2292 since r10-8016-gbce54ed494fd0e61

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94932 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-04

[Bug c++/94937] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

Re: GCC 10.1 Release Candidate available from gcc.gnu.org

2020-05-03 Thread Martin Liška
On 5/1/20 10:04 AM, Jakub Jelinek wrote: On Fri, May 01, 2020 at 09:23:33AM +0200, Martin Liška wrote: On 4/30/20 11:21 PM, Jakub Jelinek via Gcc wrote: The first release candidate for GCC 10.1 is available from https://gcc.gnu.org/pub/gcc/snapshots/10.1.0-RC-20200430/

[Bug sanitizer/94910] detect_stack_use_after_return=1 is much slower than clang's

2020-05-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94910 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/94931] request: print include path

2020-05-03 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #5 from Steve Kargl --- On Mon, May 04, 2020 at 01:33:43AM +, ryofurue at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 > > --- Comment #4 from Ryo Furue --- > > There is only place gfortran will

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/94938] New: internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Bug ID: 94938 Summary: internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522 Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug fortran/94931] request: print include path

2020-05-03 Thread ryofurue at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #4 from Ryo Furue --- > There is only place gfortran will search for files that > it installs for intrinsic modules, openmp files, and > openacc files. There are no user files here. I see your point! So, should a library

[Bug fortran/94931] request: print include path

2020-05-03 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #3 from Steve Kargl --- On Mon, May 04, 2020 at 01:13:22AM +, ryofurue at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 > > --- Comment #2 from Ryo Furue --- > Thanks for the detailed description. >

[Bug fortran/94931] request: print include path

2020-05-03 Thread ryofurue at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #2 from Ryo Furue --- Thanks for the detailed description. > % gfcx -v -o z a.f90 | & grep -- -fin > > yields > > -fintrinsic-modules-path > /usr/home/kargl/work/lib/gcc/i586-unknown-freebsd13.0/10.0.0/finclude So, I wonder if

gcc-11-20200503 is now available

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

DECL_RESULT not initialized for FUNCTION_DECL when processing attributes in a plugin - bug or feature?

2020-05-03 Thread Bartosz Szreder via Gcc
GCC manual (https://gcc.gnu.org/onlinedocs/gccint/Function-Basics.html) states that a result tree for a FUNCTION_DECL can be obtained by using a DECL_RESULT macro. This does not seem to be the case when processing user-defined attributes via a plugin - when GCC calls my callback for handling the

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-03 Thread Andreas Tobler
On 03.05.20 18:27, Kamil Rytarowski wrote: On 01.05.2020 21:49, Andreas Tobler wrote: Hi all, FreeBSD does not have the alloca.h header. Do not include it in the test cases which do include alloca.h. There are two versions of this patch available, the one attached which uses ifdef or another

New Swedish PO file for 'gcc' (version 10.1-b20200322)

2020-05-03 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 Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file,

[Bug c++/94937] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #2 from Christoph --- Created attachment 48434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48434=edit Pre-processed source code

[committed] i386: Use plus_constant instead of gen_rtx_PLUS

2020-05-03 Thread Uros Bizjak via Gcc-patches
Replace gen_rtx_PLUS with a GEN_INT with plus_constant. 2020-05-03 Uroš Bizjak * config/i386/i386-expand.c (ix86_expand_int_movcc): Use plus_constant instead of gen_rtx_PLUS with GEN_INT. (emit_memmov): Ditto. (emit_memset): Ditto. (ix86_expand_strlensi_unroll_1): Ditto.

[Bug c++/94937] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #1 from Christoph --- Created attachment 48433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48433=edit S file

[Bug c++/94937] New: ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000)

2020-05-03 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 Bug ID: 94937 Summary: ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

Re: [PATH] Enable GCC support for SERIALIZE

2020-05-03 Thread Uros Bizjak via Gcc-patches
On Wed, Apr 1, 2020 at 9:23 AM Hongtao Liu wrote: > > Hi: > This patch is about to enable GCC support for SERIALIZE which would > be in GLC. There's only 1 instruction: SERIALIZE, more details please > refer to >

Re: [PATCH] Enable GCC support for TSXLDTRK

2020-05-03 Thread Uros Bizjak via Gcc-patches
On Wed, Apr 1, 2020 at 9:27 AM Hongtao Liu wrote: > > Hi: > This patch is about to enable GCC support for TSXLDTRK which would > be in GLC. There's only 2 instructions: XRESLDTRK, XSUSLDTRK, more > details please > refer to >

[Bug target/94780] [8/9 Regression] ICE in walk_body at gcc/tree-nested.c:713 since r6-3632-gf6f69fb09c5f81df

2020-05-03 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780 --- Comment #7 from Andreas Schwab --- This also crashes on riscv64: /daten/riscv64/gcc/gcc-20200502/gcc/testsuite/gcc.dg/pr94780.c: In function 'foo': /daten/riscv64/gcc/gcc-20200502/gcc/testsuite/gcc.dg/pr94780.c:8:1: internal compiler error:

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-03 Thread Kamil Rytarowski
On 01.05.2020 21:49, Andreas Tobler wrote: > Hi all, > > FreeBSD does not have the alloca.h header. Do not include it in the test > cases which do include alloca.h. > > There are two versions of this patch available, the one attached which > uses ifdef or another one which defines alloca with

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #6 from Arseny Solokha --- Thank you. (In reply to Dr. Jürgen Sauermann from comment #5) > Not sure how I can create a testcase file other than preprocessing or > minimizing it. Of course preprocessing is what you've been asked to

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #5 from Dr. Jürgen Sauermann --- Hi, above is one preprocessed source file for which the warning has occurred. g++ version was 11.0.0 (latest from github). Compiled with: g++ -E -DHAVE_CONFIG_H -I. -I..-Wall -I sql -Werror

[PATCH v2 3/5] PRU: Fix R3.w0 register class

2020-05-03 Thread Dimitar Dimitrov
TI has clarified [1] that R3.w0 is caller saved, so allow compiler to use it. This is safe change because older GCC versions treat R3.w0 as fixed register and never use it. [1] https://e2e.ti.com/support/tools/ccs/f/81/t/849993 gcc/ChangeLog: 2020-05-03 Dimitar Dimitrov *

[PATCH v2 2/5] PRU: Simplify machine description

2020-05-03 Thread Dimitar Dimitrov
Use the new @insn syntax for simpler gen_* invocation. gcc/ChangeLog: 2020-05-03 Dimitar Dimitrov * config/pru/pru.c (pru_emit_doloop): Use new gen_doloop_end_internal and gen_doloop_begin_internal. (pru_reorg_loop): Use gen_pruloop with mode. *

[PATCH v2 5/5] PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED

2020-05-03 Thread Dimitar Dimitrov
Per clarification in [1], macro is supposed to check for partial clobbering of single HW registers. Since PRU declares only 8-bit HW registers, and ABI does not define individual bit clobbering, it is safe to remove the implementation. [1] https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00778.html

[PATCH v2 4/5] testsuite: pru: Add clobber test

2020-05-03 Thread Dimitar Dimitrov
gcc/testsuite/ChangeLog: 2020-05-03 Dimitar Dimitrov * gcc.target/pru/clobber-sp.c: New test. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.target/pru/clobber-sp.c | 24 +++ 1 file changed, 24 insertions(+) create mode 100644

[PATCH v2 1/5] PRU: Fix comment to avoid fall through warning

2020-05-03 Thread Dimitar Dimitrov
gcc/ChangeLog: 2020-05-03 Dimitar Dimitrov * config/pru/pru.c (pru_print_operand): Fix fall through comment. Signed-off-by: Dimitar Dimitrov --- gcc/config/pru/pru.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/pru/pru.c b/gcc/config/pru/pru.c

[PATCH v2 0/5] Updates for PRU backend

2020-05-03 Thread Dimitar Dimitrov
One of the changes frees a previously fixed register, per ABI clarification from TI, for local usage from function. The change is backwards compatible. Rest of changes are cleanups. Testsuite did not reveal any regressions. Dimitar Dimitrov (5): PRU: Fix comment to avoid fall through warning

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #4 from Dr. Jürgen Sauermann --- Created attachment 48431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48431=edit preprocessed apl-Bif_F12_FORMAT.cc, gzip'ed preprocessed source file apl-Bif_F12_FORMAT.cc

[Bug fortran/94931] request: print include path

2020-05-03 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #3

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

2020-05-03 Thread Mikael Pettersson via Gcc-patches
On Sat, May 2, 2020 at 9:46 PM Arnaud Charlet wrote: > > > 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

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

2020-05-03 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94930 --- Comment #1 from Marc Glisse --- AFAIK -ftrapv doesn't work very well and is kind of abandoned, in favor of -fsanitize=signed-integer-overflow (possibly with -fsanitize-undefined-trap-on-error), which does generate the code you expect.

[Bug analyzer/93993] ICE in make_region_for_unexpected_tree_code, at analyzer/region-model.cc:4786

2020-05-03 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93993 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #5

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #2 from Dr. Jürgen Sauermann --- I checked different g++ versions; the problem occurs in versions 9, 10, and 11 of g++ but not in version 8. I tried to shrink the code to the bare minimum but if I do so then the warning is no longer

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 --- Comment #4 from Jonathan Wakely --- Fixed on master, backport for gcc-10 will have to wait until after the 10.1 release.

[committed] libstdc++: Make byte-sized std::fill_n a constant expression (PR 94933)

2020-05-03 Thread Jonathan Wakely via Gcc-patches
The overload for byte types uses memset and isn't constexpr. This adds the specifier and uses std::is_constant_evaluated() to provide a compile-time alternative. PR libstdc++/94933 * include/bits/stl_algobase.h (__fill_a1): Make overload for byte types usable in constant

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:22b6b5d6cfb76deb68ca5bc0bcae8b4245df946d commit r11-30-g22b6b5d6cfb76deb68ca5bc0bcae8b4245df946d Author: Jonathan Wakely Date:

[Bug libstdc++/90943] Visiting inherited variants no longer works in 9.1

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90943 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.4 |---

[Bug c++/94896] [10/11 regression] ICE: canonical types differ for identical types

2020-05-03 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94896 Andreas Schwab changed: What|Removed |Added Target|sparc-*-* |sparc-*-* riscv64-*-* --- Comment #3

[Bug libstdc++/94936] pmr::synchronized_pool_resource crashes without -pthread

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94936 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/94936] New: pmr::synchronized_pool_resource crashes without -pthread

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94936 Bug ID: 94936 Summary: pmr::synchronized_pool_resource crashes without -pthread Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread rhalbersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 --- Comment #2 from rhalbersma --- Sorry, my bad, but that particular overload of __fill_a1 calls __builtin_memset. I was under the impression that this was the reason for the missing constexpr. It would be great if simply adding

[Bug middle-end/94935] New: Failure to emit call to absvsi2 for __builtin_abs with -ftrapv

2020-05-03 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94935 Bug ID: 94935 Summary: Failure to emit call to absvsi2 for __builtin_abs with -ftrapv Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/94933] std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/94934] New: Failure to inline addv

2020-05-03 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94934 Bug ID: 94934 Summary: Failure to inline addv Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug libstdc++/94933] New: std::fill_n delegates to __builtin_memset which is not constexpr

2020-05-03 Thread rhalbersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94933 Bug ID: 94933 Summary: std::fill_n delegates to __builtin_memset which is not constexpr Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

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

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 Jonathan Wakely changed: What|Removed |Added Known to fail||6.4.0, 7.5.0, 8.4.0

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

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/90736] [9 Regression] Bogus error with alignas

2020-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90736 Jonathan Wakely changed: What|Removed |Added CC||soap at gentoo dot org --- Comment #9

Re: [PATCH] gfortran: Get asan library from TEST_ALWAYS_FLAGS

2020-05-03 Thread Thomas Koenig via Gcc-patches
Hi H.J., I checked in this patch to fix: https://gcc.gnu.org/pipermail/gcc-regression/2020-May/072549.html Thanks for the fix!

Re: [PATCH] libiberty: Update D symbol demangling for latest ABI spec.

2020-05-03 Thread Iain Buclaw via Gcc-patches
Ping. There is a new mangle string "Nm" in the abi to denote the @live attribute, however will add support in a follow up patch. On 15 April 2020 12:04:29 CEST, Iain Buclaw via Gcc-patches wrote: >Ping. > >On 04/04/2020 13:33, Iain Buclaw wrote: >> Hi, >> >> Some small improvements and

[Bug c++/94932] New: ICE in ovl_skip_hidden, at cp/tree.c:2292

2020-05-03 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94932 Bug ID: 94932 Summary: ICE in ovl_skip_hidden, at cp/tree.c:2292 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal