Fix undefined behavior found with g++-12 ubsan (#73424)
authorAaron Robinson <arobins@microsoft.com>
Fri, 5 Aug 2022 20:44:58 +0000 (13:44 -0700)
committerGitHub <noreply@github.com>
Fri, 5 Aug 2022 20:44:58 +0000 (13:44 -0700)
commit57e8776ac5cf5586f5199f0a65329d8a81827cf6
tree558ce3bc6cb056ead20b31699480d283703781b9
parentb1a309d07b9612844be9a28f795b260d88097f2f
Fix undefined behavior found with g++-12 ubsan (#73424)

* Fix undefined behavior found with g++-12 ubsan

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/coreclr/inc/utilcode.h
src/coreclr/jit/compiler.cpp
src/coreclr/jit/gentree.cpp
src/coreclr/jit/lsra.cpp
src/coreclr/vm/crst.cpp
src/coreclr/vm/dllimport.cpp
src/coreclr/vm/methodtablebuilder.cpp