This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14770] redundant store due to the fact that implicit set is not noticed
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2004 01:42:27 -0000
- Subject: [Bug optimization/14770] redundant store due to the fact that implicit set is not noticed
- References: <20040329161552.14770.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kazu at cs dot umass dot edu 2004-03-30 01:42 -------
AFAIK, gcse, the one before reload, notices implicit sets for the purpose of
constant propagation. That's probably why foo(a) and foo(0) produce the same
result.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14770