> -----Original Message-----
> From: Jakub Jelinek <[email protected]>
> Sent: Saturday, March 21, 2026 05:25
> To: Robert Dubner <[email protected]>
> Cc: Richard Biener <[email protected]>; David Malcolm
> <[email protected]>; H. J. Lu <[email protected]>; [email protected];
James
> K. Lowden <[email protected]>
> Subject: Re: COBOL: Hoping for insight with middle-end computation time.
> 
> 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

Thank you very much.  I will do that.

Is there something special that the front end needs to do with GLOBAL or
static variables? 

Reply via email to