comp.lang.ada
 help / color / mirror / Atom feed
From: visaoni@gmail.com
Subject: Re: Interesting Array Initialization Code Gen [FSF GNAT 4.9.2]
Date: Mon, 11 May 2015 15:45:58 -0700 (PDT)
Date: 2015-05-11T15:45:58-07:00	[thread overview]
Message-ID: <42b0aa4e-1002-4ada-af4f-61f996350965@googlegroups.com> (raw)
In-Reply-To: <9ee472db-e51d-4e04-a5df-7bee793794a1@googlegroups.com>

Just a bit of an update (which probably isn't much of a surprise).

Assignment produces the same kind of code in the same situations. Assignments by function create a new array on the stack, sets the values there, and then copies it into the result array. Using a literal value instead just sets the values directly in the result array.


  reply	other threads:[~2015-05-11 22:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 18:02 Interesting Array Initialization Code Gen [FSF GNAT 4.9.2] visaoni
2015-05-11 22:45 ` visaoni [this message]
2015-05-12  1:23   ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox