This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32935] [4.3 Regression] internal compiler error: in emit_move_insn, at expr.c:3316
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2007 13:36:24 -0000
- Subject: [Bug fortran/32935] [4.3 Regression] internal compiler error: in emit_move_insn, at expr.c:3316
- References: <bug-32935-14910@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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