[Bug optimization/14272] [tree-ssa] miscompilation of __exchange_and_add (atomicity.h)
dnovillo at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 25 14:08:00 GMT 2004
------- Additional Comments From dnovillo at redhat dot com 2004-02-25 14:08 -------
Subject: Re: [tree-ssa] miscompilation of
__exchange_and_add (atomicity.h)
On Wed, 2004-02-25 at 09:06, amacleod at redhat dot com wrote:
> Diego? Its like this right from the very beginning...
>
> Thats why TER is doing the replacement.. no virtual operands mean no side
> effects....
>
Yes. TER is unlikely to be at fault here. It should be relying on
whatever dataflow info we give it. It should not be special casing
volatile. I'll take a look today.
Diego.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14272
More information about the Gcc-bugs
mailing list