This is the mail archive of the gcc-prs@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]

fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2



>Number:         6304
>Category:       fortran
>Synopsis:       Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 15 01:16:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc-3.1 and gcc-3.2
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
LAPACK test dtest.out 
 core dumps with -mabi=64 -O2 
 passes with -mabi=64 -O0
This is a regression from gcc-3.0 and gcc-2.95.

The test passes with
 -mabi=64 -O0
 -mabi=n32 -O2

The problem is with file dsptrf.f.  I have been able to reduce the problem size somewhat, but the problem file is still a few hundred lines.

Expected output is:

 ap( 1) =  -4.81355444E-294
 ap( 2) =  -1.08633726E-293
 ap( 3) =  -0.948585352
 ap( 4) =   0.159305733
 ap( 5) =   0.160760447
 ap( 6) =   3.18956091E-294
 ap( 7) =  -0.258576064
 ap( 8) =  -0.806074236
 ap( 9) =  -0.14806115
 ap( 10) =   1.98569967E-293
 ap( 11) =   0.494942444
 ap( 12) =   0.432991687
 ap( 13) =  -1.65005396E-293
 ap( 14) =   1.39914842
 ap( 15) =   3.99198852E-293
 ipiv( 1) =  -2
 ipiv( 2) =  -2
 ipiv( 3) =  3
 ipiv( 4) =  4
 ipiv( 5) =  5
 info =  0

The incorrect output is:

 **** wrong ****
 ap( 1) =  -4.81355444E-294
 ap( 2) =   2.2568297
 ap( 3) =   1.97065467E+293
 ap( 4) =  -1.65986654
 ap( 5) =  -0.173388354
 ap( 6) =   2.77063428E-293
 ap( 7) =   1.88221953
 ap( 8) =  -2.23333691E-293
 ap( 9) =  -4.10223298E-294
 ap( 10) =   1.86933415E+293
 ap( 11) =  -8.42291938E-294
 ap( 12) =  -8.79851537E-295
 ap( 13) =   1.18036543E-293
 ap( 14) =  -1.43259661
 ap( 15) =  -3.11209845E-293
 ipiv( 1) =  -2
 ipiv( 2) =  -2
 ipiv( 3) =  3
 ipiv( 4) =  5
 ipiv( 5) =  5
 info =  0



>How-To-Repeat:
g77 -o bug7 -mabi=64 -O2 bug_7.f dsptrf_02.f lastuff.f
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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