https://gcc.gnu.org/g:e50550cae7e3108d7f7a0ba2f9b8f14c16e29e35
commit e50550cae7e3108d7f7a0ba2f9b8f14c16e29e35 Author: Alexandre Oliva <ol...@adacore.com> Date: Tue Apr 23 00:33:04 2024 -0300 make -freg-struct-return visibly a negative alias of -fpcc-struct-return The fact that both options accept negative forms suggests that maybe they aren't negative forms of each other. They are, but that isn't clear even by examining common.opt. Use NegativeAlias to make it abundantly clear. for gcc/ChangeLog * common.opt (freg-struct-return): Make it explicitly fpcc-struct-return's NegativeAlias. Diff: --- gcc/common.opt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/common.opt b/gcc/common.opt index ad348844775..ebef5977451 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2596,7 +2596,7 @@ Common Var(flag_record_gcc_switches) Record gcc command line switches in the object file. freg-struct-return -Common Var(flag_pcc_struct_return,0) Optimization +Common NegativeAlias Alias(pcc_struct_return) Optimization Return small aggregates in registers. fregmove