This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] Bump size limit for large static aggregates


For historical reasons, the compiler caps the size of large static aggregates
that are emitted as static data in the object file.  If they exceed the cap,
then elaboration code is generated instead, but this is in most cases slower,
yields bigger and unoptimizable code with poor run-time performance.

This change bumps the limit by an order of magnitude to account for larger
aggregates used in modern software.  No functional changes.

Tested on x86_64-pc-linux-gnu, committed on trunk

2017-11-09  Eric Botcazou  <ebotcazou@adacore.com>

	* exp_aggr.adb (Aggr_Size_OK): Bump base limit from 50000 to 500000.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]