Commit cdf383b6 by Alan Modra Committed by Alan Modra

re PR target/54131 (ICE building 416.gamess, reload_cse_simplify_operands)

	PR target/54131
	* gfortran.dg/pr54131.f: New test.

From-SVN: r195835
parent 7c4d7f43
2013-02-07 Alan Modra <amodra@gmail.com>
PR target/54131
* gfortran.dg/pr54131.f: New test.
2013-02-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/55789
......
! { dg-do compile }
! { dg-options "-O2 -funroll-loops" }
SUBROUTINE EFPGRD(IFCM,NAT,NVIB,NPUN,FCM,
* DEN,GRD,ENG,DIP,NVST,NFTODO,LIST)
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
DIMENSION DEN(*),GRD(*),ENG(*),DIP(*),LIST(*)
PARAMETER (MXPT=100, MXFRG=50, MXFGPT=MXPT*MXFRG)
COMMON /FGRAD / DEF(3,MXFGPT),DEFT(3,MXFRG),TORQ(3,MXFRG),
* ATORQ(3,MXFRG)
IF(NVST.EQ.0) THEN
CALL PUVIB(IFCM,IW,.FALSE.,NCOORD,IVIB,IATOM,ICOORD,
* ENG(IENG),GRD(IGRD),DIP(IDIP))
END IF
DO 290 IVIB=1,NVIB
DO 220 IFRG=1,NFRG
DO 215 J=1,3
DEFT(J,IFRG)=GRD(INDX+J-1)
215 CONTINUE
INDX=INDX+6
220 CONTINUE
290 CONTINUE
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment