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

            Bug ID: 89804
           Summary: optimization opportunity: move variable from stack to
                    register
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: claprix at yandex dot ru
  Target Milestone: ---

Description basically is here https://godbolt.org/z/vULPAZ

As I know from
https://stackoverflow.com/questions/55314885/compiler-optimization-move-variable-from-stack-to-register
a compiler is allowed to optimize a stack variable here.

Reply via email to