diff mbox

[libcc1] add support for C++

Message ID ork24zmn1m.fsf@lxoliva.fsfla.org
State New
Headers show

Commit Message

Alexandre Oliva May 29, 2017, 8:21 p.m. UTC
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(-)

Comments

Nathan Sidwell May 29, 2017, 8:58 p.m. UTC | #1
On 05/29/2017 04:21 PM, Alexandre Oliva wrote:

> 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.


thanks!
diff mbox

Patch

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