From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bf14abf90022db2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-30 05:58:15 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Little function generates lots of object code. Date: 30 Sep 2001 05:58:15 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0109300458.5f5f4a37@posting.google.com> References: <14df6e36.0109291652.73e61d20@posting.google.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1001854695 9119 127.0.0.1 (30 Sep 2001 12:58:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 30 Sep 2001 12:58:15 GMT Xref: archiver1.google.com comp.lang.ada:13545 Date: 2001-09-30T12:58:15+00:00 List-Id: Mike_Harrison80@yahoo.com (Mike Harrison) wrote in message news:<14df6e36.0109291652.73e61d20@posting.google.com>... > Hello group, > > I am using AdaMulti 3.1 with a Sun target (optimized for size). > The following little function seems to be generating a lot more object > code than it deserves. > Is this what other people would expect? > Is there something that I could do to reduce this? > > .Mike. Not clear why you would expect less code than this, but in any case this is most certainly something you should discuss with the vendor. A question like this is highly compiler specific, and your vendor should be able to give specific help and suggestions on answering your question.