[Bug target/94646] New: [arm] invalid codegen for conversion from 64-bit int to double hardfloat

2020-04-17 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94646 Bug ID: 94646 Summary: [arm] invalid codegen for conversion from 64-bit int to double hardfloat Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/94645] incorrect concecpt evaluation with decltype, plus internal erropr

2020-04-17 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94645 --- Comment #1 from Avi Kivity --- Created attachment 48304 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48304=edit reduced test case (after preprocessing) This is what the compiler spat out after it failed to compile the

[Bug c++/94645] New: incorrect concecpt evaluation with decltype, plus internal erropr

2020-04-17 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94645 Bug ID: 94645 Summary: incorrect concecpt evaluation with decltype, plus internal erropr Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94644] New: Wrong is_nothrow_move_constructible result if used in a template first

2020-04-17 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94644 Bug ID: 94644 Summary: Wrong is_nothrow_move_constructible result if used in a template first Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/94255] template specialization in different namespace causes crash

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

[Bug c++/94592] [10 Regression] ICE in non-type template parameter with constexpr constructor

2020-04-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94592 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #8 from Marek Polacek

[Bug c++/88601] We may consider adding __builtin_convertvector and __builtin_shufflevector for better compaitbility with Clang

2020-04-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88601 --- Comment #4 from Andrew Pinski --- (In reply to Jeff Muizelaar from comment #3) > As heads up, we're also starting to use __builtin_shufflevector in Firefox: > https://searchfox.org/mozilla-central/source/gfx/wr/swgl/src/vector_type.h > > We

[Bug tree-optimization/94643] [sign extension of nonnegative value from 32 to 64 bits

2020-04-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94643 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

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

2020-04-17 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #206 from dave.anglin at bell dot net --- Does adding the linker option "-Wl,-O" help to reduce the size of cc1 and cc1plus?

[Bug target/94643] New: [x86_64] gratuitous sign extension of nonnegative value from 32 to 64 bits

2020-04-17 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94643 Bug ID: 94643 Summary: [x86_64] gratuitous sign extension of nonnegative value from 32 to 64 bits Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/88601] We may consider adding __builtin_convertvector and __builtin_shufflevector for better compaitbility with Clang

2020-04-17 Thread jmuizelaar at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88601 Jeff Muizelaar changed: What|Removed |Added CC||jmuizelaar at mozilla dot com ---

Re: [PATCH][libstd++][PR92156]

2020-04-17 Thread kamlesh kumar via Gcc-patches
On Fri, Apr 17, 2020, 10:59 PM kamlesh kumar wrote: > Fixes all this. > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92156 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91630 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 > > On Fri, Apr 17, 2020 at 10:45 PM kamlesh kumar > wrote: > > >

[Bug c++/94231] Invalid move constructor defaulted outside of class as deleted is accepted

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

[RFA] Require powerpc_vsx_ok in gcc.target/powerpc/pr71763.c

2020-04-17 Thread Joel Brobecker
From: Douglas Rupp Hello, (submitting this on behalf of Doug Rupp, one of my colleagues) We're getting an error when running this test on PowerPC VxWorks 7, due to an unexpected warning: | Excess errors: | cc1: warning: '-mvsx' and '-mno-altivec' are incompatible The warning comes

[committed] libstdc++: Add comparison operators to types

2020-04-17 Thread Jonathan Wakely via Gcc-patches
Some more C++20 changes from P1614R2, "The Mothership has Landed". * include/std/chrono (duration, time_point): Define operator<=> and remove redundant operator!= for C++20. * testsuite/20_util/duration/comparison_operators/three_way.cc: New test. *

[committed] libstdc++: Fix testsuite utility's use of allocators

2020-04-17 Thread Jonathan Wakely via Gcc-patches
In C++20 the rebind and const_reference members of std::allocator are gone, so this testsuite utility stopped working, causing ext/pb_ds/regression/priority_queue_rand_debug.cc to FAIL. * testsuite/util/native_type/native_priority_queue.hpp: Use allocator_traits to rebind

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

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

[committed] libstdc++: Add comparison operators to sequence containers

2020-04-17 Thread Jonathan Wakely via Gcc-patches
Some more C++20 changes from P1614R2, "The Mothership has Landed". This implements <=> for sequence containers (and the __normal_iterator and _Pointer_adapter class templates). * include/bits/forward_list.h (forward_list): Define operator<=> and remove redundant comparison

gcc-8-20200417 is now available

2020-04-17 Thread GCC Administrator via Gcc
Snapshot gcc-8-20200417 is now available on https://gcc.gnu.org/pub/gcc/snapshots/8-20200417/ 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 target/94417] -fcf-protection -mcmodel=large/-mforce-indirect-call is broken

2020-04-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94417 --- Comment #8 from H.J. Lu --- Fixed for GCC 10, GCC 9.4 and GCC 8.5.

[Bug target/94417] -fcf-protection -mcmodel=large/-mforce-indirect-call is broken

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94417 --- Comment #7 from CVS Commits --- The releases/gcc-8 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:99ddb11c0840f68466a14fd583dd4d3a558d4961 commit r8-10186-g99ddb11c0840f68466a14fd583dd4d3a558d4961 Author: H.J. Lu Date: Fri

[Bug target/89355] Unnecessary ENDBR

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89355 --- Comment #10 from CVS Commits --- The releases/gcc-8 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:99ddb11c0840f68466a14fd583dd4d3a558d4961 commit r8-10186-g99ddb11c0840f68466a14fd583dd4d3a558d4961 Author: H.J. Lu Date: Fri

[Bug target/94622] testsuite/gcc.dg/atomic/c11-atomic-exec-1.c fails on powerpc64le with -mpcrel

2020-04-17 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94622 --- Comment #1 from acsawdey at gcc dot gnu.org --- Compiling with -dap we see: sync # 7[c=12 l=4] *hwsync plq 8,.LANCHOR0@pcrel# 8[c=8 l=12] load_quadpti mr 10,9 # 9[c=4

[Bug target/94417] -fcf-protection -mcmodel=large/-mforce-indirect-call is broken

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94417 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:4a745938b56da04ed01055d5bcb520dc1c760414 commit r9-8508-g4a745938b56da04ed01055d5bcb520dc1c760414 Author: H.J. Lu Date: Fri

[Bug target/89355] Unnecessary ENDBR

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89355 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:4a745938b56da04ed01055d5bcb520dc1c760414 commit r9-8508-g4a745938b56da04ed01055d5bcb520dc1c760414 Author: H.J. Lu Date: Fri

Re: [PATCH] wwwdocs: document my changes for gcc 10

2020-04-17 Thread Gerald Pfeifer
On Thu, 16 Apr 2020, David Malcolm wrote: > Validates. The wording could probably use some work. I did not really spot anything, and rather found your writing very clear. > OK to push to the website repo? Yes, thank you. > +https://cwe.mitre.org/;>CWE weakness identifiers, which Here you

Re: [PATCH] wwwdocs: document my changes for gcc 10

2020-04-17 Thread Jeff Law via Gcc-patches
On Thu, 2020-04-16 at 19:15 -0400, David Malcolm via Gcc-patches wrote: > Validates. The wording could probably use some work. > > OK to push to the website repo? OK. As are any small updates if you wanted to twiddle the wording. jeff >

Re: [PATCH] x86: Insert ENDBR if function will be called indirectly

2020-04-17 Thread Jeff Law via Gcc-patches
On Fri, 2020-04-17 at 08:18 -0700, H.J. Lu wrote: > On Wed, Apr 8, 2020 at 9:41 AM Jeff Law wrote: > > On Wed, 2020-04-08 at 09:23 -0700, H.J. Lu wrote: > > > On Wed, Apr 8, 2020 at 9:16 AM Jeff Law wrote: > > > > On Tue, 2020-03-31 at 08:11 -0700, H.J. Lu via Gcc-patches wrote: > > > > > Since

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2020-04-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug driver/90983] manual documents `-Wno-stack-usage` flag, but it is unrecognized

2020-04-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90983 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug middle-end/94642] New: missing -Wformat-overflow on %f with excessive precision

2020-04-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94642 Bug ID: 94642 Summary: missing -Wformat-overflow on %f with excessive precision Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[committed] [PR rtl-optimization/90275] Another 90275 related cse.c fix

2020-04-17 Thread Jeff Law via Gcc-patches
This isn't precisely the same issue that we were originally tracking with 90275, but it's closely related and we might as well stuff it in the same bucket. This time instead of having a NOP copy insn that we can completely ignore and ultimately remove, we have a NOP set within a multi-set

