[Bug c/94573] New: Optimizer produces suboptimal code related to -fstore-merging

2020-04-12 Thread zhongyunde at tom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94573 Bug ID: 94573 Summary: Optimizer produces suboptimal code related to -fstore-merging Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/94504] On powerpc, -ffunction-sections -fdata-sections is not as effective as expected for PIE and PIC

2020-04-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94504 Alan Modra changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIRMED

Re: [PATCH v2 2/2] RISC-V: Handle implied extension for -march parser.

2020-04-12 Thread Kito Cheng
On Sat, Apr 11, 2020 at 1:48 AM Jim Wilson wrote: > > On Fri, Apr 10, 2020 at 2:20 AM Kito Cheng wrote: > > - Implied rule are introduced into latest RISC-V ISA spec. > > - Only implemented D implied F-extension. Zicsr and Zifence are not > > implement yet, so the rule not included in

Re: [PATCH] Support the new ("v0") mangling scheme in rust-demangle.

2020-04-12 Thread Eduard-Mihai Burtescu
Ping 3: https://gcc.gnu.org/pipermail/gcc-patches/2020-March/542012.html Thanks, - Eddy B. On Tue, Apr 7, 2020, at 00:52, Eduard-Mihai Burtescu wrote: > Ping 2: https://gcc.gnu.org/pipermail/gcc-patches/2020-March/542012.html > > Thanks, > - Eddy B. > > On Fri, Mar 13, 2020, at 10:28 PM,

[Bug c++/94569] alignas(object) with a weaker (smaller) alignment than the alignas(type) of it's type compiles, inconsistent with the C++ standard

2020-04-12 Thread sinbal2l at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569 --- Comment #2 from Inbal Levi --- Yes, you're probably right, got the wrong one. Thanks!

[PATCH v2] rs6000: Don't use HARD_FRAME_POINTER_REGNUM if it's not live in pro_and_epilogue (PR91518)

2020-04-12 Thread luoxhu via Gcc-patches
This bug is exposed by FRE refactor of r263875. Comparing the fre dump file shows no obvious change of the segment fault function proves it to be a target issue. frame_pointer_needed is set to true in reload pass setup_can_eliminate, but regs_ever_live[31] is false, pro_and_epilogue uses it

[Bug c++/94569] alignas(object) with a weaker (smaller) alignment than the alignas(type) of it's type compiles, inconsistent with the C++ standard

2020-04-12 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

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

2020-04-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94564 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/94572] Expunge references to direct-declarator

2020-04-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94572 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug c++/94572] New: Expunge references to direct-declarator

2020-04-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94572 Bug ID: 94572 Summary: Expunge references to direct-declarator Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/87699] Implement CWG 1512

2020-04-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 --- Comment #6 from Marek Polacek --- See Daniel's testcase for why this is more important than it might seem: template bool test(T*) { return true; } int main() { test((int*)(nullptr)); }

[Bug c++/87699] Implement CWG 1512

2020-04-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 Marek Polacek changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/87699] Implement CWG 1512

2020-04-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 Marek Polacek changed: What|Removed |Added Assignee|beliveau0213 at gmail dot com |mpolacek at gcc dot gnu.org

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

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

[Bug c++/94571] Error: Expected comma or semicolon, comma found

2020-04-12 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94571 --- Comment #1 from Joel Yliluoma --- | ^ (Missing line from the paste) The problem exists since GCC 7. (GCC 6 and earlier did not support structured bindings.)

[Bug c++/94571] New: Error: Expected comma or semicolon, comma found

2020-04-12 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94571 Bug ID: 94571 Summary: Error: Expected comma or semicolon, comma found Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

gcc-10-20200412 is now available

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

Re: [PATCH] reject scalar array initialization with nullptr [PR94510]

2020-04-12 Thread Martin Sebor via Gcc-patches
On 4/10/20 8:52 AM, Jason Merrill wrote: On 4/9/20 4:23 PM, Martin Sebor wrote: On 4/9/20 1:32 PM, Jason Merrill wrote: On 4/9/20 3:24 PM, Martin Sebor wrote: On 4/9/20 1:03 PM, Jason Merrill wrote: On 4/8/20 1:23 PM, Martin Sebor wrote: On 4/7/20 3:36 PM, Marek Polacek wrote: On Tue, Apr

[PATCH] x86: Restore the frame pointer in word_mode

2020-04-12 Thread H.J. Lu via Gcc-patches
We must restore the frame pointer in word_mode for eh_return epilogues since the upper 32 bits of RBP register can have any values. Tested on Linux/x32 and Linux/x86-64. OK for master and backport to GCC 8/9 branches? Thanks. H.J. --- PR target/94556 * config/i386/i386.c

[Bug gcov-profile/94570] New: -fprofile-dir is broken on Cygwin

2020-04-12 Thread john at selbie dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94570 Bug ID: 94570 Summary: -fprofile-dir is broken on Cygwin Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile

[Bug c++/94569] New: alignas(object) with a weaker (smaller) alignment than the alignas(type) of it's type compiles, inconsistent with the C++ standard

2020-04-12 Thread sinbal2l at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569 Bug ID: 94569 Summary: alignas(object) with a weaker (smaller) alignment than the alignas(type) of it's type compiles, inconsistent with the C++ standard Product: gcc

[Bug c++/94568] New: template specialization of equivalent nontype template argument involving member pointer considered distinct

2020-04-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94568 Bug ID: 94568 Summary: template specialization of equivalent nontype template argument involving member pointer considered distinct Product: gcc Version: 10.0 Status:

[Bug target/94556] [10 Regression] FAIL: nptl/tst-thread-exit-clobber

2020-04-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com ---

[Bug fortran/94090] ICE on mismatched interface

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

Re: Request to deprecate offloading to HSAIL in GCC

2020-04-12 Thread Jeff Law via Gcc
On Thu, 2020-04-09 at 21:17 +0200, Jakub Jelinek wrote: > On Thu, Apr 09, 2020 at 07:43:02PM +0200, Martin Jambor wrote: > > Therefore it is only fair to warn the community and any possible hidden > > users or would-be users that it is very likely that I will propose > > removal of HSAIL

[Bug fortran/53077] replace "Illegal preprocessor directive" message with "Ignoring preprocessor directive at %C. Use -cpp to enable the C preprocessor" (a patch by Tobias included)

2020-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53077 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|dominiq

[Bug fortran/89938] inconsistent wording regarding assumed shape

2020-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89938 Dominique d'Humieres changed: What|Removed |Added Assignee|dominiq at lps dot ens.fr |unassigned at gcc dot

[Bug fortran/54687] Use gcc option machinery for gfortran

2020-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54687 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|dominiq

[Bug fortran/58200] Option fcheck is misleadingly located in option descriptions

2020-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58200 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug fortran/84594] Warning: Use of the NUMERIC_STORAGE_SIZE named constant from intrinsic module ISO_FORTRAN_ENV at (1) is incompatible with option -fdefault-integer-8

2020-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84594 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|dominiq

[Bug fortran/58200] Option fcheck is misleadingly located in option descriptions

2020-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58200 Dominique d'Humieres changed: What|Removed |Added Assignee|dominiq at lps dot ens.fr |unassigned at gcc dot

[Bug fortran/94090] ICE on mismatched interface

2020-04-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94090 --- Comment #2 from Dominique d'Humieres --- > Confirmed at least down to gfortran 7. Down to gfortran 5.

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

2020-04-12 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #16 from Piotr Kubaj --- 634afa05a8cbff010480088811fe1f39eca70c1d is the first bad commit commit 634afa05a8cbff010480088811fe1f39eca70c1d Author: Richard Sandiford Date: Tue Aug 20 08:53:52 2019 + Make function.c use

[Bug fortran/94090] ICE on mismatched interface

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

[Bug c++/86859] error: expansion pattern contains no parameter pack when a pack from introduced in a capture is used in decltype

2020-04-12 Thread baptiste.parsy at epita dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86859 Baptiste Parsy changed: What|Removed |Added CC||baptiste.parsy at epita dot fr ---

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

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

Committed Fortran test case for PR

2020-04-12 Thread Thomas Koenig via Gcc-patches
Hi, I just committed a test case for PR 94091 as obvious. I had to fight git tooth and nail to do this. I'm sure that git does wonderful things for you when you have a mental picture in your mind of what is actually going on For people who don't, it is a catastrophe, and this includes most of

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

2020-04-12 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94091 --- Comment #2 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:87be4cecfc6e42390303be1ca92bc8bc587b0bd6 commit r10-7691-g87be4cecfc6e42390303be1ca92bc8bc587b0bd6 Author: Thomas König Date:

[Bug target/94556] [10 Regression] FAIL: nptl/tst-thread-exit-clobber

2020-04-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556 --- Comment #5 from H.J. Lu --- The code looks like: vmovq %xmm2, %r15 vmovq %xmm3, %rbp .LEHB0: callpthread_exit .LEHE0: .L15: movl%eax, %ebx .L14: vmovq %rbp, %xmm0 movl$4,

[PATCH] c++: Infinite diagnostic loop with decltype([]{}) [PR94521]

2020-04-12 Thread Patrick Palka via Gcc-patches
We are hitting a recursive loop when printing the signature of a function containing a decltype([]{}) type. The loop is dump_function_decl -> dump_substitution -> dump_template_bindings -> dump_type -> dump_aggr_type

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-12 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 --- Comment #10 from John David Anglin --- Created attachment 48257 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48257=edit Patch to fix argument alignment

Re: [PATCH] c++: Stray RESULT_DECLs in result of constexpr function call [PR94034]

2020-04-12 Thread Patrick Palka via Gcc-patches
On Sat, 11 Apr 2020, Jason Merrill wrote: > On 4/10/20 5:47 PM, Patrick Palka wrote: > > On Fri, 10 Apr 2020, Jason Merrill wrote: > > > On 4/10/20 2:15 PM, Patrick Palka wrote: > > > > On Fri, 10 Apr 2020, Patrick Palka wrote: > > > > > > > > > On Fri, 10 Apr 2020, Jason Merrill wrote: > > > >

[committed] Darwin, testsuite: Adjust indirect thunk tests for default flags.

2020-04-12 Thread Iain Sandoe
Hi, This has been on my TODO for a while, it fixes up a bunch of tests that changed when the default shifted to no-common. tested on x86_64-darwin16 / x86-64-linux-gnu applied to master, thanks Iain Darwin mandates an indirection for variables in the commmon section. Since the change to

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

2020-04-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94561 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

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

2020-04-12 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 Piotr Kubaj changed: What|Removed |Added CC||richard.sandiford at arm dot com ---