[Bug middle-end/94004] [8/9/10 Regression] missing -Walloca on calls to alloca due to -Wno-system-headers

2020-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug tree-optimization/88970] ICE: verify_ssa failed (error: definition in block 2 follows the use)

2020-03-02 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88970 --- Comment #3 from Arseny Solokha --- (In reply to Arseny Solokha from comment #0) > But it may have a number of duplicates already… …like recently fixed PR86216 and still open but unreproducible PR79627?

[PATCH] explow: Fix ICE caused by plus_constant [PR94002]

2020-03-02 Thread Jakub Jelinek
Hi! The following testcase ICEs in cross to riscv64-linux. The problem is that we have a DImode integral constant (that doesn't fit into SImode), which is pushed into a constant pool and later access just the first half of it using a MEM. When plus_constant is called on such a MEM, if the

Re: [PATCH] s390: Fix --with-arch=... --with-tune=... [PR26877]

2020-03-02 Thread Andreas Krebbel
On 2/25/20 10:20 AM, Jakub Jelinek wrote: > Hi! > > In Fedora we configure GCC with --with-arch=zEC12 --with-tune=z13 right now > and furthermore redhat-rpm-config adds to rpm packages -march=zEC12 -mtune=z13 > options (among others). While looking at the git compilation, I've been > surprised

[PATCH] re PR tree-optimization/90883 (Generated code is worse if returned struct is unnamed)

2020-03-02 Thread Kito Cheng
After add --param max-inline-insns-size=1 all target will remove the redundant store at dse1, except some targets like AArch64 and MIPS will expand the struct initialization into loop due to CLEAR_RATIO. Tested on cross compiler of riscv32, riscv64, x86, x86_64, mips, mips64, aarch64, nds32 and

[Bug analyzer/94011] New: ICE in validate, at analyzer/region-model.cc:3727

2020-03-02 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94011 Bug ID: 94011 Summary: ICE in validate, at analyzer/region-model.cc:3727 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

Re: [PATCH] sccvn: Improve handling of load masked with integer constant [PR93582]

2020-03-02 Thread Jakub Jelinek
On Mon, Mar 02, 2020 at 03:54:36PM +0100, Jakub Jelinek wrote: > So, like this if it passes bootstrap/regtest? Bootstrapped/regtested successfully on x86_64-linux and i686-linux. > 2020-03-02 Jakub Jelinek > > PR tree-optimization/93582 > * tree-ssa-sccvn.h (vn_reference_lookup):

Re: [PATCH] gimple-fold: Verify builtin prototype before folding [PR93927]

2020-03-02 Thread Jakub Jelinek
On Wed, Feb 26, 2020 at 11:29:18AM +0100, Richard Biener wrote: > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? This got fixed with Martin's C FE change, so I've just committed the testcases as obvious to trunk. 2020-03-03 Jakub Jelinek PR

[Bug tree-optimization/93927] ICE: 'verify_gimple' failed (error: invalid conversion in gimple call)

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93927 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a422f68924dbe9e0d8c4b0a0acbbadeaf0965d49 commit r10-6986-ga422f68924dbe9e0d8c4b0a0acbbadeaf0965d49 Author: Jakub Jelinek Date:

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #41 from fdlbxtqi --- (In reply to Jonathan Wakely from comment #38) > We could also use memcmp for std::equal when it's using std::equal_to<> or > std::equal_to<_ValueType1> or std::equal_to<_ValueType2>, and for >

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #39 from fdlbxtqi --- (In reply to Jonathan Wakely from comment #38) > We could also use memcmp for std::equal when it's using std::equal_to<> or > std::equal_to<_ValueType1> or std::equal_to<_ValueType2>, and for >

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-02 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #40 from fdlbxtqi --- to_address(__first),to_address(__second) to_address(__first1),to_address(__first2)

GSoC topic: Implement hot cold splitting at GIMPLE IR level

2020-03-02 Thread Aditya K
Hi Everyone, I was one of the original authors of hot cold splitting optimization in LLVM. I was wondering if implementing a region based hot cold splitting optimization would be useful in GCC? We already have optimal implementation of SESE region detection in GCC

Re: [PATCH] PR libstdc++/91620 Implement DR 526 for std::[forward_]list::remove_if/unique

2020-03-02 Thread François Dumont
Hi     Isn't it something to fix before gcc 10 release ? François On 12/27/19 11:57 AM, François Dumont wrote: Here is the patch to extend DR 526 to forward_list and list remove_if and unique. As the adopted pattern is simpler I also applied it to the remove methods.     PR

Re: [PATCH coroutines] Handle component_ref in captures_temporary

2020-03-02 Thread JunMa
在 2020/3/2 下午10:49, Nathan Sidwell 写道: On 2/12/20 2:23 AM, JunMa wrote: Hi In captures_temporary, the current implementation fails to handle component_ref. This causes ice with case co_await A while operator co_await is defined in base class of A. Also it is necessary to capture the object of

[Bug c++/94008] "use of deleted function" error when using "std::unique_ptr", std::move() and lambda

2020-03-02 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94008 Nicholas Krause changed: What|Removed |Added CC||xerofoify at gmail dot com ---

[Bug tree-optimization/94010] New: [missed optimization] -fmerge-all-constants misses simple array merging

2020-03-02 Thread aleksey.covacevice at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94010 Bug ID: 94010 Summary: [missed optimization] -fmerge-all-constants misses simple array merging Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/52590] std::thread Segmentation fault static linking

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52590 Andrew Pinski changed: What|Removed |Added CC||fengshenjun at yeah dot net --- Comment

[Bug libstdc++/94009] program (which use condition_variable) segment fault when compile with -static

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94009 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew

[Bug libstdc++/94009] program (which use condition_variable) segment fault when compile with -static

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94009 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|c++

[Bug c++/94009] New: program (which use condition_variable) segment fault when compile with -static

2020-03-02 Thread fengshenjun at yeah dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94009 Bug ID: 94009 Summary: program (which use condition_variable) segment fault when compile with -static Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/94008] New: "use of deleted function" error when using "std::unique_ptr", std::move() and lambda

2020-03-02 Thread xxhdx1985126 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94008 Bug ID: 94008 Summary: "use of deleted function" error when using "std::unique_ptr", std::move() and lambda Product: gcc Version: 8.3.1 Status: UNCONFIRMED

[Bug libstdc++/94007] Appending a view into a string to the same string

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94007 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: [PATCH] coroutines: Update lambda capture handling to n4849.

2020-03-02 Thread JunMa
在 2020/3/2 下午5:43, Iain Sandoe 写道: Hi, In the absence of specific comment on the handling of closures I'd implemented something more than was intended (extending the lifetime of lambda capture-by-copy vars to the duration of the coro). After discussion at WG21 in February and by email, the

[Bug libstdc++/94007] New: Appending a view into a string to the same string

2020-03-02 Thread philwill at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94007 Bug ID: 94007 Summary: Appending a view into a string to the same string Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

Re: [PATCH], PR target/93937, Fix variable vec_extract insn that will never match

2020-03-02 Thread Michael Meissner
On Fri, Feb 28, 2020 at 06:45:25AM -0600, Segher Boessenkool wrote: > Hi! > > On Fri, Feb 28, 2020 at 12:32:06AM -0500, Michael Meissner wrote: > > As part of my work in adding support for -mcpu=future, I noticed an insn > > that > > would never match. > > > It will never match, because the

[Bug c++/90732] [9 Regression] ICE with std::apply after variable length array

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90732 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/16994] [meta-bug] VLA and C++

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 90732, which changed state. Bug 90732 Summary: [9 Regression] ICE with std::apply after variable length array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90732 What|Removed |Added

[Bug tree-optimization/94006] Poor codegen for cond ? lval1 : lval2

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94006 --- Comment #2 from Andrew Pinski --- I thought SRA would have done it. BUT it does not. The C front-end does the optimization while it is gimplifying the original tree for some reason ...

[Bug tree-optimization/94006] Poor codegen for cond ? lval1 : lval2

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94006 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2020-03-02 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 --- Comment #32 from Jim Wilson --- The proposed patch looks OK to me. I suggest you submit it to gcc-patches.

[Bug tree-optimization/93986] [10 Regression] ICE in decompose, at wide-int.h:984 since r10-5451

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93986 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[PATCH] use all same precision in wide_int arguments (PR 93986)

