Timeline for How are C11 compilers calculating by how much to change the stack pointer before `goto` if the program uses variable-length arrays?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 23 at 11:33 | vote | accept | FlatAssembler | ||
| Sep 23 at 10:00 | answer | added | ratchet freak | timeline score: 4 | |
| Sep 23 at 0:35 | comment | added | Nate Eldredge | If locals are addressed via offsets from a fixed frame pointer, instead of from the stack pointer, it may not be necessary to adjust the stack pointer. For keeping track of the addresses of VLAs, the compiler can simply invent a local variable to hold a pointer to it, which, like any other local, may be held in a register or spilled to a known offset from the frame / stack pointer. | |
| Sep 22 at 22:55 | history | asked | FlatAssembler | CC BY-SA 4.0 |