From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id A8A4A3858402; Tue, 23 Apr 2024 03:48:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8A4A3858402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713844085; bh=SBeHVHlpOJNYjjdsZxdGQp2AP5NzQL88ZuYMu4wxxDc=; h=From:To:Subject:Date:From; b=wWy8fEiygUjasJEEfKmPHq69AwVvAe5sXrhi1Fkt09F/L70qc+wUzTaYUxKmCzICa I3LvLiBLtyXbhCpakRPh3QCn/1CBLGT2kzHlZmGI3Hjezz76QaDyPNPWt/tFK8NHw+ xqj7/v8y6XiSwuXi9ZsJpiRpg/MSkyJVTwuQpJmM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] make -freg-struct-return visibly a negative alias of -fpcc-struct-return X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: 30e8256702cc4dfb56d329ee279e957a10fc962b X-Git-Newrev: e50550cae7e3108d7f7a0ba2f9b8f14c16e29e35 Message-Id: <20240423034805.A8A4A3858402@sourceware.org> Date: Tue, 23 Apr 2024 03:48:05 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e50550cae7e3108d7f7a0ba2f9b8f14c16e29e35 commit e50550cae7e3108d7f7a0ba2f9b8f14c16e29e35 Author: Alexandre Oliva 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