[Bug rtl-optimization/90275] [8/9/10 Regression] ICE: in insert_regs, at cse.c:1128 with -O2 -fno-dce -fno-tree-dce

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90275 --- Comment #22 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:3737ccc424c56a2cecff202dd79f88d28850eeb2 commit r10-7781-g3737ccc424c56a2cecff202dd79f88d28850eeb2 Author: Jeff Law Date: Fri Apr 17

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

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

[Bug c/94641] New: -Wpadded -fsanitize=undefined together cause warning on main()

2020-04-17 Thread edgardragon444 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94641 Bug ID: 94641 Summary: -Wpadded -fsanitize=undefined together cause warning on main() Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

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

2020-04-17 Thread Martin Sebor via Gcc-patches
On 4/17/20 12:19 AM, Jason Merrill wrote: On 4/15/20 1:30 PM, Martin Sebor wrote: On 4/13/20 8:43 PM, Jason Merrill wrote: On 4/12/20 5:49 PM, Martin Sebor wrote: 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

[Bug c/94631] Wrong codegen for arithmetic on bitfields

2020-04-17 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94631 --- Comment #8 from Rich Felker --- OK, I think it's in 6.3.1.1 Boolean, characters, and integers, ¶2, but somewhat poorly worded: "The following may be used in an expression wherever an int or unsigned int may be used: - An object or

Re: [RFC] split pseudos during loop unrolling in RTL unroller

2020-04-17 Thread Segher Boessenkool
On Fri, Apr 17, 2020 at 08:53:08AM +0200, Richard Biener wrote: > On Thu, Apr 16, 2020 at 7:46 PM Segher Boessenkool > wrote: > > > > On Thu, Apr 16, 2020 at 10:33:45AM +0200, Richard Biener wrote: > > > On Wed, Apr 15, 2020 at 11:23 PM Segher Boessenkool > > > > On a general note, we shouldn't

[Bug c/94631] Wrong codegen for arithmetic on bitfields

2020-04-17 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94631 --- Comment #7 from Rich Felker --- Can you provide a citation for that?

[Bug c/94631] Wrong codegen for arithmetic on bitfields

2020-04-17 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94631 --- Comment #6 from joseph at codesourcery dot com --- On Fri, 17 Apr 2020, bugdal at aerifal dot cx wrote: > No, GCC's treatment also seems to mess up bitfields smaller than int and fully > governed by the standard (no implementation-defined

[PATCH] c++: Fix ICE with { } as template argument [PR94592]

2020-04-17 Thread Marek Polacek via Gcc-patches
As an extension (there should be a CWG about this though), we support braced-init-list as a template argument, but convert_nontype_argument had trouble digesting them. We ICEd because of the double coercion we perform for template arguments: convert_nontype_argument called from

Re: [patch, fortran] Fix PR PR93500

2020-04-17 Thread Fritz Reese via Gcc-patches
On Fri, Apr 17, 2020 at 10:33 AM Thomas Koenig wrote: > > Hi Fritz, > > > First, it appears if simplify_bound_dim returns _bad_expr (and a > > div/0 occurs) then this code will free _bad_expr. I'm not sure > > whether or not that can actually occur, but it is certainly incorrect, > > since

gcc 10 fpcr

2020-04-17 Thread Joel Sherrill
Hi Over at RTEMS, we have had a report that this very old code has quit compiling: #ifdef __SSE__ #define _CPU_Context_restore_fp(fp_context_pp) \ do { \ __asm__ __volatile__( \ "fldcw %0" \

[Bug target/93146] C++ TLS init function not generated on AIX

2020-04-17 Thread andrew at ishiboo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93146 Andrew Paprocki changed: What|Removed |Added CC||andrew at ishiboo dot com --- Comment

Re: [PATCH] aarch64: Fix .cfi_window_save with pac-ret [PR94515]

2020-04-17 Thread Jason Merrill via Gcc-patches
On 4/17/20 1:55 PM, Szabolcs Nagy wrote: The 04/17/2020 12:50, Jason Merrill wrote: On 4/17/20 6:08 AM, Kyrylo Tkachov wrote: Hi Szabolcs, -Original Message- From: Szabolcs Nagy Sent: 09 April 2020 15:20 To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw ; Richard Sandiford ; Kyrylo

Re: [PATCH] c++: spec_hasher::equal and PARM_DECLs [PR94632]

