[compiler-rt] [compiler-rt][ubsan][nfc-ish] Fix a type conversion bug (PR #100665)

Alan Zhao via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 16:07:49 PDT 2024


================
@@ -27,7 +27,7 @@
           : "=r"(ret)                   \
           : "r"(__value)                \
           : "x30");                     \
-      ret;                              \
+      __typeof(__value) ret;            \
----------------
alanzhao1 wrote:

Oops. Fixed.

https://github.com/llvm/llvm-project/pull/100665


More information about the llvm-commits mailing list