[Bug c++/106689] gcc crash while compiling a generic lambda

2022-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106689 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c++/106689] gcc crash while compiling a generic lambda

2022-08-19 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106689 --- Comment #5 from Janez Zemva --- The workaround is very simple, just put "[&]() noexcept -> bool" into sq2.hpp.

[Bug middle-end/106692] New: [10/11/12/13 Regression] Cray pointer comparison wrongly optimized away

2022-08-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 Bug ID: 106692 Summary: [10/11/12/13 Regression] Cray pointer comparison wrongly optimized away Product: gcc Version: unknown Status: UNCONFIRMED Severity: nor

[Bug ada/106693] New: gnat: poisoned calloc in gcc/ada/adaint.[hc] due to use of sched.h on musl

2022-08-19 Thread andrewathalye at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106693 Bug ID: 106693 Summary: gnat: poisoned calloc in gcc/ada/adaint.[hc] due to use of sched.h on musl Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: nor

[Bug target/106691] Section anchors is not implemented for riscv

2022-08-19 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106691 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug middle-end/106692] [10/11/12/13 Regression] Cray pointer comparison wrongly optimized away

2022-08-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #1 from Marek Polacek --- Started with r238754 but removing that match.pd doesn't help, so the problem is elsewhere. We optimize away zz1_1(D) != 0: __attribute__((fn spec (". w "))) void shape_cray (real(kind=4) & restrict zz1)

[Bug target/106691] Section anchors is not efficient for riscv

2022-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106691 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|Section anchors

[Bug middle-end/106692] [10/11/12/13 Regression] Cray pointer comparison wrongly optimized away

2022-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #2 from Andrew Pinski --- (In reply to Marek Polacek from comment #1) > Started with r238754 but removing that match.pd doesn't help, so the problem > is elsewhere. > > We optimize away zz1_1(D) != 0: > > __attribute__((fn spec ("

[Bug target/106691] Section anchors is not efficient for riscv

2022-08-19 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106691 --- Comment #3 from Andrew Waterman --- Relaxation to gp happens at link time, and because of the relatively small load/store offsets, the small-data limit is actually useful. I don't think we should turn it off, because when we relax to gp, we

[Bug target/106691] Section anchors is not efficient for riscv

2022-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106691 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Waterman from comment #3) > Relaxation to gp happens at link time Doing any kind of relaxation like this is REALLY REALLY BAD at link time. Sorry but the whole relaxation in the RISCV li

[Bug c/106694] New: Redundant move instructions in ARM SVE intrinsics use cases

2022-08-19 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106694 Bug ID: 106694 Summary: Redundant move instructions in ARM SVE intrinsics use cases Product: gcc Version: rust/master Status: UNCONFIRMED Severity: normal

[Bug fortran/106684] inconsistent array initialization

2022-08-19 Thread jorn--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106684 --- Comment #7 from Jorn Bruggeman --- None from me; thanks for the explanation!

[Bug debug/106263] BTF_KIND_FUNC type does not encode linkage

2022-08-19 Thread james.hilliard1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106263 --- Comment #2 from James Hilliard --- Should this be backported to the gcc 12 branch?

[Bug c++/106689] gcc crash while compiling a generic lambda

2022-08-19 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106689 --- Comment #6 from Janez Zemva --- I have since changed the repo. You can still demonstrate the bug by uncommenting the line: //[&a, &r, &s]() noexcept -> bool // uncomment for bug

<    1   2   3