[Bug 272075] Toolchain fails to build devel/phasar: store i32 0, ptr %retval, align 4

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Jun 2023 04:49:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272075

            Bug ID: 272075
           Summary: Toolchain fails to build devel/phasar: store i32 0,
                    ptr %retval, align 4
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

/constness/array/array_01.cpp -o array_01_cpp_m2r_dbg.ll &&
/usr/local/llvm14/bin/opt -mem2reg -S array_01_cpp_m2r_dbg.ll -o
array_01_cpp_m2r_dbg.ll
FAILED: test/llvm_test_code/constness/array/array_01_cpp_m2r_dbg.ll
/wrkdirs/usr/ports/devel/phasar/work/.build/test/llvm_test_code/constness/array/array_01_cpp_m2r_dbg.ll 
cd
/wrkdirs/usr/ports/devel/phasar/work/.build/test/llvm_test_code/constness/array
&& /usr/bin/c++ -std=c++17 -fno-discard-value-names -emit-llvm -S -Xclang
-disable-O0-optnone -g
/wrkdirs/usr/ports/devel/phasar/work/phasar-1222/test/llvm_test_code/constness/array/array_01.cpp
-o array_01_cpp_m2r_dbg.ll && /usr/local/llvm14/bin/opt -mem2reg -S
array_01_cpp_m2r_dbg.ll -o array_01_cpp_m2r_dbg.ll
array_01_cpp_m2r_dbg.ll:13:16: warning: ptr type is only supported in
-opaque-pointers mode
  store i32 0, ptr %retval, align 4
               ^
/usr/local/llvm14/bin/opt: array_01_cpp_m2r_dbg.ll:13:16: error: expected type
  store i32 0, ptr %retval, align 4
               ^

-- 
You are receiving this mail because:
You are the assignee for the bug.