[Bug middle-end/20222] [AVR] Double load of volatile operand
schlie at comcast dot net
gcc-bugzilla@gcc.gnu.org
Thu Jul 28 21:28:00 GMT 2005
------- Additional Comments From schlie at comcast dot net 2005-07-28 21:25 -------
(In reply to comment #0)
- just for the record, it appears that the bug is that when a function is
inlined using a built-in, a volatile parameter should be accessed only
once and placed into a temporary, which is then substitued for references
to that paramter within the body of the function, not the volatile reference
itself. please see: http://gcc.gnu.org/ml/gcc/2005-07/msg00704.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20222
More information about the Gcc-bugs
mailing list