https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108575
Christophe Lyon <clyon at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #2 from Christophe Lyon <clyon at gcc dot gnu.org> --- I may be reading the code incorrectly, but ISTM that rtu_AngleMecIn is the 3rd parameter of the function, so you pass &UnitDelay_DSTATE, while you pass &Sig_MechanicalAngle as 5th parameter. So it's normal that (*rtu_AngleMecIn) and (Sig_MechanicalAngle) have different values.