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]

Bugreport on g77-2.95 19990629 (prerelease)



Hi egcs Team!

I have probably found a bug in g77-2.95 19990629 (prerelease)
(i686-pc-linux-gnu). I use a RedHat-6.0 system.

The file sgeqpf.f from LAPACK (you can find it in the SRC
subdirectory of the LAPACK source tree) seem to be misscompiled using
this and many previous versions of egcs.

I can observe an infinite loop while executing 

xeigtsts < gsv.in > sgsv.out

in the TESTING directory of the LAPACK source tree. The libraries I
used to bild xeigtsts are all perfectly tested (no failed tests in
LAPACK/TESTING!) only sgeqpf.o is replaced with a new object file.

If I compile sgeqpf.f with the command line

g77 -O2 -march=pentiumpro -c sgeqpf.f -o sgeqpf.o

I see that infinite loop.
If I compile using one of the following two combinations

g77 -O2 -mcpu=pentiumpro -c sgeqpf.f -o sgeqpf.o
g77 -O1 -march=pentiumpro -c sgeqpf.f -o sgeqpf.o

everything works perfect.

The infinite loop happens in slapmt. This function interpretes the
permutation which is generated by sgeqpf (the argument called JPVT).

Ok. This is what I know so far.
If you have further questions feel free to contact me.
   (frohlich@na.uni-tuebingen.de)

     Regards,

            Mathias Froehlich

-- 
Mathias Fr"ohlich              e-mail: frohlich@na.uni-tuebingen.de
Institut f"ur Mathematik, Universit"at T"ubingen, D-72076 T"ubingen


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