[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #8 from Richard Biener --- (In reply to Andrew Pinski from comment #5) > (In reply to bin cheng from comment #4) > > On AArch64, iovpts generates following code: > >[local count: 954449108]: > > # crc_20 = PHI > > # ivtmp.5_1

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-04-29 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #10 from bin cheng --- (In reply to Richard Biener from comment #9) > (In reply to bin cheng from comment #7) > > Also, when calling move_fixed_address_to_symbol, fixed_address_object_p > > looks too restricted, it only considers link

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #9 from Richard Biener --- Created attachment 46257 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46257&action=edit more aggressive variant More aggressive variant using a bitmap, simply keeping the last, does for example @@

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #5

[Bug debug/89631] gcc/dwarf2cfi.c:1647:15:Semantic Issue: comparison of two values with different enumeration types in switch statement ('enum rtx_code' and 'tree_code'): -Wenum-compare-switch

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89631 --- Comment #8 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Mon Apr 29 07:54:34 2019 New Revision: 270641 URL: https://gcc.gnu.org/viewcvs?rev=270641&root=gcc&view=rev Log: Fix POLY_INT_CST/CONST_POLY_INT typo (PR 89631) 2019-04

[Bug debug/89631] gcc/dwarf2cfi.c:1647:15:Semantic Issue: comparison of two values with different enumeration types in switch statement ('enum rtx_code' and 'tree_code'): -Wenum-compare-switch

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89631 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug target/85910] config/aarch64/aarch64.c:15653:12: warning: duplicated ‘if’ condition

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85910 --- Comment #4 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Mon Apr 29 07:56:02 2019 New Revision: 270642 URL: https://gcc.gnu.org/viewcvs?rev=270642&root=gcc&view=rev Log: Fix aarch64_evpc_tbl guard (PR 85910) 2018-04-29 Richa

[Bug target/85910] config/aarch64/aarch64.c:15653:12: warning: duplicated ‘if’ condition

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85910 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug target/83691] Invalid gpr_reg_operand handling in powerpcspe port

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83691 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolutio

[Bug middle-end/89037] checking ice emitting 128-bit bit-field initializer

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89037 --- Comment #6 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Mon Apr 29 08:32:27 2019 New Revision: 270643 URL: https://gcc.gnu.org/viewcvs?rev=270643&root=gcc&view=rev Log: Fix output_constructor_bitfield handling of wide bitfiel

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #10 from Jan Hubicka --- Hi, the file was too large for bugzilla so I uploaded it to http://www.ucw.cz/~hubicka/Unified_cpp_dom_events0-8.ii.xz and posted link in comment #2 :) The agressive variant helps (I did not try to other one)

[Bug libstdc++/87982] No error for std::generate_n(ptr, ptr, f)

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87982 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > I think converting it to the iterator's difference type is the right fix. > Doing that would make the original example ill-formed, because the pointer > isn't

[Bug translation/90274] untranslated string literal in opts.c

2019-04-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90274 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #6 from Wilco --- (In reply to Martin Liška from comment #5) > The discussion looks familiar to me. Isn't that PR70140, where I was > suggesting something like: > > https://marc.info/?l=gcc-patches&m=150166433909242&w=2 > > with a n

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-04-29 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #11 from bin cheng --- For the record, this test reveals another issue that original iv cand is not considered: Group 0: Type: REFERENCE ADDRESS Use 0.0: At stmt:_1 = final_counts[i_21]; At pos: final_counts[i_21]

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #11 from Richard Biener --- I also see # DEBUG D#1 => {CLOBBER} # DEBUG grayWordD.71258 => D#1 that looks pointless. Results from removing grayWord_57(D) ={v} {CLOBBER}; during into-SSA rewrite. That should instead be # DE

[Bug bootstrap/87338] gcc 8.2 fails to bootstrap on ia64

2019-04-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87338 --- Comment #10 from John Paul Adrian Glaubitz --- Debian includes the patch now and consequently gcc-8 builds fine again: > https://buildd.debian.org/status/fetch.php?pkg=gcc-8&arch=ia64&ver=8.3.0-7&stamp=1556533635&raw=0

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #12 from Richard Biener --- Is # DEBUG INLINE_ENTRY NULL useful at all? And since I see # DEBUG D#1157 => &aOther_2(D)->mOffsetD.377222 # DEBUG thisD.1370683 => D#1158 # DEBUG aOtherD.1370684 => D#1157 # DEBUG INLINE_ENT

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #9 from Wilco --- (In reply to Martin Sebor from comment #7) > Rather than unconditionally transforming mempcpy to memcpy I would prefer to > see libc implementations of memccpy optimized. WG14 N2349 discusses a > rationale for this:

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #13 from Richard Biener --- (In reply to Richard Biener from comment #9) > Created attachment 46257 [details] > more aggressive variant > > More aggressive variant using a bitmap, simply keeping the last, does for > example > > @@ -

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 Richard Biener changed: What|Removed |Added Attachment #46256|0 |1 is obsolete|

[Bug target/86984] invalid relocation accessing a const char array

2019-04-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86984 John Paul Adrian Glaubitz changed: What|Removed |Added CC||glaubitz at physik dot fu-be

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

2019-04-29 Thread zsojka at seznam dot cz
sr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-270639-checking-yes-rtl-df-extra-armv7a-hardfloat Thread model: posix gcc version 10.0.0 20190429 (experimental) (GCC)

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #15 from Richard Biener --- And it's indeed "caused" by the CFG-cleanup fixes. The DCE patch gets us back to (nearly) the same number of debug stmts as before.

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #16 from Richard Biener --- Created attachment 46260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46260&action=edit removed-unused-local patch There do appear to be variables that are just appearing in # DEBUG var => NULL stm

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug libstdc++/90252] PSTL test failures

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90252 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/90276] New: FAIL: 20_util/specialized_algorithms/pstl/uninitialized_copy_move.cc execution test

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90276 Bug ID: 90276 Summary: FAIL: 20_util/specialized_algorithms/pstl/uninitialized_copy _move.cc execution test Product: gcc Version: 9.0 Status: UNCONFIR

[Bug libstdc++/90276] FAIL: 20_util/specialized_algorithms/pstl/uninitialized_copy_move.cc execution test

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90276 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #10 from Martin Liška --- (In reply to Wilco from comment #6) > (In reply to Martin Liška from comment #5) > > The discussion looks familiar to me. Isn't that PR70140, where I was > > suggesting something like: > > > > https://marc.i

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #11 from Martin Sebor --- My concern is that transforming memccpy to memcpy would leave little incentive for libraries like glibc to provide a more optimal implementation. Would implementing the function simply as memcpy and having t

[Bug libstdc++/90277] New: Debug Mode test failures

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90277 Bug ID: 90277 Summary: Debug Mode test failures Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assig

[Bug libstdc++/87982] No error for std::generate_n(ptr, ptr, f)

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87982 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Mon Apr 29 12:12:43 2019 New Revision: 270646 URL: https://gcc.gnu.org/viewcvs?rev=270646&root=gcc&view=rev Log: PR libstdc++/87982 Fix generate_n and fill_n use of _Size parameter The

[Bug libstdc++/87982] No error for std::generate_n(ptr, ptr, f)

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87982 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/90276] FAIL: 20_util/specialized_algorithms/pstl/uninitialized_copy_move.cc execution test

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90276 --- Comment #1 from Jonathan Wakely --- Lots of others fail too: make check RUNTESTFLAGS=conformance.exp="*/pstl/* \ --target_board=unix/-D_GLIBCXX_DEBUG" ... FAIL: 20_util/specialized_algorithms/pstl/uninitialized_copy_move.cc execution test

