|
| From: | Petter |
| Subject: | [Octave-bug-tracker] [bug #64858] Don't do static_cast before type check in pt-bytecode.vm.cc |
| Date: | Sat, 4 Nov 2023 18:37:03 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64858>
Summary: Don't do static_cast before type check in
pt-bytecode.vm.cc
Group: GNU Octave
Submitter: petter
Submitted: Sat 04 Nov 2023 10:37:01 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 04 Nov 2023 10:37:01 PM UTC By: Petter <petter>
Move static cast to inside if-statement to avoid undefined behaviour warning.
* pt-bytecode-vm.cc: Move it
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 04 Nov 2023 10:37:01 PM UTC Name: 32535.patch Size: 2KiB By:
petter
<http://savannah.gnu.org/bugs/download.php?file_id=55311>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64858>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |