[Bug middle-end/27313] Does not emit conditional moves for stores

2009-05-09 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-05-09 12:59 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/27313] Does not emit conditional moves for stores

2009-05-08 Thread wilson at gcc dot gnu dot org
--- Comment #6 from wilson at gcc dot gnu dot org 2009-05-09 01:21 --- It looks like this was fixed by Michael Matz here: http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01978.html This patch was added to gcc-4.3, and the gcc-4.2 branch is closed, so I think this bug should be closed resol

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-11-11 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2006-11-11 16:46 --- You can't have if-converted stores at the tree level. Forms of store motion, like the example of comment #2, ought to get implemented at the tree level somewhen, though. AFAIU this is currently very hard to do, but

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-09-21 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-09-21 13:07 --- We have a flag (TREE_THIS_NOTRAP) to annotate ARRAY_REFs and INDIRECT_REFs. It could be used to guide tree-ifcvt to do the transformation. Can we have if-converted stores at the tree level at all? -- rguenth at

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-04-25 Thread dwarak dot rajagopal at amd dot com
--- Comment #3 from dwarak dot rajagopal at amd dot com 2006-04-25 19:07 --- Yes this is true. The example I posted was a simplest case where it fails. Below mmight be a typical case where you have to do two stores. int cmov(int* A ,int B ,int C ,int* D ,int* E ,int F ,int g) { int k

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-25 18:38 --- The other way of getting this is to have the code converted so there is only one store instead of two: int cmov(int* A ,int B ,int C ,int* D ,int* E ,int F ,int g) { int k,f; for (k = 1; k <= 1000; k++) { in

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 17:38 --- Confirmed, if cvt should have a way to track if a memory write has happened. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added