Open
Description
This test uses LOC()
to check that stack variables are 32/64b away from each other - but is this code portable? I don't believe it's portable to depend on the address of a variable in memory or it's relationship to other objects' addresses in memory, and I believe the compiler can move these variables around in memory as it sees fit.