Store the value of the upper-bound expression of the loop at line %d into a temporary local variable, and use this variable as the new upper-bound expression of the loop. To do this, insert a statement of the form "temp = %s" right before the loop, where "temp" is the newly created local variable. Choose a variable name that is unique, then replace the loop's original upper-bound expression with "temp". (行 %d のループの上限式 (%s) の値を一時ローカル変数に格納して、この変数をループの上限式として使用します。これは、ループの直前に "temp = %s" 形式の文を挿入し、ループの上限式を "temp" に置換することで行えます。一意な名前を選択し、ループのオリジナルの上限式を "temp" に置換します。)
ループの実行中に上限が変更されない場合は、ループの上限をローカル変数に格納します。これにより、コンパイラーがループを適切にカウントされる do ループとして認識し、ベクトル化と並列化を含むさまざまなループの最適化が有効になります。
このメッセージは、コンパイラーが置換される上限の変数を正しく出力できる場合に表示されます。
ループ全体の実行を通して上限の値が変更されないことを確認してください。