Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by Luker88

10 hours ago

There is an explanation for every one of them, the pointer equality one has code, too.

try it with `gcc -O1` and you will get a different result than with `gcc -O0`

1 comment

Luker88

Reply

uecker  9 hours ago

Yes, but this GCC behavior is not conformant to ISO C.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities