Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSYS2 MinGW compilation warning #525

Open
amb5l opened this issue Aug 25, 2022 · 4 comments
Open

MSYS2 MinGW compilation warning #525

amb5l opened this issue Aug 25, 2022 · 4 comments
Labels

Comments

@amb5l
Copy link
Contributor

amb5l commented Aug 25, 2022

When compiling with gcc on MSYS2, the following warning appears:

../src/rt/rtkern.c:2241:13: warning: unknown conversion type character 'z' in format

This Stack Overflow post may be helpful.

@nickg nickg added the windows label Aug 25, 2022
@amb5l
Copy link
Contributor Author

amb5l commented Aug 25, 2022

From one of the comments on Stack Overflow: "MinGW uses microsoft's c library msvcrt-- this library only conforms to c89 and doesn't understand z". Another says "You can instead link MinGW-provided alternative stdio functions that support C11 with #define __USE_MINGW_ANSI_STDIO 1. I prefer not to link extra code if I can get around the peculiarities of msvcrt, but that's of course a matter of taste." I've had a look at the Makefile but am out of my depth!

@nickg
Copy link
Owner

nickg commented Aug 25, 2022

Perhaps it's a difference between the original msvcrt and the new UCRT, and GCC hasn't been updated for UCRT.

@avelure
Copy link

avelure commented Aug 25, 2022

The warning is also present for UCRT version of MINGW.

Here's a full build log

  CC       src/nvc.o
  CC       src/lib.o
  CC       src/util.o
../src/util.c: In function 'xmalloc_flex':
../src/util.c:165:52: warning: unknown conversion type character 'z' in format [-Wformat=]
  165 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                    ^
../src/util.c:165:58: warning: unknown conversion type character 'z' in format [-Wformat=]
  165 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                          ^
../src/util.c:165:19: warning: too many arguments for format [-Wformat-extra-args]
  165 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/util.c: In function 'xcalloc_flex':
../src/util.c:188:52: warning: unknown conversion type character 'z' in format [-Wformat=]
  188 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                    ^
../src/util.c:188:58: warning: unknown conversion type character 'z' in format [-Wformat=]
  188 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                          ^
../src/util.c:188:19: warning: too many arguments for format [-Wformat-extra-args]
  188 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/util.c: In function 'xrealloc_array':
../src/util.c:211:52: warning: unknown conversion type character 'z' in format [-Wformat=]
  211 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                    ^
../src/util.c:211:58: warning: unknown conversion type character 'z' in format [-Wformat=]
  211 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                          ^
../src/util.c:211:19: warning: too many arguments for format [-Wformat-extra-args]
  211 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/util.c: In function 'xrealloc_flex':
../src/util.c:221:52: warning: unknown conversion type character 'z' in format [-Wformat=]
  221 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                    ^
../src/util.c:221:58: warning: unknown conversion type character 'z' in format [-Wformat=]
  221 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                                                          ^
