[Bug tree-optimization/91901] unchanged stack array not optimized away in favor off constant pool entry

2019-09-26 Thread trass3r at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91901 --- Comment #2 from Trass3r --- (In reply to Richard Biener from comment #1) > The compiler doesn't know that printf doesn't modify the data you pass it to > so it cannot elide the automatic variable. Does it matter in this case? The data comes

[Bug tree-optimization/91901] unchanged stack array not optimized away in favor off constant pool entry

2019-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91901 Richard Biener changed: What|Removed |Added Keywords||missed-optimization