On Thu, May 21, 2020 at 9:22 AM Martin Liška <mli...@suse.cz> wrote:
>
> Hi.
>
> Similarly to:
>
>      case OPT_mstrict_align:
>        if (val)
>         opts->x_target_flags |= MASK_STRICT_ALIGN;
>        else
>         opts->x_target_flags &= ~MASK_STRICT_ALIGN;
>        return true;
>
> the MASK_GENERAL_REGS_ONLY mask should be handled the same way.
>
> @Sudakshina: The 'opts->x_target_flags |= MASK_STRICT_ALIGN' change is not 
> backported
> to all active branches. Can you please do it?
>
> Ready to be installed?
>
> gcc/ChangeLog:
>
> 2020-05-21  Martin Liska  <mli...@suse.cz>
>
>         * common/config/aarch64/aarch64-common.c (aarch64_handle_option):
>         Properly maask MASK_GENERAL_REGS_ONLY based on val.
                        ^^^^^ mask
> ---
>   gcc/common/config/aarch64/aarch64-common.c | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
>


-- 
H.J.

Reply via email to