[Bug driver/95456] [11 Regression] gcc/gcc.c:6035:16: runtime error: null pointer passed as argument 2, which is declared to never be null

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95456 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

Re: [PATCH] Do not copy NULL string with memcpy.

2020-06-02 Thread Martin Liška
On 6/3/20 5:58 AM, Alexandre Oliva wrote: Please let me know if you'd prefer me to take this PR over. Yes, please take a look. Martin

[Bug tree-optimization/95490] [10/11 Regression] writing 1 byte into a region of size 0 [-Wstringop-overflow=] since r10-5451-gef29b12cfbb4979a89b3cbadbf485a77c8fd8fce

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95490 --- Comment #1 from Martin Liška --- Created attachment 48664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48664=edit test-case

[Bug tree-optimization/95490] New: [10/11 Regression] writing 1 byte into a region of size 0 [-Wstringop-overflow=] since r10-5451-gef29b12cfbb4979a89b3cbadbf485a77c8fd8fce

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95490 Bug ID: 95490 Summary: [10/11 Regression] writing 1 byte into a region of size 0 [-Wstringop-overflow=] since r10-5451-gef29b12cfbb4979a89b3cbadbf485a77c8fd8fce Product:

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread johelegp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 --- Comment #2 from Johel Ernesto Guerrero Peña --- That commit added the feature I'm trying to use. I'd hope it's valid, or at least with this other constructor added: `constexpr X(U) {}`.

PING Re: testsuite: clarify scan-dump file globbing behavior

2020-06-02 Thread Frederik Harwath
Frederik Harwath writes: ping :-) > Frederik Harwath writes: > > Hi Rainer, hi Mike, > ping: https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545803.html > > Best regards, > Frederik > >> Hi Thomas, >> >> Thomas Schwinge writes: >> >>> I can't formally approve testsuite patches, but did a

[PATCH V2] PING^ correct COUNT and PROB for unrolled loop

2020-06-02 Thread Jiufu Guo via Gcc-patches
Jiufu Guo via Gcc-patches writes: Hi, I would like to reping this, hope to get approval for this patch. https://gcc.gnu.org/legacy-ml/gcc-patches/2020-02/msg00927.html BR, Jiufu Guo > Jiufu Guo writes: > > Hi, > > I'd like to ping this patch for trunk on stage 1. > > This patch could fix the

[Bug middle-end/95485] missing warning writing into function text

2020-06-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug tree-optimization/95487] [10/11 Regression] ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 since r10-1052-gc29c92c789d93848

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95487 Martin Liška changed: What|Removed |Added Summary|ICE: verify_gimple failed |[10/11 Regression] ICE:

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/95483] [i386] Missing SIMD functions

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95483 Martin Liška changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug tree-optimization/95489] New: Failure to optimize x && (x & y) to x & y

2020-06-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95489 Bug ID: 95489 Summary: Failure to optimize x && (x & y) to x & y Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH] Do not copy NULL string with memcpy.

2020-06-02 Thread Alexandre Oliva
Hello, Martin, On Jun 2, 2020, Martin Liška wrote: > The problem happens when we generate temp file > for .res file. Tested locally with the problematic > options. Thanks for looking into this. > Ready for master? Erhm, no, I don't think that's correct. With local analysis, the length

Re: [PATCH 0/4] IVOPTs consider step cost for different forms when unrolling

2020-06-02 Thread Kewen.Lin via Gcc-patches
Hi Richi, on 2020/6/2 下午7:38, Richard Biener wrote: > On Thu, 28 May 2020, Kewen.Lin wrote: > >> Hi, >> >> This is one repost and you can refer to the original series >> via https://gcc.gnu.org/pipermail/gcc-patches/2020-January/538360.html. >> >> As we discussed in the thread >>

Re: [PATCH 6/7] PowerPC tests: Add PC-relative tests.

