https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281
--- Comment #15 from Alan Modra <amodra at gmail dot com> --- (In reply to Jiu Fu Guo from comment #14) > It would be a way to keep the data in memory(.rodata) through adjusting the > cost of constant. Yes, I posted a series of patches that fix this problem and other rtx costs. Look for patches with "rs6000_rtx_costs" in the subject. Some of the patches were even approved, but not all in the series. I am disillusioned enough with gcc that I won't be pushing those patches or attempting any future gcc work. You or anyone else are welcome to pick up the pieces.