No, passing struct belongs to the standard (even if it is not recommended, above all for large structures that have to be pushed onto the stack).
Note that the optimization makes sometimes wrong the visualization while debugging. It could be just a problem of visualization.