------- Comment #3 from dfranke at gcc dot gnu dot org  2007-07-30 13:36 -------
Reduced testcase:

program test_gfortran2
  Complex(8) :: g, zh
  Real(8)    :: g_q
  g =  zh/cmplx(0.0_8, -g_q, 8)  - zh/cmplx(0.0_8,-g_q)
end

This is, again, all about kinds. If all involved variables are of kind=4 or
kind=8, it passes. Mixed kinds as above (cmplx(0.0_8,-g_q) returns a COMPLEX of
kind=4) crash gfortran.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org


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

Reply via email to