https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105034
Roger Sayle <roger at nextmovesoftware dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roger at nextmovesoftware dot com --- Comment #3 from Roger Sayle <roger at nextmovesoftware dot com> --- Hi Hongtao, Note that -mstv is a net win on the code size benchmark CSiBE, so gating the entire pass on optimize_size is not an ideal solution. Instead the gain function needs to choose which chains to transform based on optimize_size aware costs.