public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "singler at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/34797] [parallel mode] Settings are separated for each compilation unit
Date: Tue, 15 Jan 2008 14:06:00 -0000	[thread overview]
Message-ID: <20080115132016.16181.qmail@sourceware.org> (raw)
In-Reply-To: <bug-34797-15092@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from singler at gcc dot gnu dot org  2008-01-15 13:20 -------
There are two general options to fix this bug:
1. Introduce a global variable, to be compiled into libstdc++.a and
libstdc++.so.
2. Do the "template trick", i. e. pseudo-parametrize Settings as
template class, to leave it to the compiler to merge the instantiations.
The class would always have to instantiated with the same template arguments,
but that could be hidden by a typedef.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34797


  parent reply	other threads:[~2008-01-15 13:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-15 13:28 [Bug libstdc++/34797] New: " singler at gcc dot gnu dot org
2008-01-15 14:05 ` [Bug libstdc++/34797] " singler at gcc dot gnu dot org
2008-01-15 14:06 ` singler at gcc dot gnu dot org [this message]
2008-01-17 17:46 ` bkoz at gcc dot gnu dot org
2008-01-17 17:50 ` bkoz at gcc dot gnu dot org
2008-01-18 23:34 ` bkoz at gcc dot gnu dot org
2008-02-18  0:01 ` bkoz at gcc dot gnu dot org
2008-02-21 17:07 ` pcarlini at suse dot de

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=20080115132016.16181.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).