2020-03-02 Thread Martin Sebor
The wide_int APIs expect operands to have the same precision and abort when they don't. This is especially insidious in code where the operands normally do have the same precision but where mixed precision arguments can come up as a result of unusual combinations optimization options. That is

Re: [PATCH] Clear --help=language and --help=common interaction.

2020-03-02 Thread Joseph Myers
On Mon, 2 Mar 2020, Martin Liška wrote: > +version of GCC@. If an option is supported by all languages, one needs > +to use @var{common} qualifier instead. "common" is literal text, so it should be @samp{common} not @var{common}, and the existing documentation here describes it as a "class"

Re: [PATCH] c++: Fix convert_like in template [PR91465, PR93870, PR92031]

2020-03-02 Thread Jason Merrill
On 2/29/20 2:32 PM, Marek Polacek wrote: The point of this patch is to fix the recurring problem of trees generated by convert_like while processing a template that break when substituting. For instance, when convert_like creates a CALL_EXPR while in a template, substituting such a call breaks

[Bug tree-optimization/94006] New: Poor codegen for cond ? lval1 : lval2

2020-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94006 Bug ID: 94006 Summary: Poor codegen for cond ? lval1 : lval2 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

RE: [EXTERNAL] Re: GCC selftest improvements

2020-03-02 Thread Modi Mo via gcc
> From: David Malcolm > > Thanks Modi. > > Before looking at the updated patch in detail, we ought to also address the > legal prerequisites for contributing. > > Does your employer have legal paperwork in place with the FSF for such > contributions? See: > >

[PING #2][PATCH] drop weakref attribute on function definitions (PR 92799)

2020-03-02 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2020-02/msg00883.html On 2/21/20 9:49 AM, Martin Sebor wrote: Ping: https://gcc.gnu.org/ml/gcc-patches/2020-02/msg00883.html On 2/14/20 3:41 PM, Martin Sebor wrote: Because attribute weakref introduces a kind of a definition, it can only be applied to

[PATCH] rs6000: Fix -mpower9-vector -mno-altivec ICE (PR87560)

2020-03-02 Thread Bill Schmidt
PR87560 reports an ICE when a test case is compiled with -mpower9-vector and -mno-altivec. This patch terminates compilation with an error when this combination (and other unreasonable ones) are requested. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Reported

Re: GLIBC libmvec status

2020-03-02 Thread Jakub Jelinek
On Mon, Mar 02, 2020 at 09:40:59PM +, GT wrote: > Searching openmp.org located document "OpenMP API Examples". The relevant > example > for inbranch/notinbranch shows very simple functions (SIMD.6.c). GCC testsuite > functions are similarly simple. > Wouldn't the same effect be achieved by

[Bug debug/94005] New: gcc generates wrong debug information at -Og

2020-03-02 Thread qrzhang at gatech dot edu
fine. $ gcc-trunk -v gcc version 10.0.1 20200302 (experimental) [master revision 778a77357ca:87d8bb8fb8c:917e56a94f9d3189d7fa9d1944b7513258195887] (GCC) #correct value: $ gcc-trunk -g abc.c $ gdb -x cmds -batch a.out Breakpoint 1 at 0x4004ec: file abc.c, line 11. Breakpoint 1, i () at abc.c:11

Re: GLIBC libmvec status

2020-03-02 Thread GT
‐‐‐ Original Message ‐‐‐ On Monday, March 2, 2020 3:31 PM, Jakub Jelinek wrote: > On Mon, Mar 02, 2020 at 08:20:01PM +, GT wrote: > > > Which raises the question: what use-case motivated allowing the compiler > > to auto-vectorize user defined functions? From having manually created

[Bug analyzer/93959] g++.dg/analyzer/malloc.C FAILs

2020-03-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93959 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[committed] analyzer: don't print the duplicate count by default

2020-03-02 Thread David Malcolm
The note about duplicates attached to analyzer diagnostics feels like an implementation detail; it's likely just noise from the perspective of an end-user. This patch disables it by default, introducing a flag to re-enable it. Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Pushed

[committed] invoke.texi: add missing option to -fanalyzer list

2020-03-02 Thread David Malcolm
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Pushed to master as 6e078aec716aa8214c13d7d20292aa232b5b. gcc/ChangeLog: * doc/invoke.texi (Static Analyzer Options): Add -Wanalyzer-stale-setjmp-buffer to the list of options enabled by -fanalyzer. ---

[committed] analyzer: detect malloc, free, calloc within "std" [PR93959]

2020-03-02 Thread David Malcolm
PR analyzer/93959 reported that g++.dg/analyzer/malloc.C was failing with no output on Solaris. The issue is that there has "using std::free;", converting all the "free" calls to std::free, which fails the name-matching via is_named_call_p. This patch implements an is_std_named_call_p variant

[Bug analyzer/93959] g++.dg/analyzer/malloc.C FAILs

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93959 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:9f00b22f98ec0688fcd9816a03aa3f7eea58bcf7 commit r10-6981-g9f00b22f98ec0688fcd9816a03aa3f7eea58bcf7 Author: David Malcolm Date:

[Bug c++/93442] [8/9 Regression] lambda in if constexpr fails to compile since r8-5529

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93442 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86917] [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/16994] [meta-bug] VLA and C++

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 88256, which changed state. Bug 88256 Summary: [8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn) with VLA cast, C++ FE missing DECL_EXPRs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 What

