This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Documentation error


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]