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/15620] Statement functions and optimization cause IC


------- Additional Comments From pbrook at gcc dot gnu dot org  2004-05-23 21:52 -------
We have much deeper problems. 
 
      function foo (x) 
      integer z, y, foo, x 
      bar(Z) = Z*z 
      z = 42 
      t = bar(x) 
      foo = t + z 
      END function 
      program prog 
      integer foo 
      if (foo(1) .ne. 43) call abort 
      end program 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15620


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