[Bug tree-optimization/117612] New: spaceship codegen is inferior to hand written operator when comparing doubles

2024-11-15 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117612 Bug ID: 117612 Summary: spaceship codegen is inferior to hand written operator when comparing doubles Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/114706] New: ICE - std::bit_cast in consteval function involving union

2024-04-12 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114706 Bug ID: 114706 Summary: ICE - std::bit_cast in consteval function involving union Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/111742] Misaligned generated code with MI using aligned virtual base

2023-10-09 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111742 --- Comment #2 from Chris Uzdavinis --- No, this is not a ubsan report. Code *crashes* and I thought showing the UBsan warning was enough to demonstrate it. A minimal change to make the code crash instead of just report ubsan errors: struct X

[Bug c++/111742] New: Misaligned generated code with MI using aligned virtual base

2023-10-09 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111742 Bug ID: 111742 Summary: Misaligned generated code with MI using aligned virtual base Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110810] New: ICE in check_noexcept_r, at cp/except.cc:1068

2023-07-25 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110810 Bug ID: 110810 Summary: ICE in check_noexcept_r, at cp/except.cc:1068 Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/110620] spurious array-bounds

2023-07-10 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #4 from Chris Uzdavinis --- (Sorry I was getting bugzilla errors about collisions when adding comments, but they seemed to have gone through after all.)

[Bug tree-optimization/110620] spurious array-bounds

2023-07-10 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #3 from Chris Uzdavinis --- Starting with Gcc12.1 (at least on x86) and through all versions up to the trunk (post 13.1) This warning hits with optimization -O2 or higher. https://godbolt.org/z/q3T39Wf8c #include void fo

[Bug tree-optimization/110620] spurious array-bounds

2023-07-10 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #2 from Chris Uzdavinis --- Created attachment 55516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55516&action=edit preprocessed code

[Bug tree-optimization/110620] spurious array-bounds

2023-07-10 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 --- Comment #1 from Chris Uzdavinis --- Starting with Gcc12.1 (at least on x86) and through all versions up to the trunk (post 13.1) This warning hits with optimization -O2 or higher. https://godbolt.org/z/q3T39Wf8c #include void fo

[Bug c++/110620] New: spurious array-bounds

2023-07-10 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110620 Bug ID: 110620 Summary: spurious array-bounds Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-04-27 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 Chris Uzdavinis changed: What|Removed |Added CC||cuzdav at gmail dot com --- Comment #

[Bug tree-optimization/107852] New: Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector

2022-11-23 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852 Bug ID: 107852 Summary: Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug analyzer/107725] Spurious warning: use of uninitialized value with std::any

2022-11-16 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107725 --- Comment #3 from Chris Uzdavinis --- Ah, sorry I didn't realize that. Its use was suggested by Jason Turner in his most recent C++ Weekly so I started to give it a try. Perhaps there will be an influx of such premature reports since it was

[Bug analyzer/107725] Spurious warning: use of uninitialized value with std::any

2022-11-16 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107725 --- Comment #1 from Chris Uzdavinis --- I get a similar warning with this code. Unsure if it's the same underlying issue. Also does not warn with g++10 or g++11, but does with newer versions. #include #include std::string create() { st

[Bug analyzer/107725] New: Spurious warning: use of uninitialized value with std::any

2022-11-16 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107725 Bug ID: 107725 Summary: Spurious warning: use of uninitialized value with std::any Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/106275] unordered_map with std::string key, std::hash, and custom equality predicate weirdness

2022-07-13 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106275 --- Comment #6 from Chris Uzdavinis --- Thank you for the information. If the equality comparison function is slow enough, the large number of extra calls may not be an optimization. While looking into it, the vastly different runtime behavi

[Bug libstdc++/106275] unordered_map with std::string key, std::hash, and custom equality predicate weirdness

2022-07-12 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106275 --- Comment #1 from Chris Uzdavinis --- Created attachment 53293 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53293&action=edit preprocessed code

[Bug libstdc++/106275] New: unordered_map with std::string key, std::hash, and custom equality predicate weirdness

2022-07-12 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106275 Bug ID: 106275 Summary: unordered_map with std::string key, std::hash, and custom equality predicate weirdness Product: gcc Version: 12.1.0 Status: U

[Bug tree-optimization/106044] Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy)

2022-06-21 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106044 --- Comment #2 from Chris Uzdavinis --- Even marginally simpler: #include auto f() { return "_" + std::string(" "); } Originally I marked it as tree-optimization since it's only with -O3, but it could be an issue in the standard library

[Bug tree-optimization/106044] Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy)

2022-06-21 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106044 --- Comment #1 from Chris Uzdavinis --- only in c++20, too.

[Bug tree-optimization/106044] New: Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy)

2022-06-21 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106044 Bug ID: 106044 Summary: Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy) Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: norm

[Bug c++/105726] New: spurious warning with -Warray-bounds

2022-05-24 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105726 Bug ID: 105726 Summary: spurious warning with -Warray-bounds Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/105589] New: [ICE] templated type alias over std::array with bound type in template function fails

2022-05-12 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105589 Bug ID: 105589 Summary: [ICE] templated type alias over std::array with bound type in template function fails Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug c++/105571] New: Spurious "set but not used" on static constexpr local, used in lambda

2022-05-11 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105571 Bug ID: 105571 Summary: Spurious "set but not used" on static constexpr local, used in lambda Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105511] New: Spurious warning: "expected 'template' keyword..." when lt and gt compare over ternary

2022-05-06 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105511 Bug ID: 105511 Summary: Spurious warning: "expected 'template' keyword..." when lt and gt compare over ternary Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug c++/105386] New: Tuple in unevaluated context is instantiated; creates reference to void

2022-04-25 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105386 Bug ID: 105386 Summary: Tuple in unevaluated context is instantiated; creates reference to void Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: norm

[Bug tree-optimization/80635] [8/9/10/11 regression] std::optional and bogus -Wmaybe-uninitialized warning

2020-10-15 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Chris Uzdavinis changed: What|Removed |Added CC||cuzdav at gmail dot com --- Comment #5