Severity: critical
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yin at absoft dot com
GCC build triplet: x86-64
GCC host triplet: x86-64
GCC target triplet: x86-64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44582
--- Comment #1 from yin at absoft dot com 2010-06-18 18:16 ---
Created an attachment (id=20940)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20940&action=view)
bug example
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44582
--- Comment #2 from yin at absoft dot com 2010-06-18 18:23 ---
it should be 0.0 always, NOT to be chaotic number like C, because when ddx is
declared, it has to be initialized to 0.0 by fortran standard.
--
yin at absoft dot com changed:
What|Removed
--- Comment #4 from yin at absoft dot com 2010-06-18 19:00 ---
O.K. I doublechecked the standard. The array declared does not need to be
initialized in this case. So the return value could be any number. However,
this kind of implementation should fail in a certian case. I am trying to