[Bug c++/81862] [C++11][constexpr] Constructor Parenthesized Initialization of Member Array Crash

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81862 Bug 81862 depends on bug 86917, which changed state. Bug 86917 Summary: [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 What|Removed

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

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 86917, which changed state. Bug 86917 Summary: [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 What|Removed

[Bug c++/88256] [8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn) with VLA cast, C++ FE missing DECL_EXPRs

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90333] [9 Regression] Can't apply attributes to lambdas with trailing returns

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86917] [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:054aeaef276572c2ccbedbd7aa86046be338603c commit r9-8324-g054aeaef276572c2ccbedbd7aa86046be338603c Author: Jason Merrill

[Bug c++/92601] [9 Regression] error: type variant differs by TYPE_NEEDS_CONSTRUCTING

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92601 --- Comment #2 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9d5df8e3221c5fe5c8aca0334655b075bd9ea556 commit r9-8321-g9d5df8e3221c5fe5c8aca0334655b075bd9ea556 Author: Jason Merrill

[Bug c++/90333] [9 Regression] Can't apply attributes to lambdas with trailing returns

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:166c024a1969ca9e77ed450fb65ce5c926a315dc commit r9-8318-g166c024a1969ca9e77ed450fb65ce5c926a315dc Author: Jason Merrill

[Bug c++/88256] [8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn) with VLA cast, C++ FE missing DECL_EXPRs

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 --- Comment #15 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f137a7c6b122e524294fb792bb97d5f3b0600c4f commit r9-8322-gf137a7c6b122e524294fb792bb97d5f3b0600c4f Author: Jason Merrill

[Bug c++/90732] [9 Regression] ICE with std::apply after variable length array

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90732 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1ccbda907d1fd3a202ff2bd951828cc97abb1a8d commit r9-8319-g1ccbda907d1fd3a202ff2bd951828cc97abb1a8d Author: Jason Merrill

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:166c024a1969ca9e77ed450fb65ce5c926a315dc commit r9-8318-g166c024a1969ca9e77ed450fb65ce5c926a315dc Author: Jason Merrill

[Bug c++/60503] gcc looks for C++ attributes in the wrong place in a lambda-expression

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:166c024a1969ca9e77ed450fb65ce5c926a315dc commit r9-8318-g166c024a1969ca9e77ed450fb65ce5c926a315dc Author: Jason Merrill

[Bug c++/93442] [8/9 Regression] lambda in if constexpr fails to compile since r8-5529

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93442 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e83a2d943a1affc8d945430b8feca290169fe3d7 commit r9-8320-ge83a2d943a1affc8d945430b8feca290169fe3d7 Author: Jason Merrill

[Bug c++/91953] [8/9 Regression] G++ rejects lambda with constexpr variable

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b4e53e9b3c963b1c0fe9637618dec8042764f599 commit r9-8323-gb4e53e9b3c963b1c0fe9637618dec8042764f599 Author: Jason Merrill

[Bug rtl-optimization/94002] [9/10 Regression] ICE: in decompose, at rtl.h:2279 with -O -fPIC -fno-tree-dce -fno-tree-reassoc

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94002 Jakub Jelinek changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

[Bug libfortran/93871] COTAN is slow for complex types

2020-03-02 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93871 --- Comment #36 from Steve Kargl --- On Mon, Mar 02, 2020 at 11:20:56AM +, thenlich at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93871 > > --- Comment #35 from Thomas Henlich --- > (In reply to Steve Kargl from

[Bug c++/91678] [9 Regression] decltype returns wrong type under certain conditions

2020-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91678 --- Comment #9 from Marek Polacek --- I'm not sure yet -- I remember issues I'd seen with the patch, but those issues were somehow resolved, so the maybe_lvalue_p bit was all that was needed on trunk. I need to do a regtest/bootstrap on 9 to

[Bug c++/91678] [9 Regression] decltype returns wrong type under certain conditions

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91678 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #8

[Bug target/93997] [10 Regression] ICE: maximum number of generated reload insns per insn achieved (90) since r10-2156-g82534f65d86d48da

2020-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93997 Uroš Bizjak changed: What|Removed |Added Status|NEW |RESOLVED CC|ubizjak at

[Bug target/93997] [10 Regression] ICE: maximum number of generated reload insns per insn achieved (90) since r10-2156-g82534f65d86d48da

2020-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93997 --- Comment #4 from Uroš Bizjak --- Fixed.

[Bug tree-optimization/93986] [10 Regression] ICE in decompose, at wide-int.h:984 since r10-5451

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93986 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 Martin Sebor changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug rtl-optimization/93974] [10 Regression] ICE in decompose_normal_address, at rtlanal.c:6403 on powerpc64le-linux-gnu since r10-6762

