1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
C PR traget/40587 C { dg-do compile } C { dg-options "-O2" } subroutine TEST(i, r, result) implicit none integer i REAL*8 r REAL*8 result REAL*8 r2 if(i.eq.0) then r2 = r else call ERROR() endif result = r2 return end