mirror of git://gcc.gnu.org/git/gcc.git
opts.c (decode_options): Don't enable flag_schedule_insns when optimizing for size.
* opts.c (decode_options): Don't enable flag_schedule_insns when optimizing for size. * doc/invoke.texi: Document change. From-SVN: r154424
This commit is contained in:
parent
7e82354a00
commit
4de29d8fb4
|
@ -1,3 +1,9 @@
|
|||
2009-11-22 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* opts.c (decode_options): Don't enable flag_schedule_insns
|
||||
when optimizing for size.
|
||||
* doc/invoke.texi: Document change.
|
||||
|
||||
2009-11-22 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/42113
|
||||
|
|
|
@ -6295,7 +6295,7 @@ helps machines that have slow floating point or memory load instructions
|
|||
by allowing other instructions to be issued until the result of the load
|
||||
or floating point instruction is required.
|
||||
|
||||
Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}.
|
||||
Enabled at levels @option{-O2}, @option{-O3}.
|
||||
|
||||
@item -fschedule-insns2
|
||||
@opindex fschedule-insns2
|
||||
|
|
|
@ -884,7 +884,8 @@ decode_options (unsigned int argc, const char **argv)
|
|||
flag_caller_saves = opt2;
|
||||
flag_peephole2 = opt2;
|
||||
#ifdef INSN_SCHEDULING
|
||||
flag_schedule_insns = opt2;
|
||||
/* Only run the pre-regalloc scheduling pass if optimizing for speed. */
|
||||
flag_schedule_insns = opt2 && ! optimize_size;
|
||||
flag_schedule_insns_after_reload = opt2;
|
||||
#endif
|
||||
flag_regmove = opt2;
|
||||
|
|
Loading…
Reference in New Issue