Hi *,

the attached code exhibits bad code generation for a
double invocation of MATMUL ().

Running the code with any recent gfortran gives:

 h(3,:) = -3.4028235E+38 -3.4028235E+38 -3.4028235E+38
 Bummer!
 The result should be:
 h(3,:) =   2.000000       2.000000       3.000000    

Cheers,
-ha


-- 
           Summary: Double MATMUL() uses wrong array elements
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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

Reply via email to