[Bug rtl-optimization/43515] Basic block re-ordering unconditionally disabled for Os

2016-10-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43515 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/43515] Basic block re-ordering unconditionally disabled for Os

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43515 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #5 from

[Bug rtl-optimization/43515] Basic block re-ordering unconditionally disabled for Os

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-03-26 13:01 --- Well, it's like you say -ftree-pre but a partial redundancy is not removed because it was on a cold path. bb-reorder should probably take into account size/speed optimization in more general and the optimize_functio

[Bug rtl-optimization/43515] Basic block re-ordering unconditionally disabled for Os

2010-03-26 Thread rahul at icerasemi dot com
--- Comment #3 from rahul at icerasemi dot com 2010-03-26 12:25 --- The following test in 'rest_of_handle_reorder_blocks' if ((flag_reorder_blocks || flag_reorder_blocks_and_partition) && optimize_function_for_speed_p (cfun)) { ... } suggests when optimize_size is true reordering

[Bug rtl-optimization/43515] Basic block re-ordering unconditionally disabled for Os

2010-03-26 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-03-26 12:24 --- No, the user should be able to say "do this" and then the compiler should do so. Right now the flag to enable BB-reorder has no effect at -Os, and that is a bug. -- steven at gcc dot gnu dot org changed:

[Bug rtl-optimization/43515] Basic block re-ordering unconditionally disabled for Os

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-26 11:49 --- It's disabled on a function-by-function basis which looks valid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43515