public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Gabriel Dos Reis <gdr@codesourcery.com>
Cc: Benjamin Kosnik <bkoz@redhat.com>,
	stephen.webb@bregmasoft.com, gcc@gcc.gnu.org,
	libstdc++@gcc.gnu.org
Subject: Re: Results for g++ 3.1 application testing on i686-pc-linux-gnu
Date: Wed, 06 Mar 2002 13:30:00 -0000	[thread overview]
Message-ID: <20020306132956.B8346@redhat.com> (raw)
In-Reply-To: <fl8z96qcg2.fsf@jambon.cmla.ens-cachan.fr>; from gdr@codesourcery.com on Wed, Mar 06, 2002 at 10:21:01AM +0100

On Wed, Mar 06, 2002 at 10:21:01AM +0100, Gabriel Dos Reis wrote:
>     // x.H
>      exten const int l;
> 
>     // x.C
>     #include "x.H"
>     const int l = 9;	// at this point 'l' should emitted global.

Ignoring the separate header file for a moment,

	extern const int xyzzy;
	const int xyzzy = 1;

does in fact emit xyzzy to the .s file, and

	extern const int xyzzy;
	int foo() { return xyzzy; }

does in fact reference xyzzy as a symbol.

So if these symbols aren't being referenced properly in some other
situation, someone should come up with a better example.


r~

  reply	other threads:[~2002-03-06 21:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-03 18:44 Peter Schmid
2002-03-03 20:45 ` Craig Rodrigues
2002-03-03 23:55   ` Benjamin Kosnik
2002-03-04  5:54     ` Stephen M.Webb
2002-03-04  9:13       ` Benjamin Kosnik
2002-03-05 11:47       ` Stephen M. Webb
     [not found]       ` <200203051947.UAA06990@mayo.cmla.ens-cachan.fr>
2002-03-05 12:31         ` Gabriel Dos Reis
2002-03-05 13:11           ` Benjamin Kosnik
2002-03-05 14:04             ` Gabriel Dos Reis
2002-03-05 14:09               ` Benjamin Kosnik
2002-03-05 15:03             ` Richard Henderson
2002-03-05 17:25               ` Benjamin Kosnik
2002-03-05 23:00               ` Gabriel Dos Reis
2002-03-06 13:26                 ` Richard Henderson
2002-03-06  1:21               ` Gabriel Dos Reis
2002-03-06 13:30                 ` Richard Henderson [this message]
2002-03-05 15:02           ` Richard Henderson
2002-03-05 22:56             ` Gabriel Dos Reis
2002-03-07 10:47     ` Peter Schmid
2002-03-07 23:24       ` Benjamin Kosnik
2002-03-04 18:25 ` Benjamin Kosnik
2002-03-04 21:10   ` Craig Rodrigues
2002-04-20 16:17 Peter Schmid
2002-05-05 17:29 Peter Schmid

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=20020306132956.B8346@redhat.com \
    --to=rth@redhat.com \
    --cc=bkoz@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdr@codesourcery.com \
    --cc=libstdc++@gcc.gnu.org \
    --cc=stephen.webb@bregmasoft.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).