[Committed] Reject -fno-multiflags [PR114314]
Andrew Pinski (QUIC)
quic_apinski@quicinc.com
Tue Mar 12 06:40:17 GMT 2024
> -----Original Message-----
> From: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>
> Sent: Monday, March 11, 2024 8:59 PM
> To: gcc-patches@gcc.gnu.org
> Cc: Andrew Pinski (QUIC) <quic_apinski@quicinc.com>
> Subject: [Committed] Reject -fno-multiflags [PR114314]
>
> When -fmultiflags option support was added in r13-3693-g6b1a2474f9e422,
> it accidently allowed -fno-multiflags which then would pass on to cc1.
> This fixes that oversight.
>
> Committed as obvious after bootstrap/test on x86_64-linux-gnu.
Note I also committed this to the GCC 13 branch too.
Thanks,
Andrew
>
> gcc/ChangeLog:
>
> PR driver/114314
> * common.opt (fmultiflags): Add RejectNegative.
>
> Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
> ---
> gcc/common.opt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/common.opt b/gcc/common.opt index
> 51c4a17da83..1ad0169bd6f 100644
> --- a/gcc/common.opt
> +++ b/gcc/common.opt
> @@ -2295,7 +2295,7 @@ Common Var(flag_move_loop_stores)
> Optimization Move stores out of loops.
>
> fmultiflags
> -Common Driver
> +Common Driver RejectNegative
> Building block for specs-based multilib-aware TFLAGS.
>
> fdce
> --
> 2.43.0
More information about the Gcc-patches
mailing list