[Ada] Reduce compilation time at -O0 (5/n)

2011-08-02 Thread Arnaud Charlet
This patch slightly reduces compilation time at -O0 in typical conditions by streamlining the implementation of the Sem_Type.Covers predicate. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2011-08-02 Eric Botcazou * sem_type.adb (Covers): Move trivial case

[Ada] Reduce compilation time at -O0 (4/n)

2011-08-02 Thread Arnaud Charlet
This patch significantly reduces compilation time at -O0 in typical conditions by removing useless big local temporaries in Allocate_Initialize_Node. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2011-08-02 Eric Botcazou * atree.adb (Allocate_Initialize_Nod

[Ada] Reduce compilation time at -O0 (3/n)

2011-08-02 Thread Arnaud Charlet
This patch significantly reduces compilation time at -O0 in typical conditions by short-circuiting calls to the somewhat costly Is_RTE function when they are not necessary. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2011-08-02 Eric Botcazou * exp_ch6.adb

[Ada] Reduce compilation time

2011-08-02 Thread Arnaud Charlet
This patch improves on the previous patch to reduce compilation time, by providing better implementations for Base_Type and Is_Base_Type and inlining Base_Type. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2011-08-02 Robert Dewar * einfo.adb (Is_Base_Type)

[Ada] Reduce compilation time at -O0 (2/n)

2011-08-02 Thread Arnaud Charlet
This patch slightly reduces compilation time at -O0 in typical conditions by tuning the implementation of Base_Type to make it more easily optimizable. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2011-08-02 Eric Botcazou * einfo.adb (Base_Type): Tune impl

[Ada] Reduce compilation time at -O0 (1/n)

2011-08-02 Thread Arnaud Charlet
This patch slightly reduces compilation time at -O0 in typical conditions by partially inlining Analyze_Aspect_Specification at its call sites. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2011-08-02 Eric Botcazou * sem_ch13.ads (Analyze_Aspect_Specificati