[Bug tree-optimization/31460] if(a) a[i] = xxx; else a[i] = yyy; is not converted to if (a) ddd= xxx; else ddd = yyy; a[i] = ddd;
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 19:01:00 GMT 2007
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-04-03 20:00 -------
(In reply to comment #4)
> yes, this is indeed a known problem (I don't know if there's a PR open for it).
> It is one of the tree-ifcvt enhancements that Victor was going to tackle for
> 4.3 (item (2.3) in http://gcc.gnu.org/wiki/AutovectBranchOptimizations?).
Plus it was mentioned before this does not belong in tree-ifcvt either.
See http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00494.html
And there is already a bug about this, see PR25553
*** This bug has been marked as a duplicate of 25553 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31460
More information about the Gcc-bugs
mailing list