Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It was always only a suggestion to the compiler, to hold this variable in a register.

Compilers got so good at optimization that there is little point using it.

If a variable is held in a register you can't access it with a pointer. So if your intention is it should be in a register you can't take the address.



It once told the compiler to hold the value in a register because the compiler wasn't very smart at all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: