-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: erika.molnar at cyberthorstudios dot com
Target Milestone: ---
Created attachment 40275
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40275&action=edit
Build steps
Hello,
I've built gcc-6.2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78709
--- Comment #1 from ErikaMolnar ---
The code size is smaller because of -ftree-loop-distribute-patterns, this
options has no effect on –Os.
Could you make this optimization to work on –Os also? as it is quite useful.
: unassigned at gcc dot gnu.org
Reporter: erika.molnar at cyberthorstudios dot com
Target Milestone: ---
Hi,
This is not a bug but when compiling with gcc-6.2 the following code:
***
#include
typedef enum {brandon, jon, mitch} name_t;
typedef enum {fred, dog, cat} name2_t;
name2_t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78709
--- Comment #3 from ErikaMolnar ---
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))
-contin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736
ErikaMolnar changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|WORKSFORME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736
--- Comment #6 from ErikaMolnar ---
Thank you for your help! Looking forward to this new feature.