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/31196] wrong code generated with RESHAPE/TRANSPOSE



------- Comment #1 from burnus at gcc dot gnu dot org  2007-03-16 13:21 -------
Expected result:
1 3 2 4
Gfortran:
1 3 1 3

This is correctly calculated with g95, NAG f95 and sunf95.
gfortran compiles and gives the wrong result and ifort gives an ICE.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to fail|                            |4.1.3 4.2.0 4.3.0
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-16 13:21:37
               date|                            |
            Summary|wrong code generated with   |wrong code generated with
                   |gfortran                    |RESHAPE/TRANSPOSE


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


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