[Bug libstdc++/105291] New: include/c++/12.0.1/debug/safe_unordered_container.h:71:28: error: captured variable '__local_end' cannot appear here

2022-04-16 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291 Bug ID: 105291 Summary: include/c++/12.0.1/debug/safe_unordered_container.h:71 :28: error: captured variable '__local_end' cannot appear here Product: gcc Versio

[Bug libstdc++/105291] include/c++/12.0.1/debug/safe_unordered_container.h:71:28: error: captured variable '__local_end' cannot appear here

2022-04-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291 --- Comment #1 from Jonathan Wakely --- > > + using __local_end_t = __decltype(__local_end); This code isn't valid pre-C++11 so we can just use decltype, not __decltype.

[Bug libstdc++/105291] include/c++/12.0.1/debug/safe_unordered_container.h:71:28: error: captured variable '__local_end' cannot appear here

2022-04-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291 --- Comment #2 from Jonathan Wakely --- Clang implements the wording correctly: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2036r3.html#pnum_3 So int a = 0; [a] (decltype(a)) { }; is ill-formed now. But I'm not convinced that's a g

[Bug libstdc++/105291] include/c++/12.0.1/debug/safe_unordered_container.h:71:28: error: captured variable '__local_end' cannot appear here

2022-04-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291 --- Comment #3 from Jonathan Wakely --- https://github.com/cplusplus/CWG/issues/31

[Bug gcov-profile/105282] [11/12 Regression] V_INDIR overflow causes ICE on -O0 -flto in stream_out_histogram_value, at value-prof.cc:340

2022-04-16 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105282 --- Comment #3 from Sergei Trofimovich --- Created attachment 52819 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52819&action=edit 0001-gcov-profile-Allow-negative-counts-of-indirect-calls.patch

[Bug c/105292] New: [sparc64] ICE in expand_expr_real_2 on sparc64 when compiling with -mcpu=niagara4

2022-04-16 Thread koachan+gccbugs at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105292 Bug ID: 105292 Summary: [sparc64] ICE in expand_expr_real_2 on sparc64 when compiling with -mcpu=niagara4 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Seve

[Bug c++/105293] New: g++-8/i586: internal compiler error trying to compile with g++ (evtl. related to qt5/moc bug)

2022-04-16 Thread estellnb at elstel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105293 Bug ID: 105293 Summary: g++-8/i586: internal compiler error trying to compile with g++ (evtl. related to qt5/moc bug) Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug c/105294] New: restrict pointer - disagreement with specification

2022-04-16 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105294 Bug ID: 105294 Summary: restrict pointer - disagreement with specification Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/105293] g++-8/i586: internal compiler error trying to compile with g++ (evtl. related to qt5/moc bug)

2022-04-16 Thread estellnb at elstel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105293 Elmar Stellnberger changed: What|Removed |Added Attachment #52821|0 |1 is obsolete|

[Bug tree-optimization/105295] New: missed optimization with -ftrapv for conditional constants

2022-04-16 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105295 Bug ID: 105295 Summary: missed optimization with -ftrapv for conditional constants Product: gcc Version: 12.0 URL: https://godbolt.org/z/4rojo77a7 Status:

[Bug analyzer/105287] [12 Regression] ICE in analyzer get_region_for_local on C++ await cond_var

2022-04-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105287 --- Comment #3 from Iain Sandoe --- Initial analysis ... 1. The coroutines code is supposed to ensure that the local variables are given the context of the enclosing function (whether that is the ramp or the outlined actor). coroutines.cc:

[Bug jit/105296] New: libgccjit crashes when creating a struct constructor for an aligned struct type

2022-04-16 Thread marc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105296 Bug ID: 105296 Summary: libgccjit crashes when creating a struct constructor for an aligned struct type Product: gcc Version: 12.0 Status: UNCONFIRMED Severity

[Bug c++/105297] New: [12 Regression] new modules 'xtreme' test cases FAILs

2022-04-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105297 Bug ID: 105297 Summary: [12 Regression] new modules 'xtreme' test cases FAILs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/105297] [12 Regression] new modules 'xtreme' test cases FAILs

2022-04-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105297 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |12.0 Target|

[Bug libquadmath/105101] incorrect rounding for sqrtq

2022-04-16 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105101 --- Comment #10 from Michael_S --- BTW, the same ideas as in the code above could improve speed of division operation (on modern 64-bit HW) by factor of 3 (on Intel) or 2 (on AMD).