4 ms·
Sure within a single compilation unit. Otherwise, I like dearrifling's suggestion.
by xleviator 7y ago
Sure within a single compilation unit. Otherwise, I like dearrifling's suggestion.
- vnorilo 7y agoThe example also shows a call to a different translation unit. There's no code for passing the empty struct. There's also none for handling it, as you can see from the assembly output. The one byte rule does nothing here, because its value is undefined and its address not observable. edit: if you find a case where an empty struct parameter causes code to be emitted, let's consider filing bugs.