------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-16 16:21 -------
Reduced C testcase:
_Complex float f(_Complex float a, _Complex float b)
{
  _Complex float c = a/a;
  return c/ b;
}
------
The problem is that fold is folding a/a to 1.0 but not the complex version.


-- 

pinskia 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         |2006-03-16 16:21:05
               date|                            |
            Summary|gfortran: ICE at tree-      |[4.2 Regression] gfortran:
                   |complex.c:133 with -O -     |ICE at tree-complex.c:133
                   |ffast-math in LAPACK,       |with -O -ffast-math in
                   |                            |LAPACK,
   Target Milestone|---                         |4.2.0


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

Reply via email to