[Bug tree-optimization/119990] -Wmaybe-uninitialized -O3 false positive when using std::string in structure and designated initalizer

2025-04-28 Thread connor24nolan at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119990 --- Comment #3 from Connor Nolan --- This was reduced from a file in a project I was working on: https://godbolt.org/z/T4ozTPx3E #include #include // Config struct RebornConfig { // General struct { std::string version;

[Bug c++/119990] New: -Wmaybe-uninitialized -O3 false positive when using std::string in structure and designated initalizer

2025-04-28 Thread connor24nolan at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119990 Bug ID: 119990 Summary: -Wmaybe-uninitialized -O3 false positive when using std::string in structure and designated initalizer Product: gcc Version: 15.1.0 Status: UNCON

[Bug c++/118392] New: "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

2025-01-09 Thread connor24nolan at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118392 Bug ID: 118392 Summary: "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning Product: gcc Version: 15.0 Status: UNCONFIRMED Sever