I have worked on projects for embedded systems in the past where we have rearranged the order of declaration of stack variables to decrease the size of the resulting executa
it is compiler specifics, one can make his own compiler that would do the inverse if he wanted it that way.