From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29155 invoked by alias); 11 Jun 2010 09:40:25 -0000 Received: (qmail 29147 invoked by uid 22791); 11 Jun 2010 09:40:25 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jun 2010 09:40:21 +0000 Received: (qmail 14331 invoked from network); 11 Jun 2010 09:40:19 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Jun 2010 09:40:19 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1ON0io-00038T-34; Fri, 11 Jun 2010 09:40:18 +0000 Date: Fri, 11 Jun 2010 09:55:00 -0000 From: "Joseph S. Myers" To: DJ Delorie cc: gcc-patches@gcc.gnu.org Subject: Re: patch: honor volatile bitfield types In-Reply-To: <201006110338.o5B3cuA3031982@greed.delorie.com> Message-ID: References: <201006110338.o5B3cuA3031982@greed.delorie.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg01189.txt.bz2 On Thu, 10 Jun 2010, DJ Delorie wrote: > +The default is to not honor the field's type, which results in a > +target-specific ``optimum'' access mode instead. Shouldn't the default actually be target-specific (no new hooks needed, existing hooks to set options in a target-specific way should suffice, though maybe you need to initialize the flag setting to -1 to allow OVERRIDE_OPTIONS to know whether it was explicitly set)? For example, ARM EABI should enable this by default. -- Joseph S. Myers joseph@codesourcery.com