title: Can I control register allocation in g++?
body: <p>I have highly optimized piece of C++ and making even small changes in places far from hot spots can hit performance as much as 20%. After deeper investigation it turned out to be (probably) slightly different registers used in hot spots.
  I can control inlineing with always_inline attribute, but can I control register allocation?</p>