[Bug lto/114713] incorrect TBAA for struct with flexible array member or GNU zero size

2024-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114713 --- Comment #2 from Richard Biener --- Also note that people might find it reasonable to access struct { int n; int a[4]; } a = { 4, }; via struct X { int n; int a[] } *p; The fortran frontend goes some lengths to make this work for array de

[Bug lto/114713] incorrect TBAA for struct with flexible array member or GNU zero size

2024-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114713 Richard Biener changed: What|Removed |Added Version|unknown |14.0 CC|