2020-06-02 Thread Michael Meissner via Gcc-patches
On Mon, Jun 01, 2020 at 05:45:34PM -0500, will schmidt wrote: > Similar/same comment as was made in Apr.I recommend something like > > "Test whether pc-relative prefixed instructions > are generated for the _Decimal64 type." Ok, I missed that comment in April. -- Michael Meissner, IBM

[Bug target/95252] testcase gcc.dg/torture/pr67916.c failure when testing with -msave-restore

2020-06-02 Thread kito at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95252 Kito Cheng changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #9 from Kito Cheng

[Bug target/95488] Suboptimal multiplication codegen for v16qi

2020-06-02 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95488 --- Comment #1 from Hongtao.liu --- I think it's this TYPE_SIGN (TREE_TYPE (REG_EXPR (op1))).

Re: [PATCH 3/4] ivopts: Consider cost_step on different forms during unrolling

2020-06-02 Thread Kewen.Lin via Gcc-patches
Hi Richard, on 2020/6/2 下午3:14, Richard Sandiford wrote: > "Kewen.Lin" writes: >> Hi Richard, >> >> Thanks for the comments! >> >> on 2020/6/2 上午1:59, Richard Sandiford wrote: >>> Could you go into more detail about this choice of cost calculation? >>> It looks like we first calculate per-group

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2020-06-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug target/95488] New: Suboptimal multiplication codegen for v16qi

2020-06-02 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95488 Bug ID: 95488 Summary: Suboptimal multiplication codegen for v16qi Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-06-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058 --- Comment #10 from Bill Seurer --- There is still one that is failing: make -k check-gcc RUNTESTFLAGS=vect.exp=gcc.dg/vect/bb-slp-pr68892.c XPASS: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump slp2 "not profitable" XPASS:

[PATCH] Fix zero-masking for vcvtps2ph when dest operand is memory.

2020-06-02 Thread Hongtao Liu via Gcc-patches
Hi: When dest is memory, zero-masking is not valid, only merging-masking is available, Bootstrap is ok, regression test on i386/x86-64 backend is ok. gcc/ChangeLog: * gcc/config/i386/sse.md (*vcvtps2ph_store): Refine from *vcvtps2ph_store. (vcvtps2ph256): Refine

Re: [PATCH 1/2] Introduce flag_cunroll_grow_size for cunroll

2020-06-02 Thread Jiufu Guo via Gcc-patches
Richard Biener writes: > On Tue, Jun 2, 2020 at 4:10 AM Jiufu Guo wrote: >> >> Jiufu Guo writes: >> >> Hi, >> >> I updated the patch just a little accordinlgy. Thanks! >> >> diff --git a/gcc/common.opt b/gcc/common.opt >> index 4464049fc1f..570e2aa53c8 100644 >> --- a/gcc/common.opt >> +++

[Bug c++/95468] ICE in expression sfinae

2020-06-02 Thread kab at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95468 --- Comment #1 from kab at acm dot org --- This was labeled as "ice-on-invalid-code". Am I missing something? I don't see anything invalid here.

Re: [stage1][PATCH] Make TOPN counter dynamically allocated.

2020-06-02 Thread Gerald Pfeifer
On Tue, 2 Jun 2020, Martin Liška wrote: > Ready for master? Before that, my nightly tester on i386-unknown-freebsd11 just ran into the following: /scratch/tmp/gerald/GCC-HEAD/gcc/../libgcc/libgcov.h:396:51: error: cannot initialize a parameter of type 'gcov_type' (aka 'long long') with

[Bug tree-optimization/95487] New: ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512

2020-06-02 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95487 Bug ID: 95487 Summary: ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 Product: gcc Version: 11.0 Status:

[Bug tree-optimization/90949] [9 Regression] null pointer check removed

2020-06-02 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 --- Comment #16 from Dávid Bolvanský --- For -O3 it is okay, but for -O2 this is questionable

[Bug tree-optimization/90949] [9 Regression] null pointer check removed

