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.

gcc/ChangeLog:

	PR driver/114314
	* common.opt (fmultiflags): Add RejectNegative.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
This commit is contained in:
Andrew Pinski 2024-03-11 17:40:08 -07:00
parent 0628916802
commit c4e5789ced

View File

@ -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