This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27889] ICE on complex assignment
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2006 14:38:30 -0000
- Subject: [Bug fortran/27889] ICE on complex assignment
- References: <bug-27889-10979@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from fxcoudert at gcc dot gnu dot org 2006-06-04 14:38 -------
I examined the different tree dumps for
COMPLEX z
CONTAINS
SUBROUTINE foo
z = z + z
END SUBROUTINE foo
END
and the last non-empty one before the error message:
complex.f90: In function ?foo?:complex.f90:4: error: invalid operand to binary
operator
D.906
complex.f90:4: internal compiler error: verify_stmts failed
is complex.f90.021t.eh, which has the following content:
;; Function foo (foo.899)
foo ()
{
complex4 D.908;
complex4 D.907;
complex4 D.906;
complex4 z [value-expr: CHAIN.1->z];
D.906 = CHAIN.1->z;
D.907 = CHAIN.1->z;
D.908 = D.906 + D.907;
CHAIN.1->z = D.908;
return;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27889