[Bug tree-optimization/94567] New: wrong code at -O2 and -O3 on x86_64-linux-gnu

2020-04-11 Thread qrzhang at gatech dot edu
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: qrzhang at gatech dot edu Target Milestone: --- It's a recent regression. Bisection points to g:529ea7d9596b26ba103578eeab $ gcc-trunk -v gcc version 10.0.1 20200411 (experimental) [master revision

Re: Modifying RTL cost model to know about long-latency loads

2020-04-11 Thread Alan Modra via Gcc
On Sat, Apr 11, 2020 at 04:27:07PM -0700, Sasha Krassovsky via Gcc wrote: > However, in the following example, the load does get the cost applied to it > but the store to B does not. > > void bar(__attribute__((remote(5)) int *a, int *b) > { > if(*A > 5) > *A = 10; > *B = *A; >

[Bug ada/87972] remove -f*-prefix-map= options from Ada Library Information files

2020-04-11 Thread nicolas at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87972 Nicolas Boulenguez changed: What|Removed |Added Resolution|--- |INVALID

[Bug c++/94550] False positive with -Wparentheses

2020-04-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94550 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2020-04-11

Modifying RTL cost model to know about long-latency loads

2020-04-11 Thread Sasha Krassovsky via Gcc
Hello! I’m currently modifying the RISC-V backend for a manycore processor where each core is connected over a network. Each core has a local scratchpad memory, but can also read and write other cores’ scratchpads. I’d like to add an attribute to give a hint to the optimizer about which loads

gcc-9-20200411 is now available

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

[Bug tree-optimization/94566] New: conversion between std::strong_ordering and int

2020-04-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94566 Bug ID: 94566 Summary: conversion between std::strong_ordering and int Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[PATCH] i386: Remove mode size check in ix86_get_ssemov

2020-04-11 Thread H.J. Lu via Gcc-patches
Even though ix86_hard_regno_mode_ok doesn't allow xmm16-xmm31 nor ymm16-ymm31 in 128/256 bit modes when AVX512VL is disabled, reload can still generate reg to reg moves with xmm16-xmm31 and ymm16-ymm31 in 128/256 bit modes. Remove mode size check in ix86_get_ssemov. gcc/ PR target/94561

[Bug libstdc++/94565] New: C++20: Comparing comparison category types against 0/nullptr is not noexcept

2020-04-11 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94565 Bug ID: 94565 Summary: C++20: Comparing comparison category types against 0/nullptr is not noexcept Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug c++/94564] New: C++20: Three-way comparison between pointer and nullptr accepted

2020-04-11 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94564 Bug ID: 94564 Summary: C++20: Three-way comparison between pointer and nullptr accepted Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94563] Relational operations between pointer and nullptr accepted

2020-04-11 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94563 --- Comment #1 from Daniel Krügler --- To clarify the actual bug character of this issue, the following example shows it more clearly: template bool test(T*) { return true; } int main() { test((int*)(nullptr)); } This program should be

[Bug c++/94563] New: Relational operations between pointer and nullptr accepted

2020-04-11 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94563 Bug ID: 94563 Summary: Relational operations between pointer and nullptr accepted Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/94091] Erroneous __builtin_memcpy warning for character assignment

2020-04-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94091 Thomas Koenig changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org

[Bug libstdc++/94562] C++20: std::shared_ptr{} <=> nullptr ill-formed

2020-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94562 --- Comment #1 from Jonathan Wakely --- No, it's because that operator isn't implemented yet.

[Bug fortran/94109] Memory leak introduced in 8.3.0->8.3.1

2020-04-11 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 --- Comment #2 from Antony Lewis --- This may be the test case, though I'm not 100% sure: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361

[Bug libstdc++/94562] New: C++20: std::shared_ptr{} <=> nullptr ill-formed

2020-04-11 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94562 Bug ID: 94562 Summary: C++20: std::shared_ptr{} <=> nullptr ill-formed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/94104] Request for diagnostic improvement

2020-04-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94104 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/94109] Memory leak introduced in 8.3.0->8.3.1

2020-04-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org Last

Gff

2020-04-11 Thread Gabrysia G via Gcc
Wysłane z iPhone'a

[Bug target/94561] [10 Regression] ICE in ix86_get_ssemov

2020-04-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94561 Uroš Bizjak changed: What|Removed |Added Last reconfirmed||2020-04-11 Ever confirmed|0

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2020-04-11 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #14 from Piotr Kubaj --- Exact error for 10.0: In file included from /usr/ports/lang/gcc10-devel/work/gcc-10-20190825/libgcc/libgcc2.c:56: /usr/ports/lang/gcc10-devel/work/gcc-10-20190825/libgcc/libgcc2.c: In function '__multi3':

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2020-04-11 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #13 from Piotr Kubaj --- Breakage in GCC 10 was caused after 201900818 snapshot, but before 201900825 (201900825 is the first broken).

[Bug c++/55588] Failure to diagnose non-template-id prefixed by keyword template

2020-04-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55588 Marek Polacek changed: What|Removed |Added Blocks||94404 Assignee|unassigned at

[Bug c++/94560] ICE on recursive templated alias

2020-04-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94560 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-04-11 Ever confirmed|0

[Bug c++/94477] ICE in tsubst_expr, at cp/pt.c:18181

2020-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94477 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/93069] Assembler messages: Error: unsupported masking for `vextracti32x8'

2020-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93069 --- Comment #8 from Jakub Jelinek --- Yes, there is a larger patch approved for GCC11, but not for GCC10.

[Bug target/93069] Assembler messages: Error: unsupported masking for `vextracti32x8'

2020-04-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93069 --- Comment #7 from Arseny Solokha --- Is there some further work pending, or can this PR be closed?

[Bug c++/94477] ICE in tsubst_expr, at cp/pt.c:18181

2020-04-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94477 --- Comment #5 from Arseny Solokha --- Is there some further work pending, or can this PR be closed?

[Bug c++/86327] Spurious error on non-constant expression in constexpr function

2020-04-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86327 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/55004] [meta-bug] constexpr issues

2020-04-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 86327, which changed state. Bug 86327 Summary: Spurious error on non-constant expression in constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86327 What|Removed |Added

[Bug c++/86327] Spurious error on non-constant expression in constexpr function

2020-04-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86327 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4ded16a7782fd3a9e7b37291d04bca596b00b8bd commit r10-7688-g4ded16a7782fd3a9e7b37291d04bca596b00b8bd Author: Marek Polacek Date:

[committed] c++: Add test for PR 86327.

2020-04-11 Thread Marek Polacek via Gcc-patches
Fixed by r264171. Tested x86_64-pc-linux-gnu, applying to trunk. PR c++/86327 * g++.dg/cpp1y/constexpr-return5.C: New test. --- gcc/testsuite/g++.dg/cpp1y/constexpr-return5.C | 12 1 file changed, 12 insertions(+) create mode 100644

[Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov

2020-04-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94561 Bug ID: 94561 Summary: [10 Regression] ICE in ix86_get_ssemov Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[PATCH] coroutines: Fix compile error with symmetric transfers [PR94359]

2020-04-11 Thread Iain Sandoe
Hi Folks, sorry for the long CC list - please feel free to ignore if you don’t care :) I propose that this PR should be re-categorized as a “C++” one. The reason is that this is not an oversight in the GCC implementation, but a problem present in the general case. Library implementors feel

Re: [PATCH v2] Fix use of singleton in optinfo framework

2020-04-11 Thread Gerald Pfeifer
On Tue, 7 Apr 2020, Gustavo Romero via Gcc-patches wrote: > gcc/Changelog: > 2020-04-06 Gustavo Romero > > * dumpfile.c: > (selftest::temp_dump_context::temp_dump_context): Fix ctor. If you approve (David, Jakub, or someone else) I can take care of committing this if you like.

ICE on wrong code [PR94192]

2020-04-11 Thread Linus König
Hi, Here is the patch with some of the null pointer tests removed. This is regression-tested. ChangeLog and test case are as in https://gcc.gnu.org/pipermail/fortran/2020-April/054193.html . The list of test cases that fail without the remaining NULL check is below. Is this OK for trunk? Best

[Bug c++/86327] Spurious error on non-constant expression in constexpr function

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

[Bug c++/90526] Missing DW_AT_const_value for constexpr field

2020-04-11 Thread ssbssa at yahoo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90526 Hannes Domani changed: What|Removed |Added CC||ssbssa at yahoo dot de --- Comment #1

[Bug target/94494] gcc-10 unrecognizable insn

2020-04-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94494 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/94494] gcc-10 unrecognizable insn

2020-04-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94494 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:d2fee90546d0f04595301af8f3786b8e1671814a commit r9-8492-gd2fee90546d0f04595301af8f3786b8e1671814a Author: Uros Bizjak Date:

[Bug target/94494] gcc-10 unrecognizable insn

2020-04-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94494 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:59eddd9769057ee094cdae09b15b257cc3db690f commit r9-8491-g59eddd9769057ee094cdae09b15b257cc3db690f Author: Uros Bizjak Date:

[Bug c++/94560] New: ICE on recursive templated alias

2020-04-11 Thread pacoarjonilla at yahoo dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94560 Bug ID: 94560 Summary: ICE on recursive templated alias Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[PATCH] i386: Fix REDUC_SSE_SMINMAX_MODE mode conditions. [PR94494]

2020-04-11 Thread Uros Bizjak via Gcc-patches
V4SI, V8HI and V16QI modes of redux__scal_ expander expand with SSE2 instructions (PSRLDQ and PCMPGTx) so use TARGET_SSE2 as relevant mode iterator codition. 2020-04-11 Uroš Bizjak PR target/94494 * config/i386/sse.md (REDUC_SSE_SMINMAX_MODE): Use TARGET_SSE2 condition for V4SI,

[Bug target/94494] gcc-10 unrecognizable insn

2020-04-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94494 --- Comment #6 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:f883c46b4877f637e0fa5025b4d6b5c9040ec566 commit r10-7687-gf883c46b4877f637e0fa5025b4d6b5c9040ec566 Author: Uros Bizjak Date: Sat

[Bug libstdc++/94559] Nitpick: std::array constexpr_fill test isn't constexpr

2020-04-11 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94559 Eyal Rozenberg changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/94559] New: Nitpick: constexpr_fill test isn't constexpr

2020-04-11 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94559 Bug ID: 94559 Summary: Nitpick: constexpr_fill test isn't constexpr Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/94558] New: Designated initializer inside _Generic is misinterpreted

2020-04-11 Thread elronnd at elronnd dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94558 Bug ID: 94558 Summary: Designated initializer inside _Generic is misinterpreted Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/33661] template methods forget explicit local register asm vars

2020-04-11 Thread mp8191mp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661 Martin Papik changed: What|Removed |Added CC||mp8191mp at gmail dot com --- Comment