public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason_merrill@redhat.com>
To: dewar@gnat.com
Cc: kenner@vlsi1.ultra.nyu.edu, gcc@gcc.gnu.org, law@cygnus.com,
	jason_merrill@redhat.com
Subject: Re: Added error message (for too-large array)
Date: Tue, 25 Sep 2001 06:39:00 -0000	[thread overview]
Message-ID: <m3n13jjsp0.fsf@prospero.cambridge.redhat.com> (raw)
In-Reply-To: <20010925132955.C8B22F2B8A@nile.gnat.com>

>>>>> "dewar" == dewar  <dewar@gnat.com> writes:

> Actually the idea behavior in Ada would be to generate a Storage_Error
> exception at run time if a variable of the type is declared, and to warn
> at compile time that this storage error would be generated. After all
> the declaration may appear in a conditional piece of code that is never
> executed.

Interesting; what is the rationale for waiting until runtime to complain
about things which can reasonably and consistently be diagnosed at compile
time?

OK, I'll put the error in the C++ frontend then...

Jason

  reply	other threads:[~2001-09-25  6:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-25  6:30 dewar
2001-09-25  6:39 ` Jason Merrill [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-25  7:05 dewar
2001-09-25  7:05 Richard Kenner
2001-09-25  5:41 Richard Kenner
2001-09-25  6:23 ` Jason Merrill
2001-09-11  3:57 Added error message Richard Kenner
2001-09-25  4:52 ` Added error message (for too-large array) Jason Merrill

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=m3n13jjsp0.fsf@prospero.cambridge.redhat.com \
    --to=jason_merrill@redhat.com \
    --cc=dewar@gnat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=kenner@vlsi1.ultra.nyu.edu \
    --cc=law@cygnus.com \
    /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).