[Bug c++/115318] decltype(lambda) from an template function inside a templated lambda causes ICE

2024-06-13 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115318 --- Comment #2 from Alfred Agrell --- struct a { int c; }; template struct ddd { int f() { using a2 = decltype([](int a::*)->a{}(::c)); return [](int a2::*){ return 2; }(::c); } }; int xs() { return ddd().f(); }

[Bug tree-optimization/115423] Inlined strcmp optimizes poorly

2024-06-11 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115423 --- Comment #3 from Alfred Agrell --- strcmp (c, "ABCDEFGHabcdefgh") || strcmp (c, "ABCDEFGHfoobar") can safely be optimized to 1, you're thinking of strcmp(c, "ABCDEFGHabcdefgh")==0 || strcmp(c, "ABCDEFGHfoobar")==0. Optimizing to multi-byte

[Bug tree-optimization/115423] New: Inlined strcmp optimizes poorly

2024-06-10 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115423 Bug ID: 115423 Summary: Inlined strcmp optimizes poorly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/115364] New: ICE-on-invalid when calling non-const template member on const object

2024-06-05 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115364 Bug ID: 115364 Summary: ICE-on-invalid when calling non-const template member on const object Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/115331] New: [15 regression] ICE-on-invalid passing a typoed lambda to a list-initializer

2024-06-03 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115331 Bug ID: 115331 Summary: [15 regression] ICE-on-invalid passing a typoed lambda to a list-initializer Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/115319] New: ICE when mutating a captured parameter in an explicit-this lambda if a capture is not trivially copyable

2024-06-01 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115319 Bug ID: 115319 Summary: ICE when mutating a captured parameter in an explicit-this lambda if a capture is not trivially copyable Product: gcc Version: unknown

[Bug c++/115318] New: decltype(lambda) with some templates causes ICE

2024-06-01 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115318 Bug ID: 115318 Summary: decltype(lambda) with some templates causes ICE Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/107337] -march docs for nocona are missing CX16

2024-03-15 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107337 Alfred Agrell changed: What|Removed |Added CC||blubban at gmail dot com --- Comment

[Bug c++/114167] New: Capturing a auto..., then unpacking it in a lambda taking Ts..., confuses GCC

2024-02-29 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114167 Bug ID: 114167 Summary: Capturing a auto..., then unpacking it in a lambda taking Ts..., confuses GCC Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug libstdc++/112564] New: std::format(std::thread::id) is incorrectly left-aligned

2023-11-16 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112564 Bug ID: 112564 Summary: std::format(std::thread::id) is incorrectly left-aligned Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110565] New: Incomplete note on why initializing int& with int is ill-formed

2023-07-05 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110565 Bug ID: 110565 Summary: Incomplete note on why initializing int& with int is ill-formed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/105667] [C++20] lambas in template argument sometimes causes an ICE (seg fault)

2023-06-30 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105667 Alfred Agrell changed: What|Removed |Added CC||blubban at gmail dot com --- Comment

[Bug c++/105804] coroutines: List-initialized argument in await expression is doubly freed

2023-04-16 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105804 Alfred Agrell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/107913] New: Bogus unused variable warning if used in if constexpr false in lambda with default capture by ref

2022-11-29 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107913 Bug ID: 107913 Summary: Bogus unused variable warning if used in if constexpr false in lambda with default capture by ref Product: gcc Version: unknown Status:

[Bug c++/107151] New: Specializing a concepted template can emit bogus assembly

2022-10-04 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107151 Bug ID: 107151 Summary: Specializing a concepted template can emit bogus assembly Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106541] New: Missing -Wuninitialized on self initialization if external code is called earlier in the function

2022-08-05 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106541 Bug ID: 106541 Summary: Missing -Wuninitialized on self initialization if external code is called earlier in the function Product: gcc Version: unknown Status:

[Bug c++/105804] New: List-initialized argument in await expression is doubly freed

2022-06-01 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105804 Bug ID: 105804 Summary: List-initialized argument in await expression is doubly freed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/103871] [11/12/13 Regression] co_await causes build error

2022-05-23 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 Alfred Agrell changed: What|Removed |Added CC||blubban at gmail dot com --- Comment

[Bug c++/105595] New: Coroutines can trigger -Wsubobject-linkage

2022-05-13 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 Bug ID: 105595 Summary: Coroutines can trigger -Wsubobject-linkage Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/103911] New: std::from_chars shouldn't call isdigit

2022-01-04 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103911 Bug ID: 103911 Summary: std::from_chars shouldn't call isdigit Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines

2021-12-31 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877 Bug ID: 103877 Summary: libstdc++ docs give a bad recommendation for printing C++ defines Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/103825] New: [12 Regression] ICE on switch on enum class in bitfield

2021-12-24 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103825 Bug ID: 103825 Summary: [12 Regression] ICE on switch on enum class in bitfield Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102198] New: Unused and nonsensical template instantiations used for return type inference end up in the output

2021-09-03 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102198 Bug ID: 102198 Summary: Unused and nonsensical template instantiations used for return type inference end up in the output Product: gcc Version: unknown Status:

[Bug c++/102120] New: expected tree that contains 'decl common' structure, have 'identifier_node' in dump_aggr_type, at cp/error.c:786

2021-08-29 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102120 Bug ID: 102120 Summary: expected tree that contains 'decl common' structure, have 'identifier_node' in dump_aggr_type, at cp/error.c:786 Product: gcc Version:

[Bug sanitizer/101758] New: Inconsistent optimizations with UBSan

2021-08-03 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101758 Bug ID: 101758 Summary: Inconsistent optimizations with UBSan Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug other/97280] New: Documentation typo - 'roudnevenl'

2020-10-03 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97280 Bug ID: 97280 Summary: Documentation typo - 'roudnevenl' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug c++/91212] [8/9/10/11 Regression] const ignored for ctor arguments within return since r8-2493-g4ce8c5dea53d8073

2020-09-27 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91212 Alfred Agrell changed: What|Removed |Added CC||blubban at gmail dot com --- Comment

[Bug c++/97221] Returning an array unexpectedly favors const overload in return value's constructor

2020-09-27 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97221 Alfred Agrell changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/97221] New: Returning an array unexpectedly favors const overload in return value's constructor

2020-09-27 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97221 Bug ID: 97221 Summary: Returning an array unexpectedly favors const overload in return value's constructor Product: gcc Version: unknown Status: UNCONFIRMED