Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ash_gti
on July 2, 2018
|
parent
|
context
|
favorite
| on:
Pointers Are More Abstract Than You Might Expect i...
Did you use gcc or clang or...?
When I ran this locally I get:
0x7ffeee2a4808 0x7ffeee2a4810 0 0x7ffeee2a4808 0x7ffeee2a4810 0
With -O0 I get 1/1 instead of 0/0 so this appears to be a compiler optimization.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
When I ran this locally I get:
With -O0 I get 1/1 instead of 0/0 so this appears to be a compiler optimization.