Re: clang/llvm 3.9.0 mysteriously zeroing variables?

2016-12-04 Thread Hans Petter Selasky
On 12/04/16 01:04, Colin Percival wrote: Starting with r309124 (when clang/llvm 3.9.0 was imported) I'm seeing EC2 instances panic on boot with a division-by-zero error; the code in question is in blkfront.c, printing out the size of disks: device_printf(dev, "%juMB <%s> at %s",

Re: clang/llvm 3.9.0 mysteriously zeroing variables?

2016-12-04 Thread Dimitry Andric
On 04 Dec 2016, at 10:52, Hans Petter Selasky wrote: > > On 12/04/16 01:04, Colin Percival wrote: >> Starting with r309124 (when clang/llvm 3.9.0 was imported) I'm seeing EC2 >> instances panic on boot with a division-by-zero error; the code in question >> is in blkfront.c, printing out the size