[Bug rtl-optimization/90249] [9/10 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2019-04-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 --- Comment #4 from Segher Boessenkool --- That is code *size*. Code size is expected to grow a tiny bit, because of *better* register allocation. But we could not do make_more_copies at -Os, if that helps? (The hard register changes themselve

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

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90275 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #12 from Wilco --- (In reply to Martin Sebor from comment #11) > My concern is that transforming memccpy to memcpy would leave little > incentive for libraries like glibc to provide a more optimal implementation. > Would implementing

[Bug rtl-optimization/90249] [9/10 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #5 from Wil

[Bug rtl-optimization/90249] [9/10 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2019-04-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 --- Comment #6 from Segher Boessenkool --- (In reply to Wilco from comment #5) > (In reply to Segher Boessenkool from comment #4) > > That is code *size*. Code size is expected to grow a tiny bit, because of > > *better* register allocation. > >

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #18 from Richard Biener --- (In reply to rsand...@gcc.gnu.org from comment #17) > Created attachment 46261 [details] > Doing the removal in find_obviously_necessary_stmts > > Just for the record: I'd written this over the weekend for

[Bug rtl-optimization/90249] [9/10 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2019-04-29 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 --- Comment #7 from Richard Earnshaw --- (In reply to Segher Boessenkool from comment #4) > That is code *size*. Code size is expected to grow a tiny bit, because of > *better* register allocation. > > But we could not do make_more_copies at -O

[Bug rtl-optimization/90249] [9/10 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2019-04-29 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 --- Comment #8 from Richard Earnshaw --- (In reply to Richard Earnshaw from comment #7) > (In reply to Segher Boessenkool from comment #4) > > That is code *size*. Code size is expected to grow a tiny bit, because of > > *better* register alloca

[Bug tree-optimization/90278] New: ICE: verify_gimple failed (error: statement marked for throw, but doesn't)

2019-04-29 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90278 Bug ID: 90278 Summary: ICE: verify_gimple failed (error: statement marked for throw, but doesn't) Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-ch

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #13 from Martin Sebor --- I mean an equivalent of the following (with suitable symbol linkage): void* memccpy (void *d, const void *s, int c, size_t n) { // efficient memccpy, perhaps in assembly } void* memcpy (void *d,

[Bug libstdc++/71312] mutexes for shared_ptr atomics should be padded to cacheline size

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71312 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Mon Apr 29 12:55:29 2019 New Revision: 270649 URL: https://gcc.gnu.org/viewcvs?rev=270649&root=gcc&view=rev Log: PR libstdc++/71312 Increase alignment of pooled mutexes PR libst

[Bug tree-optimization/90278] ICE: verify_gimple failed (error: statement marked for throw, but doesn't)

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90278 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/90260] function multiversioning: template functions not supported

2019-04-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90260 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #14 from Martin Liška --- Created attachment 46262 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46262&action=edit Patch candidate Patch candidate that handles: $ cat ~/Programming/testcases/mempcpy.c int *mempcopy2 (int *p,

[Bug debug/90279] New: DW_AT_location missing for struct-based Variable

2019-04-29 Thread daniel.penning at embeff dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90279 Bug ID: 90279 Summary: DW_AT_location missing for struct-based Variable Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #15 from Martin Sebor --- I just noticed I have been misreading mempcpy as memccpy and so making no sense. Sorry about that! Please ignore my comments.

[Bug libstdc++/87982] No error for std::generate_n(ptr, ptr, f)

2019-04-29 Thread j.v.dijk at tue dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87982 --- Comment #10 from Jan van Dijk --- Thanks a lot. And sorry for being pedantic, but I believe that the documentation of the return value of generate_n is still wrong for negative __n (see the first part of comment #5).

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #19 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #18) > (In reply to rsand...@gcc.gnu.org from comment #17) > > Created attachment 46261 [details] > > Doing the removal in find_obviously_necessary_stm

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #16 from Wilco --- (In reply to Martin Sebor from comment #15) > I just noticed I have been misreading mempcpy as memccpy and so making no > sense. Sorry about that! Please ignore my comments. I see, yes we have too many and the na

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #17 from Wilco --- (In reply to Wilco from comment #16) > (In reply to Martin Sebor from comment #15) > > I just noticed I have been misreading mempcpy as memccpy and so making no > > sense. Sorry about that! Please ignore my commen

[Bug libstdc++/71312] mutexes for shared_ptr atomics should be padded to cacheline size

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71312 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/87982] No error for std::generate_n(ptr, ptr, f)

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87982 --- Comment #11 from Jonathan Wakely --- Addressed in r270651

[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-04-29 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #12 from rguenther at suse dot de --- On Mon, 29 Apr 2019, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 > > --- Comment #10 from bin cheng --- > (In reply to Richard Biener from comment #9) >

[Bug other/90257] [10 Regression] 8% degradation on cpu2006 403.gcc starting with r270484

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90257 --- Comment #15 from Jakub Jelinek --- I have tried: --- gcc/cfgrtl.c(revision 270605) +++ gcc/cfgrtl.c(working copy) @@ -557,7 +557,8 @@ flow_active_insn_p (const rtx_insn *insn keep the return value from being live across

[Bug middle-end/90263] Calls to mempcpy should use memcpy

2019-04-29 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263 --- Comment #18 from Wilco --- (In reply to Martin Liška from comment #14) > Created attachment 46262 [details] > Patch candidate > > Patch candidate that handles: > > $ cat ~/Programming/testcases/mempcpy.c > int *mempcopy2 (int *p, int *q, lo

[Bug c/90036] [8/9/10 Regression] false positive: directive argument is null [-Werror=format-overflow=]

2019-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036 --- Comment #5 from Martin Sebor --- (In reply to Dmitry G. Dyachenko from comment #3) The null pointer detection was added in r265648 so that would be the change responsible for the warning. As Jeff noted, the root cause of false positives her

[Bug rtl-optimization/90257] [10 Regression] 8% degradation on cpu2006 403.gcc starting with r270484

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90257 --- Comment #16 from Jakub Jelinek --- Author: jakub Date: Mon Apr 29 14:18:55 2019 New Revision: 270653 URL: https://gcc.gnu.org/viewcvs?rev=270653&root=gcc&view=rev Log: PR rtl-optimization/90257 * cfgrtl.c (flow_active_insn_p)

[Bug target/90178] [9 Regression] Missed optimization: duplicated terminal basic block with -mavx

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90178 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon Apr 29 14:18:55 2019 New Revision: 270653 URL: https://gcc.gnu.org/viewcvs?rev=270653&root=gcc&view=rev Log: PR rtl-optimization/90257 * cfgrtl.c (flow_active_insn_p)

[Bug translation/90149] diagnostics containing BIT_FIELD_REF don't conform to diagnostics guideline

2019-04-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90149 --- Comment #8 from Martin Sebor --- (In reply to Richard Biener from comment #6) The trouble is that there is no way to tell whether error ("BIT_FIELD_REF of non-mode-precision operand"); is a user-facing error or an internal error not

[Bug c/90036] [8/9/10 Regression] false positive: directive argument is null [-Werror=format-overflow=]

2019-04-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036 --- Comment #6 from Segher Boessenkool --- (In reply to Martin Sebor from comment #5) > A conversion specification is what follows the % character (i.e., just the > 's' in in something like "%3s", with the 's' being called a conversion > specifie

[Bug rtl-optimization/90280] New: [9/10 Regression] ICE: in lra_assign, at lra-assigns.c:1650 with -O -fno-dce -fno-forward-propagate -fno-omit-frame-pointer

2019-04-29 Thread zsojka at seznam dot cz
able-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-270639-checking-yes-rtl-df-extra-armv7a-hardfloat Thread model: posix gcc version 10.0.0 20190429 (experimental) (GCC)

[Bug libstdc++/90281] New: utf-8 encoded std::filesystem::path can not be converted to utf-16.

2019-04-29 Thread ssh at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90281 Bug ID: 90281 Summary: utf-8 encoded std::filesystem::path can not be converted to utf-16. Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/90260] function multiversioning: template functions not supported

2019-04-29 Thread nheart at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90260 --- Comment #2 from Nikolay Bogoychev --- Hey Martin, I know clang doesn't support that. I have opened a separate bug report there https://bugs.llvm.org/show_bug.cgi?id=41613 Based on some discussions on their mailing lists, it seems like this

[Bug target/90260] function multiversioning: template functions not supported

2019-04-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90260 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug libstdc++/90050] std::filesystem::path segfault in destructor

2019-04-29 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90050 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #8 f

[Bug libstdc++/90281] utf-8 encoded std::filesystem::path can not be converted to utf-16.

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90281 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/90257] [10 Regression] 8% degradation on cpu2006 403.gcc starting with r270484

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90257 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/90178] [9 Regression] Missed optimization: duplicated terminal basic block with -mavx

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90178 Bug 90178 depends on bug 90257, which changed state. Bug 90257 Summary: [10 Regression] 8% degradation on cpu2006 403.gcc starting with r270484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90257 What|Removed |A

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 90257, which changed state. Bug 90257 Summary: [10 Regression] 8% degradation on cpu2006 403.gcc starting with r270484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90257 What|Removed |A

[Bug tree-optimization/90271] [missed-optimization] failure to keep variables in registers during "faux" memcpy

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90271 --- Comment #7 from Jakub Jelinek --- On the store-merging side --- gimple-ssa-store-merging.c.jj 2019-01-01 12:37:19.063943678 +0100 +++ gimple-ssa-store-merging.c 2019-04-29 16:45:38.333266338 +0200 @@ -4164,7 +4164,8 @@ lhs_valid_for_st

[Bug libstdc++/90281] utf-8 encoded std::filesystem::path can not be converted to utf-16.

2019-04-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90281 --- Comment #1 from Jonathan Wakely --- The problem is that I'm using codecvt_utf8, which converts between UTF-8 and UCS-2 (not UTF-16). The U+1D11E is outside the basic multilingual plane, so is not valid UCS-2. I need to use a different codecv

[Bug translation/90149] diagnostics containing BIT_FIELD_REF don't conform to diagnostics guideline

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90149 Richard Biener changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug rtl-optimization/90280] [9/10 Regression] ICE: in lra_assign, at lra-assigns.c:1650 with -O -fno-dce -fno-forward-propagate -fno-omit-frame-pointer

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90280 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug target/65782] Assembly failure (invalid register for .seh_savexmm) with -O3 -mavx512f on mingw-w64

2019-04-29 Thread agner at agner dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782 Agner Fog changed: What|Removed |Added CC||agner at agner dot org --- Comment #6 from A

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #20 from Jakub Jelinek --- Another report: https://gcc.gnu.org/ml/gcc/2019-04/msg00270.html

[Bug debug/90273] [9/10 Regression] GCC runs out of memory building Firefox

2019-04-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90273 --- Comment #21 from Jan Hubicka --- I just built Firefox with GCC 9 branch and the updated patch. Debug enabled build is: real45m56.187s user493m8.688s sys 22m4.512s compared to debug disabled build with GCC 9: real35m5.141s use

[Bug middle-end/86172] [meta-bug] issues with -Wnull-dereference

2019-04-29 Thread zhroma at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86172 Bug 86172 depends on bug 90264, which changed state. Bug 90264 Summary: [9/10 Regression] -Wnull-dereference QoI issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90264 What|Removed |Added -

[Bug tree-optimization/90264] [9/10 Regression] -Wnull-dereference QoI issue

2019-04-29 Thread zhroma at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90264 Roman Zhuykov changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug translation/90149] diagnostics containing BIT_FIELD_REF don't conform to diagnostics guideline

