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

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 27 20:29:19 GMT 2021


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

            Bug ID: 102971
           Summary: GCC cannot understand >>32 pattern
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

https://godbolt.org/z/eeG8fnY1z

I want to seperate a uint_least64_t to 2x uint_least32_t or merge 2x
uint_least32_t to uint_least64_t. GCC just cannot understand the pattern at all
here.

The assembly it generates is very bad for things like this.


More information about the Gcc-bugs mailing list