Why is -ffold-mem-offsets a target option?

Richard Biener richard.guenther@gmail.com
Mon Jan 15 12:20:18 GMT 2024


On Mon, Jan 15, 2024 at 11:22 AM Georg-Johann Lay <avr@gjlay.de> wrote:
>
> Just noticed that -ffold-mem-offsets is a target option, i.e. it is
> shown with --help=target
>
>  > grep -A3 mem-off common.opt
> ffold-mem-offsets
> Target Bool Var(flag_fold_mem_offsets) Init(1)
> Fold instructions calculating memory offsets to the memory access
> instruction if possible.
>
> Is that "Target" a typo or what?

I think it is indeed.  Can you file a bugreport?

> Johann


More information about the Gcc mailing list