2019-04-29 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90149 --- Comment #10 from Roland Illig --- (In reply to Richard Biener from comment #9) > IMHO the error calls in our IL checkers are abusive, they could have been > simple dumps to stderr for example. It was just "convenient" to use > a disagnostic

[Bug c/90036] [8/9/10 Regression] false positive: directive argument is null [-Werror=format-overflow=]

2019-04-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036 --- Comment #7 from Jeffrey A. Law --- Bah! Lost my reduced testcase...

[Bug other/44435] gengtype: don't test undefined value after vasprintf failure

2019-04-29 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44435 --- Comment #8 from joseph at codesourcery dot com --- I have not been tracking the state of review or lack thereof for these patches.

[Bug rtl-optimization/90282] New: internal compiler error: qsort checking failed in snapshot-20190429

2019-04-29 Thread jason.duerstock at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90282 Bug ID: 90282 Summary: internal compiler error: qsort checking failed in snapshot-20190429 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c/90036] [8/9/10 Regression] false positive: directive argument is null [-Werror=format-overflow=]

2019-04-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036 --- Comment #8 from Jeffrey A. Law --- extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); typedef int bfd_boolean; struct stab_type_stack { long index; bfd_

[Bug c++/82081] Tail call optimisation of noexcept function leads to exception allowed through

2019-04-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82081 --- Comment #9 from Jason Merrill --- Author: jason Date: Mon Apr 29 17:27:13 2019 New Revision: 270656 URL: https://gcc.gnu.org/viewcvs?rev=270656&root=gcc&view=rev Log: PR c++/82081 - tail call optimization breaks noexcept If a noexce

[Bug tree-optimization/88709] Improve store-merging

2019-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #3 from Jakub Jelinek --- WIP: --- gcc/gimple-ssa-store-merging.c.jj 2019-01-01 12:37:19.063943678 +0100 +++ gcc/gimple-ssa-store-merging.c 2019-04-29 19:02:55.992151104 +0200 @@ -1615,13 +1615,31 @@ encode_tree_to_bitpos (tree

[Bug rtl-optimization/90282] internal compiler error: qsort checking failed in snapshot-20190429

2019-04-29 Thread jason.duerstock at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90282 --- Comment #1 from Jason Duerstock --- Created attachment 46264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46264&action=edit gcc dump

[Bug middle-end/90283] New: 519.lbm_r is 7%-10% slower with -Ofast -march=native and both LTO and PGO than with GCC 8

2019-04-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90283 Bug ID: 90283 Summary: 519.lbm_r is 7%-10% slower with -Ofast -march=native and both LTO and PGO than with GCC 8 Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug go/90272] internal compile error with full backtrace

2019-04-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90272 --- Comment #1 from Ian Lance Taylor --- Thanks. To be clear, while of course the compiler should not crash, this is not a valid Go program.

[Bug tree-optimization/90278] ICE: verify_gimple failed (error: statement marked for throw, but doesn't)

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90278 Richard Biener changed: What|Removed |Added Known to work||10.0 Known to fail|10.0

[Bug tree-optimization/90278] ICE: verify_gimple failed (error: statement marked for throw, but doesn't)

2019-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90278 --- Comment #2 from Richard Biener --- Author: rguenth Date: Mon Apr 29 17:53:36 2019 New Revision: 270657 URL: https://gcc.gnu.org/viewcvs?rev=270657&root=gcc&view=rev Log: 2019-04-29 Richard Biener PR tree-optimization/90278

  1   2   >