[Bug tree-optimization/41987] New: [4.5 Regression] expected class ÂconstantÂ, have Âbinary (rdiv_expr) in build_complex, at tree.c:1485
jv244 at cam dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Sun Nov 8 14:12:00 GMT 2009
> gfortran -c -O1 bug.f90
bug.f90: In function Â__colvar_methods_MOD_qparm_colvarÂ:
bug.f90:13:0: internal compiler error: tree check: expected class ÂconstantÂ,
have Âbinary (rdiv_expr) in build_complex, at tree.c:1485
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
> cat bug.f90
MODULE colvar_methods
INTEGER, PARAMETER :: dp=KIND(0.0d0)
CONTAINS
SUBROUTINE qparm_colvar(colvar,cell,subsys,particles,error)
COMPLEX(KIND=dp) :: ylm, ylm_calc, ylm_calc2
DO ii=1,n_atoms_from
DO m = 0, l
ylm = 0.0_dp
nbond = 0
ylm = ylm/nbond
ENDDO
ENDDO
END SUBROUTINE qparm_colvar
END MODULE colvar_methods
--
Summary: [4.5 Regression] expected class ÂconstantÂ, have
Âbinary (rdiv_expr) in build_complex, at tree.c:1485
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41987
More information about the Gcc-bugs
mailing list