This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I guess there _are_ machines/environments where static allocation is better, because I've run across programs where they quite annoyingly declare just about every (semantically) "local" variable as static.Certainly on some specialized processors accessing memory can be fast. Consider a processor where registers are really just aliases for memory locations or things like high speed zero page memory access. I've used such processors a few times in my life, but I try real hard to forget them ;-)
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |