------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-20 
00:25 -------
Reduced testcase. The program should print
  6.00E+00  0.00E+00
but prints
  4.00E+00  0.00E+00
when compiled with -O:

=========================
program FOO
   integer i
   complex a, b, c
   b = 2
   c = 0
   do i = 1, 2
      a = 2 * b - c
      c = b
      b = a
   end do
   print '(2ES10.2)', a
end program FOO
=========================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org


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

Reply via email to