[Bug tree-optimization/78709] New: Code size is bigger at -Os than at -O3

2016-12-07 Thread erika.molnar at cyberthorstudios dot com
-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

[Bug tree-optimization/78709] Code size is bigger at -Os than at -O3

2016-12-07 Thread erika.molnar at cyberthorstudios dot com
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.

[Bug c/78736] New: enum warnings in GCC

2016-12-08 Thread erika.molnar at cyberthorstudios dot com
: 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

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

2016-12-10 Thread erika.molnar at cyberthorstudios dot com
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

[Bug c/78736] enum warnings in GCC

2016-12-12 Thread erika.molnar at cyberthorstudios dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736 ErikaMolnar changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WORKSFORME

[Bug c/78736] enum warnings in GCC

2016-12-12 Thread erika.molnar at cyberthorstudios dot com
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.