Stabilize ddd type definitions
All threads resolved!
All threads resolved!
Some cleanup of the ddd type definition code.
As a by-product, this should fix !166 (closed).
Edited by Oliver Sander
Merge request reports
Activity
mentioned in merge request !166 (closed)
- Resolved by Oliver Sander
I added a commit (in my fork, I can't push here) which finishes fixing the undefined behavior. Clang-10 with
-fsanitize=undefined -fno-sanitize-recover=undefined
now does not report any undefined behavior intypemgr.cc
orinitddd.cc
(it still does ingm/gm.h
,gm/enrol.cc
andgm/ugm.cc
).Instead of casting the
desc->bnd_size
anddesc->inner_size
tosize_t
, we could also just change their type tosize_t
, but I wasn't sure if that would cause some problems elsewhere.mentioned in commit 27443346
Please register or sign in to reply