[Bug tree-optimization/120135] Strange -Wuninitialized behavior with struct

2025-05-07 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120135 --- Comment #9 from Andrew Bell --- As a note, this code doesn't evoke a warning on any other compiler/target that I tried.

[Bug tree-optimization/120135] Strange -Wuninitialized behavior with struct

2025-05-06 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120135 --- Comment #5 from Andrew Bell --- The emitted warning is somewhat confusing because it doesn't reference the constructor, which is where the initialization is missing. Also, this generates no warning: struct S { int i_; double d_; S()

[Bug c++/120135] New: Strange -Wunitialized behavior with struct

2025-05-06 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120135 Bug ID: 120135 Summary: Strange -Wunitialized behavior with struct Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/111103] gcc accepts bad type syntax

2023-08-22 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=03 --- Comment #4 from Andrew Bell --- What is the purpose of the extension?

[Bug c++/111103] New: gcc accepts bad type syntax

2023-08-22 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=03 Bug ID: 03 Summary: gcc accepts bad type syntax Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Ass