[Bug tree-optimization/78709] Code size is bigger at -Os than at -O3, -Os does not enable -ftree-loop-distribute-patterns

erika.molnar at cyberthorstudios dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 10 20:42:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78709

--- Comment #3 from ErikaMolnar <erika.molnar at cyberthorstudios dot com> ---
Thank you for your reply. To make it work on -Os I need to make the following
change in tree-loop-distribution.c:
-      /* Only optimize hot loops.  */
-      if (!optimize_loop_for_speed_p (loop))
-    continue;

Could yo make this modification in the next release?


More information about the Gcc-bugs mailing list