NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/55668: can not build current on current



The following reply was made to PR toolchain/55668; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/55668: can not build current on current
Date: Fri, 18 Sep 2020 14:48:08 +0200

 The test case busy loops on sparc64 too, it seems to do an endless loop
 
 It runs into an endless loop here:
 
 958                     /* Check for overflow */
 959     
 960                     if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
 961                             dval(&rv0) = dval(&rv);
 962                             word0(&rv) -= P*Exp_msk1;
 963                             dval(&adj) = dval(&aadj1) * ulp(&rv);
 964                             dval(&rv) += dval(&adj);
 965                             if ((word0(&rv) & Exp_mask) >=
 966                                             Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
 967                                     if (word0(&rv0) == Big0 && word1(&rv0) == Big1)
 968                                             goto ovfl;
 969                                     word0(&rv) = Big0;
 970                                     word1(&rv) = Big1;
 971                                     goto cont;
 972                                     }
 
 Note that the whole loop only seems to modify rv, but the test in line 967
 checks rv0 - copy & pasto?
 
 Martin
 


Home | Main Index | Thread Index | Old Index