[Bug tree-optimization/102971] GCC cannot understand >>32 pattern

2021-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102971 --- Comment #2 from Andrew Pinski --- #include std::uint64_t umul_naive(std::uint64_t a,std::uint64_t b,std::uint64_t& high) noexcept { std::uint32_t a0(static_cast(a)); std::uint32_t a1(static_cast(a>>32)); std::uint32

[Bug tree-optimization/102971] GCC cannot understand >>32 pattern

2021-10-27 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102971 --- Comment #1 from cqwrteur --- Here is clang https://godbolt.org/z/7YjW1Ezrx