public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Geert Bosch <bosch@gnat.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: ada/4851: GNAT crashs on certain argument lines
Date: Fri, 14 Dec 2001 11:26:00 -0000	[thread overview]
Message-ID: <20011214192601.26843.qmail@sources.redhat.com> (raw)

The following reply was made to PR ada/4851; it has been noted by GNATS.

From: Geert Bosch <bosch@gnat.com>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: ada/4851: GNAT crashs on certain argument lines
Date: Fri, 14 Dec 2001 14:18:06 -0500

 Hi Florian,
 
 You wrote:
 > The old comment suggests that Generic_Position once was a procedure.
 > I wonder who changed it and why. ;-) (The bug is present in the GNAT
 > 3.13p sources as well, but it might not show up because of code
 > generation differences.)
 This code was introduced in 1999 and always had the bug you mention,
 and always was a function rather than a procedure.
 
 > 2001-11-11  Florian Weimer  <fw@deneb.enyo.de>
 >
 > 	* make.adb (Add_Switch): Make Generic_Position a procedure.
 > 	The function approach did not work well because of a side
 > 	effect (the function call could reallocate the table which was
 > 	being indexed using its result).
 
 Your patch is OK. I have regression-tested it against the ACT test-suite
 and it passes fine, as expected. I'd only suggest a one-word comment 
 improvement:
 
 <       --  Generic procedure that chooses a position for S in T at the
 --
  >       --  Generic procedure that allocates a position for S in T at the
 
 This better describes what the procedure does.
 
 Regards,
    -Geert
 


             reply	other threads:[~2001-12-14 19:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-14 11:26 Geert Bosch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-12-22  4:06 Florian Weimer
2001-12-22  4:03 fw
2001-12-13 18:26 Geert Bosch
2001-11-01  3:37 Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011214192601.26843.qmail@sources.redhat.com \
    --to=bosch@gnat.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).