From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7140 invoked by alias); 3 Jun 2009 07:40:44 -0000 Received: (qmail 7125 invoked by uid 22791); 3 Jun 2009 07:40:43 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Jun 2009 07:40:37 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n537eZda003700; Wed, 3 Jun 2009 03:40:35 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n537eYbL007712; Wed, 3 Jun 2009 03:40:34 -0400 Received: from [10.33.6.23] (vpn-6-23.fab.redhat.com [10.33.6.23]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n537eWV4011317; Wed, 3 Jun 2009 03:40:33 -0400 Message-ID: <4A2628F0.2060708@redhat.com> Date: Wed, 03 Jun 2009 07:40:00 -0000 From: Nick Clifton User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Diego Novillo , Ian Lance Taylor CC: gcc@gcc.gnu.org Subject: Re: gcc --help for options which are not warnings or optimizations References: <4A24F304.5040901@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00032.txt.bz2 Hi Ian, Hi Diego, > Diego Novillo wrote: > --help=other? That works. :-) Actually, there already is a qualifier which will select -fstack-protector, I had just forgotten about it: % gcc --help=common | grep stack -Wstack-protector Warn when not issuing stack smashing protection -fdefer-pop Defer popping functions args from stack until -fomit-frame-pointer When possible do not generate stack frames -fstack-check Insert stack checking code into the program -fstack-limit This switch lacks documentation -fstack-limit-register= Trap if the stack goes past -fstack-limit-symbol= Trap if the stack goes past symbol -fstack-protector Use propolice as a stack protection method -fstack-protector-all Use a stack protection method for every function Cheers Nick