[Bug ipa/51506] Function cloning misses constant struct at -Os vs -O2

2025-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51506 --- Comment #4 from Andrew Pinski --- Created attachment 60570 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60570&action=edit C23 testcase This testcase is similar to what is done for AVR (minus an extra copy which I have a patch for but

[Bug ipa/51506] Function cloning misses constant struct at -Os vs -O2

2021-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51506 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |ipa Summary|Function cloning