[Bug ipa/102452] Structs with flexible array members are not optimized on stack

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452 --- Comment #3 from Andrew Pinski --- get_three after einline w/o USE_FLEX_ARR defined (this is changing the type to int): : _5 = test_2(D)->is_a; if (_5 != 0) goto ; [50.00%] else goto ; [50.00%] : D.3292 = *test_2(D);

[Bug ipa/102452] Structs with flexible array members are not optimized on stack

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/102452] Structs with flexible array members are not optimized on stack

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization CC|