|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #55347] PVS studio static analysis report |
Date: | Mon, 7 Jan 2019 12:32:08 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #41, bug #55347 (project octave): The static analyzer, perhaps legitamately, gets very suspicious of dynamic_casts. Do we want to fix this? I don't really know. idx-vector is pretty fundamental and I'm not sure we want to introduce even a small delay in to one of the tightest inner loops of Octave. It also seems likely that if we were getting this wrong at a structural level then we would have lots and lots of bug reports. So as long as the input pointer before any dynamic_cast is valid I think it is an exceedingly rare event that it can't perform the dynamic_cast at runtime. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55347> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |