[all-commits] [llvm/llvm-project] 340368: [Clang] Fix JIT test on 32-bit systems

Sam James via All-commits all-commits at lists.llvm.org
Tue Sep 5 08:04:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3403686b72507e3fdbcd69f21fb9235ffa0ca169
      https://github.com/llvm/llvm-project/commit/3403686b72507e3fdbcd69f21fb9235ffa0ca169
  Author: Sam James <sam at gentoo.org>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [Clang] Fix JIT test on 32-bit systems

As reported by mgorny at https://reviews.llvm.org/D159115#4638037, the
unsigned long long cast fails on 32-bit systems at least with GCC.

It looks like a pointer provenance/aliasing issue rather than a bug in GCC.

Acked by Vassil Vassilev on the original revision.




More information about the All-commits mailing list