amd.cpp:58:26: warning: 'memset' call operates on objects of type 'struct...
Brought to you by:
dynamite
Source code is
memset(inst, 0, sizeof(inst));
Maybe better code might be
memset(inst, 0, sizeof(*inst));
I found this bug using clang.
The bug also exists in current CVS source.