[Bug tree-optimization/35585] [4.2 Regression] Miscompiled inline assembly

2008-03-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|nouiz at nouiz dot org, | |gtalbot at locuspharma dot |

[Bug tree-optimization/35585] [4.2 Regression] Miscompiled inline assembly

2008-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-03-15 11:33 --- In fact it's completely wrong. # __b_5 = PHI <&D.12083(48), __b_342(22)>; :; # VUSE ; # VUSE ; # VUSE ; # VUSE ; D.12120_344 = *__b_5; should be # __b_5 = PHI <&D.12083(48), __b_342(22)>; :;

[Bug tree-optimization/35585] [4.2 Regression] Miscompiled inline assembly

2008-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-03-15 11:28 --- Sorry. The tree optimizers produce :; __asm__ __volatile__("fistl %0":"=m" r:"t" txcum * 2.0e+0 - 5.0e-1); D.16879 = r >> 1; if (D.16879 < sp->bbox[0]) goto ; else goto ; :; __b = &D.12083; goto (); :;