public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mark Mitchell <mark@codesourcery.com>
To: Jason Merrill <jason@redhat.com>
Cc: Richard Henderson <rth@redhat.com>, "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>
Subject: Re: c++ vs decl_external
Date: Wed, 03 Apr 2002 15:42:00 -0000	[thread overview]
Message-ID: <31420000.1017876158@gandalf.codesourcery.com> (raw)
In-Reply-To: <wvlvgb85qcj.fsf@prospero.cambridge.redhat.com>

>> There is also this cryptic comment in cp-tree.h:
>
>> /* DECL_EXTERNAL must be set on a decl until the decl is actually
>> emitted, so that assemble_external will work properly.  So we have this
>>    flag to tell us whether the decl is really not external.  */
>
> What's cryptic about this?  If we don't emit a definition of the function,
> we need references to pass through assemble_external.  It's just like a
> prototype followed by a call, which may or may not be followed by a
> definition.

Crypticity is in the eye of the beholder. :-)

Perhaps I should just have said that I didn't fully understand it.

Thanks for the explanation!

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

      reply	other threads:[~2002-04-03 23:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-03  3:44 Richard Henderson
2002-04-03 13:23 ` Mark Mitchell
2002-04-03 13:41   ` Richard Henderson
2002-04-03 14:19     ` Mark Mitchell
2002-04-03 15:13       ` Jason Merrill
2002-04-03 15:42         ` Mark Mitchell [this message]

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=31420000.1017876158@gandalf.codesourcery.com \
    --to=mark@codesourcery.com \
    --cc=gcc@gcc.gnu.org \
    --cc=jason@redhat.com \
    --cc=rth@redhat.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).