gm2
[Top][All Lists]
Advanced

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

Re: gm2 frontend in gcc 14 (fedora 40) bug


From: Michael Riedl
Subject: Re: gm2 frontend in gcc 14 (fedora 40) bug
Date: Sun, 28 Apr 2024 00:48:39 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Gerald,

may I ask you to run the code attached (amended your code with a short test) - just to check if we are not fooled by faulty IO-Routines.

Don't assume this is the case, but just to be sure.

And is the result "reproducible" if you use another right or left hand side for the linear system ?

Gruß

Michael

PS: Gaius, if needed, I can send you the updated code (and test routines) from my library to check other numerical code.

Am 26.04.24 um 11:10 schrieb Gerald Kasner:
Hi all,

a quick test with gm2 (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0) gave

wrong results with a simple Gaussian elimination, while older gm2-frontends

(gm2 (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7)) give correct results

test compiled with:

gm2 -O2 -fiso testgauss.mod -lm

Result with version 13.2.1 :

      125.000000000000369482222595252097
    -2880.000000000007275957614183425903
    14490.000000000032741809263825416565
   -24640.000000000047293724492192268372
    13230.000000000023646862246096134186

Result with 14.0.1:

         1.000000000000000000000000000000
        1.500000000000000000000000000000
        1.166666666666666740681534975010
   -24640.000000000047293724492192268372
    13230.000000000023646862246096134186

With  pivoted Gaussian elimination, the first three are NaN's.

Any idea's ???

testgauss.mod is attached here.

Regards, Gerald

Attachment: testgauss2.mod
Description: audio/mod


reply via email to

[Prev in Thread] Current Thread [Next in Thread]