This is the mail archive of the gcc@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]

Re: simplify_subreg issues


> Date: Wed, 20 Jun 2001 15:03:47 -0700
> From: Mark Mitchell <mark@codesourcery.com>
> cc: "kenner@vlsi1.ultra.nyu.edu" <kenner@vlsi1.ultra.nyu.edu>,
>         "jh@suse.cz" <jh@suse.cz>, "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>
> Content-Disposition: inline
> 
> 
> > Think here of a hardware register, which is sensitive to 8-byte or
> > 4-byte accesses.
> 
> Yeah -- but not a lot of hardware has registers that naturally store 
> complex numbers.
> 
> I wonder if we shouldn't just say that GCC makes no guarantees about the 
> number of
> times something is accessed unless it is volatile and of one of the builtin 
> C integer
> types.  In pratice, that's what people usually care about.  It might be 
> better to
> make a limited promise that we could implement with confidence.

That sounds like a good idea.  We could then _document_ what we think
'volatile' should mean!

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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