Documentation error

Carlo Wood carlo@runaway.xs4all.nl
Mon Nov 23 18:03:00 GMT 1998


The egcs-1.1b (and probably later?) contains in the gcc.info-3 file:

`-foptimize-register-moves'

`-fregmove'
     Attempt to reassign register numbers in move instructions and as
     operands of other simple instructions in order to maximize the
     amount of register tying.  This is especially helpful on machines
     with two-operand instructions.  GNU CC enables this optimization
     by default with `-O2' or higher.

     Note `-fregmove' and `-foptimize-register-moves' are the same
     optimization.


However:

~/c++/tests>g++ -foptimize-register-moves bop.cc
cc1plus: Invalid option `-foptimize-register-moves'

-fregmove does work.

Note that -foptimize-register-moves is also mentioned in gcc.info-1,
in the list of all options.

-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>



More information about the Gcc-bugs mailing list