Side effect of -finline-functions

Mathieu Malaterre mathieu.malaterre@gmail.com
Thu May 3 11:18:00 GMT 2012


Hi all,

  We are currently tracking an issue within the openjpeg codebase. One
user reported that compilation with -O3 leads to incorrect result
decompressing a particular image. He also noticed that compilation
with -O2 -fgcse-after-reload  -fipa-cp-clone -fpredictive-commoning
-ftree-vectorize -funswitch-loops does not produce any artefact.
Therefore we concluded that the only possible side effect would be
generated by the flag -finline-functions

Is there some kind of tools that could help us locate exactly which
function is producing a different output with this flag ?

Thanks much,
-- 
Mathieu



More information about the Gcc-help mailing list