2020-03-02 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93974 Peter Bergner changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment

Re: GLIBC libmvec status

2020-03-02 Thread GT
‐‐‐ Original Message ‐‐‐ On Thursday, February 27, 2020 9:52 AM, Jakub Jelinek wrote: > On Thu, Feb 27, 2020 at 08:47:19AM -0600, Bill Schmidt wrote: > > > But is this actually a good idea? It seems to me this will generate lousy > > code in the absence of hardware support. Won't we be

Re: GLIBC libmvec status

2020-03-02 Thread Jakub Jelinek
On Mon, Mar 02, 2020 at 08:20:01PM +, GT wrote: > Which raises the question: what use-case motivated allowing the compiler > to auto-vectorize user defined functions? From having manually created vector The feature made it into the OpenMP standard (already OpenMP 4.0) and so got implemented

[committed]: i386: Allow only registers with VALID_INT_MODE_P modes in movstrict [PR93997]

2020-03-02 Thread Uros Bizjak
*movstrict_1 insn pattern allows only general registers, so we have to reject modes not suitable for general regs in corresponding movstrict expander. 2020-03-02 Uroš Bizjak PR target/93997 * config/i386/i386.md (movstrict): Allow only registers with VALID_INT_MODE_P modes.

[Bug target/93997] [10 Regression] ICE: maximum number of generated reload insns per insn achieved (90) since r10-2156-g82534f65d86d48da

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93997 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b80cbe2d8d46c8518dca2d781c8ee4d02c5ba1ed commit r10-6979-gb80cbe2d8d46c8518dca2d781c8ee4d02c5ba1ed Author: Uros Bizjak Date: Mon

[Bug c++/93989] [c++20] Error initializing trivial types in constexpr constructor

2020-03-02 Thread kingoipo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93989 --- Comment #5 from Michael de Lang --- Created attachment 47953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47953=edit self-contained minimal test case I managed to reduce the test case to a single file, which also produces the two

[Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #48 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #47) > Martin, yea, your patch does prevent creation of the V_C_E. That in turn > allows maybe_a$live_7 to be directly used in the conditional which in turn >

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/93279] [9 Regression] C++ Template substitution ICE

2020-03-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93279 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

Re: [PATCH] libstdc++: Implement integer-class types as defined in [iterator.concept.winc]

2020-03-02 Thread Patrick Palka
On Mon, 24 Feb 2020, Patrick Palka wrote: > On Mon, 24 Feb 2020, Patrick Palka wrote: > > > This implements signed and unsigned integer-class types, whose width is one > > bit > > larger than the widest native signed and unsigned integral type > > respectively. > > In our case this is either

