This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libcc1] add support for C++
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 29 May 2017 17:21:41 -0300
- Subject: Re: [libcc1] add support for C++
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=aoliva at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 08DE34E04A
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 08DE34E04A
- References: <orbmzem8mt.fsf@livre.home> <5e2deb89-1870-9615-266e-b7dcb1f43185@redhat.com> <oro9yy4rvm.fsf@lxoliva.fsfla.org> <CADzB+2mqJn_ZzMjQ6QqBgSBhae3Jf-8gnYd4r8jDKssAm-F4VQ@mail.gmail.com> <ory3y12tp8.fsf@lxoliva.fsfla.org> <CADzB+2kqxj+9ogJLuht8KKd1keR==dWTExxS4RtQF9=_japk9g@mail.gmail.com> <or7f5k2nq3.fsf@lxoliva.fsfla.org> <CADzB+2=2g1E7KBTHwyWjZ30DZ3HzzQSigcHVnqhYL-ytODt=5w@mail.gmail.com> <orfuk5gskp.fsf@lxoliva.fsfla.org> <CADzB+2n5i6Di35vrG4nStUQSkQ6=xoiAoG3+YTKBFhi+ewtb5A@mail.gmail.com> <orzii8dvt8.fsf@lxoliva.fsfla.org> <CAFiYyc0VHRb6fnbe-fL=PTOxmqvzHTifNZ5NxbL-q1XwTVvfYQ@mail.gmail.com> <ora85xnlh8.fsf@lxoliva.fsfla.org>
On May 28, 2017, Alexandre Oliva <aoliva@redhat.com> wrote:
> Oh, no! I put it there temporarily, very early in the project, because
> I couldn't find a better place (I looked for available bits elsewhere,
> and I recall I couldn't find any); at the end we moved to a hash_set
> (see query_oracle below), that makes a lot more sense since the bit is
> only used when libcc1 is in use. But I accidentally left in place the
> data member I'd added before, completely unused :-( Ouch!
> I'll test and install the obvious fix, trunk and branch
Here's what I'm checking in, trunk and gcc-7-branch. Regstrapped on
x86_64-linux-gnu and i686-linux-gnu.
[libcc1] drop unused field from C++ lang_identifier
for gcc/cp/ChangeLog
* cp-tree.h (lang_identifier): Drop oracle_looked_up, unused.
---
gcc/cp/cp-tree.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 100f85c..360e13f 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -519,7 +519,6 @@ struct GTY(()) lang_identifier {
cxx_binding *bindings;
tree class_template_info;
tree label_value;
- bool oracle_looked_up;
};
/* Return a typed pointer version of T if it designates a
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer