octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps
Date: Wed, 8 May 2024 09:13:52 -0400 (EDT)

Follow-up Comment #23, bug #65712 (group octave):

The bug in Clang is this:

* When compiled with -O2 or higher, passing inf to nint_value fails (i.e., inf
is treated as nan when they should not be the same).

* Compiling with -O0 under Clang causes inf and nan to be treated differently
as they should.

The above was causing dim = inf inputs to be masked by Clang because
nint_value was trapping inf and rejecting it, so when I pushed the BIST last
night it broke (segfault) on gcc.

The current version of the code does work properly, as in it allows inf but
not nan.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65712>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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