This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14272] [tree-ssa] miscompilation of __exchange_and_add (atomicity.h)
- From: "amacleod at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2004 18:20:43 -0000
- Subject: [Bug optimization/14272] [tree-ssa] miscompilation of __exchange_and_add (atomicity.h)
- References: <20040224133459.14272.ehrhardt@mathematik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amacleod at redhat dot com 2004-02-25 18:20 -------
Err, did you try that patch on a testsuite run?
It seems to me that you still need to look through the operands and kill any
active partition experssions which are dependent on the uses and defs. Ie, you
wouldn't make anything replaceable, but you do need to remove things from the
current search list.
If there is anything else in the stmt which causes a virtual def, you wont be
killing any virtual dependancies either by continuing.
At the very least it will probably slow things downa hair to not remove things
from the list when you could have.
Andrew
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14272