This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: honor volatile bitfield types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]