Which gcc pass optimizes the value of variables away -


when compiling gcc optimization. values of variables optimized out. know gcc pass optimizes variables value out, can disable such pass keep variables unoptimized? thanks.

your question quite vague, should take @ flags such -fssa-backprop. according gcc documentation:

propagate information uses of value definition chain in order simplify definitions. example, pass strips sign operations if sign of value never matters.

this optimisation turned on @ level -o1 (and higher levels of optimisation well).


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -