[Bug tree-optimization/118523] [15 regression] std::vector C++20 Wuninitialized false positive at -O2

2025-01-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118523 --- Comment #2 from maic --- Yes, thanks! This looks like a dup. When running in valgrind I also get "Conditional jump or move depends on uninitialised value(s)"

[Bug tree-optimization/118523] New: [15 regression] std::vector C++20 Wuninitialized false positive

2025-01-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118523 Bug ID: 118523 Summary: [15 regression] std::vector C++20 Wuninitialized false positive Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118521] [15 regression] std::vector Wstringop-overflow false positive

2025-01-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521 --- Comment #3 from maic --- > Is this reduced from a larger different testcase or was this found just by > accident? I was hitting it in a unit test function, which needs to construct a byte vector in a specific way for testing. I then extract

[Bug tree-optimization/118521] New: [15 regression] std::vector Wstringop-overflow false positive

2025-01-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521 Bug ID: 118521 Summary: [15 regression] std::vector Wstringop-overflow false positive Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/117966] New: [12/13/14/15 regression] constexpr std::span construction fails to compile with D_GLIBCXX_DEBUG

2024-12-09 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117966 Bug ID: 117966 Summary: [12/13/14/15 regression] constexpr std::span construction fails to compile with D_GLIBCXX_DEBUG Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/114753] New: from_chars aborts with -m32 -ftrapv when passed -9223372036854775808

2024-04-17 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114753 Bug ID: 114753 Summary: from_chars aborts with -m32 -ftrapv when passed -9223372036854775808 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/114740] New: i686-linux-gnu-g++ does not interpret floating point literals as double

2024-04-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114740 Bug ID: 114740 Summary: i686-linux-gnu-g++ does not interpret floating point literals as double Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: norm

[Bug middle-end/90348] [11/12/13/14 Regression] Partition of char arrays is incorrect in some cases

2023-07-19 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348 maic changed: What|Removed |Added CC||gnu.ojxq8 at dralias dot com --- Comment #29 from

[Bug c++/109871] New: error: call of overloaded ... ambiguous (std::vector vs designated initializers)

2023-05-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109871 Bug ID: 109871 Summary: error: call of overloaded ... ambiguous (std::vector vs designated initializers) Product: gcc Version: 13.0 Status: UNCONFIRMED Severit

[Bug sanitizer/109786] New: basic_string.h: runtime error: execution reached an unreachable program point

2023-05-09 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109786 Bug ID: 109786 Summary: basic_string.h: runtime error: execution reached an unreachable program point Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity

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

2023-04-12 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #31 from maic --- Would be nice if this was re-opened, or should a new bug be filed?

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2023-04-11 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 98450, which changed state. Bug 98450 Summary: Inconsistent Wunused-variable warning for std::array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98450 What|Removed |Added ---

[Bug c++/98450] Inconsistent Wunused-variable warning for std::array

2023-04-11 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98450 maic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2023-04-11 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #30 from maic --- This bug still exists for our project. To reproduce: # g++ --version g++ (GCC) 13.0.1 20230404 (Red Hat 13.0.1-0) # cat /tmp/2.cpp const int &Select(const int &i, const bool &b) { return i; } int main() { in