This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fortran/1809: Optimiser error with LAPACK routine slaed6.f
- To: gcc-gnats at gcc dot gnu dot org
- Subject: fortran/1809: Optimiser error with LAPACK routine slaed6.f
- From: David dot Billinghurst at riotinto dot com
- Date: 30 Jan 2001 03:52:37 -0000
- Reply-To: David dot Billinghurst at riotinto dot com
>Number: 1809
>Category: fortran
>Synopsis: Optimiser error with LAPACK routine slaed6.f
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 29 19:56:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: David Billinghurst
>Release: g77 version 2.97 20010125 (experimental)
>Organization:
>Environment:
NT4 SP5 / cygwin 1.1.7
>Description:
Problem occurs with LAPACK testsuite compiled with -Os. Case stest, generated by xlintsts.exe, does not terminate.
The failure is due to miscompliation of subroutine slaed6.f. Recompling this routine with different optimization eliminates the failure. I have also reduced to size of the input file required to reproduce the problem (attached).
I have not been able to debug this with gdb. The problem evaporated when I tried inserting write statements.
Similar problems are seen with related tests dtest, ctest adnd ztest. I have not investigated these.
:::::::::::::::: bug.in ::::::::::::::::::::::
Data file for testing REAL LAPACK linear eqn. routines
1 Number of values of M
50 Values of M (row dimension)
1 Number of values of N
50 Values of N (column dimension)
1 Number of values of NRHS
1 2 15 Values of NRHS (number of right hand sides)
1 Number of values of NB
1 3 3 3 20 Values of NB (the blocksize)
1 0 5 9 1 Values of NX (crossover point)
30.0 Threshold value of test ratio
F Put T to test the LAPACK routines
T Put T to test the driver routines
F Put T to test the error exits
SLS 6 List types on next line if 0 < NTYPES < 6
SEQ
>How-To-Repeat:
Build LAPACK library with -Os
xlintsts.exe < bug.in
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: