gen_highpart() & volatile

Dmitry diwil@mail.ru
Tue Feb 18 16:47:00 GMT 2003


Fellows,

Just a quick question:
why gen_highpart(HImode, op); where op is mem:SI and declared as volatile
fails to produce a correct subreg?
this should be something like:
	(mem/v/f:HI (const:HI (plus:HI (symbol_ref:HI ("a"))
                             (const_int 2 [0x2])))
but this returns:
	(subreg:HI (mem/v/f:SI (symbol_ref:HI ("a")) [0 a+0 S4 A16]) 2)

Is this something about I missed?

Thanks.
Cheers,
Dmitry.

P.S. gcc-3.2.



More information about the Gcc mailing list