This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/27889] ICE on complex assignment



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]