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


On Mon, Jun 11, 2001 at 07:56:16PM -0700, Geoff Keating wrote:
> The underlying problem is that 'volatile' doesn't make sense in
> conjunction with 'complex'.  We can't do complex loads or stores.

If I understand it correctly, then 'volatile' only makes sense for
memory references, so

TYPE volatile i;

makes no sense.  Only

TYPE volatile* ptr;

makes sense.

Secondly, complex only makes sense on non-pointers (and not even in all
cases), so

TYPE* complex ptr;

makes no sense.  Only

complex TYPE i;

makes sense.

Nevertheless, I can easily combine these two:

complex TYPE volatile* ptr;

makes sense imho.  And then I don't understand your remark anymore :/

-- 
Carlo Wood <carlo@alinoe.com>


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