This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/47698] CMOV accessing volatile memory with read side effect


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;
}


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