qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 96f16f958a7f8a5be0e68e22cabc97650b894728
parent a3dfbb9c0449109e6fb6accbe7ffe0d6f4e48b2f
Author: Locria Cyber <74560659+locriacyber@users.noreply.github.com>
Date:   Mon,  3 Apr 2023 13:21:36 +0000

Fix 1 C UB

Diffstat:
Mall.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/all.h b/all.h @@ -115,7 +115,7 @@ static inline int rtype(Ref r) static inline int rsval(Ref r) { - return ((int32_t)r.val << 3) >> 3; + return (int32_t)((int64_t)r.val << 3) >> 3; } enum CmpI {