------- Comment #2 from ubizjak at gmail dot com  2007-10-17 09:10 -------
(In reply to comment #1)
> Since this is using -ffast-math, i suspect this is not a bug.

By adding a print before the condition (line 6372), it looks that something
goes seriously wrong:

gfortran -O2:

cpu time to define wand geometries/inductances =   0.003
cpu time to define res-q coil geometry/inductances =   0.004
 inductance =  -4.96596104015761125E-003
 inductance =  -5.80817784327351903E-003
 ...

gfortran -O2 -ffast-math:

cpu time to define wand geometries/inductances =   0.003
cpu time to define res-q coil geometry/inductances =   0.003
 inductance =   -3.2565300518352496     
 bad mutual inductance between quad            1  and the wand transmit coil,
abort.
 computed mutual inductance =   -3.2565300518352496     

The difference is 3 orders of magnitude!

I will run a bisection to isolate the change that introduced this failure.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-10-17 09:10:16
               date|                            |


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

Reply via email to