On 2 July 2014 08:02, Markus Armbruster <arm...@redhat.com> wrote: >> This looks to me like we're leaving ourselves open for >> a smarter compiler with linktime optimisation to complain >> that x is used uninitialized. > > x *is* initialized, to zero. A sufficiently smart compiler(TM) could > figure out that x is still zero in main(), and constant fold the test > away.
Yes, I was wrong there. > Suggest to use argc. That's what we did -- see commit f80ea986. thanks -- PMM