This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/10050] ifcvt is not smart enough
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2006 05:28:19 -0000
- Subject: [Bug rtl-optimization/10050] ifcvt is not smart enough
- References: <bug-10050-5562@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from ian at airs dot com 2006-01-15 05:28 -------
My patch doesn't help for func2, at least on x86, because at the RTL level we
see stores to memory, and my patch doesn't attempt to handle that because of
all the aliasing issues between the then-block and the else-block.
It could be done easily enough with a similar patch, one which checked for a
conditional which only had a then-block or only had an else-block.
--
ian at airs dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10050