+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/polly-16.0.6/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/polly-16.0.6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for polly-16.0.6
[  0%] Built target intrinsics_gen
[  2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/basis_reduction_tab.c.o
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long int'} to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
[  2%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:112:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_templ.c: In function 'isl_tab_compute_reduced_basis':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_templ.c:203:6: warning: 'row' may be used uninitialized in this function [-Wmaybe-uninitialized]
  203 |      save_alpha(lp, row-i, i, alpha_buffer[j]);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff.c.o
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long int'} to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:40:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_grow':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_drop':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_insert':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_concat':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:46:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_grow':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_drop':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_insert':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_concat':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:52:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_grow':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_drop':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_insert':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_concat':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:58:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_grow':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_drop':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_insert':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_concat':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:64:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_grow':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_drop':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_insert':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_concat':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'vec_reorder':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:620:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  620 |  for (i = 0; i < r->len; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_floor':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:1694:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1694 |  for (i = 1; i < aff->v->size; ++i) {
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_substitute_equalities_lifted':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2211:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2211 |  for (i = 0; i < eq->n_eq; ++i) {
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2213:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2213 |   if (j < 0 || j == 0 || j >= o_div)
      |                            ^~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2538:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_aff_check_range':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_involves_dims':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2564:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2564 |  for (i = 0; i < n; ++i)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_drop_dims':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2593:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
 2593 |  isl_ctx *ctx;
      |           ^~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_insert_dims':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2672:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
 2672 |  isl_ctx *ctx;
      |           ^~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_add_dup_piece':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |                        ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert'
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |  ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std'
  294 | template <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                    ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2808:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_grow':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  511 |  if (pw->n + n <= pw->size)
      |                ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: expected parameter pack before '...'
  294 | template <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                              ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: template argument 1 is invalid
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:65: error: expected unqualified-id before '>' token
  294 | template <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                                 ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_add_disjoint':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  541 |  if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n)
      |                ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'?
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_integral
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'?
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_integral
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                         ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_zero(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  180 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:37: error: expected primary-expression before '>' token
  180 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:38: error: expected primary-expression before ',' token
  180 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_zero(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  246 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:37: error: expected primary-expression before '>' token
  246 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:38: error: expected primary-expression before ',' token
  246 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_one(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  259 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:37: error: expected primary-expression before '>' token
  259 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:38: error: expected primary-expression before ',' token
  259 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_one(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  272 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:37: error: expected primary-expression before '>' token
  272 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:38: error: expected primary-expression before ',' token
  272 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::bit_width(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  282 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:37: error: expected primary-expression before '>' token
  282 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:38: error: expected primary-expression before ',' token
  282 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_floor(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  292 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:37: error: expected primary-expression before '>' token
  292 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:38: error: expected primary-expression before ',' token
  292 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_ceil(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  307 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:37: error: expected primary-expression before '>' token
  307 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:38: error: expected primary-expression before ',' token
  307 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingZeros(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
   78 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:37: error: expected primary-expression before '>' token
   78 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:38: error: expected primary-expression before ',' token
   78 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingZeros(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
   90 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:37: error: expected primary-expression before '>' token
   90 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:38: error: expected primary-expression before ',' token
   90 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isInt(int64_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:212:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  212 |   if constexpr (N == 8)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:214:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  214 |   if constexpr (N == 16)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:216:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  216 |   if constexpr (N == 32)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:218:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  218 |   if constexpr (N < 64)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isUInt(uint64_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  236 |   if constexpr (N == 8)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:238:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  238 |   if constexpr (N == 16)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:240:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  240 |   if constexpr (N == 32)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:242:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  242 |   if constexpr (N < 64)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_32(uint32_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:325:16: error: 'has_single_bit' is not a member of 'llvm'
  325 |   return llvm::has_single_bit(Value);
      |                ^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_64(uint64_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:330:16: error: 'has_single_bit' is not a member of 'llvm'
  330 |   return llvm::has_single_bit(Value);
      |                ^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingOnes(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  341 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:37: error: expected primary-expression before '>' token
  341 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:38: error: expected primary-expression before ',' token
  341 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingOnes(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  354 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:37: error: expected primary-expression before '>' token
  354 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:38: error: expected primary-expression before ',' token
  354 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countPopulation(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  364 |   static_assert(std::is_unsigned_v<T>,
      |                      ^~~~~~~~~~~~~
      |                      is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:37: error: expected primary-expression before '>' token
  364 |   static_assert(std::is_unsigned_v<T>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:38: error: expected primary-expression before ',' token
  364 |   static_assert(std::is_unsigned_v<T>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:366:26: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'?
  366 |   return (unsigned)llvm::popcount(Value);
      |                          ^~~~~~~~
In file included from /usr/include/string.h:98,
                 from /usr/include/g++/cstring:42,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/strings.h:57:14: note: 'popcount' declared here
   57 | unsigned int popcount(unsigned int) __constfunc;
      |              ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_32(uint32_t, unsigned int&, unsigned int&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:379:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'?
  379 |   MaskLen = llvm::popcount(Value);
      |                   ^~~~~~~~
In file included from /usr/include/string.h:98,
                 from /usr/include/g++/cstring:42,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/strings.h:57:14: note: 'popcount' declared here
   57 | unsigned int popcount(unsigned int) __constfunc;
      |              ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_64(uint64_t, unsigned int&, unsigned int&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:392:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'?
  392 |   MaskLen = llvm::popcount(Value);
      |                   ^~~~~~~~
In file included from /usr/include/string.h:98,
                 from /usr/include/g++/cstring:42,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/strings.h:57:14: note: 'popcount' declared here
   57 | unsigned int popcount(unsigned int) __constfunc;
      |              ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  620 | std::enable_if_t<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z,
      |                       ^~~~~~~~~~~~~
      |                       is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'?
  620 | std::enable_if_t<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z,
      |                       ^~~~~~~~~~~~~
      |                       is_unsigned
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:38: error: template argument 1 is invalid
  620 | std::enable_if_t<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:39: error: expected unqualified-id before ',' token
  620 | std::enable_if_t<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z,
      |                                       ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:3902:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_aff_check_range':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:3902:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_aff_get_at':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
  163 |  isl_ctx *ctx;
      |           ^~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_aff_drop_dims':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  506 |   for (i = 0; i < n; ++i)
      |                 ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  508 |   for (i = first; i + n < multi->n; ++i)
      |                         ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_multi_aff_project_out_map':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4217:10: warning: comparison of integer expressions of different signedness: 'isl_size' {aka 'int'} and 'unsigned int' [-Wsign-compare]
 4217 |  if (dim == n)
      |          ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4224:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4224 |  for (i = 0; i < first; ++i) {
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4232:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4232 |  for (i = 0; i < dim - (first + n); ++i) {
      |                ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_add_dup_piece':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |                        ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert'
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |  ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4515:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_grow':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  511 |  if (pw->n + n <= pw->size)
      |                ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_add_disjoint':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  541 |  if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n)
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'extract_isl_aff_from_basic_map':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4921:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4921 |  if (eq >= bmap->n_eq)
      |         ^~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'range_map':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:5284:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5284 |  for (i = 0; i < n_out; ++i) {
      |                ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'pw_multi_aff_from_map_check_strides':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:5465:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5465 |   for (j = 0; j < hull->n_eq; ++j) {
      |                 ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6180:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_pw_multi_aff_check_range':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6588:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_pw_aff_check_range':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6588:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_pw_aff_get_at':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
  163 |  isl_ctx *ctx;
      |           ^~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_pw_aff_drop_dims':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  506 |   for (i = 0; i < n; ++i)
      |                 ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  508 |   for (i = first; i + n < multi->n; ++i)
      |                         ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:8688:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_union_pw_aff_check_range':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:8688:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_union_pw_aff_get_at':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
  163 |  isl_ctx *ctx;
      |           ^~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_union_pw_aff_drop_dims':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  506 |   for (i = 0; i < n; ++i)
      |                 ^
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  508 |   for (i = first; i + n < multi->n; ++i)
      |                         ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:45,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h: In static member function 'static void llvm::SmallVectorTemplateBase<T, <anonymous> >::uninitialized_move(It1, It1, It2)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'?
  352 |     std::uninitialized_move(I, E, Dest);
      |          ^~~~~~~~~~~~~~~~~~
      |          uninitialized_copy
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLFunctionalExtras.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:13,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:35: error: 'optional' in namespace 'std' does not name a template type
   46 | auto transformOptional(const std::optional<T> &O, const Function &F)
      |                                   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:30: note: 'std::optional' is only available from C++17 onwards
   46 | auto transformOptional(const std::optional<T> &O, const Function &F)
      |                              ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:43: error: expected ',' or '...' before '<' token
   46 | auto transformOptional(const std::optional<T> &O, const Function &F)
      |                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:13: error: 'optional' in namespace 'std' does not name a template type
   47 |     -> std::optional<decltype(F(*O))> {
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:8: note: 'std::optional' is only available from C++17 onwards
   47 |     -> std::optional<decltype(F(*O))> {
      |        ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token
   47 |     -> std::optional<decltype(F(*O))> {
      |                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: error: 'optional' is not a member of 'std'
   56 | auto transformOptional(std::optional<T> &&O, const Function &F)
      |                             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:39: error: expected primary-expression before '>' token
   56 | auto transformOptional(std::optional<T> &&O, const Function &F)
      |                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:43: error: label 'O' referenced outside of any function
   56 | auto transformOptional(std::optional<T> &&O, const Function &F)
      |                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:46: error: expected primary-expression before 'const'
   56 | auto transformOptional(std::optional<T> &&O, const Function &F)
      |                                              ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:63: error: expression list treated as compound expression in initializer [-fpermissive]
   56 | auto transformOptional(std::optional<T> &&O, const Function &F)
      |                                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:64: error: expected ';' before '->' token
   56 | auto transformOptional(std::optional<T> &&O, const Function &F)
      |                                                                ^
      |                                                                ;
   57 |     -> std::optional<decltype(F(*std::move(O)))> {
      |     ~~                                                          
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str'
  104 |     /*implicit*/ constexpr StringRef(std::string_view Str)
      |                                     ~                ^~~~
      |                                                      )
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier
  248 |     operator std::string_view() const {
      |              ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find(char, size_t) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: error: 'string_view' is not a member of 'std'
  296 |       return std::string_view(*this).find(C, From);
      |                   ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: note: 'std::string_view' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::getAsInteger(unsigned int, T&) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:470:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  470 |       if constexpr (std::numeric_limits<T>::is_signed) {
      |          ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::consumeInteger(unsigned int, T&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:499:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  499 |       if constexpr (std::numeric_limits<T>::is_signed) {
      |          ^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type
  292 |     /*implicit*/ Twine(const std::string_view &Str)
      |                                   ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards
  292 |     /*implicit*/ Twine(const std::string_view &Str)
      |                              ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int'
  294 |       LHS.ptrAndLength.ptr = Str.data();
      |                                  ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int'
  295 |       LHS.ptrAndLength.length = Str.length();
      |                                     ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ilist_node_base.h:12,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ilist_base.h:12,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/simple_ilist.h:12,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ilist.h:27,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h: In function 'decltype(auto) llvm::get(const llvm::PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  236 |   if constexpr (I == 0)
      |      ^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm'
   51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm'
   54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm'
   57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm'
   69 | inline unsigned char      getSwappedBytes(unsigned char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm'
   70 | inline   signed char      getSwappedBytes( signed  char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm'
   71 | inline          char      getSwappedBytes(         char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm'
   73 | inline unsigned short     getSwappedBytes(unsigned short     C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm'
   74 | inline   signed short     getSwappedBytes(  signed short     C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm'
   76 | inline unsigned int       getSwappedBytes(unsigned int       C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm'
   77 | inline   signed int       getSwappedBytes(  signed int       C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm'
   79 | inline unsigned long      getSwappedBytes(unsigned long      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm'
   80 | inline   signed long      getSwappedBytes(  signed long      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm'
   82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm'
   83 | inline   signed long long getSwappedBytes(  signed long long C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm'
   91 |   out.i = llvm::byteswap(in.i);
      |                 ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm'
  101 |   out.i = llvm::byteswap(in.i);
      |                 ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t<std::is_enum<_Tp>::value, T> llvm::sys::getSwappedBytes(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:108:13: error: 'byteswap' is not a member of 'llvm'
  108 |       llvm::byteswap(static_cast<std::underlying_type_t<T>>(C)));
      |             ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type
  127 | template <typename T> hash_code hash_value(const std::optional<T> &arg);
      |                                                       ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:50: note: 'std::optional' is only available from C++17 onwards
  127 | template <typename T> hash_code hash_value(const std::optional<T> &arg);
      |                                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token
  127 | template <typename T> hash_code hash_value(const std::optional<T> &arg);
      |                                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std'
  658 |   return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg);
      |               ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type
  668 | template <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                       ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:50: note: 'std::optional' is only available from C++17 onwards
  668 | template <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token
  668 | template <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope
  669 |   return arg ? hash_combine(true, *arg) : hash_value(false);
      |          ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type
  144 | using is_one_of = std::disjunction<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:19: note: 'std::disjunction' is only available from C++17 onwards
  144 | using is_one_of = std::disjunction<std::is_same<T, Ts>...>;
      |                   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:26: error: 'conjunction' in namespace 'std' does not name a template type
  149 | using are_base_of = std::conjunction<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:21: note: 'std::conjunction' is only available from C++17 onwards
  149 | using are_base_of = std::conjunction<std::is_base_of<T, Ts>...>;
      |                     ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:37: error: 'is_one_of' was not declared in this scope
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::value &&
      |                                     ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::value &&
      |                                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::value &&
      |                                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::value &&
      |                                                        ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:23: error: 'is_function_v' is not a member of 'std'; did you mean 'is_function'?
  224 |           bool = std::is_function_v<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                       ^~~~~~~~~~~~~
      |                       is_function
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected primary-expression before '>>' token
  224 |           bool = std::is_function_v<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                                                                             ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected '>' before '>>' token
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:8: error: 'optional' in namespace 'std' does not name a template type
  230 |   std::optional<value_type> Obj;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:3: note: 'std::optional' is only available from C++17 onwards
  230 |   std::optional<value_type> Obj;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:23: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'?
  232 |   static_assert(!std::is_pointer_v<value_type>,
      |                       ^~~~~~~~~~~~
      |                       is_pointer
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:46: error: expected primary-expression before '>' token
  232 |   static_assert(!std::is_pointer_v<value_type>,
      |                                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  232 |   static_assert(!std::is_pointer_v<value_type>,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:47: error: expected primary-expression before ',' token
  232 |   static_assert(!std::is_pointer_v<value_type>,
      |                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std'
  257 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                   ^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  257 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                          ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/utility:70,
                 from /usr/include/g++/tuple:38,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token
  257 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std'
  263 |             std::enable_if_t<std::is_invocable_v<T const, Pn...>, int> = 0>
      |                                   ^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:64: error: template argument 1 is invalid
  263 |             std::enable_if_t<std::is_invocable_v<T const, Pn...>, int> = 0>
      |                                                                ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:72: error: expected unqualified-id before '=' token
  263 |             std::enable_if_t<std::is_invocable_v<T const, Pn...>, int> = 0>
      |                                                                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable<T, <anonymous> >::Callable(const T&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable<T, <anonymous> >' does not have any field named 'Obj'
  237 |   Callable(T const &O) : Obj(std::in_place, O) {}
      |                          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:35: error: 'in_place' is not a member of 'std'
  237 |   Callable(T const &O) : Obj(std::in_place, O) {}
      |                                   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(const llvm::callable_detail::Callable<T, <anonymous> >&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:5: error: 'Obj' was not declared in this scope
  243 |     Obj = std::nullopt;
      |     ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:16: error: 'nullopt' is not a member of 'std'
  243 |     Obj = std::nullopt;
      |                ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(llvm::callable_detail::Callable<T, <anonymous> >&&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:5: error: 'Obj' was not declared in this scope
  250 |     Obj = std::nullopt;
      |     ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std'
  250 |     Obj = std::nullopt;
      |                ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable<T, <anonymous> >::valid() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:31: error: 'Obj' was not declared in this scope
  268 |   bool valid() const { return Obj != std::nullopt; }
      |                               ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:43: error: 'nullopt' is not a member of 'std'
  268 |   bool valid() const { return Obj != std::nullopt; }
      |                                           ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable<T, <anonymous> >::reset()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:25: error: 'Obj' was not declared in this scope
  269 |   bool reset() { return Obj = std::nullopt; }
      |                         ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:36: error: 'nullopt' is not a member of 'std'
  269 |   bool reset() { return Obj = std::nullopt; }
      |                                    ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::reference()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:271:34: error: 'Obj' was not declared in this scope
  271 |   operator reference() { return *Obj; }
      |                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::const_reference() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:272:46: error: 'Obj' was not declared in this scope
  272 |   operator const_reference() const { return *Obj; }
      |                                              ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:38: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'?
  278 |   static constexpr bool IsPtr = std::is_pointer_v<remove_cvref_t<T>>;
      |                                      ^~~~~~~~~~~~
      |                                      is_pointer
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:67: error: expected primary-expression before '>' token
  278 |   static constexpr bool IsPtr = std::is_pointer_v<remove_cvref_t<T>>;
      |                                                                   ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:69: error: expected primary-expression before ';' token
  278 |   static constexpr bool IsPtr = std::is_pointer_v<remove_cvref_t<T>>;
      |                                                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:284:3: error: 'StorageT' does not name a type
  284 |   StorageT Func = nullptr;
      |   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:13: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'?
  307 |       !std::is_same_v<remove_cvref_t<FnPtrOrRef>, Callable>, int
      |             ^~~~~~~~~
      |             is_same
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  307 |       !std::is_same_v<remove_cvref_t<FnPtrOrRef>, Callable>, int
      |                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:59: error: template argument 1 is invalid
  307 |       !std::is_same_v<remove_cvref_t<FnPtrOrRef>, Callable>, int
      |                                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:308:7: error: expected unqualified-id before '=' token
  308 |     > = 0
      |       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std'
  313 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                   ^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  313 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                          ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/utility:70,
                 from /usr/include/g++/tuple:38,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:66: error: expected unqualified-id before '=' token
  313 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable<T, true>::convertIn(In&&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:288:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  288 |     if constexpr (IsPtr) {
      |        ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable<T, true>::valid() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:318:31: error: 'Func' was not declared in this scope
  318 |   bool valid() const { return Func != nullptr; }
      |                               ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::callable_detail::Callable<T, true>::reset()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:319:18: error: 'Func' was not declared in this scope
  319 |   void reset() { Func = nullptr; }
      |                  ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable<T, true>::operator const T&() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:322:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  322 |     if constexpr (IsPtr) {
      |        ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope
  324 |       return Func;
      |              ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:26: error: 'is_reference_v' is not a member of 'std'; did you mean 'is_reference'?
  326 |       static_assert(std::is_reference_v<T>,
      |                          ^~~~~~~~~~~~~~
      |                          is_reference
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:42: error: expected primary-expression before '>' token
  326 |       static_assert(std::is_reference_v<T>,
      |                                          ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:43: error: expected primary-expression before ',' token
  326 |       static_assert(std::is_reference_v<T>,
      |                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:329:15: error: 'Func' was not declared in this scope
  329 |       return *Func;
      |               ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:423:35: error: template argument 2 is invalid
  423 |   callable_detail::Callable<FuncTy> F{};
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'auto llvm::reverse(ContainerTy&&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:485:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  485 |   if constexpr (has_rbegin<ContainerTy>::value)
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common<ZipType, Iters>::test_all_equals(const llvm::detail::zip_common<ZipType, Iters>&, std::index_sequence<Ns ...>) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:790:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17'
  790 |             ...);
      |             ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest<Iters>::test(const llvm::detail::zip_shortest<Iters>&, std::index_sequence<Ns ...>) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:835:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17'
  835 |             ...);
      |             ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:60: error: 'optional' in namespace 'std' does not name a template type
  927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional<
      |                                                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:55: note: 'std::optional' is only available from C++17 onwards
  927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional<
      |                                                       ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:68: error: expected initializer before '<' token
  927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional<
      |                                                                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:21: error: 'optional' in namespace 'std' does not name a template type
  935 |   using type = std::optional<std::remove_const_t<
      |                     ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:16: note: 'std::optional' is only available from C++17 onwards
  935 |   using type = std::optional<std::remove_const_t<
      |                ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator<Iters>::test(const llvm::detail::zip_longest_iterator<Iters>&, std::index_sequence<Ns ...>) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17'
  966 |             ...);
      |             ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type
 1511 | using is_one_of = std::disjunction<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:19: note: 'std::disjunction' is only available from C++17 onwards
 1511 | using is_one_of = std::disjunction<std::is_same<T, Ts>...>;
      |                   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:26: error: 'conjunction' in namespace 'std' does not name a template type
 1516 | using are_base_of = std::conjunction<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:21: note: 'std::conjunction' is only available from C++17 onwards
 1516 | using are_base_of = std::conjunction<std::is_base_of<T, Ts>...>;
      |                     ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:38: error: 'conjunction' in namespace 'std' does not name a template type
 1675 | using sort_trivially_copyable = std::conjunction<
      |                                      ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:33: note: 'std::conjunction' is only available from C++17 onwards
 1675 | using sort_trivially_copyable = std::conjunction<
      |                                 ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'void llvm::sort(IteratorTy, IteratorTy)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
 1684 |   if constexpr (detail::sort_trivially_copyable<IteratorTy>::value) {
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail'
 1684 |   if constexpr (detail::sort_trivially_copyable<IteratorTy>::value) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:59: error: expected primary-expression before '>' token
 1684 |   if constexpr (detail::sort_trivially_copyable<IteratorTy>::value) {
      |                                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared
 1684 |   if constexpr (detail::sort_trivially_copyable<IteratorTy>::value) {
      |                                                              ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair<R>&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
 2173 |   if constexpr (i == 0) {
      |      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std'
 2276 |     if (!std::apply([&](auto &&...args) { return P(args...); }, *it))
      |               ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses]
   70 |     /*implicit*/ ArrayRef(std::nullopt_t) {}
      |                          ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::'
   70 |     /*implicit*/ ArrayRef(std::nullopt_t) {}
      |                           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration
   70 |     /*implicit*/ ArrayRef(std::nullopt_t) {}
      |                                            ^
      |                                             ;
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses]
  323 |     /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {}
      |                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::'
  323 |     /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {}
      |                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token
  472 |   template <typename T> ArrayRef(const T &OneElt) -> ArrayRef<T>;
      |                                                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token
  475 |   template <typename T> ArrayRef(const T *data, size_t length) -> ArrayRef<T>;
      |                                                                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token
  478 |   template <typename T> ArrayRef(const T *data, const T *end) -> ArrayRef<T>;
      |                                                                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token
  481 |   template <typename T> ArrayRef(const SmallVectorImpl<T> &Vec) -> ArrayRef<T>;
      |                                                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:485:56: error: expected constructor, destructor, or type conversion before ';' token
  485 |   ArrayRef(const SmallVector<T, N> &Vec) -> ArrayRef<T>;
      |                                                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token
  488 |   template <typename T> ArrayRef(const std::vector<T> &Vec) -> ArrayRef<T>;
      |                                                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:492:55: error: expected constructor, destructor, or type conversion before ';' token
  492 |   ArrayRef(const std::array<T, N> &Vec) -> ArrayRef<T>;
      |                                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token
  495 |   template <typename T> ArrayRef(const ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token
  498 |   template <typename T> ArrayRef(ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token
  501 |   template <typename T, size_t N> ArrayRef(const T (&Arr)[N]) -> ArrayRef<T>;
      |                                                                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token
  580 |   template <class T> MutableArrayRef(T &OneElt) -> MutableArrayRef<T>;
      |                                                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:585:64: error: expected constructor, destructor, or type conversion before ';' token
  585 |   MutableArrayRef(T *data, size_t length) -> MutableArrayRef<T>;
      |                                                                ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:589:65: error: expected constructor, destructor, or type conversion before ';' token
  589 |   MutableArrayRef(SmallVectorImpl<T> &Vec) -> MutableArrayRef<T>;
      |                                                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:592:64: error: expected constructor, destructor, or type conversion before ';' token
  592 |   MutableArrayRef(SmallVector<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                                ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token
  595 |   template <class T> MutableArrayRef(std::vector<T> &Vec) -> MutableArrayRef<T>;
      |                                                                                ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:599:63: error: expected constructor, destructor, or type conversion before ';' token
  599 |   MutableArrayRef(std::array<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:603:53: error: expected constructor, destructor, or type conversion before ';' token
  603 |   MutableArrayRef(T (&Arr)[N]) -> MutableArrayRef<T>;
      |                                                     ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std'
  266 | struct CastIsPossible<To, std::optional<From>> {
      |                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:41: error: template argument 2 is invalid
  266 | struct CastIsPossible<To, std::optional<From>> {
      |                                         ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token
  266 | struct CastIsPossible<To, std::optional<From>> {
      |                                             ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std'
  369 |           std::optional<To>, From,
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:27: error: wrong number of template arguments (1, should be 3)
  369 |           std::optional<To>, From,
      |                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template<class To, class From, class Derived> struct llvm::DefaultDoCastIfPossible'
  310 | struct DefaultDoCastIfPossible {
      |        ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:370:65: error: expected '{' before '>' token
  370 |           detail::SelfType<Derived, OptionalValueCast<To, From>>> {
      |                                                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std'
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:35: error: template argument 2 is invalid
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                   ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                       ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:10: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'?
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |          ^~~~~~~~~~~~
      |          is_pointer
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:24: error: expected primary-expression before '>' token
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                          ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:34: error: 'is_constructible_v' is not a member of 'std'; did you mean 'is_constructible'?
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                  ^~~~~~~~~~~~~~~~~~
      |                                  is_constructible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:54: error: expected primary-expression before ',' token
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std'
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                  ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:59: error: template argument 1 is invalid
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                            ^~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected template-name before '<' token
  117 | struct MaybeAlign : public std::optional<Align> {
      |                                         ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected '{' before '<' token
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected unqualified-id before '<' token
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:217:35: error: 'A' has incomplete type
  217 | inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; }
      |                        ~~~~~~~~~~~^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:50: error: return type 'struct llvm::MaybeAlign' is incomplete
  220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) {
      |                                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:19: error: ambiguating new declaration of 'void llvm::decodeMaybeAlign(unsigned int)'
  220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) {
      |                   ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:53:28: note: old declaration 'llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)'
   53 |   friend struct MaybeAlign decodeMaybeAlign(unsigned Value);
      |                            ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'void llvm::decodeMaybeAlign(unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:222:23: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  222 |     return MaybeAlign();
      |                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context
  224 |   Out.ShiftValue = Value - 1;
      |       ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here
   41 |   uint8_t ShiftValue = 0; /// The log2 of the required alignment.
      |           ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); }
      |                                                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:295:35: error: 'Lhs' has incomplete type
  295 | inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; }
      |                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:296:35: error: 'Lhs' has incomplete type
  296 | inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); }
      |                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:297:46: error: 'Rhs' has incomplete type
  297 | inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; }
      |                                   ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:298:46: error: 'Rhs' has incomplete type
  298 | inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); }
      |                                   ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:35: error: 'Lhs' has incomplete type
  300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) {
      |                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:51: error: 'Rhs' has incomplete type
  300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) {
      |                                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:35: error: 'Lhs' has incomplete type
  303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); }
      |                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:51: error: 'Rhs' has incomplete type
  303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); }
      |                                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:45: error: 'std::nullopt_t' has not been declared
  305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); }
      |                                             ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:35: error: 'Lhs' has incomplete type
  305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); }
      |                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:45: error: 'std::nullopt_t' has not been declared
  306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); }
      |                                             ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:35: error: 'Lhs' has incomplete type
  306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); }
      |                        ~~~~~~~~~~~^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function
  307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
  307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
      |                             ^~~~~~~~~
      |                             nullptr_t
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs'
  307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
      |                                                   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function
  308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); }
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
  308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); }
      |                             ^~~~~~~~~
      |                             nullptr_t
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs'
  308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); }
      |                                                   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:46: error: 'std::optional' has not been declared
  208 |   void setDiagnosticsMisExpectTolerance(std::optional<uint32_t> Tolerance);
      |                                              ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token
  208 |   void setDiagnosticsMisExpectTolerance(std::optional<uint32_t> Tolerance);
      |                                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared
  225 |   void setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold);
      |                                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token
  225 |   void setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold);
      |                                                    ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::MetadataAsValue*, llvm::Metadata*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct<llvm::MetadataAsValue*, llvm::Metadata*>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct<llvm::MetadataAsValue*, llvm::Metadata*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<void*, std::pair<llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>, long unsigned int>, 4>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1058:70: error: 'nullopt' is not a member of 'std'
 1058 |          ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = std::nullopt);
      |                                                                      ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef<llvm::MDOperand> llvm::MDNode::Header::operands()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1030:29: error: missing template arguments before '(' token
 1030 |       return MutableArrayRef(
      |                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::ArrayRef<llvm::MDOperand> llvm::MDNode::Header::operands() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1037:22: error: missing template arguments before '(' token
 1037 |       return ArrayRef(reinterpret_cast<const MDOperand *>(this) - SmallSize,
      |                      ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std'
  327 |     return dropUnknownNonDebugMetadata(std::nullopt);
      |                                             ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token
  330 |     return dropUnknownNonDebugMetadata(ArrayRef(ID1));
      |                                                ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type
  534 |   std::optional<uint64_t> getIrrLoopHeaderWeight() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:3: note: 'std::optional' is only available from C++17 onwards
  534 |   std::optional<uint64_t> getIrrLoopHeaderWeight() const;
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type
   66 |   inline std::optional<Level> getLevel(IDType ID) {
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:10: note: 'std::optional' is only available from C++17 onwards
   66 |   inline std::optional<Level> getLevel(IDType ID) {
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:15: error: 'optional' in namespace 'std' does not name a template type
   74 |   inline std::optional<Level> parseLevel(char C) {
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:10: note: 'std::optional' is only available from C++17 onwards
   74 |   inline std::optional<Level> parseLevel(char C) {
      |          ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type
  141 |       const std::optional<unsigned> &NumElemsArg);
      |                  ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:13: note: 'std::optional' is only available from C++17 onwards
  141 |       const std::optional<unsigned> &NumElemsArg);
      |             ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token
  141 |       const std::optional<unsigned> &NumElemsArg);
      |                          ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std'
  234 |   std::pair<unsigned, std::optional<unsigned>> getAllocSizeArgs() const;
      |                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:45: error: template argument 2 is invalid
  234 |   std::pair<unsigned, std::optional<unsigned>> getAllocSizeArgs() const;
      |                                             ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type
  241 |   std::optional<unsigned> getVScaleRangeMax() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:3: note: 'std::optional' is only available from C++17 onwards
  241 |   std::optional<unsigned> getVScaleRangeMax() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:8: error: 'optional' in namespace 'std' does not name a template type
  379 |   std::optional<std::pair<unsigned, std::optional<unsigned>>> getAllocSizeArgs()
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:3: note: 'std::optional' is only available from C++17 onwards
  379 |   std::optional<std::pair<unsigned, std::optional<unsigned>>> getAllocSizeArgs()
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:8: error: 'optional' in namespace 'std' does not name a template type
  382 |   std::optional<unsigned> getVScaleRangeMax() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:3: note: 'std::optional' is only available from C++17 onwards
  382 |   std::optional<unsigned> getVScaleRangeMax() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:36: error: 'optional' in namespace 'std' does not name a template type
  735 |                         const std::optional<unsigned> &NumElemsArg);
      |                                    ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:31: note: 'std::optional' is only available from C++17 onwards
  735 |                         const std::optional<unsigned> &NumElemsArg);
      |                               ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token
  735 |                         const std::optional<unsigned> &NumElemsArg);
      |                                            ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type
 1111 |   std::optional<uint64_t> getRawIntAttr(Attribute::AttrKind Kind) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:3: note: 'std::optional' is only available from C++17 onwards
 1111 |   std::optional<uint64_t> getRawIntAttr(Attribute::AttrKind Kind) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:8: error: 'optional' in namespace 'std' does not name a template type
 1157 |   std::optional<std::pair<unsigned, std::optional<unsigned>>> getAllocSizeArgs()
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:3: note: 'std::optional' is only available from C++17 onwards
 1157 |   std::optional<std::pair<unsigned, std::optional<unsigned>>> getAllocSizeArgs()
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:44: error: 'optional' in namespace 'std' does not name a template type
 1197 |                                 const std::optional<unsigned> &NumElemsArg);
      |                                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:39: note: 'std::optional' is only available from C++17 onwards
 1197 |                                 const std::optional<unsigned> &NumElemsArg);
      |                                       ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token
 1197 |                                 const std::optional<unsigned> &NumElemsArg);
      |                                                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared
 1201 |                                   std::optional<unsigned> MaxValue);
      |                                        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token
 1201 |                                   std::optional<unsigned> MaxValue);
      |                                                ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete
 1114 |   MaybeAlign getAlignment() const {
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1115 |     return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0));
      |                       ^~~~~~~~~~~~~
      |                       addRawIntAttr
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1115 |     return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0));
      |                                                                      ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete
 1119 |   MaybeAlign getStackAlignment() const {
      |                                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1120 |     return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0));
      |                       ^~~~~~~~~~~~~
      |                       addRawIntAttr
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1120 |     return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0));
      |                                                                           ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1126 |     return getRawIntAttr(Attribute::Dereferenceable).value_or(0);
      |            ^~~~~~~~~~~~~
      |            addRawIntAttr
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1132 |     return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0);
      |            ^~~~~~~~~~~~~
      |            addRawIntAttr
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1172 |     return addAlignmentAttr(MaybeAlign(Align));
      |                                             ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addStackAlignmentAttr(unsigned int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1184:50: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1184 |     return addStackAlignmentAttr(MaybeAlign(Align));
      |                                                  ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                                      ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                                 ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int'
  253 |     return write(Str.data(), Str.length());
      |                      ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int'
  253 |     return write(Str.data(), Str.length());
      |                                  ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type
  459 |   mutable std::optional<bool> HasColors;
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:11: note: 'std::optional' is only available from C++17 onwards
  459 |   mutable std::optional<bool> HasColors;
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared
  757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
      |                                               ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type
  761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &O) {
      |                                                     ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:48: note: 'std::optional' is only available from C++17 onwards
  761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &O) {
      |                                                ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:61: error: expected ',' or '...' before '<' token
  761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &O) {
      |                                                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'?
  762 |   if (O)
      |       ^
      |       OS
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std'
  765 |     OS << std::nullopt;
      |                ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef<llvm::Type*> llvm::Type::subtypes() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token
  355 |     return ArrayRef(subtype_begin(), subtype_end());
      |                    ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> llvm::FunctionType::params() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:131:20: error: missing template arguments before '(' token
  131 |     return ArrayRef(param_begin(), param_end());
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:27: error: 'are_base_of' was not declared in this scope
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                           ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                   ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/utility:70,
                 from /usr/include/g++/tuple:38,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:59: error: expected ';' before ',' token
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                           ^
      |                                                           ;
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:27: error: 'are_base_of' was not declared in this scope
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                           ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                   ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/utility:70,
                 from /usr/include/g++/tuple:38,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                           ^
      |                                                           ;
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  267 |   }
      |   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                      ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:20: error: 'are_base_of' was not declared in this scope
  305 |   std::enable_if_t<are_base_of<Type, Tys...>::value, void>
      |                    ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:44: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  305 |   std::enable_if_t<are_base_of<Type, Tys...>::value, void>
      |                                            ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/utility:70,
                 from /usr/include/g++/tuple:38,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:52: error: expected ';' before ',' token
  305 |   std::enable_if_t<are_base_of<Type, Tys...>::value, void>
      |                                                    ^
      |                                                    ;
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:47: error: data member 'value' cannot be a member template
  305 |   std::enable_if_t<are_base_of<Type, Tys...>::value, void>
      |                                               ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> llvm::StructType::elements() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token
  320 |     return ArrayRef(element_begin(), element_end());
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:754:59: error: 'nullopt' is not a member of 'std'
  754 |                             ArrayRef<Type *> Types = std::nullopt,
      |                                                           ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:755:60: error: 'nullopt' is not a member of 'std'
  755 |                             ArrayRef<unsigned> Ints = std::nullopt);
      |                                                            ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> llvm::TargetExtType::type_params() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:765:20: error: missing template arguments before '(' token
  765 |     return ArrayRef(type_param_begin(), type_param_end());
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<unsigned int> llvm::TargetExtType::int_params() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token
  780 |     return ArrayRef(IntParams, getNumIntParameters());
      |                    ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type
  642 |   std::optional<ConstantRange> getAbsoluteSymbolRange() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:3: note: 'std::optional' is only available from C++17 onwards
  642 |   std::optional<ConstantRange> getAbsoluteSymbolRange() const;
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type
   71 |     MaybeAlign Align = getAlign();
      |                ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
   71 |     MaybeAlign Align = getAlign();
      |                                 ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete
   79 |   MaybeAlign getAlign() const {
      |                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope
   82 |     return decodeMaybeAlign(AlignmentData);
      |            ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:8: error: 'optional' in namespace 'std' does not name a template type
  282 |   std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:3: note: 'std::optional' is only available from C++17 onwards
  282 |   std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:8: error: 'optional' in namespace 'std' does not name a template type
  301 |   std::optional<StringRef> getSectionPrefix() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:3: note: 'std::optional' is only available from C++17 onwards
  301 |   std::optional<StringRef> getSectionPrefix() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'?
  290 |     return getEntryCount(IncludeSynthetic).has_value();
      |            ^~~~~~~~~~~~~
      |            setEntryCount
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete
  425 |   MaybeAlign getFnStackAlign() const {
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  426 |     return AttributeSets.getFnStackAlignment();
      |                                              ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete
  440 |   MaybeAlign getParamAlign(unsigned ArgNo) const {
      |                                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  441 |     return AttributeSets.getParamAlignment(ArgNo);
      |                                                 ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:444:55: error: return type 'struct llvm::MaybeAlign' is incomplete
  444 |   MaybeAlign getParamStackAlign(unsigned ArgNo) const {
      |                                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamStackAlign(unsigned int) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:445:54: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  445 |     return AttributeSets.getParamStackAlignment(ArgNo);
      |                                                      ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:12: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'?
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |            ^~~~~~~~~~~~~
      |            is_integral
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                       ^
      |                                                       (
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector<KeyT, ValueT, MapType, VectorType>::lookup(const KeyT&) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:24: error: 'is_copy_constructible_v' is not a member of 'std'; did you mean 'is_copy_constructible'?
  112 |     static_assert(std::is_copy_constructible_v<ValueT>,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
      |                        is_copy_constructible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:54: error: expected primary-expression before '>' token
  112 |     static_assert(std::is_copy_constructible_v<ValueT>,
      |                                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:55: error: expected primary-expression before ',' token
  112 |     static_assert(std::is_copy_constructible_v<ValueT>,
      |                                                       ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17'
  107 | inline constexpr force_iteration_on_noniterable_enum_t
      | ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
   88 | class StringMapEntryStorage<std::nullopt_t> : public StringMapEntryBase {
      |                                  ^~~~~~~~~
      |                                  nullptr_t
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
   88 | class StringMapEntryStorage<std::nullopt_t> : public StringMapEntryBase {
      |                                  ^~~~~~~~~
      |                                  nullptr_t
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:43: error: template argument 1 is invalid
   88 | class StringMapEntryStorage<std::nullopt_t> : public StringMapEntryBase {
      |                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry<ValueTy>&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  155 |   if constexpr (Index == 0)
      |      ^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type
 2027 |   std::optional<OperandBundleUse> getOperandBundle(StringRef Name) const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:3: note: 'std::optional' is only available from C++17 onwards
 2027 |   std::optional<OperandBundleUse> getOperandBundle(StringRef Name) const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:8: error: 'optional' in namespace 'std' does not name a template type
 2043 |   std::optional<OperandBundleUse> getOperandBundle(uint32_t ID) const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:3: note: 'std::optional' is only available from C++17 onwards
 2043 |   std::optional<OperandBundleUse> getOperandBundle(uint32_t ID) const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete
 1743 |   MaybeAlign getRetAlign() const {
      |                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1744 |     if (auto Align = Attrs.getRetAlignment())
      |                                            ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1747 |       return F->getAttributes().getRetAlignment();
      |                                                 ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1748:17: error: 'nullopt' is not a member of 'std'
 1748 |     return std::nullopt;
      |                 ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1752:50: error: return type 'struct llvm::MaybeAlign' is incomplete
 1752 |   MaybeAlign getParamAlign(unsigned ArgNo) const {
      |                                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamAlign(unsigned int) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1753:41: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1753 |     return Attrs.getParamAlignment(ArgNo);
      |                                         ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1756:55: error: return type 'struct llvm::MaybeAlign' is incomplete
 1756 |   MaybeAlign getParamStackAlign(unsigned ArgNo) const {
      |                                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamStackAlign(unsigned int) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1757:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1757 |     return Attrs.getParamStackAlignment(ArgNo);
      |                                              ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:8: error: 'optional' in namespace 'std' does not name a template type
  111 |   std::optional<TypeSize> getAllocationSize(const DataLayout &DL) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:3: note: 'std::optional' is only available from C++17 onwards
  111 |   std::optional<TypeSize> getAllocationSize(const DataLayout &DL) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:8: error: 'optional' in namespace 'std' does not name a template type
  115 |   std::optional<TypeSize> getAllocationSizeInBits(const DataLayout &DL) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:3: note: 'std::optional' is only available from C++17 onwards
  115 |   std::optional<TypeSize> getAllocationSizeInBits(const DataLayout &DL) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std'
 1541 |                           ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                                     ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1581:69: error: 'nullopt' is not a member of 'std'
 1581 |                           ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                                     ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std'
 1642 |                ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                          ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1647:58: error: 'nullopt' is not a member of 'std'
 1647 |                ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                          ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::Instruction*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1496:39: error: 'nullopt' is not a member of 'std'
 1496 |       : CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore) {}
      |                                       ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::Instruction*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1537:39: error: 'nullopt' is not a member of 'std'
 1537 |         CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore);
      |                                       ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::BasicBlock*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std'
 1560 |         CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd);
      |                                       ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type
 3627 |   std::optional<SmallVector<uint32_t, 8>> Weights;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:3: note: 'std::optional' is only available from C++17 onwards
 3627 |   std::optional<SmallVector<uint32_t, 8>> Weights;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:30: error: 'optional' in namespace 'std' does not name a template type
 3636 |   using CaseWeightOpt = std::optional<uint32_t>;
      |                              ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:25: note: 'std::optional' is only available from C++17 onwards
 3636 |   using CaseWeightOpt = std::optional<uint32_t>;
      |                         ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3654:54: error: 'CaseWeightOpt' has not been declared
 3654 |   void addCase(ConstantInt *OnVal, BasicBlock *Dest, CaseWeightOpt W);
      |                                                      ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3660:41: error: 'CaseWeightOpt' has not been declared
 3660 |   void setSuccessorWeight(unsigned idx, CaseWeightOpt W);
      |                                         ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type
 3661 |   CaseWeightOpt getSuccessorWeight(unsigned idx);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3663:10: error: 'CaseWeightOpt' does not name a type
 3663 |   static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI, unsigned idx);
      |          ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std'
 3870 |                             ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                                       ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3914:71: error: 'nullopt' is not a member of 'std'
 3914 |                             ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                                       ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::Instruction*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3864:64: error: 'nullopt' is not a member of 'std'
 3864 |         InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt,
      |                                                                ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::BasicBlock*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std'
 3887 |         InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt,
      |                                                                ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::Instruction*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3909:43: error: 'nullopt' is not a member of 'std'
 3909 |                   IfException, Args, std::nullopt, NameStr, InsertBefore);
      |                                           ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4077:52: error: 'nullopt' is not a member of 'std'
 4077 |          ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                    ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4125:71: error: 'nullopt' is not a member of 'std'
 4125 |                             ArrayRef<OperandBundleDef> Bundles = std::nullopt,
      |                                                                       ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef<llvm::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::Instruction*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4070:69: error: 'nullopt' is not a member of 'std'
 4070 |         CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt,
      |                                                                     ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef<llvm::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::BasicBlock*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4095:69: error: 'nullopt' is not a member of 'std'
 4095 |         CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt,
      |                                                                     ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4506:63: error: 'nullopt' is not a member of 'std'
 4506 |                                 ArrayRef<Value *> Args = std::nullopt,
      |                                                               ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type
 5418 | inline std::optional<SyncScope::ID> getAtomicSyncScopeID(const Instruction *I) {
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:8: note: 'std::optional' is only available from C++17 onwards
 5418 | inline std::optional<SyncScope::ID> getAtomicSyncScopeID(const Instruction *I) {
      |        ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector<EltTy>::operator llvm::ArrayRef<T>() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:138:19: error: 'nullopt' is not a member of 'std'
  138 |       return std::nullopt;
      |                   ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector<EltTy>::operator llvm::MutableArrayRef<T>()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std'
  147 |       return std::nullopt;
      |                   ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:8: error: 'optional' in namespace 'std' does not name a template type
 1506 |   std::optional<uint64_t> tryZExtValue() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:3: note: 'std::optional' is only available from C++17 onwards
 1506 |   std::optional<uint64_t> tryZExtValue() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:8: error: 'optional' in namespace 'std' does not name a template type
 1528 |   std::optional<int64_t> trySExtValue() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:3: note: 'std::optional' is only available from C++17 onwards
 1528 |   std::optional<int64_t> trySExtValue() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: In member function 'unsigned int llvm::APInt::countPopulation() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1621:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'?
 1621 |       return llvm::popcount(U.VAL);
      |                    ^~~~~~~~
      |                    count
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:6: error: 'optional' in namespace 'std' does not name a template type
 2279 | std::optional<APInt> SolveQuadraticEquationWrap(APInt A, APInt B, APInt C,
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:1: note: 'std::optional' is only available from C++17 onwards
 2279 | std::optional<APInt> SolveQuadraticEquationWrap(APInt A, APInt B, APInt C,
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:6: error: 'optional' in namespace 'std' does not name a template type
 2284 | std::optional<unsigned> GetMostSignificantDifferentBit(const APInt &A,
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:1: note: 'std::optional' is only available from C++17 onwards
 2284 | std::optional<unsigned> GetMostSignificantDifferentBit(const APInt &A,
      | ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign'
  127 |   MaybeAlign StackNaturalAlign;
      |              ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign'
  131 |   MaybeAlign FunctionPtrAlign;
      |              ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type
  601 |   std::optional<APInt> getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:3: note: 'std::optional' is only available from C++17 onwards
  601 |   std::optional<APInt> getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete
  288 |   MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; }
      |                                          ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type
  534 |   inline Align getValueOrABITypeAlignment(MaybeAlign Alignment,
      |                                           ~~~~~~~~~~~^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::MutableArrayRef<long unsigned int> llvm::StructLayout::getMemberOffsets()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:33: error: missing template arguments before '(' token
  647 |     return llvm::MutableArrayRef(getTrailingObjects<uint64_t>(),
      |                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef<long unsigned int> llvm::StructLayout::getMemberOffsets() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:652:26: error: missing template arguments before '(' token
  652 |     return llvm::ArrayRef(getTrailingObjects<uint64_t>(), NumElements);
      |                          ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared
   62 |                  std::optional<unsigned> AddressSpace = std::nullopt,
      |                       ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token
   62 |                  std::optional<unsigned> AddressSpace = std::nullopt,
      |                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:18: error: default argument missing for parameter 9 of 'llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const llvm::Twine&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, int)'
   62 |                  std::optional<unsigned> AddressSpace = std::nullopt,
      |                  ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument
   59 |                  Constant *Initializer, const Twine &Name = "",
      |                                         ~~~~~~~~~~~~~^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:8: error: 'optional' in namespace 'std' does not name a template type
  866 |   std::optional<CodeModel::Model> getCodeModel() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:3: note: 'std::optional' is only available from C++17 onwards
  866 |   std::optional<CodeModel::Model> getCodeModel() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleIdentifier(llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  291 |   void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); }
      |                                                                     ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: note:   candidate expects 3 arguments, 1 provided
  291 |   void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); }
      |                                                                     ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  294 |   void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); }
      |                                                                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: note:   candidate expects 3 arguments, 1 provided
  294 |   void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); }
      |                                                                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setTargetTriple(llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  301 |   void setTargetTriple(StringRef T) { TargetTriple = std::string(T); }
      |                                                                   ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: note:   candidate expects 3 arguments, 1 provided
  301 |   void setTargetTriple(StringRef T) { TargetTriple = std::string(T); }
      |                                                                   ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  306 |     GlobalScopeAsm = std::string(Asm);
      |                                     ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note:   candidate expects 3 arguments, 1 provided
  306 |     GlobalScopeAsm = std::string(Asm);
      |                                     ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std'
   73 |                 std::conjunction<
      |                      ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std'
   74 |                     std::negation<std::is_same<std::decay_t<T>, Any>>,
      |                          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: note: 'std::negation' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:68: error: template argument 1 is invalid
   74 |                     std::negation<std::is_same<std::decay_t<T>, Any>>,
      |                                                                    ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:86:67: error: 'value' in namespace '::' does not name a type
   86 |                     std::is_copy_constructible<std::decay_t<T>>>::value,
      |                                                                   ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std'
   68 | using EnableIfCallable = std::enable_if_t<std::disjunction<
      |                                                ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: note: 'std::disjunction' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: note: 'std::disjunction' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:77:28: error: wrong number of template arguments (4, should be at least 1)
   77 |                         Ret>>::value>;
      |                            ^~
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/utility:70,
                 from /usr/include/g++/tuple:38,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/type_traits:2554:11: note: provided for 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
 2554 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = nullptr)
      |                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:7: error: default argument missing for parameter 3 of 'llvm::unique_function<R(P ...)>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...)> >*, int)'
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = nullptr)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:377:7: note: ...following parameter 2 which has a default argument
  377 |       detail::EnableUnlessSameType<CallableT, unique_function> * = nullptr,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:15: error: 'llvm::detail::EnableIfCallable' has not been declared
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = nullptr)
      |                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:7: error: default argument missing for parameter 3 of 'llvm::unique_function<R(P ...) const>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...) const> >*, int)'
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = nullptr)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:403:7: note: ...following parameter 2 which has a default argument
  403 |       detail::EnableUnlessSameType<CallableT, unique_function> * = nullptr,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:8: error: 'optional' in namespace 'std' does not name a template type
  103 |   std::optional<int64_t> tryExtValue() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:3: note: 'std::optional' is only available from C++17 onwards
  103 |   std::optional<int64_t> tryExtValue() const {
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef)'
  322 |   return std::string(S.str());
      |                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note:   candidate expects 3 arguments, 1 provided
  322 |   return std::string(S.str());
      |                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'size_t llvm::detail::join_items_size(Args&& ...)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:455:65: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17'
  455 |   return (0 + ... + join_one_item_size(std::forward<Args>(Items)));
      |                                                                 ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'?
   83 |   static_assert(std::is_scalar_v<Arg>,
      |                      ^~~~~~~~~~~
      |                      is_scalar
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:37: error: expected primary-expression before '>' token
   83 |   static_assert(std::is_scalar_v<Arg>,
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:38: error: expected primary-expression before ',' token
   83 |   static_assert(std::is_scalar_v<Arg>,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type
  219 |   std::optional<uint64_t> FirstByteOffset;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:3: note: 'std::optional' is only available from C++17 onwards
  219 |   std::optional<uint64_t> FirstByteOffset;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                         ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef<unsigned char>, uint32_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:19: error: class 'llvm::FormattedBytes' does not have any field named 'FirstByteOffset'
  230 |       : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
      |                   ^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:35: error: 'O' was not declared in this scope
  230 |       : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:67: error: 'NPL' was not declared in this scope
  230 |       : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
      |                                                                   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:23: error: 'BGS' was not declared in this scope
  231 |         ByteGroupSize(BGS), Upper(U), ASCII(A) {
      |                       ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:35: error: 'U' was not declared in this scope
  231 |         ByteGroupSize(BGS), Upper(U), ASCII(A) {
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:45: error: 'A' was not declared in this scope
  231 |         ByteGroupSize(BGS), Upper(U), ASCII(A) {
      |                                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:19: error: 'std::optional' has not been declared
  240 |              std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token
  240 |              std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef<unsigned char>, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:32: error: 'IndentLevel' was not declared in this scope
  243 |   return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
      |                                ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:45: error: 'FirstByteOffset' was not declared in this scope
  243 |   return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
      |                                             ^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:62: error: 'NumPerLine' was not declared in this scope
  243 |   return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
      |                                                              ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:25: error: 'ByteGroupSize' was not declared in this scope
  244 |                         ByteGroupSize, Upper, false);
      |                         ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'?
  244 |                         ByteGroupSize, Upper, false);
      |                                        ^~~~~
      |                                        toUpper
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:30: error: 'std::optional' has not been declared
  249 |                         std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                              ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token
  249 |                         std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef<unsigned char>, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:32: error: 'IndentLevel' was not declared in this scope
  252 |   return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
      |                                ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope
  252 |   return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
      |                                             ^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:62: error: 'NumPerLine' was not declared in this scope
  252 |   return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
      |                                                              ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:25: error: 'ByteGroupSize' was not declared in this scope
  253 |                         ByteGroupSize, Upper, true);
      |                         ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'?
  253 |                         ByteGroupSize, Upper, true);
      |                                        ^~~~~
      |                                        toUpper
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:59: error: template argument 1 is invalid
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                                            ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                                                            ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:17: error: 'std::enable_if_t' is not a type
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                 ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:28: error: expected ',' or '...' before '<' token
  512 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
      |                            ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:59: error: template argument 1 is invalid
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                                            ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                  ^~~~~~~~~~~~~~~~
      |                                  is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                                            ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:17: error: 'std::enable_if_t' is not a type
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                 ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:28: error: expected ',' or '...' before '<' token
  530 |            std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                            ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                              ^~~~~~~~~~~~~~~~
      |                              is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:55: error: template argument 1 is invalid
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                              ^~~~~~~~~~~~~~~~
      |                              is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                                        ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'?
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                              ^~~~~~~~~~~~~~~~
      |                              is_convertible
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                                                        ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:12: error: 'std::enable_if_t' is not a type
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:23: error: expected ',' or '...' before '<' token
  539 |       std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)' cannot be overloaded with 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  537 |   explicit Expected(
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  529 |   Expected(Expected<OtherT> &&Other,
      |   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type
 1054 | template <typename T> std::optional<T> expectedToOptional(Expected<T> &&E) {
      |                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:23: note: 'std::optional' is only available from C++17 onwards
 1054 | template <typename T> std::optional<T> expectedToOptional(Expected<T> &&E) {
      |                       ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:28: error: 'optional' in namespace 'std' does not name a template type
 1061 | template <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&E) {
      |                            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:23: note: 'std::optional' is only available from C++17 onwards
 1061 | template <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&E) {
      |                       ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:34: error: 'std::optional' has not been declared
 1301 |   FileError(const Twine &F, std::optional<size_t> LineNum,
      |                                  ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:42: error: expected ',' or '...' before '<' token
 1301 |   FileError(const Twine &F, std::optional<size_t> LineNum,
      |                                          ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:43: error: 'std::optional' has not been declared
 1309 |   static Error build(const Twine &F, std::optional<size_t> Line, Error E) {
      |                                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:51: error: expected ',' or '...' before '<' token
 1309 |   static Error build(const Twine &F, std::optional<size_t> Line, Error E) {
      |                                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:8: error: 'optional' in namespace 'std' does not name a template type
 1321 |   std::optional<size_t> Line;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:3: note: 'std::optional' is only available from C++17 onwards
 1321 |   std::optional<size_t> Line;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope
 1279 |     if (Line)
      |         ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope
 1305 |     Err = std::move(E);
      |                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |     ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |                      ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope
 1311 |     handleAllErrors(std::move(E),
      |                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope
 1317 |         std::unique_ptr<FileError>(new FileError(F, Line, std::move(Payload))));
      |                                                     ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, llvm::Error)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: error: 'optional' is not a member of 'std'
 1328 |   return FileError::build(F, std::optional<size_t>(), std::move(E));
      |                                   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:50: error: expected primary-expression before '>' token
 1328 |   return FileError::build(F, std::optional<size_t>(), std::move(E));
      |                                                  ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:52: error: expected primary-expression before ')' token
 1328 |   return FileError::build(F, std::optional<size_t>(), std::move(E));
      |                                                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, size_t, llvm::Error)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: error: 'optional' is not a member of 'std'
 1334 |   return FileError::build(F, std::optional<size_t>(Line), std::move(E));
      |                                   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:50: error: expected primary-expression before '>' token
 1334 |   return FileError::build(F, std::optional<size_t>(Line), std::move(E));
      |                                                  ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::AnalysisKey*, bool, 8>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<long unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with long unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<long unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with long unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass<PassT>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef(llvm::StringRef)>)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int')
 1342 |     OS << "repeat<" << Count << ">(";
      |     ~~~~~~~~~~~~~~~ ^~ ~~~~~
      |        |               |
      |        |               int
      |        llvm::raw_ostream
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)'
  190 |   raw_ostream &operator<<(char C) {
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)'
  197 |   raw_ostream &operator<<(unsigned char C) {
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)'
  204 |   raw_ostream &operator<<(signed char C) {
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)'
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)'
  260 |   raw_ostream &operator<<(unsigned long N);
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)'
  261 |   raw_ostream &operator<<(long N);
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)'
  262 |   raw_ostream &operator<<(unsigned long long N);
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)'
  263 |   raw_ostream &operator<<(long long N);
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)'
  266 |   raw_ostream &operator<<(unsigned int N) {
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)'
  270 |   raw_ostream &operator<<(int N) {
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)'
  274 |   raw_ostream &operator<<(double N);
      |                ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)'
  553 |   inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
      |                       ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)'
  757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
      |              ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'?
  158 |       NumBits += llvm::popcount(Bit);
      |                        ^~~~~~~~
      |                        count
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:10: error: 'optional' in namespace 'std' does not name a template type
  144 |     std::optional<unsigned> compute_cpu_socket(unsigned ThreadPoolNum) const;
      |          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:5: note: 'std::optional' is only available from C++17 onwards
  144 |     std::optional<unsigned> compute_cpu_socket(unsigned ThreadPoolNum) const;
      |     ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:8: error: 'optional' in namespace 'std' does not name a template type
  152 |   std::optional<ThreadPoolStrategy>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:3: note: 'std::optional' is only available from C++17 onwards
  152 |   std::optional<ThreadPoolStrategy>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:153:73: error: expected unqualified-id before ')' token
  153 |   get_threadpool_strategy(StringRef Num, ThreadPoolStrategy Default = {});
      |                                                                         ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: In function 'llvm::ThreadPoolStrategy llvm::heavyweight_hardware_concurrency(llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: error: 'optional' is not a member of 'std'
  174 |     std::optional<ThreadPoolStrategy> S =
      |          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:37: error: expected primary-expression before '>' token
  174 |     std::optional<ThreadPoolStrategy> S =
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:39: error: 'S' was not declared in this scope
  174 |     std::optional<ThreadPoolStrategy> S =
      |                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:175:9: error: 'get_threadpool_strategy' was not declared in this scope; did you mean 'ThreadPoolStrategy'?
  175 |         get_threadpool_strategy(Num, heavyweight_hardware_concurrency());
      |         ^~~~~~~~~~~~~~~~~~~~~~~
      |         ThreadPoolStrategy
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:8: error: 'shared_mutex' in namespace 'std' does not name a type
   96 |   std::shared_mutex impl;
      |        ^~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:3: note: 'std::shared_mutex' is only available from C++17 onwards
   96 |   std::shared_mutex impl;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex<mt_only>::lock_shared()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:106:7: error: 'impl' was not declared in this scope
  106 |       impl.lock_shared();
      |       ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex<mt_only>::unlock_shared()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:118:7: error: 'impl' was not declared in this scope
  118 |       impl.unlock_shared();
      |       ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex<mt_only>::lock()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:131:7: error: 'impl' was not declared in this scope
  131 |       impl.lock();
      |       ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex<mt_only>::unlock()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope
  144 |       impl.unlock();
      |       ^~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:8: error: 'optional' in namespace 'std' does not name a template type
  232 |   std::optional<int64_t> identifyObject(const void *Ptr) {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:3: note: 'std::optional' is only available from C++17 onwards
  232 |   std::optional<int64_t> identifyObject(const void *Ptr) {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, GrowthDelay>::identifyKnownObject(const void*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: error: 'optional' is not a member of 'std'
  259 |     std::optional<int64_t> Out = identifyObject(Ptr);
      |          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:26: error: expected primary-expression before '>' token
  259 |     std::optional<int64_t> Out = identifyObject(Ptr);
      |                          ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:28: error: 'Out' was not declared in this scope
  259 |     std::optional<int64_t> Out = identifyObject(Ptr);
      |                            ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: error: there are no arguments to 'identifyObject' that depend on a template parameter, so a declaration of 'identifyObject' must be available [-fpermissive]
  259 |     std::optional<int64_t> Out = identifyObject(Ptr);
      |                                  ^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type
  668 |     static std::optional<Loop::LoopBounds>
      |                 ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:12: note: 'std::optional' is only available from C++17 onwards
  668 |     static std::optional<Loop::LoopBounds>
      |            ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:8: error: 'optional' in namespace 'std' does not name a template type
  754 |   std::optional<LoopBounds> getBounds(ScalarEvolution &SE) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:3: note: 'std::optional' is only available from C++17 onwards
  754 |   std::optional<LoopBounds> getBounds(ScalarEvolution &SE) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type
 1330 | std::optional<bool> getOptionalBoolLoopAttribute(const Loop *TheLoop,
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:1: note: 'std::optional' is only available from C++17 onwards
 1330 | std::optional<bool> getOptionalBoolLoopAttribute(const Loop *TheLoop,
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:6: error: 'optional' in namespace 'std' does not name a template type
 1337 | std::optional<int> getOptionalIntLoopAttribute(const Loop *TheLoop,
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:1: note: 'std::optional' is only available from C++17 onwards
 1337 | std::optional<int> getOptionalIntLoopAttribute(const Loop *TheLoop,
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:6: error: 'optional' in namespace 'std' does not name a template type
 1349 | std::optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:1: note: 'std::optional' is only available from C++17 onwards
 1349 | std::optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
      | ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FloatingPointMode.h:18,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/APFloat.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:23,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:8: error: 'optional' in namespace 'std' does not name a template type
   50 |   std::optional<T> Result;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:3: note: 'std::optional' is only available from C++17 onwards
   50 |   std::optional<T> Result;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch<T, R>::StringSwitch(llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch<T, R>' does not have any field named 'Result'
   54 |   : Str(S), Result() { }
      |             ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch<T, R>::StringSwitch(llvm::StringSwitch<T, R>&&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch<T, R>' does not have any field named 'Result'
   64 |     : Str(other.Str), Result(std::move(other.Result)) { }
      |                       ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::Case(llvm::StringLiteral, T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:70:10: error: 'Result' was not declared in this scope
   70 |     if (!Result && Str == S) {
      |          ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::EndsWith(llvm::StringLiteral, T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:77:10: error: 'Result' was not declared in this scope
   77 |     if (!Result && Str.endswith(S)) {
      |          ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::StartsWith(llvm::StringLiteral, T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:84:10: error: 'Result' was not declared in this scope
   84 |     if (!Result && Str.startswith(S)) {
      |          ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::CaseLower(llvm::StringLiteral, T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:143:10: error: 'Result' was not declared in this scope
  143 |     if (!Result && Str.equals_insensitive(S))
      |          ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::EndsWithLower(llvm::StringLiteral, T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:150:10: error: 'Result' was not declared in this scope
  150 |     if (!Result && Str.endswith_insensitive(S))
      |          ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::StartsWithLower(llvm::StringLiteral, T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:157:10: error: 'Result' was not declared in this scope
  157 |     if (!Result && Str.startswith_insensitive(S))
      |          ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'R llvm::StringSwitch<T, R>::Default(T)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:183:9: error: 'Result' was not declared in this scope
  183 |     if (Result)
      |         ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>::operator R()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope
  190 |     return std::move(*Result);
      |                       ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:152:48: error: return type 'struct llvm::MaybeAlign' is incomplete
  152 |   inline MaybeAlign getMaybeAlignValue() const {
      |                                                ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'void llvm::ConstantInt::getMaybeAlignValue() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:153:37: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  153 |     return MaybeAlign(getZExtValue());
      |                                     ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'llvm::Align llvm::ConstantInt::getAlignValue() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:30: error: invalid use of 'void'
  160 |     return getMaybeAlignValue().valueOrOne();
      |            ~~~~~~~~~~~~~~~~~~^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: expected ';' before 'valueOrOne'
  160 |     return getMaybeAlignValue().valueOrOne();
      |                                 ^~~~~~~~~~
      |                                 ;
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: 'valueOrOne' was not declared in this scope
  160 |     return getMaybeAlignValue().valueOrOne();
      |                                 ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:27: error: 'are_base_of' was not declared in this scope
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::value, Constant *>
      |                           ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:56: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::value, Constant *>
      |                                                        ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/utility:70,
                 from /usr/include/g++/tuple:38,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:64: error: expected ';' before ',' token
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::value, Constant *>
      |                                                                ^
      |                                                                ;
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token
  701 |     return ConstantDataArray::get(Context, ArrayRef(Elts));
      |                                                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared
 1247 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token
 1247 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:25: error: 'std::optional' has not been declared
 1255 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token
 1255 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:25: error: 'std::optional' has not been declared
 1266 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token
 1266 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Constant*>, bool, int)'
 1247 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                    ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1246:25: note: ...following parameter 4 which has a default argument
 1246 |                    bool InBounds = false,
      |                    ~~~~~^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)'
 1255 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                    ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1254:63: note: ...following parameter 4 which has a default argument
 1254 |   getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false,
      |                                                          ~~~~~^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, int)'
 1266 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                    ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1265:25: note: ...following parameter 4 which has a default argument
 1265 |                    bool InBounds = false,
      |                    ~~~~~^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Constant*>, bool, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token
 1250 |         Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()),
      |                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                   ^~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                                 ^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope
 1260 |     return getGetElementPtr(Ty, C, cast<Value>(Idx), InBounds, InRangeIndex,
      |                                                                ^~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope
 1261 |                             OnlyIfReducedTy);
      |                             ^~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:136:70: error: 'nullopt' is not a member of 'std'
  136 |          ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = std::nullopt)
      |                                                                      ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std'
  307 |       : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {}
      |                                                 ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:15: error: 'optional' in namespace 'std' does not name a template type
  520 |   inline std::optional<StringRef> getSource() const;
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:10: note: 'std::optional' is only available from C++17 onwards
  520 |   inline std::optional<StringRef> getSource() const;
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:8: error: 'optional' in namespace 'std' does not name a template type
  599 |   std::optional<ChecksumInfo<MDString *>> Checksum;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:3: note: 'std::optional' is only available from C++17 onwards
  599 |   std::optional<ChecksumInfo<MDString *>> Checksum;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared
  604 |          std::optional<ChecksumInfo<MDString *>> CS, MDString *Src,
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token
  604 |          std::optional<ChecksumInfo<MDString *>> CS, MDString *Src,
      |                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:31: error: 'std::optional' has not been declared
  610 |                          std::optional<ChecksumInfo<StringRef>> CS,
      |                               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token
  610 |                          std::optional<ChecksumInfo<StringRef>> CS,
      |                                       ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared
  623 |                          std::optional<ChecksumInfo<MDString *>> CS,
      |                               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token
  623 |                          std::optional<ChecksumInfo<MDString *>> CS,
      |                                       ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token
  635 |                      std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token
  640 |                      std::optional<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:8: error: 'optional' in namespace 'std' does not name a template type
  648 |   std::optional<ChecksumInfo<StringRef>> getChecksum() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:3: note: 'std::optional' is only available from C++17 onwards
  648 |   std::optional<ChecksumInfo<StringRef>> getChecksum() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:8: error: 'optional' in namespace 'std' does not name a template type
  654 |   std::optional<StringRef> getSource() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:3: note: 'std::optional' is only available from C++17 onwards
  654 |   std::optional<StringRef> getSource() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:8: error: 'optional' in namespace 'std' does not name a template type
  661 |   std::optional<ChecksumInfo<MDString *>> getRawChecksum() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:3: note: 'std::optional' is only available from C++17 onwards
  661 |   std::optional<ChecksumInfo<MDString *>> getRawChecksum() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:15: error: 'optional' in namespace 'std' does not name a template type
  667 |   static std::optional<ChecksumKind> getChecksumKind(StringRef CSKindStr);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:10: note: 'std::optional' is only available from C++17 onwards
  667 |   static std::optional<ChecksumKind> getChecksumKind(StringRef CSKindStr);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getImpl(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: error: 'optional' is not a member of 'std'
  613 |     std::optional<ChecksumInfo<MDString *>> MDChecksum;
      |          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:42: error: expected primary-expression before '>' token
  613 |     std::optional<ChecksumInfo<MDString *>> MDChecksum;
      |                                          ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope
  613 |     std::optional<ChecksumInfo<MDString *>> MDChecksum;
      |                                             ^~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope
  614 |     if (CS)
      |         ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                    ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                                                     ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                                                                        ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here
   72 |   unsigned char Storage : 7;
      |                 ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:619:20: error: 'ShouldCreate' was not declared in this scope
  619 |                    ShouldCreate);
      |                    ^~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIFile llvm::DIFile::cloneImpl() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:25: error: 'getChecksum' was not declared in this scope
  629 |                         getChecksum(), getSource());
      |                         ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'?
  629 |                         getChecksum(), getSource());
      |                                        ^~~~~~~~~
      |                                        Source
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:6: error: 'optional' in namespace 'std' does not name a template type
  686 | std::optional<StringRef> DIScope::getSource() const {
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:1: note: 'std::optional' is only available from C++17 onwards
  686 | std::optional<StringRef> DIScope::getSource() const {
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:8: error: 'optional' in namespace 'std' does not name a template type
  863 |   std::optional<Signedness> getSignedness() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:3: note: 'std::optional' is only available from C++17 onwards
  863 |   std::optional<Signedness> getSignedness() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:8: error: 'optional' in namespace 'std' does not name a template type
  969 |   std::optional<unsigned> DWARFAddressSpace;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:3: note: 'std::optional' is only available from C++17 onwards
  969 |   std::optional<unsigned> DWARFAddressSpace;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared
  974 |                 std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token
  974 |                 std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:16: error: 'std::optional' has not been declared
  984 |           std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token
  984 |           std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:16: error: 'std::optional' has not been declared
  996 |           std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token
  996 |           std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                        ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token
 1013 |        std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   50 |   static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) {  \
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   54 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   41 |                             DEFINE_MDNODE_GET_UNPACK(FORMAL)) {                \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                           ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token
 1021 |                      std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:8: error: 'optional' in namespace 'std' does not name a template type
 1036 |   std::optional<unsigned> getDWARFAddressSpace() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:3: note: 'std::optional' is only available from C++17 onwards
 1036 |   std::optional<unsigned> getDWARFAddressSpace() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIDerivedType::DIDerivedType(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:43: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
  977 |                AlignInBits, OffsetInBits, Flags, Ops),
      |                                           ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:50: error: 'Ops' was not declared in this scope
  977 |                AlignInBits, OffsetInBits, Flags, Ops),
      |                                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:9: error: class 'llvm::DIDerivedType' does not have any field named 'DWARFAddressSpace'
  978 |         DWARFAddressSpace(DWARFAddressSpace) {}
      |         ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:27: error: 'DWARFAddressSpace' was not declared in this scope
  978 |         DWARFAddressSpace(DWARFAddressSpace) {}
      |                           ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getImpl(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:20: error: 'DWARFAddressSpace' was not declared in this scope
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                    ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                       ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: invalid use of member 'llvm::DIType::Flags' in static member function
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                       ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:46: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                              ^~~~~~~~~
      |                                              getExtraData
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                                         ^~~~~~~~~~~
      |                                                         getAnnotations
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function
  990 |                    Storage, ShouldCreate);
      |                    ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here
   72 |   unsigned char Storage : 7;
      |                 ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope
  990 |                    Storage, ShouldCreate);
      |                             ^~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope
 1004 |         getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations());
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:15: error: 'optional' in namespace 'std' does not name a template type
 1383 |   static std::optional<DebugEmissionKind> getEmissionKind(StringRef Str);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:10: note: 'std::optional' is only available from C++17 onwards
 1383 |   static std::optional<DebugEmissionKind> getEmissionKind(StringRef Str);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:15: error: 'optional' in namespace 'std' does not name a template type
 1385 |   static std::optional<DebugNameTableKind> getNameTableKind(StringRef Str);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:10: note: 'std::optional' is only available from C++17 onwards
 1385 |   static std::optional<DebugNameTableKind> getNameTableKind(StringRef Str);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type
 1670 |   std::optional<StringRef> getSource() const { return getScope()->getSource(); }
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:3: note: 'std::optional' is only available from C++17 onwards
 1670 |   std::optional<StringRef> getSource() const { return getScope()->getSource(); }
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:15: error: 'optional' in namespace 'std' does not name a template type
 1737 |   inline std::optional<const DILocation *>
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:10: note: 'std::optional' is only available from C++17 onwards
 1737 |   inline std::optional<const DILocation *>
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:15: error: 'optional' in namespace 'std' does not name a template type
 1754 |   inline std::optional<const DILocation *>
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:10: note: 'std::optional' is only available from C++17 onwards
 1754 |   inline std::optional<const DILocation *>
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:15: error: 'optional' in namespace 'std' does not name a template type
 1813 |   static std::optional<unsigned> encodeDiscriminator(unsigned BD, unsigned DF,
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:10: note: 'std::optional' is only available from C++17 onwards
 1813 |   static std::optional<unsigned> encodeDiscriminator(unsigned BD, unsigned DF,
      |          ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:6: error: 'optional' in namespace 'std' does not name a template type
 2277 | std::optional<const DILocation *>
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:1: note: 'std::optional' is only available from C++17 onwards
 2277 | std::optional<const DILocation *>
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:6: error: 'optional' in namespace 'std' does not name a template type
 2296 | std::optional<const DILocation *>
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:1: note: 'std::optional' is only available from C++17 onwards
 2296 | std::optional<const DILocation *>
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:8: error: 'optional' in namespace 'std' does not name a template type
 2563 |   std::optional<uint64_t> getSizeInBits() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:3: note: 'std::optional' is only available from C++17 onwards
 2563 |   std::optional<uint64_t> getSizeInBits() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:8: error: 'optional' in namespace 'std' does not name a template type
 2567 |   std::optional<DIBasicType::Signedness> getSignedness() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:3: note: 'std::optional' is only available from C++17 onwards
 2567 |   std::optional<DIBasicType::Signedness> getSignedness() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:8: error: 'optional' in namespace 'std' does not name a template type
 2585 |   std::optional<StringRef> getSource() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:3: note: 'std::optional' is only available from C++17 onwards
 2585 |   std::optional<StringRef> getSource() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:8: error: 'optional' in namespace 'std' does not name a template type
 2647 |   std::optional<SignedOrUnsignedConstant> isConstant() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:3: note: 'std::optional' is only available from C++17 onwards
 2647 |   std::optional<SignedOrUnsignedConstant> isConstant() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:15: error: 'optional' in namespace 'std' does not name a template type
 2779 |   static std::optional<FragmentInfo> getFragmentInfo(expr_op_iterator Start,
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:10: note: 'std::optional' is only available from C++17 onwards
 2779 |   static std::optional<FragmentInfo> getFragmentInfo(expr_op_iterator Start,
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:8: error: 'optional' in namespace 'std' does not name a template type
 2783 |   std::optional<FragmentInfo> getFragmentInfo() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:3: note: 'std::optional' is only available from C++17 onwards
 2783 |   std::optional<FragmentInfo> getFragmentInfo() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:15: error: 'optional' in namespace 'std' does not name a template type
 2820 |   static std::optional<const DIExpression *>
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:10: note: 'std::optional' is only available from C++17 onwards
 2820 |   static std::optional<const DIExpression *>
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:15: error: 'optional' in namespace 'std' does not name a template type
 2927 |   static std::optional<DIExpression *>
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:10: note: 'std::optional' is only available from C++17 onwards
 2927 |   static std::optional<DIExpression *>
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef<long unsigned int>)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2618:51: error: 'nullopt' is not a member of 'std'
 2618 |       : MDNode(C, DIExpressionKind, Storage, std::nullopt),
      |                                                   ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'?
 2788 |   bool isFragment() const { return getFragmentInfo().has_value(); }
      |                                    ^~~~~~~~~~~~~~~
      |                                    FragmentInfo
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'int llvm::DIExpression::fragmentCmp(const llvm::DIExpression*) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2965:23: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'?
 2965 |     auto Fragment1 = *getFragmentInfo();
      |                       ^~~~~~~~~~~~~~~
      |                       FragmentInfo
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2966:30: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'?
 2966 |     auto Fragment2 = *Other->getFragmentInfo();
      |                              ^~~~~~~~~~~~~~~
      |                              FragmentInfo
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3516:48: error: 'nullopt' is not a member of 'std'
 3516 |               ArrayRef<Metadata *> Ops2 = std::nullopt)
      |                                                ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIArgList::DIArgList(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef<llvm::ValueAsMetadata*>)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3679:48: error: 'nullopt' is not a member of 'std'
 3679 |       : MDNode(C, DIArgListKind, Storage, std::nullopt),
      |                                                ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:8: error: 'optional' in namespace 'std' does not name a template type
 3729 |   std::optional<FragmentInfo> Fragment;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:3: note: 'std::optional' is only available from C++17 onwards
 3729 |   std::optional<FragmentInfo> Fragment;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:22: error: 'std::optional' has not been declared
 3740 |                 std::optional<FragmentInfo> FragmentInfo,
      |                      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token
 3740 |                 std::optional<FragmentInfo> FragmentInfo,
      |                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:8: error: 'optional' in namespace 'std' does not name a template type
 3751 |   std::optional<FragmentInfo> getFragment() const { return Fragment; }
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:3: note: 'std::optional' is only available from C++17 onwards
 3751 |   std::optional<FragmentInfo> getFragment() const { return Fragment; }
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:24: error: class 'llvm::DebugVariable' does not have any field named 'Fragment'
 3742 |       : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {}
      |                        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:45: error: expected primary-expression before ')' token
 3742 |       : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {}
      |                                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: warning: 'llvm::DebugVariable::InlinedAt' is initialized with itself [-Winit-self]
 3739 |   DebugVariable(const DILocalVariable *Var,
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:9: error: class 'llvm::DebugVariable' does not have any field named 'Fragment'
 3747 |         Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
      |         ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:35: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'?
 3747 |         Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
      |                                   ^~~~~~~~~~~~~~~
      |                                   FragmentInfo
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:60: error: 'nullopt' is not a member of 'std'
 3747 |         Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
      |                                                            ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::DebugVariable::FragmentInfo llvm::DebugVariable::getFragmentOrDefault() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3755:12: error: 'Fragment' was not declared in this scope
 3755 |     return Fragment.value_or(DefaultFragment);
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator==(const llvm::DebugVariable&) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3763:31: error: 'Fragment' was not declared in this scope
 3763 |     return std::tie(Variable, Fragment, InlinedAt) ==
      |                               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3764:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'?
 3764 |            std::tie(Other.Variable, Other.Fragment, Other.InlinedAt);
      |                                           ^~~~~~~~
      |                                           FragmentInfo
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator<(const llvm::DebugVariable&) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3768:31: error: 'Fragment' was not declared in this scope
 3768 |     return std::tie(Variable, Fragment, InlinedAt) <
      |                               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3769:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'?
 3769 |            std::tie(Other.Variable, Other.Fragment, Other.InlinedAt);
      |                                           ^~~~~~~~
      |                                           FragmentInfo
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo<llvm::DebugVariable>::getEmptyKey()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3778:40: error: 'nullopt' is not a member of 'std'
 3778 |     return DebugVariable(nullptr, std::nullopt, nullptr);
      |                                        ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo<llvm::DebugVariable>::getTombstoneKey()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3783:52: error: no matching function for call to 'llvm::DebugVariable::DebugVariable(std::nullptr_t, <brace-enclosed initializer list>, std::nullptr_t)'
 3783 |     return DebugVariable(nullptr, {{0, 0}}, nullptr);
      |                                                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)'
 3744 |   DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:65: note:   no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'const llvm::DIExpression*'
 3744 |   DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
      |                                             ~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)'
 3739 |   DebugVariable(const DILocalVariable *Var,
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note:   candidate expects 2 arguments, 3 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DbgVariableIntrinsic*)'
 3737 |   DebugVariable(const DbgVariableIntrinsic *DII);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note:   candidate expects 1 argument, 3 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(const llvm::DebugVariable&)'
 3725 | class DebugVariable {
      |       ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note:   candidate expects 1 argument, 3 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(llvm::DebugVariable&&)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note:   candidate expects 1 argument, 3 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static unsigned int llvm::DenseMapInfo<llvm::DebugVariable>::getHashValue(const llvm::DebugVariable&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:16: error: 'optional' in namespace 'std' does not name a template type
 3788 |     const std::optional<FragmentInfo> Fragment = D.getFragment();
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:11: note: 'std::optional' is only available from C++17 onwards
 3788 |     const std::optional<FragmentInfo> Fragment = D.getFragment();
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope
 3789 |     if (Fragment)
      |         ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type
   49 | std::optional<RoundingMode> convertStrToRoundingMode(StringRef);
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:1: note: 'std::optional' is only available from C++17 onwards
   49 | std::optional<RoundingMode> convertStrToRoundingMode(StringRef);
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:6: error: 'optional' in namespace 'std' does not name a template type
   53 | std::optional<StringRef> convertRoundingModeToStr(RoundingMode);
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:1: note: 'std::optional' is only available from C++17 onwards
   53 | std::optional<StringRef> convertRoundingModeToStr(RoundingMode);
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:6: error: 'optional' in namespace 'std' does not name a template type
   57 | std::optional<fp::ExceptionBehavior> convertStrToExceptionBehavior(StringRef);
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:1: note: 'std::optional' is only available from C++17 onwards
   57 | std::optional<fp::ExceptionBehavior> convertStrToExceptionBehavior(StringRef);
      | ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:6: error: 'optional' in namespace 'std' does not name a template type
   61 | std::optional<StringRef> convertExceptionBehaviorToStr(fp::ExceptionBehavior);
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:1: note: 'std::optional' is only available from C++17 onwards
   61 | std::optional<StringRef> convertExceptionBehaviorToStr(fp::ExceptionBehavior);
      | ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:33,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:77:53: error: 'nullopt' is not a member of 'std'
   77 |                         ArrayRef<Type *> Tys = std::nullopt);
      |                                                     ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:93:56: error: 'nullopt' is not a member of 'std'
   93 |                            ArrayRef<Type *> Tys = std::nullopt);
      |                                                        ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:8: error: 'optional' in namespace 'std' does not name a template type
  247 |   std::optional<Function *> remangleIntrinsicFunction(Function *F);
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:3: note: 'std::optional' is only available from C++17 onwards
  247 |   std::optional<Function *> remangleIntrinsicFunction(Function *F);
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:8: error: 'optional' in namespace 'std' does not name a template type
  317 |   std::optional<uint64_t> getFragmentSizeInBits() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:3: note: 'std::optional' is only available from C++17 onwards
  317 |   std::optional<uint64_t> getFragmentSizeInBits() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:8: error: 'optional' in namespace 'std' does not name a template type
  320 |   std::optional<DIExpression::FragmentInfo> getFragment() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:3: note: 'std::optional' is only available from C++17 onwards
  320 |   std::optional<DIExpression::FragmentInfo> getFragment() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:15: error: 'optional' in namespace 'std' does not name a template type
  492 |   static std::optional<unsigned> getMaskParamPos(Intrinsic::ID IntrinsicID);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:10: note: 'std::optional' is only available from C++17 onwards
  492 |   static std::optional<unsigned> getMaskParamPos(Intrinsic::ID IntrinsicID);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:15: error: 'optional' in namespace 'std' does not name a template type
  493 |   static std::optional<unsigned> getVectorLengthParamPos(
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:10: note: 'std::optional' is only available from C++17 onwards
  493 |   static std::optional<unsigned> getVectorLengthParamPos(
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:15: error: 'optional' in namespace 'std' does not name a template type
  524 |   static std::optional<unsigned> getMemoryPointerParamPos(Intrinsic::ID);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:10: note: 'std::optional' is only available from C++17 onwards
  524 |   static std::optional<unsigned> getMemoryPointerParamPos(Intrinsic::ID);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:15: error: 'optional' in namespace 'std' does not name a template type
  528 |   static std::optional<unsigned> getMemoryDataParamPos(Intrinsic::ID);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:10: note: 'std::optional' is only available from C++17 onwards
  528 |   static std::optional<unsigned> getMemoryDataParamPos(Intrinsic::ID);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:8: error: 'optional' in namespace 'std' does not name a template type
  539 |   std::optional<unsigned> getFunctionalOpcode() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:3: note: 'std::optional' is only available from C++17 onwards
  539 |   std::optional<unsigned> getFunctionalOpcode() const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:15: error: 'optional' in namespace 'std' does not name a template type
  544 |   static std::optional<unsigned> getFunctionalOpcodeForVP(Intrinsic::ID ID);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:10: note: 'std::optional' is only available from C++17 onwards
  544 |   static std::optional<unsigned> getFunctionalOpcodeForVP(Intrinsic::ID ID);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:15: error: 'optional' in namespace 'std' does not name a template type
  555 |   static std::optional<unsigned> getStartParamPos(Intrinsic::ID ID);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:10: note: 'std::optional' is only available from C++17 onwards
  555 |   static std::optional<unsigned> getStartParamPos(Intrinsic::ID ID);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:15: error: 'optional' in namespace 'std' does not name a template type
  556 |   static std::optional<unsigned> getVectorParamPos(Intrinsic::ID ID);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:10: note: 'std::optional' is only available from C++17 onwards
  556 |   static std::optional<unsigned> getVectorParamPos(Intrinsic::ID ID);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:8: error: 'optional' in namespace 'std' does not name a template type
  606 |   std::optional<RoundingMode> getRoundingMode() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:3: note: 'std::optional' is only available from C++17 onwards
  606 |   std::optional<RoundingMode> getRoundingMode() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:8: error: 'optional' in namespace 'std' does not name a template type
  607 |   std::optional<fp::ExceptionBehavior> getExceptionBehavior() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:3: note: 'std::optional' is only available from C++17 onwards
  607 |   std::optional<fp::ExceptionBehavior> getExceptionBehavior() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:847:35: error: return type 'struct llvm::MaybeAlign' is incomplete
  847 |   MaybeAlign getDestAlign() const { return getParamAlign(ARG_DEST); }
      |                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:856:36: error: 'Alignment' has incomplete type
  856 |   void setDestAlignment(MaybeAlign Alignment) {
      |                         ~~~~~~~~~~~^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:909:37: error: return type 'struct llvm::MaybeAlign' is incomplete
  909 |   MaybeAlign getSourceAlign() const {
      |                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:919:38: error: 'Alignment' has incomplete type
  919 |   void setSourceAlignment(MaybeAlign Alignment) {
      |                           ~~~~~~~~~~~^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:6: error: 'optional' in namespace 'std' does not name a template type
  526 | std::optional<llvm::Metadata *> findMetadataOperand(llvm::MDNode *LoopMD,
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:1: note: 'std::optional' is only available from C++17 onwards
  526 | std::optional<llvm::Metadata *> findMetadataOperand(llvm::MDNode *LoopMD,
      | ^~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:6: error: 'optional' in namespace 'std' does not name a template type
  534 | std::optional<int> getOptionalIntLoopAttribute(llvm::MDNode *LoopID,
      |      ^~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:1: note: 'std::optional' is only available from C++17 onwards
  534 | std::optional<int> getOptionalIntLoopAttribute(llvm::MDNode *LoopID,
      | ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:15: error: 'optional' in namespace 'std' does not name a template type
  246 |   static std::optional<MemoryLocation> getOrNone(const Instruction *Inst);
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:10: note: 'std::optional' is only available from C++17 onwards
  246 |   static std::optional<MemoryLocation> getOrNone(const Instruction *Inst);
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:15: error: 'optional' in namespace 'std' does not name a template type
  258 |   static std::optional<MemoryLocation> getForDest(const CallBase *CI,
      |               ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:10: note: 'std::optional' is only available from C++17 onwards
  258 |   static std::optional<MemoryLocation> getForDest(const CallBase *CI,
      |          ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h: In static member function 'static llvm::MemoryLocation llvm::MemoryLocation::get(const llvm::Instruction*)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:244:29: error: 'getOrNone' is not a member of 'llvm::MemoryLocation'
  244 |     return *MemoryLocation::getOrNone(Inst);
      |                             ^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<const llvm::Value*, bool, 8>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:164:41:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<std::pair<llvm::AACacheLoc, llvm::AACacheLoc>, llvm::AAQueryInfo::CacheEntry, 8>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:259:15:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:39: error: 'optional' in namespace 'std' does not name a template type
  498 |                            const std::optional<MemoryLocation> &OptLoc) {
      |                                       ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:34: note: 'std::optional' is only available from C++17 onwards
  498 |                            const std::optional<MemoryLocation> &OptLoc) {
      |                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token
  498 |                            const std::optional<MemoryLocation> &OptLoc) {
      |                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:39: error: 'optional' in namespace 'std' does not name a template type
  592 |                            const std::optional<MemoryLocation> &OptLoc,
      |                                       ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:34: note: 'std::optional' is only available from C++17 onwards
  592 |                            const std::optional<MemoryLocation> &OptLoc,
      |                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token
  592 |                            const std::optional<MemoryLocation> &OptLoc,
      |                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:591:14: error: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' cannot be overloaded with 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)'
  591 |   ModRefInfo getModRefInfo(const Instruction *I,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: previous declaration 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)'
  497 |   ModRefInfo getModRefInfo(const Instruction *I,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:500:29: error: 'OptLoc' was not declared in this scope
  500 |     return getModRefInfo(I, OptLoc, AAQIP);
      |                             ^~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:506:52: error: no matching function for call to 'llvm::AAResults::getModRefInfo(const llvm::Instruction*&, llvm::MemoryLocation)'
  506 |     return getModRefInfo(I, MemoryLocation(P, Size));
      |                                                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)'
  497 |   ModRefInfo getModRefInfo(const Instruction *I,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:28: note:   no known conversion for argument 2 from 'llvm::MemoryLocation' to 'int'
  498 |                            const std::optional<MemoryLocation> &OptLoc) {
      |                            ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)'
  504 |   ModRefInfo getModRefInfo(const Instruction *I, const Value *P,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*)'
  511 |   ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call);
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:66: note:   no known conversion for argument 2 from 'llvm::MemoryLocation' to 'const llvm::CallBase*'
  511 |   ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call);
      |                                                  ~~~~~~~~~~~~~~~~^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*, llvm::AAQueryInfo&)'
  569 |   ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call2,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  571 |   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::CallBase*, llvm::AAQueryInfo&)'
  573 |   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::VAArgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  575 |   ModRefInfo getModRefInfo(const VAArgInst *V, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::LoadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  577 |   ModRefInfo getModRefInfo(const LoadInst *L, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::StoreInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  579 |   ModRefInfo getModRefInfo(const StoreInst *S, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::FenceInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  581 |   ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicCmpXchgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  583 |   ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicRMWInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  585 |   ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchPadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  587 |   ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchReturnInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)'
  589 |   ModRefInfo getModRefInfo(const CatchReturnInst *I, const MemoryLocation &Loc,
      |              ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note:   candidate expects 3 arguments, 2 provided
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:39: error: 'optional' in namespace 'std' does not name a template type
  641 |                            const std::optional<MemoryLocation> &OptLoc) {
      |                                       ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:34: note: 'std::optional' is only available from C++17 onwards
  641 |                            const std::optional<MemoryLocation> &OptLoc) {
      |                                  ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token
  641 |                            const std::optional<MemoryLocation> &OptLoc) {
      |                                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::BatchAAResults::getModRefInfo(const llvm::Instruction*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:642:32: error: 'OptLoc' was not declared in this scope
  642 |     return AA.getModRefInfo(I, OptLoc, AAQI);
      |                                ^~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:40,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std'
  100 |   using StackElement = std::pair<NodeRef, std::optional<ChildItTy>>;
      |                                                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:57: error: template argument 2 is invalid
  100 |   using StackElement = std::pair<NodeRef, std::optional<ChildItTy>>;
      |                                                         ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope
  103 |   std::vector<StackElement> VisitStack;
      |               ^~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid
  103 |   std::vector<StackElement> VisitStack;
      |                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 2 is invalid
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::NodeRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  107 |     VisitStack.push_back(StackElement(Node, std::nullopt));
      |                ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:50: error: 'nullopt' is not a member of 'std'
  107 |     VisitStack.push_back(StackElement(Node, std::nullopt));
      |                                                  ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::NodeRef, SetType&)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:18: error: request for member 'push_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  115 |       VisitStack.push_back(StackElement(Node, std::nullopt));
      |                  ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:52: error: 'nullopt' is not a member of 'std'
  115 |       VisitStack.push_back(StackElement(Node, std::nullopt));
      |                                                    ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'void llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::toNext()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  125 |       NodeRef Node = VisitStack.back().first;
      |                                 ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: error: 'optional' is not a member of 'std'
  126 |       std::optional<ChildItTy> &Opt = VisitStack.back().second;
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:30: error: expected primary-expression before '>' token
  126 |       std::optional<ChildItTy> &Opt = VisitStack.back().second;
      |                              ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope
  126 |       std::optional<ChildItTy> &Opt = VisitStack.back().second;
      |                                 ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:50: error: request for member 'back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  126 |       std::optional<ChildItTy> &Opt = VisitStack.back().second;
      |                                                  ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:22: error: request for member 'push_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  139 |           VisitStack.push_back(StackElement(Next, std::nullopt));
      |                      ^~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:56: error: 'nullopt' is not a member of 'std'
  139 |           VisitStack.push_back(StackElement(Next, std::nullopt));
      |                                                        ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:146:18: error: request for member 'pop_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  146 |       VisitStack.pop_back();
      |                  ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:147:26: error: request for member 'empty' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  147 |     } while (!VisitStack.empty());
      |                          ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'const NodeRef& llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::operator*() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:168:56: error: request for member 'back' in '((const llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'const int'
  168 |   const NodeRef &operator*() const { return VisitStack.back().first; }
      |                                                        ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator<GraphT, SetType, ExtStorage, GT>& llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::skipChildren()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  186 |     VisitStack.pop_back();
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:187:21: error: request for member 'empty' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  187 |     if (!VisitStack.empty())
      |                     ^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'unsigned int llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::getPathLength() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:208:54: error: request for member 'size' in '((const llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'const int'
  208 |   unsigned getPathLength() const { return VisitStack.size(); }
      |                                                      ^~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::NodeRef llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::getPath(unsigned int) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript
  212 |   NodeRef getPath(unsigned n) const { return VisitStack[n].first; }
      |                                                        ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::RootsT llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::BatchUpdatePtr)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: error: 'optional' is not a member of 'std'
  407 |       std::optional<NodeOrderMap> SuccOrder;
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: note: 'std::optional' is only available from C++17 onwards
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:33: error: expected primary-expression before '>' token
  407 |       std::optional<NodeOrderMap> SuccOrder;
      |                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope
  407 |       std::optional<NodeOrderMap> SuccOrder;
      |                                   ^~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:8: error: 'optional' in namespace 'std' does not name a template type
  337 |   std::optional<ConstantRange>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:3: note: 'std::optional' is only available from C++17 onwards
  337 |   std::optional<ConstantRange>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:8: error: 'optional' in namespace 'std' does not name a template type
  342 |   std::optional<ConstantRange> exactUnionWith(const ConstantRange &CR) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:3: note: 'std::optional' is only available from C++17 onwards
  342 |   std::optional<ConstantRange> exactUnionWith(const ConstantRange &CR) const;
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:37,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:8: error: 'optional' in namespace 'std' does not name a template type
   93 |   std::optional<MDMapT> MDMap;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:3: note: 'std::optional' is only available from C++17 onwards
   93 |   std::optional<MDMapT> MDMap;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:8: error: 'optional' in namespace 'std' does not name a template type
  119 |   std::optional<MDMapT> &getMDMap() { return MDMap; }
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:3: note: 'std::optional' is only available from C++17 onwards
  119 |   std::optional<MDMapT> &getMDMap() { return MDMap; }
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:8: error: 'optional' in namespace 'std' does not name a template type
  122 |   std::optional<Metadata *> getMappedMD(const Metadata *MD) const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:3: note: 'std::optional' is only available from C++17 onwards
  122 |   std::optional<Metadata *> getMappedMD(const Metadata *MD) const {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap<KeyT, ValueT, Config>::hasMD() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'?
  113 |   bool hasMD() const { return bool(MDMap); }
      |                                    ^~~~~
      |                                    MDMapT
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'llvm::ValueMap<KeyT, ValueT, Config>::MDMapT& llvm::ValueMap<KeyT, ValueT, Config>::MD()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:115:10: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'?
  115 |     if (!MDMap)
      |          ^~~~~
      |          MDMapT
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'?
  117 |     return *MDMap;
      |             ^~~~~
      |             MDMapT
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'void llvm::ValueMap<KeyT, ValueT, Config>::clear()':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'?
  147 |     MDMap.reset();
      |     ^~~~~
      |     MDMapT
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type
  546 |   std::optional<SCEV::NoWrapFlags>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:3: note: 'std::optional' is only available from C++17 onwards
  546 |   std::optional<SCEV::NoWrapFlags>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:8: error: 'optional' in namespace 'std' does not name a template type
  624 |   std::optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:3: note: 'std::optional' is only available from C++17 onwards
  624 |   std::optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:8: error: 'optional' in namespace 'std' does not name a template type
 1057 |   std::optional<bool> evaluatePredicate(ICmpInst::Predicate Pred,
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:3: note: 'std::optional' is only available from C++17 onwards
 1057 |   std::optional<bool> evaluatePredicate(ICmpInst::Predicate Pred,
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:8: error: 'optional' in namespace 'std' does not name a template type
 1068 |   std::optional<bool> evaluatePredicateAt(ICmpInst::Predicate Pred,
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:3: note: 'std::optional' is only available from C++17 onwards
 1068 |   std::optional<bool> evaluatePredicateAt(ICmpInst::Predicate Pred,
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:8: error: 'optional' in namespace 'std' does not name a template type
 1157 |   std::optional<MonotonicPredicateType>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:3: note: 'std::optional' is only available from C++17 onwards
 1157 |   std::optional<MonotonicPredicateType>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:8: error: 'optional' in namespace 'std' does not name a template type
 1173 |   std::optional<LoopInvariantPredicate>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:3: note: 'std::optional' is only available from C++17 onwards
 1173 |   std::optional<LoopInvariantPredicate>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:8: error: 'optional' in namespace 'std' does not name a template type
 1183 |   std::optional<LoopInvariantPredicate>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:3: note: 'std::optional' is only available from C++17 onwards
 1183 |   std::optional<LoopInvariantPredicate>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:8: error: 'optional' in namespace 'std' does not name a template type
 1190 |   std::optional<LoopInvariantPredicate>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:3: note: 'std::optional' is only available from C++17 onwards
 1190 |   std::optional<LoopInvariantPredicate>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:8: error: 'optional' in namespace 'std' does not name a template type
 1276 |   std::optional<APInt> computeConstantDifference(const SCEV *LHS,
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:3: note: 'std::optional' is only available from C++17 onwards
 1276 |   std::optional<APInt> computeConstantDifference(const SCEV *LHS,
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:8: error: 'optional' in namespace 'std' does not name a template type
 1715 |   std::optional<const SCEV *>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:3: note: 'std::optional' is only available from C++17 onwards
 1715 |   std::optional<const SCEV *>
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::PointerIntPair<llvm::Value*, 1>, llvm::ScalarEvolution::ExitLimit>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:10: error: 'optional' in namespace 'std' does not name a template type
 1784 |     std::optional<ExitLimit> find(const Loop *L, Value *ExitCond,
      |          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:5: note: 'std::optional' is only available from C++17 onwards
 1784 |     std::optional<ExitLimit> find(const Loop *L, Value *ExitCond,
      |     ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:8: error: 'optional' in namespace 'std' does not name a template type
 1803 |   std::optional<ScalarEvolution::ExitLimit>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:3: note: 'std::optional' is only available from C++17 onwards
 1803 |   std::optional<ScalarEvolution::ExitLimit>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:8: error: 'optional' in namespace 'std' does not name a template type
 2075 |   std::optional<MonotonicPredicateType>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:3: note: 'std::optional' is only available from C++17 onwards
 2075 |   std::optional<MonotonicPredicateType>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:8: error: 'optional' in namespace 'std' does not name a template type
 2139 |   std::optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:3: note: 'std::optional' is only available from C++17 onwards
 2139 |   std::optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std'
 1109 |             std::nullopt);
      |                  ^~~~~~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In constructor 'llvm::SCEVNAryExpr::SCEVNAryExpr(llvm::FoldingSetNodeIDRef, llvm::SCEVTypes, const llvm::SCEV* const*, size_t)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:190:51: error: missing template arguments before '(' token
  190 |       : SCEV(ID, T, computeExpressionSize(ArrayRef(O, N))), Operands(O),
      |                                                   ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function 'llvm::ArrayRef<const llvm::SCEV*> llvm::SCEVNAryExpr::operands() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:202:20: error: missing template arguments before '(' token
  202 |     return ArrayRef(Operands, NumOperands);
      |                    ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<const void*, llvm::ImmutablePass*, 8>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/LegacyPassManagers.h:243:49:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<polly::ScopArrayInfo*, llvm::detail::DenseSetEmpty, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void>, llvm::detail::DenseSetPair<polly::ScopArrayInfo*> >':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17:   required from 'class llvm::detail::DenseSetImpl<polly::ScopArrayInfo*, llvm::SmallDenseMap<polly::ScopArrayInfo*, llvm::detail::DenseSetEmpty, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void>, llvm::detail::DenseSetPair<polly::ScopArrayInfo*> >, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7:   required from 'class llvm::SmallDenseSet<polly::ScopArrayInfo*, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12:   required from 'class llvm::SetVector<polly::ScopArrayInfo*, llvm::SmallVector<polly::ScopArrayInfo*, 2>, llvm::SmallDenseSet<polly::ScopArrayInfo*, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> > >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7:   required from 'class llvm::SmallSetVector<polly::ScopArrayInfo*, 2>'
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:392:38:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: At global scope:
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:8: error: 'optional' in namespace 'std' does not name a template type
 1665 |   std::optional<std::string> name;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:3: note: 'std::optional' is only available from C++17 onwards
 1665 |   std::optional<std::string> name;
      |   ^~~
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: In member function 'llvm::StringRef polly::Scop::getName()':
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2049:10: error: 'name' was not declared in this scope; did you mean 'tzname'?
 2049 |     if (!name)
      |          ^~~~
      |          tzname
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2051:13: error: 'name' was not declared in this scope; did you mean 'tzname'?
 2051 |     return *name;
      |             ^~~~
      |             tzname
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:24,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/SmallBitVector.h: In member function 'llvm::SmallBitVector::size_type llvm::SmallBitVector::count() const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/SmallBitVector.h:203:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'?
  203 |       return llvm::popcount(Bits);
      |                    ^~~~~~~~
      |                    count
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:31,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h:87:8: error: 'optional' in namespace 'std' does not name a template type
   87 |   std::optional<CostType> getValue() const {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h:87:3: note: 'std::optional' is only available from C++17 onwards
   87 |   std::optional<CostType> getValue() const {
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:557:8: error: 'optional' in namespace 'std' does not name a template type
  557 |   std::optional<Instruction *> instCombineIntrinsic(InstCombiner & IC,
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:557:3: note: 'std::optional' is only available from C++17 onwards
  557 |   std::optional<Instruction *> instCombineIntrinsic(InstCombiner & IC,
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:561:8: error: 'optional' in namespace 'std' does not name a template type
  561 |   std::optional<Value *> simplifyDemandedUseBitsIntrinsic(
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:561:3: note: 'std::optional' is only available from C++17 onwards
  561 |   std::optional<Value *> simplifyDemandedUseBitsIntrinsic(
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:566:8: error: 'optional' in namespace 'std' does not name a template type
  566 |   std::optional<Value *> simplifyDemandedVectorEltsIntrinsic(
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:566:3: note: 'std::optional' is only available from C++17 onwards
  566 |   std::optional<Value *> simplifyDemandedVectorEltsIntrinsic(
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:979:8: error: 'optional' in namespace 'std' does not name a template type
  979 |   std::optional<unsigned> getMaxVScale() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:979:3: note: 'std::optional' is only available from C++17 onwards
  979 |   std::optional<unsigned> getMaxVScale() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:982:8: error: 'optional' in namespace 'std' does not name a template type
  982 |   std::optional<unsigned> getVScaleForTuning() const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:982:3: note: 'std::optional' is only available from C++17 onwards
  982 |   std::optional<unsigned> getVScaleForTuning() const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1035:8: error: 'optional' in namespace 'std' does not name a template type
 1035 |   std::optional<unsigned> getCacheSize(CacheLevel Level) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1035:3: note: 'std::optional' is only available from C++17 onwards
 1035 |   std::optional<unsigned> getCacheSize(CacheLevel Level) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1038:8: error: 'optional' in namespace 'std' does not name a template type
 1038 |   std::optional<unsigned> getCacheAssociativity(CacheLevel Level) const;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1038:3: note: 'std::optional' is only available from C++17 onwards
 1038 |   std::optional<unsigned> getCacheAssociativity(CacheLevel Level) const;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1275:45: error: 'std::optional' has not been declared
 1275 |   static bool requiresOrderedReduction(std::optional<FastMathFlags> FMF) {
      |                                             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1275:53: error: expected ',' or '...' before '<' token
 1275 |   static bool requiresOrderedReduction(std::optional<FastMathFlags> FMF) {
      |                                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1304:45: error: 'std::optional' has not been declared
 1304 |       unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF,
      |                                             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1304:53: error: expected ',' or '...' before '<' token
 1304 |       unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF,
      |                                                     ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:12: error: 'std::optional' has not been declared
 1326 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:20: error: expected ',' or '...' before '<' token
 1326 |       std::optional<FastMathFlags> FMF,
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:12: error: 'std::optional' has not been declared
 1383 |       std::optional<uint32_t> AtomicElementSize = std::nullopt) const;
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:20: error: expected ',' or '...' before '<' token
 1383 |       std::optional<uint32_t> AtomicElementSize = std::nullopt) const;
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1395:12: error: 'std::optional' has not been declared
 1395 |       std::optional<uint32_t> AtomicCpySize = std::nullopt) const;
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1395:20: error: expected ',' or '...' before '<' token
 1395 |       std::optional<uint32_t> AtomicCpySize = std::nullopt) const;
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1119:44: error: 'nullopt' is not a member of 'std'
 1119 |                  ArrayRef<int> Mask = std::nullopt,
      |                                            ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1122:54: error: 'nullopt' is not a member of 'std'
 1122 |                  ArrayRef<const Value *> Args = std::nullopt) const;
      |                                                      ^~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In static member function 'static bool llvm::TargetTransformInfo::requiresOrderedReduction(int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1276:12: error: 'FMF' was not declared in this scope
 1276 |     return FMF && !(*FMF).allowReassoc();
      |            ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1620:16: error: 'optional' in namespace 'std' does not name a template type
 1620 |   virtual std::optional<Instruction *> instCombineIntrinsic(
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1620:11: note: 'std::optional' is only available from C++17 onwards
 1620 |   virtual std::optional<Instruction *> instCombineIntrinsic(
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1622:16: error: 'optional' in namespace 'std' does not name a template type
 1622 |   virtual std::optional<Value *> simplifyDemandedUseBitsIntrinsic(
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1622:11: note: 'std::optional' is only available from C++17 onwards
 1622 |   virtual std::optional<Value *> simplifyDemandedUseBitsIntrinsic(
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1625:16: error: 'optional' in namespace 'std' does not name a template type
 1625 |   virtual std::optional<Value *> simplifyDemandedVectorEltsIntrinsic(
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1625:11: note: 'std::optional' is only available from C++17 onwards
 1625 |   virtual std::optional<Value *> simplifyDemandedVectorEltsIntrinsic(
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1726:16: error: 'optional' in namespace 'std' does not name a template type
 1726 |   virtual std::optional<unsigned> getMaxVScale() const = 0;
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1726:11: note: 'std::optional' is only available from C++17 onwards
 1726 |   virtual std::optional<unsigned> getMaxVScale() const = 0;
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1727:16: error: 'optional' in namespace 'std' does not name a template type
 1727 |   virtual std::optional<unsigned> getVScaleForTuning() const = 0;
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1727:11: note: 'std::optional' is only available from C++17 onwards
 1727 |   virtual std::optional<unsigned> getVScaleForTuning() const = 0;
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1738:16: error: 'optional' in namespace 'std' does not name a template type
 1738 |   virtual std::optional<unsigned> getCacheSize(CacheLevel Level) const = 0;
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1738:11: note: 'std::optional' is only available from C++17 onwards
 1738 |   virtual std::optional<unsigned> getCacheSize(CacheLevel Level) const = 0;
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1739:16: error: 'optional' in namespace 'std' does not name a template type
 1739 |   virtual std::optional<unsigned> getCacheAssociativity(CacheLevel Level)
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1739:11: note: 'std::optional' is only available from C++17 onwards
 1739 |   virtual std::optional<unsigned> getCacheAssociativity(CacheLevel Level)
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:35: error: 'std::optional' has not been declared
 1833 |                              std::optional<FastMathFlags> FMF,
      |                                   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:43: error: expected ',' or '...' before '<' token
 1833 |                              std::optional<FastMathFlags> FMF,
      |                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:12: error: 'std::optional' has not been declared
 1840 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:20: error: expected ',' or '...' before '<' token
 1840 |       std::optional<FastMathFlags> FMF,
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:12: error: 'std::optional' has not been declared
 1864 |       std::optional<uint32_t> AtomicElementSize) const = 0;
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:20: error: expected ',' or '...' before '<' token
 1864 |       std::optional<uint32_t> AtomicElementSize) const = 0;
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:12: error: 'std::optional' has not been declared
 1870 |       std::optional<uint32_t> AtomicCpySize) const = 0;
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:20: error: expected ',' or '...' before '<' token
 1870 |       std::optional<uint32_t> AtomicCpySize) const = 0;
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2022:8: error: 'optional' in namespace 'std' does not name a template type
 2022 |   std::optional<Instruction *>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2022:3: note: 'std::optional' is only available from C++17 onwards
 2022 |   std::optional<Instruction *>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2026:8: error: 'optional' in namespace 'std' does not name a template type
 2026 |   std::optional<Value *>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2026:3: note: 'std::optional' is only available from C++17 onwards
 2026 |   std::optional<Value *>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2033:8: error: 'optional' in namespace 'std' does not name a template type
 2033 |   std::optional<Value *> simplifyDemandedVectorEltsIntrinsic(
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2033:3: note: 'std::optional' is only available from C++17 onwards
 2033 |   std::optional<Value *> simplifyDemandedVectorEltsIntrinsic(
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2259:8: error: 'optional' in namespace 'std' does not name a template type
 2259 |   std::optional<unsigned> getMaxVScale() const override {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2259:3: note: 'std::optional' is only available from C++17 onwards
 2259 |   std::optional<unsigned> getMaxVScale() const override {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2262:8: error: 'optional' in namespace 'std' does not name a template type
 2262 |   std::optional<unsigned> getVScaleForTuning() const override {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2262:3: note: 'std::optional' is only available from C++17 onwards
 2262 |   std::optional<unsigned> getVScaleForTuning() const override {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2286:8: error: 'optional' in namespace 'std' does not name a template type
 2286 |   std::optional<unsigned> getCacheSize(CacheLevel Level) const override {
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2286:3: note: 'std::optional' is only available from C++17 onwards
 2286 |   std::optional<unsigned> getCacheSize(CacheLevel Level) const override {
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2289:8: error: 'optional' in namespace 'std' does not name a template type
 2289 |   std::optional<unsigned>
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2289:3: note: 'std::optional' is only available from C++17 onwards
 2289 |   std::optional<unsigned>
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:35: error: 'std::optional' has not been declared
 2431 |                              std::optional<FastMathFlags> FMF,
      |                                   ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:43: error: expected ',' or '...' before '<' token
 2431 |                              std::optional<FastMathFlags> FMF,
      |                                           ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:12: error: 'std::optional' has not been declared
 2442 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:20: error: expected ',' or '...' before '<' token
 2442 |       std::optional<FastMathFlags> FMF,
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:12: error: 'std::optional' has not been declared
 2485 |       std::optional<uint32_t> AtomicElementSize) const override {
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:20: error: expected ',' or '...' before '<' token
 2485 |       std::optional<uint32_t> AtomicElementSize) const override {
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:12: error: 'std::optional' has not been declared
 2494 |       std::optional<uint32_t> AtomicCpySize) const override {
      |            ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:20: error: expected ',' or '...' before '<' token
 2494 |       std::optional<uint32_t> AtomicCpySize) const override {
      |                    ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model<T>::getArithmeticReductionCost(unsigned int, llvm::VectorType*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2433:56: error: 'FMF' was not declared in this scope
 2433 |     return Impl.getArithmeticReductionCost(Opcode, Ty, FMF, CostKind);
      |                                                        ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2433:61: error: 'CostKind' was not declared in this scope
 2433 |     return Impl.getArithmeticReductionCost(Opcode, Ty, FMF, CostKind);
      |                                                             ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model<T>::getExtendedReductionCost(unsigned int, bool, llvm::Type*, llvm::VectorType*, int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2444:73: error: 'FMF' was not declared in this scope
 2444 |     return Impl.getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF,
      |                                                                         ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2445:42: error: 'CostKind' was not declared in this scope
 2445 |                                          CostKind);
      |                                          ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::Type* llvm::TargetTransformInfo::Model<T>::getMemcpyLoopLoweringType(llvm::LLVMContext&, llvm::Value*, unsigned int, unsigned int, unsigned int, unsigned int, int) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2488:43: error: 'AtomicElementSize' was not declared in this scope
 2488 |                                           AtomicElementSize);
      |                                           ^~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'void llvm::TargetTransformInfo::Model<T>::getMemcpyLoopResidualLoweringType(llvm::SmallVectorImpl<llvm::Type*>&, llvm::LLVMContext&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int) const':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2497:65: error: 'AtomicCpySize' was not declared in this scope
 2497 |                                            SrcAlign, DestAlign, AtomicCpySize);
      |                                                                 ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2665:8: error: 'optional' in namespace 'std' does not name a template type
 2665 |   std::optional<TargetTransformInfo> TTI;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2665:3: note: 'std::optional' is only available from C++17 onwards
 2665 |   std::optional<TargetTransformInfo> TTI;
      |   ^~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::Region*, long int, 4, llvm::DenseMapInfo<llvm::Region*, void>, llvm::detail::DenseMapPair<llvm::Region*, long int> >':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:61:9:   required from 'class llvm::PriorityWorklist<llvm::Region*, llvm::SmallVector<llvm::Region*, 4>, llvm::SmallDenseMap<llvm::Region*, long int, 4, llvm::DenseMapInfo<llvm::Region*, void>, llvm::detail::DenseMapPair<llvm::Region*, long int> > >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:255:7:   required from 'class llvm::SmallPriorityWorklist<llvm::Region*, 4>'
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:206:13:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:19,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:16: error: 'std::optional' has not been declared
  100 |           std::optional<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token
  100 |           std::optional<Align> Alignment = std::nullopt);
      |                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:25: error: 'std::optional' has not been declared
  114 |                    std::optional<Align> Alignment = std::nullopt);
      |                         ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token
  114 |                    std::optional<Align> Alignment = std::nullopt);
      |                                 ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:20: error: 'std::optional' has not been declared
  128 |               std::optional<Align> Alignment = std::nullopt);
      |                    ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token
  128 |               std::optional<Align> Alignment = std::nullopt);
      |                            ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:23: error: 'std::optional' has not been declared
  152 |                  std::optional<Align> Alignment = std::nullopt);
      |                       ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token
  152 |                  std::optional<Align> Alignment = std::nullopt);
      |                               ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:21: error: 'std::optional' has not been declared
  158 |                std::optional<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token
  158 |                std::optional<Align> Alignment = std::nullopt);
      |                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:11: error: default argument missing for parameter 5 of 'static llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)'
  100 |           std::optional<Align> Alignment = std::nullopt);
      |           ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:98:39: note: ...following parameter 2 which has a default argument
   98 |   getFile(const Twine &Filename, bool IsText = false,
      |                                  ~~~~~^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:20: error: default argument missing for parameter 6 of 'static llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)'
  114 |                    std::optional<Align> Alignment = std::nullopt);
      |                    ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:113:41: note: ...following parameter 5 which has a default argument
  113 |                    int64_t Offset, bool IsVolatile = false,
      |                                    ~~~~~^~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:15: error: default argument missing for parameter 6 of 'static llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)'
  128 |               std::optional<Align> Alignment = std::nullopt);
      |               ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:127:20: note: ...following parameter 4 which has a default argument
  127 |               bool RequiresNullTerminator = true, bool IsVolatile = false,
      |               ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:18: error: default argument missing for parameter 4 of 'static llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)'
  152 |                  std::optional<Align> Alignment = std::nullopt);
      |                  ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:150:46: note: ...following parameter 2 which has a default argument
  150 |   getFileOrSTDIN(const Twine &Filename, bool IsText = false,
      |                                         ~~~~~^~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  158 |                std::optional<Align> Alignment = std::nullopt);
      |                ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:157:21: note: ...following parameter 4 which has a default argument
  157 |                bool IsVolatile = false,
      |                ~~~~~^~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:16: error: 'std::optional' has not been declared
  204 |           std::optional<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token
  204 |           std::optional<Align> Alignment = std::nullopt);
      |                        ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:21: error: 'std::optional' has not been declared
  210 |                std::optional<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token
  210 |                std::optional<Align> Alignment = std::nullopt);
      |                             ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:30: error: 'std::optional' has not been declared
  220 |                         std::optional<Align> Alignment = std::nullopt);
      |                              ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token
  220 |                         std::optional<Align> Alignment = std::nullopt);
      |                                      ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:11: error: default argument missing for parameter 3 of 'static llvm::ErrorOr<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)'
  204 |           std::optional<Align> Alignment = std::nullopt);
      |           ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:203:39: note: ...following parameter 2 which has a default argument
  203 |   getFile(const Twine &Filename, bool IsVolatile = false,
      |                                  ~~~~~^~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  210 |                std::optional<Align> Alignment = std::nullopt);
      |                ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument
  209 |                bool IsVolatile = false,
      |                ~~~~~^~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:25: error: default argument missing for parameter 3 of 'static std::unique_ptr<llvm::WritableMemoryBuffer> llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)'
  220 |                         std::optional<Align> Alignment = std::nullopt);
      |                         ^~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument
  219 |   getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "",
      |                                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses]
   53 |   SMRange(std::nullopt_t) {}
      |          ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::'
   53 |   SMRange(std::nullopt_t) {}
      |           ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration
   53 |   SMRange(std::nullopt_t) {}
      |                            ^
      |                             ;
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(llvm::StringRef, llvm::SourceMgr::DiagKind, llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  297 |       : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {}
      |                                                                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note:   candidate expects 3 arguments, 1 provided
  297 |       : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {}
      |                                                                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  297 |       : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {}
      |                                                                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note:   candidate expects 3 arguments, 1 provided
  297 |       : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {}
      |                                                                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: At global scope:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:8: error: 'optional' in namespace 'std' does not name a template type
  482 |   std::optional<uint64_t> getHotness() const { return Hotness; }
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:3: note: 'std::optional' is only available from C++17 onwards
  482 |   std::optional<uint64_t> getHotness() const { return Hotness; }
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:24: error: 'std::optional' has not been declared
  483 |   void setHotness(std::optional<uint64_t> H) { Hotness = H; }
      |                        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:32: error: expected ',' or '...' before '<' token
  483 |   void setHotness(std::optional<uint64_t> H) { Hotness = H; }
      |                                ^
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:8: error: 'optional' in namespace 'std' does not name a template type
  524 |   std::optional<uint64_t> Hotness;
      |        ^~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:3: note: 'std::optional' is only available from C++17 onwards
  524 |   std::optional<uint64_t> Hotness;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  432 |     explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {}
      |                                                                   ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: note:   candidate expects 3 arguments, 1 provided
  432 |     explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {}
      |                                                                   ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  445 |     Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {}
      |                                                                         ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: note:   candidate expects 3 arguments, 1 provided
  445 |     Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {}
      |                                                                         ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  600 |       basic_string(basic_string&& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:600:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  596 |       basic_string(const basic_string& __str, const _Alloc& __a)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:596:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:592:45: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>'
  592 |       basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  565 |       basic_string(basic_string&& __str) noexcept
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:565:35: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string<char>&&'
  565 |       basic_string(basic_string&& __str) noexcept
      |                    ~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:533:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const char*'
  533 |       basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  456 |       basic_string(const basic_string& __str)
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:456:40: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char>&'
  456 |       basic_string(const basic_string& __str)
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:448:34: note:   no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator<char>&'
  448 |       basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
      |                    ~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In member function 'void llvm::DiagnosticInfoOptimizationBase::setHotness(int)':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:48: error: 'Hotness' was not declared in this scope; did you mean 'setHotness'?
  483 |   void setHotness(std::optional<uint64_t> H) { Hotness = H; }
      |                                                ^~~~~~~
      |                                                setHotness
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:58: error: 'H' was not declared in this scope
  483 |   void setHotness(std::optional<uint64_t> H) { Hotness = H; }
      |                                                          ^
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator<ItTy, FuncTy, ReferenceTy>::mapped_iterator(ItTy, FuncTy) [with ItTy = llvm::Use*; FuncTy = llvm::BasicBlock* (*)(llvm::Value*); ReferenceTy = llvm::BasicBlock*]':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4420:58:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference<llvm::BasicBlock* (*&)(llvm::Value*)>::type' {aka 'llvm::BasicBlock* (*)(llvm::Value*)'} to 'int' [-fpermissive]
  414 |     : mapped_iterator::iterator_adaptor_base(std::move(U)), F(std::move(F)) {}
      |                                                                           ^
      |                                                                           |
      |                                                                           std::remove_reference<llvm::BasicBlock* (*&)(llvm::Value*)>::type {aka llvm::BasicBlock* (*)(llvm::Value*)}
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator<ItTy, FuncTy, ReferenceTy>::mapped_iterator(ItTy, FuncTy) [with ItTy = const llvm::Use*; FuncTy = const llvm::BasicBlock* (*)(const llvm::Value*); ReferenceTy = const llvm::BasicBlock*]':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4429:69:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference<const llvm::BasicBlock* (*&)(const llvm::Value*)>::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive]
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long unsigned int]':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with long unsigned int kValue = 8]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long unsigned int]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long unsigned int; MoreTys = {}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long unsigned int}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
  399 |   static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue),
      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32:   required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long unsigned int]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with long unsigned int kValue = 8]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long unsigned int]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long unsigned int; MoreTys = {}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long unsigned int}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 2; size_t = long unsigned int]':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32:   recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32:   required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long unsigned int]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with long unsigned int kValue = 8]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long unsigned int]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long unsigned int; MoreTys = {}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long unsigned int}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7:   required from 'void llvm::SmallVectorTemplateBase<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7:   required from 'void llvm::SmallVectorTemplateBase<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = false]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12:   required from 'ReturnT (* llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::operator()(P ...) [with R = void; P = {llvm::StringRef}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12:   required from 'ReturnT (* llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::operator()(P ...) [with R = void; P = {llvm::StringRef}]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h: In instantiation of 'void llvm::PassInstrumentation::runBeforeAnalysis(const PassT&, const IRUnitT&) const [with IRUnitT = polly::Scop; PassT = llvm::detail::AnalysisPassConcept<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator, polly::ScopStandardAnalysisResults&>]':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManagerImpl.h:69:27:   required from 'llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT = llvm::detail::AnalysisResultConcept<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator>]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:778:9:   required from 'typename PassT::Result& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = polly::DependenceAnalysis; IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; typename PassT::Result = polly::DependenceAnalysis::Result]'
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:868:54:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:278:34: error: no matching function for call to 'llvm::Any::Any(const polly::Scop*)'
  278 |         C(Analysis.name(), llvm::Any(&IR));
      |                                  ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:3: note: candidate: 'llvm::Any::Any(llvm::Any&&)'
   93 |   Any(Any &&Other) : Storage(std::move(Other.Storage)) {}
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:13: note:   no known conversion for argument 1 from 'const polly::Scop*' to 'llvm::Any&&'
   93 |   Any(Any &&Other) : Storage(std::move(Other.Storage)) {}
      |       ~~~~~~^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:3: note: candidate: 'llvm::Any::Any(const llvm::Any&)'
   65 |   Any(const Any &Other)
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:18: note:   no known conversion for argument 1 from 'const polly::Scop*' to 'const llvm::Any&'
   65 |   Any(const Any &Other)
      |       ~~~~~~~~~~~^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note: candidate: 'constexpr llvm::Any::Any()'
   63 |   Any() = default;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note:   candidate expects 0 arguments, 1 provided
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h: In instantiation of 'void llvm::PassInstrumentation::runAfterAnalysis(const PassT&, const IRUnitT&) const [with IRUnitT = polly::Scop; PassT = llvm::detail::AnalysisPassConcept<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator, polly::ScopStandardAnalysisResults&>]':
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManagerImpl.h:75:24:   required from 'llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT = llvm::detail::AnalysisResultConcept<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator>]'
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:778:9:   required from 'typename PassT::Result& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = polly::DependenceAnalysis; IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; typename PassT::Result = polly::DependenceAnalysis::Result]'
/home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:868:54:   required from here
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:287:34: error: no matching function for call to 'llvm::Any::Any(const polly::Scop*)'
  287 |         C(Analysis.name(), llvm::Any(&IR));
      |                                  ^~~~~~~~
In file included from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /home/pbulk/build/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /home/pbulk/build/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:3: note: candidate: 'llvm::Any::Any(llvm::Any&&)'
   93 |   Any(Any &&Other) : Storage(std::move(Other.Storage)) {}
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:13: note:   no known conversion for argument 1 from 'const polly::Scop*' to 'llvm::Any&&'
   93 |   Any(Any &&Other) : Storage(std::move(Other.Storage)) {}
      |       ~~~~~~^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:3: note: candidate: 'llvm::Any::Any(const llvm::Any&)'
   65 |   Any(const Any &Other)
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:18: note:   no known conversion for argument 1 from 'const polly::Scop*' to 'const llvm::Any&'
   65 |   Any(const Any &Other)
      |       ~~~~~~~~~~~^~~~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note: candidate: 'constexpr llvm::Any::Any()'
   63 |   Any() = default;
      |   ^~~
/home/pbulk/build/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note:   candidate expects 0 arguments, 1 provided
--- lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o ---
*** [lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
1 error

bmake[2]: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
--- lib/CMakeFiles/obj.Polly.dir/all ---
*** [lib/CMakeFiles/obj.Polly.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
A failure has been detected in another branch of the parallel make

bmake[2]: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
--- lib/External/CMakeFiles/PollyISL.dir/all ---
*** [lib/External/CMakeFiles/PollyISL.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
2 errors

bmake[1]: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
1 error

bmake: stopped in /home/pbulk/build/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/devel/polly
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/devel/polly