[all-commits] [llvm/llvm-project] c41e1e: [clang] Fix crash on assigning to _Atomic vectors ...
Daniel Petrovic via All-commits
all-commits at lists.llvm.org
Wed Sep 23 01:53:41 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c41e1ef6e1cc650cd05328155408ecb705986f09
https://github.com/llvm/llvm-project/commit/c41e1ef6e1cc650cd05328155408ecb705986f09
Author: Daniel Petrovic <daniel-dev at hotmail.de>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/test/Sema/vector-assign.c
Log Message:
-----------
[clang] Fix crash on assigning to _Atomic vectors (#225125)
As described in the issue itself: d=c on _Atomic vector crashed during
the overflow check because isVectorType() doesn't look through _Atomic.
Strip _Atomic before checking operand types.
Fixes #225039
bt:
<img width="1908" height="825" alt="225039_crash_atomic_vector"
src="https://github.com/user-attachments/assets/c5d48ba5-fa9b-43f8-a555-8b9bbe558152"
/>
Co-authored-by: Timm Baeder <tbaeder at redhat.com>
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