------- Comment #3 from burnus at gcc dot gnu dot org 2007-10-08 11:28 ------- > A simple program that is supposed to invert a permutation P gives wrong result > with gfortran 4.2.1. A quite recent trunk 4.3 gfortran also gave wrong result.
I get 3, 1, 4, 3 with: - NAG f95 - g95 - openf95 - gfortran 4.1.3 20070724; 4.2.1; 4.2.2 20070927; 4.3.0 20071008 [Rev.129121] and 3, 1, 4, 2 with: - ifort 9.1 and 10.0 - sunf95 (Sunstudio 11 and 12) Now we need only to find out which compiler is right and whether the program itself is valid. Cf. also http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/4537f1930bd87acb -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33686