2020-04-17 Thread Jason Merrill via Gcc-patches
On 4/17/20 1:35 PM, Patrick Palka wrote: In the testcase below, during specialization of c::d, we build two identical specializations of the parameter type b -- one when substituting into c::d's TYPE_ARG_TYPES and another when substituting into c::d's DECL_ARGUMENTS. We don't reuse the first

[Bug debug/94439] [10 Regression] gcc: error: gcc/testsuite/gcc.dg/torture/builtin-complex-1.c: ‘-fcompare-debug’ failure since r10-3499-g0ce77f463d1d150e

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94439 --- Comment #6 from Jeffrey A. Law --- And has likely been broken since the introduction of VTA if I'm reading the code correctly.

Re: introduce target tmpnam and require it in tests relying on it

2020-04-17 Thread Martin Sebor via Gcc-patches
On 4/17/20 11:48 AM, Alexandre Oliva wrote: On Apr 9, 2020, Alexandre Oliva wrote: Some target C libraries that aren't recognized as freestanding don't have filesystem support, so calling tmpnam, fopen/open and remove/unlink fails to link. This patch introduces a tmpnam effective target

[Bug debug/94439] [10 Regression] gcc: error: gcc/testsuite/gcc.dg/torture/builtin-complex-1.c: ‘-fcompare-debug’ failure since r10-3499-g0ce77f463d1d150e

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94439 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at redhat dot com ---

Re: [PATCH] c++: Abbreviated function template return type [PR92187]

2020-04-17 Thread Jason Merrill via Gcc-patches
On 4/17/20 9:40 AM, Patrick Palka wrote: When updating an auto return type of an abbreviated function template in splice_late_return_type, we should also propagate PLACEHOLDER_TYPE_CONSTRAINTS (and cv-qualifiers) of the original auto node. Bootstrapped and regtested on x86_64-pc-linux-gnu, does

[Bug middle-end/94635] [OpenMP][Offloading] mapping with alloc/delete followed by map(from/tofrom:) fails

2020-04-17 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94635 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[PATCH 1/1] PR94613: Fix vec_sel builtin for IBM Z

2020-04-17 Thread Andreas Krebbel via Gcc-patches
The vsel instruction is a bit-wise select instruction. Using an IF_THEN_ELSE to express it in RTL is wrong and leads to wrong code being generated in the combine pass. With the patch the pattern is written using bit operations. However, I've just noticed that the manual still demands a fixed

Grillautomat mit kostenloser Beklebung

