[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2021-12-27 Thread brandt.milo2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 --- Comment #6 from Milo Brandt --- Created attachment 52074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52074&action=edit A proposed testcase for the original bug.

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2021-12-27 Thread brandt.milo2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 --- Comment #7 from Milo Brandt --- Created attachment 52075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52075&action=edit A proposed testcase for a more subtle variant of the same bug.

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2021-12-27 Thread brandt.milo2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 --- Comment #8 from Milo Brandt --- I was trying to fix this and, from my work, I have a precise diagnosis of the bug and a hack that *mostly* fixes things, but leaves a more subtle bug unfixed. Debugging this is getting over my head, but the des

[Bug tree-optimization/53044] completely peel loops that do not run a constant time

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53044 Andrew Pinski changed: What|Removed |Added Known to work||4.8.1, 4.9.2, 5.1.0, 6.1.0,

[Bug tree-optimization/53044] completely peel loops that do not run a constant time

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53044 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Complete peeling was done by r0-119587-gb7442c2fe0e28 . So all fixed. Note the testcases for this case were added with r0-119617-gc8379865b38e7 .

[Bug c++/99968] ICE on remove_const_t in requires-expression

2021-12-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99968 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug ipa/86132] Failure to elide condition known to be non-null

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86132 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/legacy-ml/gcc/2012-10/msg00024.html

[Bug tree-optimization/57169] fully unrolled matrix multiplication not vectorized

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57169 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Known to work|

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 57169, which changed state. Bug 57169 Summary: fully unrolled matrix multiplication not vectorized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57169 What|Removed |Added

[Bug target/86693] inefficient atomic_fetch_xor

2021-12-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86693 --- Comment #6 from Hongtao.liu --- (In reply to H.J. Lu from comment #5) > (In reply to Hongtao.liu from comment #4) > > Change testcase a little bit, gcc now can generate lock btc > > > > > > void func1(); > > > > void func(unsigned long *co

[Bug tree-optimization/68694] SLP loads should be permuted until supported if possible

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68694 Andrew Pinski changed: What|Removed |Added Known to work||10.1.0, 9.3.0 Known to fail|

[Bug tree-optimization/65426] Recognize byte-swaps when writing to buffers

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65426 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug tree-optimization/51964] Missed tail merging opportunity

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Las

[Bug tree-optimization/51964] Missed tail merging opportunity

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 Andrew Pinski changed: What|Removed |Added Depends on||13563 Status|ASSIGNED

[Bug tree-optimization/51964] Missed tail merging opportunity

2021-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/103849] New: std::hash specializations with distinct concepts fails

2021-12-27 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103849 Bug ID: 103849 Summary: std::hash specializations with distinct concepts fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug target/103842] [12 regression] ICE on ilmbase-2.5.7: during RTL pass: expand

2021-12-27 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103842 --- Comment #6 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #5) > Created attachment 52068 [details] > gcc12-pr103842.patch > > Untested fix. The patch is OK. Thanks, Uros.

<    1   2