http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10050
--- Comment #10 from Andrew Pinski 2012-02-07
21:05:24 UTC ---
Note this optimized I think is invalid with the C11/C++11 memory model.
--- Comment #9 from ian at airs dot com 2006-01-15 06:27 ---
Upon further reflection, I don't think this is amenable to a good fix using
conditional moves. func2 doesn't read from a. Using conditional moves will
require adding reads from a. It's not obvious that that is a good tradeof
--- 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 c
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-01-15 03:53 ---
func3 is fixed on x86 but not func2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10050
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-01-15 03:15 ---
This might have been fixed by (I am going to check soon) :
2006-01-14 Ian Lance Taylor
* ifcvt.c (noce_init_if_info): New static function, broken out of
noce_process_if_block.
(noce_proces
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-07 04:14 ---
This is only an if conversion failure now.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--