2020-06-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 --- Comment #15 from Andrew Pinski --- (In reply to Dávid Bolvanský from comment #14) > Since 10.1, gcc does crazy things with bloaty codegen for this case > > https://godbolt.org/z/Qb3yHZ It is called recursive inlining. Not really bloated.

[Bug tree-optimization/95353] [10/11 Regression] spurious -Wstringop-overflow writing to a trailing array plus offset

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

[PATCH] avoid false positives due to compute_objsize (PR 95353)

2020-06-02 Thread Martin Sebor via Gcc-patches
The compute_objsize() function started out as a thin wrapper around compute_builtin_object_size(), but over time developed its own features to compensate for the other function's limitations (such as its inability to work with ranges). The interaction of these features and the limitations has

Re: [RFC] Closing of all remaining Bugzilla PRs against powerpcspe

2020-06-02 Thread Segher Boessenkool
Hi Arseny, On Mon, Jun 01, 2020 at 10:38:16AM +0700, Arseny Solokha wrote: > > PRs from the second group were filed by me, so if there's consensus to > > close all > > of them, the ones from this second group I can close myself. I don't > > have the > > right permissions to

[Bug other/60158] powerpc: usage of the .data.rel.ro.local section

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug target/52927] "procps" do not work with -Os flag.

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52927 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX CC|

[Bug target/86133] powerpc (-mcpu=8548) internal compiler error for double variables

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86133 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/90949] [9 Regression] null pointer check removed

2020-06-02 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 Dávid Bolvanský changed: What|Removed |Added CC||david.bolvansky at gmail dot com ---

[Bug target/71012] ICE: in expand_expr_real_2, at expr.c:9348 when compiling stress-ng

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71012 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/57872] ICE occurs for cross-compile of PPC target with e500v2 core

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57872 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug debug/57389] ICE in dbx_reg_number, at dwarf2out.c:10507 on powerpc-spe target

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57389 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug rtl-optimization/51905] ICE at sysklogd compilation for powerpc-linux-gnuspe with -O3

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51905 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX CC|

[Bug target/49854] Clean up SPE/e500 option handling

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49854 --- Comment #7 from Segher Boessenkool --- The powerpcspe backend has been deprecated in GCC 8 and removed during GCC 9 development. See corresponding mailing list threads[1,2,3] for details. [1]

[Bug target/47977] powerpc (-mcpu=8548) Wrong code for double operations in little endian mode

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47977 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/47856] PowerPC: Wrong assembler output with -mcpu=8540 -meabi -msdata -fno-common -mfloat-gprs=double -mspe -mabi=spe

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47856 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/37760] internal compiler error: in extract_insn, at recog.c:1990

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37760 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX

[Bug target/37759] powerpc option -mabi=no-spe still generates SPE instructions

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37759 --- Comment #12 from Segher Boessenkool --- The powerpcspe backend has been deprecated in GCC 8 and removed during GCC 9 development. See corresponding mailing list threads[1,2,3] for details. [1]

[Bug target/30370] [4.1 regression] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30370 Bug 30370 depends on bug 30259, which changed state. Bug 30259 Summary: ICE on valid code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30259 What|Removed |Added

[Bug target/30259] ICE on valid code

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30259 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug target/19490] PowerPC back end ignores SPE command-line options

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19490 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX

Re: [PATCH] rs6000: Use REAL_TYPE to copy when block move array in structure[PR65421]

