News for hackers. Stuff that matters.
Re:Banned C standard library functions in Git source code by begriffs on Sunday August 25, 2019 @05:04PM (#20795580)
> the same expression broke on a lot of compilers as soon as optimization was turned on

C is not a "try it and see" language. If you stray from the spec then things will act differently and break between compilers. Section 7.13.2 specifies that only local variables declared as volatile will have a determinate value after a longjmp.

There are no comments on this comment yet.