This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
GCC-3.3.4 PATCH: More on cast-as-lvalue uses
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: 02 Mar 2004 03:44:38 +0100
- Subject: GCC-3.3.4 PATCH: More on cast-as-lvalue uses
- Organization: Integrable Solutions
While the previous patch let me do a full bootstrap, it wasn't
sufficient for a plain "make": There was one more usage in the C++
front-end. Fixed thusly.
Now returning to what I was doing before getting caught in this
lvalue business.
-- Gaby
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.3076.2.255
diff -p -r1.3076.2.255 ChangeLog
*** ChangeLog 23 Feb 2004 14:43:07 -0000 1.3076.2.255
--- ChangeLog 2 Mar 2004 02:47:14 -0000
***************
*** 1,3 ****
--- 1,7 ----
+ 2004-03-01 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * decl.c (current_binding_level): Define as an lvalue.
+
2004-02-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13635
Index: decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/decl.c,v
retrieving revision 1.965.2.76
diff -p -r1.965.2.76 decl.c
*** decl.c 22 Feb 2004 19:04:50 -0000 1.965.2.76
--- decl.c 2 Mar 2004 02:47:22 -0000
*************** struct cp_binding_level GTY(())
*** 673,681 ****
/* The binding level currently in effect. */
#define current_binding_level \
! (cfun && cp_function_chain->bindings \
! ? cp_function_chain->bindings \
! : scope_chain->bindings)
/* The binding level of the current class, if any. */
--- 673,681 ----
/* The binding level currently in effect. */
#define current_binding_level \
! (*(cfun && cp_function_chain->bindings \
! ? &cp_function_chain->bindings \
! : &scope_chain->bindings))
/* The binding level of the current class, if any. */