Check duplicate issues.
Description
When switching optimization levels with .O<n> or #pragma cling optimize (n), parts of the effect are delayed by one transaction.
Reproducer
From a default ROOT prompt (with -O1), switch to .O0 and observe that the generated LLVM IR, if dumped, only has noinline attributes for the second transaction.
ROOT version
master
Installation method
from source
Operating system
Linux
Additional context
No response
Check duplicate issues.
Description
When switching optimization levels with
.O<n>or#pragma cling optimize (n), parts of the effect are delayed by one transaction.Reproducer
From a default ROOT prompt (with
-O1), switch to.O0and observe that the generated LLVM IR, if dumped, only hasnoinlineattributes for the second transaction.ROOT version
masterInstallation method
from source
Operating system
Linux
Additional context
No response