https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115403
--- Comment #1 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- Created attachment 58388 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58388&action=edit float_test.cc.cc.xz Attaching preprocessed file. It fails as: $ g++ -O2 -std=c++17 -c float_test.cc.cc float_test.cc.cc: In function 'constexpr bool hwy::ScalarIsInf(T) [with T = float16_t]': float_test.cc.cc:15617:108: error: inlining failed in call to 'always_inline' 'constexpr To hwy::BitCastScalar(const From&) [with To = short unsigned int; >From = float16_t; EnableIf<((bool)(! IsSpecialFloat<To>()))>* <anonymous> = 0]': target specific option mismatch 15617 | ine)) __attribute__((flatten)) __attribute__((unused)) constexpr To BitCastScalar(const From& val) { | ^~~~~~~~~~~~~ float_test.cc.cc:16478:43: note: called from here 16478 | return static_cast<TU>(BitCastScalar<TU>(static_cast<TF>(val)) << 1) == | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~