2020-06-02 Thread Segher Boessenkool
On Tue, Jun 02, 2020 at 04:56:49PM -0400, David Edelsohn wrote: > > > + if (TREE_CODE (type) == RECORD_TYPE > > > + && rs6000_discover_homogeneous_aggregate (TYPE_MODE (type), type, > > > NULL, > > > + NULL)) > > > +{ > > > + tree

[Bug c++/95486] New: ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread johelegp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 Bug ID: 95486 Summary: ICE for alias CTAD with non-dependent argument and constrained constructor Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity:

[Bug jit/95426] libgccjit.so: error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN

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

[committed] jit: fix __builtin_unreachable [PR 95426]

2020-06-02 Thread David Malcolm via Gcc-patches
PR jit/95426 reports a crash deep inside "expand" when using __builtin_unreachable via gcc_jit_context_get_builtin_function, due to BLOCK_FOR_INSN being erroneously used on a barrier within rtl_verify_bb_pointers. The root cause turns out to be that I didn't implement

[Bug jit/95426] libgccjit.so: error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95426 --- Comment #9 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:44564c4c811f4751daf363ca019a9f9bed702f4f commit r11-839-g44564c4c811f4751daf363ca019a9f9bed702f4f Author: David Malcolm Date:

Re: [PATCH] Add pattern for pointer-diff on addresses with same base/offset (PR 94234)

2020-06-02 Thread Marc Glisse
On Mon, 1 Jun 2020, Feng Xue OS via Gcc-patches wrote: * match.pd ((PTR + A) - (PTR + B)) -> (ptrdiff_t)(A - B): New simplification. Not new, modified. * ((PTR_A + O) - (PTR_B + O)) -> (PTR_A - PTR_B): New simplification. O might not be the best choice because of

[Bug middle-end/95236] OMP 'GOMP_MAP_STRUCT': a structure is more than the sum of all its fields?

2020-06-02 Thread julian at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95236 --- Comment #1 from julian at codesourcery dot com --- On Wed, 20 May 2020 10:42:23 + "tschwinge at gcc dot gnu.org" wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95236 > > Bug ID: 95236 >Summary: OMP

Re: sign_and_send_pubkey: signing failed: agent refused operation

2020-06-02 Thread Martin Sebor via Gcc
On 6/2/20 2:43 PM, Jonathan Wakely wrote: On Tue, 2 Jun 2020 at 21:26, Martin Sebor wrote: On 6/1/20 1:12 PM, Jonathan Wakely via Overseers wrote: On Mon, 1 Jun 2020 at 19:11, Frank Ch. Eigler via Gcc wrote: Hi - git pull from the GCC and Glibc repos is failing for me with the error

[PATCH] c++: more constrained nested partial specialization

2020-06-02 Thread Patrick Palka via Gcc-patches
When checking that a constrained partial specialization is more constrained than the primary template, we pass only the innermost level of generic template arguments to strictly_subsumes. This leads to us doing a nonsensical substitution from normalize_concept_check if the full set of template

[PATCH] rs6000: identify lfs prefixed case PR95347

2020-06-02 Thread Aaron Sawdey via Gcc-patches
The same problem also arises for plfs where prefixed_load_p() doesn't recognize it so we get just lfs in the asm output with a @pcrel address. OK for trunk if regstrap on ppc64le passes? Thanks, Aaron PR target/95347 * config/rs6000/rs6000.c (is_stfs_insn): Rename to

Re: [PATCH] rs6000: Use REAL_TYPE to copy when block move array in structure[PR65421]

2020-06-02 Thread David Edelsohn via Gcc-patches
On Tue, Jun 2, 2020 at 4:32 PM Segher Boessenkool wrote: > > Hi Xiong Hu, > > On Tue, Jun 02, 2020 at 04:41:50AM -0500, Xionghu Luo wrote: > > Double array in structure as function arguments or return value is accessed > > by BLKmode, they are stored to stack and load from stack with redundant >

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-06-02 Thread andrew2085 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #29 from Andrew Downing --- So I think this sort of equivalent example in C shows what's going wrong in the C++ example. https://godbolt.org/z/ZMz4Cp gcc knows that if the object mem points to is modified inside pun() its effective

Re: sign_and_send_pubkey: signing failed: agent refused operation

2020-06-02 Thread Jonathan Wakely via Gcc
On Tue, 2 Jun 2020 at 21:26, Martin Sebor wrote: > > On 6/1/20 1:12 PM, Jonathan Wakely via Overseers wrote: > > On Mon, 1 Jun 2020 at 19:11, Frank Ch. Eigler via Gcc > > wrote: > >> > >> Hi - > >> > >>> git pull from the GCC and Glibc repos is failing for me with the error > >>> below. It

Re: [PATCH] rs6000: Use REAL_TYPE to copy when block move array in structure[PR65421]

2020-06-02 Thread Segher Boessenkool
Hi Xiong Hu, On Tue, Jun 02, 2020 at 04:41:50AM -0500, Xionghu Luo wrote: > Double array in structure as function arguments or return value is accessed > by BLKmode, they are stored to stack and load from stack with redundant > conversion from DF->DI->DF. This patch checks the homogeneous type

Re: sign_and_send_pubkey: signing failed: agent refused operation

2020-06-02 Thread Martin Sebor via Gcc
On 6/1/20 1:12 PM, Jonathan Wakely via Overseers wrote: On Mon, 1 Jun 2020 at 19:11, Frank Ch. Eigler via Gcc wrote: Hi - git pull from the GCC and Glibc repos is failing for me with the error below. It worked fine last week and I haven't made any changes to my ssh keys. And are you

[Bug middle-end/95485] missing warning writing into function text

2020-06-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-06-02

[Bug target/84553] -rdynamic generates TEXTREL relocations on ia64

2020-06-02 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84553 --- Comment #7 from Jim Wilson --- I was ia64 maintainer when I wrote the patch, but couldn't test it. I'm not the ia64 maintainer anymore. I suggest asking the current ia64 maintainer. Though, oops, I see we don't have one listed in the

Re: [PATCH] Extend std::copy/std::copy_n char* overload to deque iterator

2020-06-02 Thread Jonathan Wakely via Gcc-patches
On 24/05/20 15:43 +0200, François Dumont via Libstdc++ wrote: Now tested in C++98 mode, there was indeed a small problem. I even wonder if I shouldn't have extend the std::copy overload to any call with deque iterator as the output so that it is transform into an output to pointer. Ok to

[Bug middle-end/95485] missing warning writing into function text

2020-06-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug middle-end/95485] New: missing warning writing into function text