[Bug tree-optimization/93982] [10 Regression] Assignment incorrectly omitted by -foptimize-strlen since r10-2528

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93982 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug preprocessor/92982] cpp_string_location_reader :: m_line_table seems redundant ?

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92982 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:f26688fbe441375e907f0dd2f35837681870b1f4 commit r10-6978-gf26688fbe441375e907f0dd2f35837681870b1f4 Author: Martin Sebor Date: Mon

[Bug c++/71283] Inconsistent location for C++ warning options in the manual

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-03-02 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #47 from Jeffrey A. Law --- Martin, yea, your patch does prevent creation of the V_C_E. That in turn allows maybe_a$live_7 to be directly used in the conditional which in turn allows tree-ssa-uninit.c to realize the problematic path

[Bug tree-optimization/93927] ICE: 'verify_gimple' failed (error: invalid conversion in gimple call)

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93927 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93998 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/93992] fail to compile specialization of inner class with template template parameter pack

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93992 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Assignee|jakub at

Re: Second GCC 8.4 Release Candidate available from gcc.gnu.org

2020-03-02 Thread William Seurer
I bootstrapped and tested on power 7 and 8 BE and power 8 and 9 LE and saw nothing untoward. On 3/2/20 4:45 AM, Jakub Jelinek wrote: The second release candidate for GCC 8.4 is available from https://gcc.gnu.org/pub/gcc/snapshots/8.4.0-RC-20200302/ ftp://gcc.gnu.org/pub/gcc/snapshots

[Bug c++/93992] fail to compile specialization of inner class with template template parameter pack

2020-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93992 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug inline-asm/93981] No EH information generated for asm statements

2020-03-02 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93981 jwjagersma at gmail dot com changed: What|Removed |Added Attachment #47941|0 |1 is obsolete|

[Ping][PATCH][Arm] ACLE intrinsics: AdvSIMD BFloat16 convert instructions

2020-03-02 Thread Dennis Zhang
Hi all, On 17/01/2020 16:46, Dennis Zhang wrote: Hi all, This patch is part of a series adding support for Armv8.6-A features. It depends on Arm BFMode patch https://gcc.gnu.org/ml/gcc-patches/2019-12/msg01448.html This patch implements intrinsics to convert between bfloat16 and float32

[Bug c++/93958] gcc trunk supports -std=c++20 but not -std=gnu++20

2020-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93958 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/93958] gcc trunk supports -std=c++20 but not -std=gnu++20

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93958 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:e78e50d57edf4e0e49576a7a31b01477eed08223 commit r10-6977-ge78e50d57edf4e0e49576a7a31b01477eed08223 Author: Marek Polacek Date:

Re: [patch, fortran] PR93486 - ICE on valid with nested submodules and long submodule names

2020-03-02 Thread Andrew Benson
Hi Paul, Thanks for the review. This is now committed as: r10-6976-gf3c276aec26d9e406cc4bbf0e18b1105df63f0ee I'll keep this in mind for future patches - this one seemed simple enough that I'd be confident to commit it without review after waiting for a few days. I'm hoping to find time to

[Bug fortran/93486] ICE on valid with nested submodules and long submodule names

2020-03-02 Thread abensonca at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93486 Andrew Benson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/93486] ICE on valid with nested submodules and long submodule names

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93486 --- Comment #4 from CVS Commits --- The master branch has been updated by Andrew Benson : https://gcc.gnu.org/g:f3c276aec26d9e406cc4bbf0e18b1105df63f0ee commit r10-6976-gf3c276aec26d9e406cc4bbf0e18b1105df63f0ee Author: Andrew Benson Date:

[Bug middle-end/94004] [8/9/10 Regression] missing -Walloca on calls to alloca due to -Wno-system-headers

2020-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94004 --- Comment #2 from Martin Sebor --- Bisection points to r254630 which doesn't look related to -Walloca: commit 025d57f037ad13eb479818b677ef4be4d97b639c Author: Martin Sebor Date: Fri Nov 10 16:35:26 2017 + PR c/81117 - Improve

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

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

  1   2   3   >