|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #54572] int64 does not saturate correctly in negative direction |
Date: | Tue, 28 Aug 2018 15:49:07 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #13, bug #54572 (project octave): I'm attaching a stripped-down version of the code from oct-inttypes.h and oct-inttypes.cc. I see the problem with GCC 8.2 using -O2 (-O1 is not enough for me to trigger the bug) when OCTAVE_FAST_INT_OPS is defined. I could be wrong, but I suspect a bug in Octave, not the compiler. (file #44890) _______________________________________________________ Additional Item Attachment: File name: int-overflow.cc Size:6 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54572> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |