Ah, you are right. Please forget about this patch
mgeneral-regs-only
Target Report RejectNegative Mask(GENERAL_REGS_ONLY) Save
also contains the RejectNegative keyword.
Martin
Hi Martin
> -Original Message-
> From: Martin Liška
> Sent: 21 May 2020 16:01
> To: gcc-patches@gcc.gnu.org
> Cc: Sudakshina Das
> Subject: [PATCH] Fix handling of OPT_mgeneral_regs_only in attribute.
>
> Hi.
>
> Similarly to:
>
> case
On Thu, May 21, 2020 at 9:22 AM Martin Liška 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_
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_fla