------- Comment #5 from tkoenig at gcc dot gnu dot org  2008-12-11 21:22 -------
This is still active with gcc -cx-complex-rules:

<bb 2>:
  foo (&c);
  D.2256 = (double) REALPART_EXPR <c>;
  D.2258 = (double) IMAGPART_EXPR <c>;
  if (ABS_EXPR <D.2256> < ABS_EXPR <D.2258> != 0)
    goto <bb 3>;
  else
    goto <bb 4>;

<bb 3>:
Invalid sum of outgoing probabilities 0.0%
Invalid sum of incoming frequencies 10000, should be 0
  D.2292 = D.2256 / D.2258;
  D.2294 = D.2258 + D.2256 * D.2292;
  CR.13 = D.2292 + 0.0 / D.2294;
  CI.14 = D.2292 * 0.0 - 1.0e+0 / D.2294;
  goto <bb 5>;

<bb 4>:
Invalid sum of outgoing probabilities 0.0%
  D.2300 = D.2258 / D.2256;
  D.2302 = D.2256 + D.2258 * D.2300;
  CR.13 = D.2300 * 0.0 + 1.0e+0 / D.2302;
  CI.14 = 0.0 - D.2300 / D.2302;

Maybe time to confirm this bug after more than three years :-)


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-11 21:22:46
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20432

Reply via email to