[all-commits] [llvm/llvm-project] 8101cb: [ompd] Fix strict aliasing violation in TargetValu...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jul 5 00:27:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8101cbff77aca47ee3c7de8e43d0546057ff2ee6
https://github.com/llvm/llvm-project/commit/8101cbff77aca47ee3c7de8e43d0546057ff2ee6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-05 (Fri, 05 Jul 2024)
Changed paths:
M openmp/libompd/src/TargetValue.h
Log Message:
-----------
[ompd] Fix strict aliasing violation in TargetValue::getValue() (#97739)
For the case where baseTypeSize does not match the size of T, read the
value into a separate char buffer first. This avoids accessing buf using
two different types.
Fixes https://github.com/llvm/llvm-project/issues/94616.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list