alias float T; T val = 1; int plot(T a, T b, T c, T d, T e, T f, T g, T h) { assert(a == val); return 0; } int main() { return plot( val, val, val, val, val, val, val, val, ); } -- The values h-b are correctly loaded from XMM0-XMM6. The calling function put a correctly into XMM7 but the plot function loads it from the calling stack (misinterpreted as push parameter).
https://github.com/D-Programming-Language/dmd/pull/343
*** Issue 6562 has been marked as a duplicate of this issue. ***
https://github.com/D-Programming-Language/dmd/commit/5912327ee023d07bd6c2605d347d6acd34ad1fc9 https://github.com/D-Programming-Language/dmd/commit/b911253223bcbed4a845e2575a8dd913848fdd54
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル