FX via Gcc <gcc@gcc.gnu.org> wrote:

<SNIP>

but later I am getting further errors:

../../gcc/gcc/config/darwin.c:1357:16: error: no viable conversion from 'poly_uint16' (aka 'poly_int<2, unsigned short>') to 'unsigned int'
 unsigned int modesize = GET_MODE_BITSIZE (mode);
              ^          ~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/gcc/config/darwin.c:1752:28: error: invalid operands to binary expression ('poly_uint16' (aka 'poly_int<2, unsigned short>') and 'int')
 if (GET_MODE_SIZE (mode) == 8


1. confirmation that the C++11 code in aarch64-builtins.c is indeed a bug, and that a patch for it would be welcome
2. guidance about how to fix that next issue

You are missing a patch from master that converted darwin.c to use the “proper” handling of poly_int16 instead of the workaround.

7ddee9cd99b, I think is the one.

Iain

Reply via email to