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]
Other format: [Raw text]

gen_highpart() & volatile


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.


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