../src/util.c:221:19: warning: too many arguments for format [-Wformat-extra-args]
  221 |       fatal_trace("array size overflow: requested %zd * %zd bytes",
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       src/ident.o
  CC       src/parse.o
  LEX      src/lexer.c
  CC       src/lexer.o
  CC       src/tree.o
  CC       src/type.o
  CC       src/sem.o
  CC       src/elab.o
  CC       src/simp.o
  CC       src/dump.o
  CC       src/common.o
../src/common.c: In function 'mangle_one_type':
../src/common.c:1423:24: warning: unknown conversion type character 'z' in format [-Wformat=]
 1423 |       tb_printf(buf, "%zu", ident_len(ident));
      |                        ^
../src/common.c:1423:22: warning: too many arguments for format [-Wformat-extra-args]
 1423 |       tb_printf(buf, "%zu", ident_len(ident));
      |                      ^~~~~
  CC       src/fbuf.o
  CC       src/hash.o
  CC       src/bounds.o
  CC       src/make.o
  CC       src/object.o
../src/object.c: In function 'object_new':
../src/object.c:368:49: warning: unknown conversion type character 'z' in format [-Wformat=]
  368 |       diag_hint(d, NULL, "The current limit is %zu bytes which you can "
      |                                                 ^
../src/object.c:368:26: warning: too many arguments for format [-Wformat-extra-args]
  368 |       diag_hint(d, NULL, "The current limit is %zu bytes which you can "
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       src/lower.o
  CC       src/vcode.o
  CC       src/names.o
  CC       src/debug.o
  CC       src/eval.o
  CC       src/opt.o
  CC       src/diag.o
  CC       src/scan.o
  CC       src/mask.o
  CC       src/thread.o
  CC       src/rt/rtkern.o
../src/rt/rtkern.c: In function 'rt_run':
../src/rt/rtkern.c:2241:13: warning: unknown conversion type character 'z' in format [-Wformat=]
 2241 |       TRACE("using private TLAB at %p (%zu used)", proc->tlab.base,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/rt/rtkern.c:405:39: note: in definition of macro 'TRACE'
  405 |       if (unlikely(trace_on)) _tracef(__VA_ARGS__);     \
      |                                       ^~~~~~~~~~~
../src/rt/rtkern.c:2241:41: note: format string is defined here
 2241 |       TRACE("using private TLAB at %p (%zu used)", proc->tlab.base,
      |                                         ^
../src/rt/rtkern.c:2241:13: warning: too many arguments for format [-Wformat-extra-args]
 2241 |       TRACE("using private TLAB at %p (%zu used)", proc->tlab.base,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/rt/rtkern.c:405:39: note: in definition of macro 'TRACE'
  405 |       if (unlikely(trace_on)) _tracef(__VA_ARGS__);     \
      |                                       ^~~~~~~~~~~
../src/rt/rtkern.c: In function 'rt_call_conversion':
../src/rt/rtkern.c:2330:10: warning: unknown conversion type character 'z' in format [-Wformat=]
 2330 |    TRACE("call conversion function %p insz=%zu outsz=%zu",
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/rt/rtkern.c:405:39: note: in definition of macro 'TRACE'
  405 |       if (unlikely(trace_on)) _tracef(__VA_ARGS__);     \
      |                                       ^~~~~~~~~~~
../src/rt/rtkern.c:2330:45: note: format string is defined here
 2330 |    TRACE("call conversion function %p insz=%zu outsz=%zu",
      |                                             ^
../src/rt/rtkern.c:2330:10: warning: unknown conversion type character 'z' in format [-Wformat=]
 2330 |    TRACE("call conversion function %p insz=%zu outsz=%zu",
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/rt/rtkern.c:405:39: note: in definition of macro 'TRACE'
  405 |       if (unlikely(trace_on)) _tracef(__VA_ARGS__);     \
      |                                       ^~~~~~~~~~~
../src/rt/rtkern.c:2330:55: note: format string is defined here
 2330 |    TRACE("call conversion function %p insz=%zu outsz=%zu",
      |                                                       ^
../src/rt/rtkern.c:2330:10: warning: too many arguments for format [-Wformat-extra-args]
 2330 |    TRACE("call conversion function %p insz=%zu outsz=%zu",
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/rt/rtkern.c:405:39: note: in definition of macro 'TRACE'
  405 |       if (unlikely(trace_on)) _tracef(__VA_ARGS__);     \
      |                                       ^~~~~~~~~~~
  CC       src/rt/alloc.o
  CC       src/rt/heap.o
  CC       src/rt/pprint.o
  CC       src/rt/cover.o
  CC       src/rt/wave.o
  CC       src/rt/ffi.o
  CC       src/rt/mspace.o
../src/rt/mspace.c: In function 'mspace_alloc':
../src/rt/mspace.c:206:58: warning: unknown conversion type character 'z' in format [-Wformat=]
  206 |       fatal_trace("out of memory attempting to allocate %zu byte object", size);
      |                                                          ^
../src/rt/mspace.c:206:19: warning: too many arguments for format [-Wformat-extra-args]
  206 |       fatal_trace("out of memory attempting to allocate %zu byte object", size);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/rt/mspace.c: In function 'mspace_gc':
../src/rt/mspace.c:457:33: warning: unknown conversion type character 'z' in format [-Wformat=]
  457 |       debugf("GC: allocated %d/%zu; fragmentation %.2g%% [%d us]",
      |                                 ^
../src/rt/mspace.c:457:54: warning: format '%g' expects argument of type 'double', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  457 |       debugf("GC: allocated %d/%zu; fragmentation %.2g%% [%d us]",
      |                                                   ~~~^
      |                                                      |
      |                                                      double
      |                                                   %.2lld
  458 |              mask_popcount(&(state.markmask)) * LINE_SIZE, m->maxsize,
      |                                                            ~~~~~~~~~~
      |                                                             |
      |                                                             size_t {aka long long unsigned int}
../src/rt/mspace.c:457:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'double' [-Wformat=]
  457 |       debugf("GC: allocated %d/%zu; fragmentation %.2g%% [%d us]",
      |                                                           ~^
      |                                                            |
      |                                                            int
      |                                                           %f
  458 |              mask_popcount(&(state.markmask)) * LINE_SIZE, m->maxsize,
  459 |              ((double)(freefrags - 1) / (double)freelines) * 100.0, ticks);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            |
      |                                                            double
../src/rt/mspace.c:457:14: warning: too many arguments for format [-Wformat-extra-args]
  457 |       debugf("GC: allocated %d/%zu; fragmentation %.2g%% [%d us]",
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       src/rt/stdenv.o
  CC       src/rt/standard.o
  CC       src/rt/simpkg.o
  CC       src/jit/jit-core.o
../src/jit/jit-core.c: In function 'jit_oom_cb':
../src/jit/jit-core.c:85:58: warning: unknown conversion type character 'z' in format [-Wformat=]
   85 |    diag_printf(d, "out of memory attempting to allocate %zu byte object", size);
      |                                                          ^
../src/jit/jit-core.c:85:19: warning: too many arguments for format [-Wformat-extra-args]
   85 |    diag_printf(d, "out of memory attempting to allocate %zu byte object", size);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       src/jit/jit-irgen.o
  CC       src/jit/jit-dump.o
  CC       src/jit/jit-interp.o
  CC       src/jit/jit-exits.o
  AR       lib/libnvc.a
  CC       thirdparty/fstapi.o
  CC       thirdparty/lz4.o
  AR       lib/libfst.a
  CC       thirdparty/fastlz.o
  AR       lib/libfastlz.a
  CC       src/vhpi/vhpi_sens.o
  CC       src/vhpi/vhpi-str.o
  CC       src/vhpi/vhpi-model.o
  CC       src/vhpi/vhpi-util.o
  AR       lib/libvhpi.a
  CC       thirdparty/cpustate.o
  AR       lib/libcpustate.a
  CC       src/lib_libcgen_a-cgen.o
../src/cgen.c: In function 'llvm_lifetime_start':
../src/cgen.c:392:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  392 |    LLVMBuildCall(builder, fn, args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
In file included from C:/msys64/ucrt64/include/llvm-c/Core.h:18,
                 from ../src/cgen.c:40:
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'llvm_lifetime_end':
../src/cgen.c:403:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  403 |    LLVMBuildCall(builder, fn, args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'debug_out':
../src/cgen.c:424:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  424 |    LLVMBuildCall(builder, llvm_fn("_debug_out"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'debug_dump':
../src/cgen.c:432:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  432 |    LLVMBuildCall(builder, llvm_fn("_debug_dump"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_display_upref':
../src/cgen.c:736:10: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
  736 |          LLVMValueRef ptr = LLVMBuildStructGEP(builder, display, 0, "");
      |          ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:737:10: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
  737 |          display = LLVMBuildLoad(builder, ptr, "");
      |          ^~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_get_var':
../src/cgen.c:776:7: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
  776 |       value = LLVMBuildStructGEP(builder, ctx->state,
      |       ^~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:789:7: warning: 'LLVMBuildGEP' is deprecated [-Wdeprecated-declarations]
  789 |       return LLVMBuildGEP(builder, value, index, ARRAY_LEN(index), "");
      |       ^~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3898:1: note: declared here
 3898 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_mspace_alloc':
../src/cgen.c:799:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  799 |    LLVMValueRef raw = LLVMBuildCall(builder, llvm_fn("__nvc_mspace_alloc"),
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_tlab_alloc':
../src/cgen.c:824:7: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
  824 |       LLVMValueRef alloc_ptr = LLVMBuildStructGEP(builder, global, 2, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:825:7: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
  825 |       LLVMValueRef limit_ptr = LLVMBuildStructGEP(builder, global, 3, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:827:7: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
  827 |       LLVMValueRef alloc = LLVMBuildLoad(builder, alloc_ptr, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:828:7: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
  828 |       LLVMValueRef limit = LLVMBuildLoad(builder, limit_ptr, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:841:7: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
  841 |       LLVMValueRef next = LLVMBuildInBoundsGEP(builder, alloc, indexes,
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:857:10: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  857 |          LLVMBuildCall(builder, llvm_fn("__nvc_mspace_alloc"),
      |          ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:870:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  870 |    LLVMValueRef raw = LLVMBuildCall(builder, fn, args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_tlab_watermark':
../src/cgen.c:883:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
  883 |    LLVMValueRef alloc_ptr = LLVMBuildStructGEP(builder, global, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:884:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
  884 |    return LLVMBuildLoad(builder, alloc_ptr, "");
      |    ^~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_tlab_restore':
../src/cgen.c:892:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
  892 |    LLVMValueRef alloc_ptr = LLVMBuildStructGEP(builder, global, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_array_pointer':
../src/cgen.c:910:4: warning: 'LLVMBuildGEP' is deprecated [-Wdeprecated-declarations]
  910 |    return LLVMBuildGEP(builder, array, indexes, ARRAY_LEN(indexes), "");
      |    ^~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3898:1: note: declared here
 3898 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_sched_process':
../src/cgen.c:916:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
  916 |    LLVMBuildCall(builder, llvm_fn("_sched_process"), args, 1, "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_return':
../src/cgen.c:1034:10: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 1034 |          LLVMValueRef ptr = LLVMBuildStructGEP(builder, ctx->state, 3, "");
      |          ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:1035:10: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 1035 |          LLVMValueRef watermark = LLVMBuildLoad(builder, ptr, "");
      |          ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:1045:13: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 1045 |             LLVMBuildStructGEP(builder, ctx->state, 1, "");
      |             ^~~~~~~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_fcall':
../src/cgen.c:1123:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1123 |       LLVMBuildCall(builder, fn, args, total_args, "");
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:1125:10: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 1125 |          LLVMBuildLoad(builder, uresult, cgen_reg_name(result));
      |          ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:1129:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1129 |       ctx->regs[result] = LLVMBuildCall(builder, fn, args, total_args,
      |       ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:1132:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1132 |       LLVMBuildCall(builder, fn, args, total_args, "");
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_const_rep':
../src/cgen.c:1229:7: warning: 'LLVMBuildGEP' is deprecated [-Wdeprecated-declarations]
 1229 |       LLVMValueRef ptr = LLVMBuildGEP(builder, global, indexes, 2, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3898:1: note: declared here
 3898 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_report':
../src/cgen.c:1314:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1314 |    LLVMBuildCall(builder, llvm_fn("__nvc_report"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_assert':
../src/cgen.c:1364:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1364 |    LLVMBuildCall(builder, llvm_fn("__nvc_assert_fail"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_wait':
../src/cgen.c:1378:7: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 1378 |       LLVMValueRef state_ptr = LLVMBuildStructGEP(builder, ctx->state, 1, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:1384:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1384 |       LLVMBuildCall(builder, llvm_fn("__nvc_claim_tlab"), NULL, 0, "");
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_drive_signal':
../src/cgen.c:1402:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1402 |    LLVMBuildCall(builder, llvm_fn("__nvc_drive_signal"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_resolve_signal':
../src/cgen.c:1415:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1415 |    LLVMBuildCall(builder, llvm_fn("__nvc_resolve_signal"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_trap_arith':
../src/cgen.c:1484:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1484 |    LLVMValueRef pair = LLVMBuildCall(builder, llvm_fn(fn), args, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:1500:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1500 |    LLVMBuildCall(builder, llvm_fn("__nvc_overflow"), rtargs, 3, "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_sub':
../src/cgen.c:1524:7: warning: 'LLVMBuildPtrDiff' is deprecated [-Wdeprecated-declarations]
 1524 |       LLVMValueRef diff = LLVMBuildPtrDiff(builder, lhs, rhs, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:4024:1: note: declared here
 4024 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_zero_check':
../src/cgen.c:1645:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1645 |    LLVMBuildCall(builder, llvm_fn("__nvc_div_zero"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_exp':
../src/cgen.c:1717:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1717 |       LLVMBuildCall(builder, llvm_fn("llvm.pow.f64"), cast, 2, ""),
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_exponent_check':
../src/cgen.c:1737:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1737 |    LLVMBuildCall(builder, llvm_fn("__nvc_exponent_fail"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_cast':
../src/cgen.c:1803:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 1803 |       LLVMValueRef rounded = LLVMBuildCall(builder, llvm_fn("llvm.round.f64"),
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_index':
../src/cgen.c:1916:4: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
 1916 |    ctx->regs[result] = LLVMBuildInBoundsGEP(builder, var, index,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_var_upref':
../src/cgen.c:2002:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2002 |    ctx->regs[result] = LLVMBuildStructGEP(builder, display, offset,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2010:7: warning: 'LLVMBuildGEP' is deprecated [-Wdeprecated-declarations]
 2010 |       ctx->regs[result] = LLVMBuildGEP(builder, ctx->regs[result],
      |       ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3898:1: note: declared here
 3898 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_resolved':
../src/cgen.c:2032:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2032 |    LLVMValueRef array = LLVMBuildStructGEP(builder, shared, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2035:4: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
 2035 |    LLVMValueRef elem0 = LLVMBuildInBoundsGEP(builder, array, index1,
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2043:4: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
 2043 |    ctx->regs[result] = LLVMBuildInBoundsGEP(builder, cast, index2,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_last_value':
../src/cgen.c:2055:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2055 |    LLVMValueRef size_ptr = LLVMBuildStructGEP(builder, shared, 0, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2061:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2061 |    LLVMValueRef array = LLVMBuildStructGEP(builder, shared, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2067:4: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
 2067 |    LLVMValueRef elem0 = LLVMBuildInBoundsGEP(builder, array, index1,
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2075:4: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
 2075 |    ctx->regs[result] = LLVMBuildInBoundsGEP(builder, cast, index2,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_sched_waveform':
../src/cgen.c:2105:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2105 |       LLVMBuildCall(builder, llvm_fn("_sched_waveform_s"),
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2117:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2117 |       LLVMBuildCall(builder, llvm_fn("_sched_waveform"),
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_disconnect':
../src/cgen.c:2135:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2135 |    LLVMBuildCall(builder, llvm_fn("_disconnect"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_force':
../src/cgen.c:2153:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2153 |    LLVMBuildCall(builder, llvm_fn("__nvc_force"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_release':
../src/cgen.c:2170:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2170 |    LLVMBuildCall(builder, llvm_fn("__nvc_release"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_protected_init':
../src/cgen.c:2285:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2285 |    LLVMValueRef ptr = LLVMBuildCall(builder, fn, args, ARRAY_LEN(args),
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_net_flag':
../src/cgen.c:2310:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2310 |    ctx->regs[result] = LLVMBuildCall(builder, llvm_fn(func), args,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_copy':
../src/cgen.c:2382:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2382 |    LLVMBuildCall(builder, llvm_fn(cgen_memcpy_name("memmove", 8)),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_array_ref':
../src/cgen.c:2397:10: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
 2397 |          ctx->regs[result] = LLVMBuildInBoundsGEP(builder, lhs,
      |          ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_record_ref':
../src/cgen.c:2422:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2422 |    ctx->regs[result] = LLVMBuildStructGEP(builder, cgen_get_arg(op, 0, ctx),
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_sched_event':
../src/cgen.c:2443:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2443 |    LLVMBuildCall(builder, llvm_fn("_sched_event"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_sched_static':
../src/cgen.c:2463:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2463 |    LLVMBuildCall(builder, llvm_fn("_sched_event"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_pcall':
../src/cgen.c:2512:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2512 |    LLVMValueRef suspend = LLVMBuildCall(builder, fn, args, total_args, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2515:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2515 |    LLVMValueRef pcall_ptr = LLVMBuildStructGEP(builder, ctx->state, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2518:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2518 |    LLVMValueRef state_ptr = LLVMBuildStructGEP(builder, ctx->state, 1, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_resume':
../src/cgen.c:2530:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 2530 |    LLVMValueRef pcall_ptr = LLVMBuildStructGEP(builder, ctx->state, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2531:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 2531 |    LLVMValueRef pcall_state = LLVMBuildLoad(builder, pcall_ptr, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:2555:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2555 |    LLVMValueRef new_state = LLVMBuildCall(builder, fn, args, nparams, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_memset':
../src/cgen.c:2591:7: warning: 'LLVMBuildInBoundsGEP' is deprecated [-Wdeprecated-declarations]
 2591 |       LLVMValueRef ptr = LLVMBuildInBoundsGEP(builder, base, indexes, 1, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3903:1: note: declared here
 3903 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_last_event':
../src/cgen.c:2620:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2620 |    ctx->regs[result] = LLVMBuildCall(builder, llvm_fn("_last_event"), args,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_last_active':
../src/cgen.c:2637:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2637 |    ctx->regs[result] = LLVMBuildCall(builder, llvm_fn("_last_active"), args,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_driving':
../src/cgen.c:2653:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2653 |    ctx->regs[result] = LLVMBuildCall(builder, llvm_fn("_driving"), args,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_driving_value':
../src/cgen.c:2669:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2669 |    LLVMValueRef raw = LLVMBuildCall(builder, llvm_fn("_driving_value"),
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_alias_signal':
../src/cgen.c:2686:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2686 |    LLVMBuildCall(builder, llvm_fn("__nvc_alias_signal"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_file_open':
../src/cgen.c:2719:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2719 |    LLVMBuildCall(builder, llvm_fn("_file_open"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_file_write':
../src/cgen.c:2742:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2742 |    LLVMBuildCall(builder, llvm_fn("_file_write"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_file_close':
../src/cgen.c:2753:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2753 |    LLVMBuildCall(builder, llvm_fn("_file_close"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_file_read':
../src/cgen.c:2779:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2779 |    LLVMBuildCall(builder, llvm_fn("_file_read"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_endfile':
../src/cgen.c:2789:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2789 |    ctx->regs[result] = LLVMBuildCall(builder, llvm_fn("_endfile"), args,
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_null_check':
../src/cgen.c:2839:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2839 |    LLVMBuildCall(builder, llvm_fn("__nvc_null_deref"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_deallocate':
../src/cgen.c:2849:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 2849 |    LLVMValueRef access = LLVMBuildLoad(builder, ptr, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_length_check':
../src/cgen.c:2883:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2883 |    LLVMBuildCall(builder, llvm_fn("__nvc_length_fail"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_index_check':
../src/cgen.c:2920:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2920 |    LLVMBuildCall(builder, llvm_fn("__nvc_index_fail"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_range_check':
../src/cgen.c:2969:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2969 |    LLVMBuildCall(builder, llvm_fn("__nvc_range_fail"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_push_scope':
../src/cgen.c:2983:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2983 |    LLVMBuildCall(builder, llvm_fn("__nvc_push_scope"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_pop_scope':
../src/cgen.c:2989:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 2989 |    LLVMBuildCall(builder, llvm_fn("__nvc_pop_scope"), NULL, 0, "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_debug_out':
../src/cgen.c:3021:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3021 |       LLVMBuildCall(builder, llvm_fn("_debug_dump"),
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3029:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3029 |       LLVMBuildCall(builder, llvm_fn("_debug_out"),
      |       ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_unreachable':
../src/cgen.c:3043:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3043 |    LLVMBuildCall(builder, llvm_fn("__nvc_unreachable"), args,
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_cover_stmt':
../src/cgen.c:3056:4: warning: 'LLVMBuildGEP' is deprecated [-Wdeprecated-declarations]
 3056 |    LLVMValueRef count_ptr = LLVMBuildGEP(builder, cover_counts,
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3898:1: note: declared here
 3898 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3059:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 3059 |    LLVMValueRef count = LLVMBuildLoad(builder, count_ptr, "cover_count");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_cover_cond':
../src/cgen.c:3073:4: warning: 'LLVMBuildGEP' is deprecated [-Wdeprecated-declarations]
 3073 |    LLVMValueRef mask_ptr = LLVMBuildGEP(builder, cover_conds,
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3898:1: note: declared here
 3898 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3076:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 3076 |    LLVMValueRef mask = LLVMBuildLoad(builder, mask_ptr, "cover_conds");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_init_signal':
../src/cgen.c:3152:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3152 |    LLVMValueRef shared = LLVMBuildCall(builder, llvm_fn("_init_signal"), args,
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_implicit_signal':
../src/cgen.c:3180:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3180 |    LLVMValueRef shared = LLVMBuildCall(builder, llvm_fn("_implicit_signal"),
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_link_var':
../src/cgen.c:3232:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 3232 |    LLVMValueRef ptr = LLVMBuildStructGEP(builder, context, offset, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3239:7: warning: 'LLVMBuildGEP' is deprecated [-Wdeprecated-declarations]
 3239 |       ctx->regs[result] = LLVMBuildGEP(builder, ptr, index, ARRAY_LEN(index),
      |       ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3898:1: note: declared here
 3898 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_link_package':
../src/cgen.c:3265:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 3265 |    ctx->regs[result] = LLVMBuildLoad(builder, global, cgen_reg_name(result));
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_link_instance':
../src/cgen.c:3285:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 3285 |    ctx->regs[result] = LLVMBuildLoad(builder, global, cgen_reg_name(result));
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3296:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3296 |    LLVMBuildCall(builder, llvm_fn("__nvc_elab_order_fail"), args, 1, "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_package_init':
../src/cgen.c:3324:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3324 |    LLVMValueRef ptr = LLVMBuildCall(builder, fn, args, ARRAY_LEN(args),
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_map_signal':
../src/cgen.c:3352:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3352 |    LLVMBuildCall(builder, llvm_fn("__nvc_map_signal"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_map_const':
../src/cgen.c:3372:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3372 |    LLVMBuildCall(builder, llvm_fn("__nvc_map_const"),
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_strconv':
../src/cgen.c:3397:10: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3397 |          LLVMValueRef i64 = LLVMBuildCall(builder, llvm_fn("_string_to_int"),
      |          ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3405:7: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3405 |       ctx->regs[result] = LLVMBuildCall(builder, llvm_fn("_string_to_real"),
      |       ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_convstr':
../src/cgen.c:3435:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3435 |    LLVMBuildCall(builder, fn, args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3437:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 3437 |    ctx->regs[vcode_get_result(op)] = LLVMBuildLoad(builder, uresult, "");
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_op_canon_value':
../src/cgen.c:3450:4: warning: 'LLVMBuildCall' is deprecated [-Wdeprecated-declarations]
 3450 |    LLVMBuildCall(builder, llvm_fn("_canon_value"), args, ARRAY_LEN(args), "");
      |    ^~~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3991:1: note: declared here
 3991 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3452:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 3452 |    ctx->regs[vcode_get_result(op)] = LLVMBuildLoad(builder, uresult, "");
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_locals':
../src/cgen.c:3880:7: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 3880 |       LLVMValueRef context_ptr = LLVMBuildStructGEP(builder, ctx->state, 0, "");
      |       ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_jump_table':
../src/cgen.c:3998:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 3998 |    LLVMValueRef state_ptr = LLVMBuildStructGEP(builder, ctx->state, 1, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:3999:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 3999 |    LLVMValueRef jtarget = LLVMBuildLoad(builder, state_ptr, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_procedure':
../src/cgen.c:4075:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4075 |    LLVMValueRef display_ptr = LLVMBuildStructGEP(builder, new_state, 0, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:4078:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4078 |    LLVMValueRef state_ptr = LLVMBuildStructGEP(builder, new_state, 1, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:4081:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4081 |    LLVMValueRef watermark_ptr = LLVMBuildStructGEP(builder, new_state, 3, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:4094:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4094 |    LLVMValueRef new_display_ptr = LLVMBuildStructGEP(builder, ctx.state, 0, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:4095:4: warning: 'LLVMBuildLoad' is deprecated [-Wdeprecated-declarations]
 4095 |    ctx.display = LLVMBuildLoad(builder, new_display_ptr, "display");
      |    ^~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3891:1: note: declared here
 3891 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_process':
../src/cgen.c:4237:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4237 |    LLVMValueRef context_ptr = LLVMBuildStructGEP(builder, priv_ptr, 0, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:4240:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4240 |    LLVMValueRef state_ptr = LLVMBuildStructGEP(builder, priv_ptr, 1, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c:4243:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4243 |    LLVMValueRef pcall_ptr = LLVMBuildStructGEP(builder, priv_ptr, 2, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cgen.c: In function 'cgen_reset_function':
../src/cgen.c:4341:4: warning: 'LLVMBuildStructGEP' is deprecated [-Wdeprecated-declarations]
 4341 |    LLVMValueRef context_ptr = LLVMBuildStructGEP(builder, ctx.state, 0, "");
      |    ^~~~~~~~~~~~
C:/msys64/ucrt64/include/llvm-c/Core.h:3908:1: note: declared here
 3908 | LLVM_ATTRIBUTE_C_DEPRECATED(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  AR       lib/libcgen.a
  CCLD     bin/nvc.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants