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



Andrew Pinski <pinskia at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

           Keywords|                            |wrong-code

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2013-01-17

          Component|fortran                     |middle-end

            Summary|Option -ffast-math reveals  |expand expands p[9] =

                   |i*(a+bi) -> -b-bi, a        |COMPLEX_EXPR

                   |complex multiplication bug  |<-IMAGPART_EXPR <p[9]>,

                   |                            |REALPART_EXPR <p[9]>>;

                   |                            |incorrectly.

     Ever Confirmed|0                           |1

      Known to fail|4.4.6, 4.6.3, 4.7.2         |4.3.5, 4.4.5, 4.8.0



--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-17 
08:52:25 UTC ---

Actually it is not the multiplication that goes wrong.  In fact the code looks

correct before expand.  Turning off TER (-fno-tree-ter) will work around this

expand issue though.

Reply via email to