[Bug rtl-optimization/47698] CMOV accessing volatile memory with read side effect
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 11 16:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47698
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.02.11 16:34:48
Ever Confirmed|0 |1
Known to fail| |4.3.4, 4.5.2, 4.6.0
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-11 16:34:48 UTC ---
Confirmed. C testcase:
extern volatile unsigned long mmio;
unsigned long foo(int cond)
{
if (cond)
return mmio;
return 0;
}
More information about the Gcc-bugs
mailing list