2020-04-17 Thread Risto Vending GmbH
Grillautomat mit kostenloser Beklebung Besuchen Sie hier die [Webversion](https://amxe.net/5ci6gq4n-dtlrq76a-3tasn6h2-1cgh). Jetzt Grillfleischautomaten kaufen == Unsere Food-Box 24/7 Immer mehr Verbraucher sind auf der Suche nach

[Bug tree-optimization/51513] Only partially optimizes away __builtin_unreachable switch default case

2020-04-17 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51513 Peter Bergner changed: What|Removed |Added Status|CLOSED |REOPENED Resolution|FIXED

Re: introduce target tmpnam and require it in tests relying on it

2020-04-17 Thread Alexandre Oliva
On Apr 9, 2020, Alexandre Oliva wrote: > Some target C libraries that aren't recognized as freestanding don't > have filesystem support, so calling tmpnam, fopen/open and > remove/unlink fails to link. > This patch introduces a tmpnam effective target to the testsuite, and > requires it in the

[Bug debug/94439] [10 Regression] gcc: error: gcc/testsuite/gcc.dg/torture/builtin-complex-1.c: ‘-fcompare-debug’ failure since r10-3499-g0ce77f463d1d150e

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94439 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #4

[Bug c++/88754] [8/9 Regression] Constructor call wrongly assumed to be a variable declaration

2020-04-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88754 Patrick Palka changed: What|Removed |Added Summary|[8/9/10 Regression] |[8/9 Regression]

[Bug c++/94483] [9 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607

2020-04-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94483 Patrick Palka changed: What|Removed |Added Summary|[9/10 Regression] ICE: tree |[9 Regression] ICE: tree

[Bug c++/88754] [8/9/10 Regression] Constructor call wrongly assumed to be a variable declaration

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88754 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3f5af3f71195b7f1ebe32bd0d695b59904fff778 commit r10-7779-g3f5af3f71195b7f1ebe32bd0d695b59904fff778 Author: Patrick Palka Date:

[Bug c++/94483] [9/10 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94483 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a28edad3da5c59f09565d3d42e20be1a924986c4 commit r10-7780-ga28edad3da5c59f09565d3d42e20be1a924986c4 Author: Patrick Palka Date:

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-17 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #2 from David Binderman --- Host and target are the same: x86_64-pc-linux-gnu

[Bug objc/94637] [10 Regression] @selector() broken for selectors containing repeated colons

2020-04-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

Re: [PATCH] aarch64: Fix .cfi_window_save with pac-ret [PR94515]

2020-04-17 Thread Szabolcs Nagy
The 04/17/2020 12:50, Jason Merrill wrote: > On 4/17/20 6:08 AM, Kyrylo Tkachov wrote: > > Hi Szabolcs, > > > > > -Original Message- > > > From: Szabolcs Nagy > > > Sent: 09 April 2020 15:20 > > > To: gcc-patches@gcc.gnu.org > > > Cc: Richard Earnshaw ; Richard Sandiford > > > ; Kyrylo

[Bug fortran/94090] ICE on mismatched interface

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

[Bug fortran/94090] ICE on mismatched interface

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94090 --- Comment #4 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:2298af0800b292f028298c1eaec42fd3033c4b9b commit r10-7778-g2298af0800b292f028298c1eaec42fd3033c4b9b Author: Thomas König Date:

[Bug c/94106] [8/9/10 Regression] error on a function redeclaration with attribute transaction_safe

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug objc/94637] [10 Regression] @selector() broken for selectors containing repeated colons

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug driver/90392] Bogus value for %u in LINK_PLUGIN_SPEC

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90392 Jeffrey A. Law changed: What|Removed |Added Status|WAITING |NEW Summary|[8/9/10

[PATCH] c++: spec_hasher::equal and PARM_DECLs [PR94632]

2020-04-17 Thread Patrick Palka via Gcc-patches
In the testcase below, during specialization of c::d, we build two identical specializations of the parameter type b -- one when substituting into c::d's TYPE_ARG_TYPES and another when substituting into c::d's DECL_ARGUMENTS. We don't reuse the first specialization the second time around as a

[Bug driver/90983] manual documents `-Wno-stack-usage` flag, but it is unrecognized

2020-04-17 Thread Torsten at Robitzki dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90983 --- Comment #5 from Torsten Robitzki --- (In reply to Martin Sebor from comment #4) > Using a very large -Wstack-usage argument should effectively disable the > warning. E.g., -Wstack-usage=4EiB or -Wstack-usage=$(getconf ULONG_MAX).

[PATCH][x86][1/3]: Add -mzero-caller-saved-regs=[skip|used-gpr|all-gpr|used|all]

2020-04-17 Thread Qing Zhao via Gcc-patches
Hi, This is a PING for an old patch proposed by H. J. Lu on Oct, 2018: https://gcc.gnu.org/legacy-ml/gcc-patches/2018-10/msg02079.html This is the first patch of the total 3 patches set, which provides the following new feature: -mzero-caller-saved-regs=[skip|used-gpr|all-gpr|used|all]

[PATCH][x86][2/3]: Add -mzero-caller-saved-regs=[skip|used-gpr|all-gpr|used|all]

2020-04-17 Thread Qing Zhao via Gcc-patches
Hi, This is the 2nd patch of the total 3 patches set for providing the new feature -mzero-caller-saved-regs for linux kernel security improvement. This patch is for resolving the new regressions triggered by the first patch. This patch is to Add ix86_any_return_p to check simple_return in a

[PATCH][x86][3/3]: Add -mzero-caller-saved-regs=[skip|used-gpr|all-gpr|used|all]

2020-04-17 Thread Qing Zhao via Gcc-patches
Hi, This is the 3rd patch of the total 3 patches set for providing the new feature -mzero-caller-saved-regs for linux kernel security improvement. This patch is to Update gcc.target/i386/ret-thunk-2[234].c Qing 0003-Update-gcc.target-i386-ret-thunk-2-234-.c.patch Description: Binary data

Re: [PATCH][libstd++][PR92156]

2020-04-17 Thread kamlesh kumar via Gcc-patches
Fixes all this. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92156 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91630 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 On Fri, Apr 17, 2020 at 10:45 PM kamlesh kumar wrote: > > This patch corrects the requirement of 4,5 and 6th constructor > As

[PATCH][libstd++][PR92156]

2020-04-17 Thread kamlesh kumar via Gcc-patches
This patch corrects the requirement of 4,5 and 6th constructor As per https://en.cppreference.com/w/cpp/utility/any/any. ChangeLog: 2020-04-17 Kamlesh Kumar PR libstdc++/92156 * include/std/any (ans::any(_ValueType &&):: Remove is_constructible.

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-17 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #1 from Iain Buclaw --- Needs more host/target information.

[Bug middle-end/94635] [OpenMP][Offloading] mapping with alloc/delete followed by map(from/tofrom:) fails

2020-04-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94635 --- Comment #2 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:af557050fd011a03d21dc26b31959033061a0443 commit r10--gaf557050fd011a03d21dc26b31959033061a0443 Author: Tobias Burnus Date:

Re: [PATCH 0/19][GCC-8] aarch64: Backport outline atomics

2020-04-17 Thread Pop, Sebastian via Gcc-patches
Hi Andre, the patch series passed bootstrap and check with no new fails on Graviton2 aarch64-linux. Thanks, Sebastian On 4/16/20, 12:24 PM, "Pop, Sebastian" wrote: Thanks Andre for the back-port to gcc-8. Overall the patches look good to me. Could you please move the patch

Re: [PATCH] c++: Hard error with tentative parse of declaration [PR88754]

2020-04-17 Thread Jakub Jelinek via Gcc-patches
On Fri, Apr 17, 2020 at 12:45:37PM -0400, Jason Merrill via Gcc-patches wrote: > On 4/16/20 7:33 PM, Patrick Palka wrote: > > In the testcase for this PR, we try to parse the statement > > > >A(value<0>()); > > > > first tentatively as a declaration (with a parenthesized declarator), and >

[Bug driver/90983] manual documents `-Wno-stack-usage` flag, but it is unrecognized

2020-04-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90983 --- Comment #4 from Martin Sebor --- Using a very large -Wstack-usage argument should effectively disable the warning. E.g., -Wstack-usage=4EiB or -Wstack-usage=$(getconf ULONG_MAX).

Re: [PATCH] aarch64: Fix .cfi_window_save with pac-ret [PR94515]

2020-04-17 Thread Jason Merrill via Gcc-patches
On 4/17/20 6:08 AM, Kyrylo Tkachov wrote: Hi Szabolcs, -Original Message- From: Szabolcs Nagy Sent: 09 April 2020 15:20 To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw ; Richard Sandiford ; Kyrylo Tkachov Subject: [PATCH] aarch64: Fix .cfi_window_save with pac-ret [PR94515] On

Re: [PATCH] c++: Hard error with tentative parse of declaration [PR88754]

2020-04-17 Thread Jason Merrill via Gcc-patches
On 4/16/20 7:33 PM, Patrick Palka wrote: In the testcase for this PR, we try to parse the statement A(value<0>()); first tentatively as a declaration (with a parenthesized declarator), and during this tentative parse we end up issuing a hard error from cp_parser_check_template_parameters

Re: [PATCH] c++: Non-type-dependent variadic lambda init-capture [PR94483]

2020-04-17 Thread Jason Merrill via Gcc-patches
On 4/16/20 1:53 PM, Patrick Palka wrote: In this PR (which I think is misclassified as ice-on-invalid instead of ice-on-valid), we're ICEing on a use of an 'int... a' template parameter pack as part of the variadic lambda init-capture [...z=a]. The unexpected thing about this variadic

[Bug objc/94637] [10 Regression] @selector() broken for selectors containing repeated colons

2020-04-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637 --- Comment #4 from Andrew Pinski --- The change needs to happen inside c_parser_objc_selector_arg.

[Bug objc/94637] [10 Regression] @selector() broken for selectors containing repeated colons

2020-04-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

Re: [Patch][OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635)

2020-04-17 Thread Jakub Jelinek via Gcc-patches
On Fri, Apr 17, 2020 at 05:57:06PM +0200, Tobias Burnus wrote: > --- a/gcc/gimplify.c > +++ b/gcc/gimplify.c > @@ -8785,11 +8785,15 @@ gimplify_scan_omp_clauses (tree *list_p, gimple_seq > *pre_p, >'exit data' - and in particular for 'delete:' - having an 'alloc:' >does

Re: [PATCH] Fold (add -1; zero_ext; add +1) operations to zero_ext when not zero (PR37451, PR61837)

2020-04-17 Thread Segher Boessenkool
On Thu, Apr 16, 2020 at 08:21:40PM -0500, Segher Boessenkool wrote: > On Wed, Apr 15, 2020 at 10:18:16AM +0100, Richard Sandiford wrote: > > luoxhu--- via Gcc-patches writes: > > > -count = simplify_gen_binary (PLUS, mode, count, const1_rtx); > > > +{ > > > + /* Fold (add -1;

[Bug go/94633] golang 1.14.2 fails to bootstrap using GCC 10 on riscv64-linux-gnu

2020-04-17 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94633 --- Comment #2 from Ian Lance Taylor --- See https://gcc.gnu.org/PR94611 and https://gcc.gnu.org/PR94466.

[Bug c/94626] -Wstringop-truncation warning should mention attribute((nonstring))

2020-04-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94626 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

Re: [Patch][OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635)

2020-04-17 Thread Tobias Burnus
Next try – with the proper patch instead of a full test case. On 4/17/20 5:54 PM, Tobias Burnus wrote: It turned out that doing omp enter data map(alloc:FortranArray) omp exit data map(delete:FortranArray) left the array descriptor (fortranarray [as opposed to fortranarray.data]) on the

[Bug c/94631] Wrong codegen for arithmetic on bitfields

2020-04-17 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94631 --- Comment #5 from Rich Felker --- No, GCC's treatment also seems to mess up bitfields smaller than int and fully governed by the standard (no implementation-defined use of non-int types): struct foo { unsigned x:31; }; struct foo bar =

[Patch][OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635)

2020-04-17 Thread Tobias Burnus
It turned out that doing omp enter data map(alloc:FortranArray) omp exit data map(delete:FortranArray) left the array descriptor (fortranarray [as opposed to fortranarray.data]) on the device. (cf. -fdump-tree-omplower in the PR.) Mapping FortranArray again (e.g. "map(tofrom:FortranArray)")

[Bug driver/90392] [8/9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto

2020-04-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90392 Jeffrey A. Law changed: What|Removed |Added Summary|[9/10 Regression] Assertion |[8/9/10 Regression]

[Bug driver/90983] manual documents `-Wno-stack-usage` flag, but it is unrecognized

2020-04-17 Thread Torsten at Robitzki dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90983 --- Comment #3 from Torsten Robitzki --- Is there a workaround to disable that warning (once it was enabled) for the case, gcc detects an unbound stack usage?

[Bug target/94630] General bug for changes needed to switch the PowerPC long double default

2020-04-17 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94630 --- Comment #6 from Segher Boessenkool --- Please mention in the TITLE that this is ONLY for the ELFv2 ABI?

[committed] libstdc++: Add comparison operators for string and regex types

2020-04-17 Thread Jonathan Wakely via Gcc-patches
Some more C++20 changes from P1614R2, "The Mothership has Landed". This adds three-way comparison support to std::char_traits, std::basic_string, std::basic_string_view, and std::sub_match. * include/bits/basic_string.h (basic_string): Define operator<=> and remove redundant

[PATCH] vect: Tweak vect_better_loop_vinfo_p handling of variable VFs

2020-04-17 Thread Richard Sandiford
This patch fixes a large lmbench performance regression with 128-bit SVE, compiled in length-agnostic mode. vect_better_loop_vinfo_p (new in GCC 10) tries to estimate whether a new loop_vinfo is cheaper than a previous one, with an in-built preference for the old one. For variable VF it prefers

[Bug gcov-profile/94636] gcov should and could output overall coverage. This is just a 2 code lines change.

2020-04-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94636 Martin Liška changed: What|Removed |Added Keywords|easyhack| Target Milestone|---

Re: [PATCH] x86: Insert ENDBR if function will be called indirectly

2020-04-17 Thread H.J. Lu via Gcc-patches
On Wed, Apr 8, 2020 at 9:41 AM Jeff Law wrote: > > On Wed, 2020-04-08 at 09:23 -0700, H.J. Lu wrote: > > On Wed, Apr 8, 2020 at 9:16 AM Jeff Law wrote: > > > On Tue, 2020-03-31 at 08:11 -0700, H.J. Lu via Gcc-patches wrote: > > > > Since constant_call_address_operand has > > > > > > > > ;; Test

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 --- Comment #9 from Thomas Koenig --- Here's what a solution could look like. I am not really sure that this is the way to go, there may be some corner cases (pointer to an argument which was passed as a transposed argument?) which this might

  1   2   3   >