Do the C language standards specify support for global register variables
问题 I read that gcc provides support to define global variables as register stored variables. What I want to know is that do the standards have any specifications for this support. 回答1: There is a common misconsception that C's keyword register talks about hardware registers. That might be the origin of that concept, but in modern C this is not the purpose. The only real effect that register has, is that the & is not allowed on such a beast. They may be realized in any way the compiler wants,