[Bug c/118664] New: Improve -Wswitch and -Wswitch-enum warnings for enum types

2025-01-26 Thread pipcet at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118664 Bug ID: 118664 Summary: Improve -Wswitch and -Wswitch-enum warnings for enum types Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/119085] New: tree-sra generates wrong code for unions containing structs with holes

2025-03-02 Thread pipcet at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 Bug ID: 119085 Summary: tree-sra generates wrong code for unions containing structs with holes Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/119085] [12/13/14/15 regression] tree-sra generates wrong code for unions containing structs with holes (Emacs crashes with -O3) since r10-6321-g636e80eea24b78

2025-03-02 Thread pipcet at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 --- Comment #5 from pipcet at protonmail dot com --- (In reply to Richard Biener from comment #3) > Total scalarization of a union looks dubious unless it uses ref-all and of > course copies the whole storage. I think the problem is that the rep

[Bug tree-optimization/117423] [13/14/15/16 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2025-07-12 Thread pipcet at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #21 from pipcet at protonmail dot com --- Created attachment 61848 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61848&action=edit patch documenting the problem This is obviously not something we should consider applying, but

[Bug tree-optimization/117423] [13/14/15/16 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2025-07-11 Thread pipcet at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #16 from pipcet at protonmail dot com --- (In reply to Sam James from comment #14) > (In reply to Sam James from comment #13) > > (In reply to Andrew Pinski from comment #12) > > > Also it is not obvious from the Emacs bug report it i