[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 luangruo at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 --- Comment #7 from Po Lu --- "pipcet at protonmail dot com" writes: > I think the problem is that the representative access chosen in > sort_and_splice_var_accesses won't be the union copy (which would copy the > whole storage) but the copy o

[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 luangruo at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 --- Comment #4 from Po Lu --- "rguenth at gcc dot gnu.org" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 > > Richard Biener changed: > >What|Removed |Added >

[Bug c/65673] [10/11/12/13 Regression] Compound literal with initializer for zero-sized array drops other initializers

2023-01-30 Thread luangruo at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65673 Po Lu changed: What|Removed |Added CC||luangruo at yahoo dot com --- Comment #9 from Po