On Fri, Mar 20, 2026 at 10:17:50PM -0500, Robert Dubner wrote:
> 10,000 repeats of that code in the C++ program compiles in 1.36 seconds.
> 20,000 repeats                                             3.18 seconds.
> 40,000 repeats                                             7.92 seconds.
> 
> 10,000 repeats in the COBOL program                       16.76 seconds.
> 20,000 repeats in the COBOL program                       97.40 seconds.
> 10,000 repeats in the COBOL program                      551.56 seconds.

Perhaps also look at -fdump-tree-ssa-vops dump differences too, that will
make it clearer if there aren't differences in what is TREE_ADDRESSABLE and
what is not, or what is a global var and what could have been rewritten into
SSA form.

        Jakub

Reply via email to