2020-06-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Bug ID: 95485 Summary: missing warning writing into function text Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: sign_and_send_pubkey: signing failed: agent refused operation

2020-06-02 Thread Jim Wilson
On Mon, Jun 1, 2020 at 3:33 PM Martin Sebor via Gcc wrote: > So it sounds like you wouldn't expect the "agent refused operation" > error either, and it's not just a poor error message that I should > learn to live with. That makes me think I should try to figure out > what's wrong. I think the

[PATCH] c++: constrained nested partial specialization [PR92103]

2020-06-02 Thread Patrick Palka via Gcc-patches
When determining the most specialized partial specialization of a primary template that is nested inside a class template, we first tsubst the outer template arguments into the TEMPLATE_DECL of each partial specialization, and then check for satisfaction of the new TEMPLATE_DECL's constraints.

[Bug c++/92103] constraints not checked on nested class template

2020-06-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92103 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/95193] [11 Regression] ICE in tsubst_decl, at cp/pt.c:14624

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95193 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4b68cb38ddca37a14a6f2f43de3a6d396ee1bc79 commit r11-838-g4b68cb38ddca37a14a6f2f43de3a6d396ee1bc79 Author: Jason Merrill Date:

[pushed] c++: *this capture in const member fn [PR95193].

2020-06-02 Thread Jason Merrill via Gcc-patches
Here, the capture proxy for *this is const, but its DECL_VALUE_EXPR is not. Don't ICE on this; it's a reasonable difference, since in C++ an rvalue of scalar type does not have cv-qualifiers. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: PR c++/95193 * pt.c

[PATCH] FAT library support for libatomic, libgfortran, libgomp, libstdc++

2020-06-02 Thread David Edelsohn via Gcc-patches
[I'll start by repeating what I wrote about a similar libgcc change to provide background and context.] When AIX added 64 bit support, it implemented what Apple MacOS Darwin calls "FAT" libraries for its equivalent functionality -- both 32 bit and 64 bit objects (or shared objects) are co-located

[PATCH] RISC-V: Make __divdi3 handle div by zero same as hardware.

2020-06-02 Thread Jim Wilson
The ISA manual specifies that divide by zero always returns -1 as the result. We were failing to do that when the dividend was negative. Tested with cross toolchain builds for riscv32-elf and riscv64-linux. There were no regressions. Committed. Jim libgcc/ * config/riscv/div.S

Re: [PATCH] RISC-V: align RISC-V software division with hardware specification in case of division by zero

2020-06-02 Thread Jim Wilson
On Fri, May 29, 2020 at 1:53 AM MOSER Virginie via Gcc-patches wrote: > The assembly code in libgcc/config/riscv/div.S does not handle the division > by zero as specified in the riscv-spec v2.2 chapter 6.2 in case of signed > division: This looks OK. There are some administrative comments to

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-06-02 Thread andrew2085 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #28 from Andrew Downing --- Hey that's cheating, but yea the second part did it.

[FYI] [Ada] remove last traces of -auxbase

2020-06-02 Thread Alexandre Oliva
Remove occurrences of auxbase that remained in comments. Regstrapped on x86_64-linux-gnu. Pre-approved by Arno. for gcc/ada/ChangeLog * lib.ads (Compilation_Switches): Remove -auxbase from comments. * switch.ads (Is_Internal_GCC_Switch): Likewise. --- ada/lib.ads

Re: [PATCH] Prefer simple case changes in spelling suggestions

2020-06-02 Thread David Malcolm via Gcc-patches
On Sat, 2020-05-30 at 18:51 +, Pip Cet wrote: > On Sat, May 30, 2020 at 5:06 PM David Malcolm > wrote: > > On Sat, 2020-05-30 at 13:40 +, Pip Cet via Gcc-patches wrote: > > > I think we should just omit the triangle inequality test from the > > > self-test, as in the attached patch. > >

Re: [PATCH] Prefer simple case changes in spelling suggestions

2020-06-02 Thread David Malcolm via Gcc-patches
On Mon, 2020-06-01 at 14:11 -0600, Tom Tromey wrote: > > Did the full DejaGnu testsuite get run? There are a lot of tests > > in it > > that make use of this code. > > I did "make check" and only saw some XFAILs. > > Here's v2 of the patch, which I think addresses your comments. I did > not

[Bug c++/95484] New: Friend declaration of member function template has no effect

2020-06-02 Thread herring at lanl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95484 Bug ID: 95484 Summary: Friend declaration of member function template has no effect Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug c++/95050] coroutine: no "mandatory copy elision" for prvalue await_resume expression.

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95050 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:324276ff9b1aa5128e5cb9f5d43182d1ebab0752 commit r11-835-g324276ff9b1aa5128e5cb9f5d43182d1ebab0752 Author: Iain Sandoe Date: Tue

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-06-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #27 from rguenther at suse dot de --- On June 2, 2020 6:34:12 PM GMT+02:00, andrew2085 at gmail dot com wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 > >--- Comment #25 from Andrew Downing --- >Do you know how to

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #15 from rguenther at suse dot de --- On June 2, 2020 6:55:21 PM GMT+02:00, skpgkp2 at gmail dot com wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 > >--- Comment #14 from Sunil Pandey --- >Created attachment 48662 >

[Bug target/95471] vrndvq_f32 not supported on armv8

2020-06-02 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95471 --- Comment #2 from Evan Nemerson --- In that case shouldn't the header be adjusted to not define the vrndvq_f32 function unless it is enabled? It is already guarded by a check for __ARM_ARCH >= 8 (see

[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT

2020-06-02 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348 --- Comment #24 from qinzhao at gcc dot gnu.org --- with the patch added to gcc11, I tested it with the small testing case, and got the following data: **without the patch: qinzhao@gcc14:~/Bugs/profile/small_gcc/gcc_prof_dir/13248$ ls -l

[Bug target/95483] New: [i386] Missing SIMD functions

2020-06-02 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95483 Bug ID: 95483 Summary: [i386] Missing SIMD functions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/95459] aarch64: ICE in aarch64_short_vector_p, at config/aarch64/aarch64.c:16803

2020-06-02 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95459 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libstdc++/90102] Incorrect ambiguous overload with _GLIBCXX_DEBUG

2020-06-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90102 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

Re: [PATCH PR95459] aarch64: ICE in aarch64_short_vector_p, at config/aarch64/aarch64.c:16803

2020-06-02 Thread Richard Sandiford
"Yangfei (Felix)" writes: > Hi, > > Please review this trivial patch fixing an ICE in aarch64_short_vector_p. > Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95459 > > In aarch64_short_vector_p, we are simply checking whether a type (and a > mode) > is a 64/128-bit short

[Bug target/95459] aarch64: ICE in aarch64_short_vector_p, at config/aarch64/aarch64.c:16803

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95459 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:b2672dd630c81513e08829adc63294ffeedf5693 commit r11-833-gb2672dd630c81513e08829adc63294ffeedf5693 Author: Fei Yang Date: Tue

[committed] libstdc++: Make debug containers prefer copy ctor to base ctor (PR 90102)

2020-06-02 Thread Jonathan Wakely via Gcc-patches
When given a type which can convert to any container-like type, the C(const C&) copy constructor and C(const C::_Base&) converting constructor are ambiguous. This change replaces the converting constructor's parameter with a reference_wrapper-like type so that calling that constructor requires an

[Bug libstdc++/90102] Incorrect ambiguous overload with _GLIBCXX_DEBUG

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90102 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:eca833b81289438ec5ae3ed4c77ffb49cfb65f34 commit r11-832-geca833b81289438ec5ae3ed4c77ffb49cfb65f34 Author: Jonathan Wakely Date:

Re: [patch] Make memory copy functions scalar storage order barriers

2020-06-02 Thread Eric Botcazou
[Starting with tne VN issue] > For the VN case the issue is interpreting a read via memcpy (non > reverse-storage) as a reverse-storage one when matching up with a hashtable > entry from a regular reverse-storage order store, correct? It's a read from a scalar (hence native order) combined with

[Bug target/95347] rs6000 mcpu=future generating stfs instead of pstfs for pc-relative references

2020-06-02 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95347 acsawdey at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2020-06-02 Ever

[Bug target/49854] Clean up SPE/e500 option handling

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49854 --- Comment #6 from Segher Boessenkool --- Please *NEVER* close bugs for things you are not the maintainer for.

[Bug middle-end/95481] Failure to optimize infinite recursion for struct types

2020-06-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95481 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/95158] [10/11 Regression] Templates + Diamond Inheritance + Final = Pure Virtual Function Call

2020-06-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95158 --- Comment #2 from Paolo Carlini --- That the issue goes away when templates are not involved seems an useful hint: are we trying to optimize too early? Sorry, for the time being I don't feel like assigning the bug to me, I'm in the middle of

[Bug debug/95482] New: Feature request: add -gsplit-dwarf=single

2020-06-02 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95482 Bug ID: 95482 Summary: Feature request: add -gsplit-dwarf=single Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH 5/7 v3] vect: Support vector load/store with length in vectorizer

2020-06-02 Thread Segher Boessenkool
On Tue, Jun 02, 2020 at 12:50:25PM +0100, Richard Sandiford wrote: > This might not be the best time to bring this up :-) but it seems > odd to be asking the target for the induction variable type here. > I got the impression that the hook was returning DImode, whereas > the PowerPC instructions

[Bug tree-optimization/95481] New: Failure to optimize infinite recursion for struct types

2020-06-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95481 Bug ID: 95481 Summary: Failure to optimize infinite recursion for struct types Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

  1   2   3   4   >