This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: honor volatile bitfield types
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 11 Jun 2010 09:40:18 +0000 (UTC)
- Subject: Re: patch: honor volatile bitfield types
- References: <201006110338.o5B3cuA3031982@greed.delorie.com>
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