https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112789
--- Comment #9 from gnzlbg <gonzalo.gadeschi at gmail dot com> --- > > Look at that part where __builtin_ctzs is mentioned there. > It just says it is valid inside a constexpr and nothing else about the > builtin. Yes, seems like a bug / pr should be opened in the llvm project to better document what the intrinsic does. I'll do that later. > Sounds like that HPC QCD app is broken. To you maybe. To me it seems like GCC is broken, hence why I opened the bug.