> Replacing a primitive value with a struct containing such a value
> should never degrade performance; that would be a compiler bug.
FWIW, No, compilers do not guarantee that semantically-equivalent
programs will be compiled to code with equivalent performance, so it
wouldn't be a bug. It's only a "quality of implementation" issue.