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 tree-optimization/22504] [4.1 Regression] benchmark - galgel fails at runtime with miscompare output


------- 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


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