https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The trunk error message might be better:
```
In file included from
/opt/compiler-explorer/libs/highway/trunk/hwy/highway.h:588,
                 from
/opt/compiler-explorer/libs/highway/trunk/hwy/contrib/math/math-inl.h:28,
                 from ./example.cpp:5,
                 from
/opt/compiler-explorer/libs/highway/trunk/hwy/foreach_target.h:163,
                 from <source>:4:
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h: In function
'hwy::N_NEON::Vec128<unsigned char, 16>
hwy::N_NEON::detail::BitCastToByte(hwy::N_NEON::Vec128<unsigned int, 4>)':
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:829:23: error:
inlining failed in call to 'always_inline' 'hwy::N_NEON::Vec128<T,
N>::Vec128(Raw) [with T = unsigned char; long unsigned int N = 16]': target
specific option mismatch
  829 |   HWY_INLINE explicit Vec128(const Raw raw) : raw(raw) {}
      |                       ^~~~~~
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:83:72: note:
called from here
   83 |         HWY_NEON_EVAL(prefix##infix##suffix,
HWY_NEON_BUILD_ARG_##args));    \
      |                                                                       
^
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:124:3: note:
in expansion of macro 'HWY_NEON_DEF_FUNCTION'
  124 |   HWY_NEON_DEF_FUNCTION(uint32, 4, name, prefix##q, infix, u32, args) \
      |   ^~~~~~~~~~~~~~~~~~~~~
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:1421:1: note:
in expansion of macro 'HWY_NEON_DEF_FUNCTION_UINT_32'
 1421 | HWY_NEON_DEF_FUNCTION_UINT_32(BitCastToByte, vreinterpret, _u8_,
HWY_CAST_TO_U8)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Reply via email to