This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gimple] assignments to volatile
Michael Matz wrote:
>> x = vobj = data;
>> Rather than argue about this last case in theory, though, I'd be
>> inclined to look at existing practice. What do RealView, CodeWarrior,
>> Green Hills or other long-standing compilers for embedded systems do?
> That would be interesting, yes.
Nathan, I know that we have RealView available for testing, and I
believe we also have CodeWarrior installed. Would you like to give
those two a try?
If so, you could also look at:
vobj;
and:
(void) vobj;
I think those should do reads, but, again, I'd be persuaded by existing
practice.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713