aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorno-author <no-author@gcc.gnu.org>2005-04-09 00:11:45 +0000
committerno-author <no-author@gcc.gnu.org>2005-04-09 00:11:45 +0000
commit5eab04e3e7ca94ff864fbb7ed6b5108046fcc965 (patch)
treeb4a1396984944d44fa14f65582823ad3af69d741 /gcc/cp/tree.c
parent9e88bc8754ac91301313180a1f11bbf74ed1a9dc (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-5004
'apple-gcc-5004'. git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-5004@97875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 8a264d7afa9..8e79ac0fd32 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -33,6 +33,8 @@ Boston, MA 02111-1307, USA. */
#include "insn-config.h"
#include "integrate.h"
#include "tree-inline.h"
+/* APPLE LOCAL Objective-C++ */
+#include "debug.h"
#include "target.h"
static tree bot_manip (tree *, int *, void *);
@@ -111,6 +113,8 @@ lvalue_p_1 (tree ref,
case STRING_CST:
return clk_ordinary;
+ /* APPLE LOCAL Objective-C++ */
+ case CONST_DECL:
case VAR_DECL:
if (TREE_READONLY (ref) && ! TREE_STATIC (ref)
&& DECL_LANG_SPECIFIC (ref)
@@ -1459,6 +1463,8 @@ cp_tree_equal (tree t1, tree t2)
case FUNCTION_DECL:
case TEMPLATE_DECL:
case IDENTIFIER_NODE:
+ /* APPLE LOCAL mainline */
+ case SSA_NAME:
return false;
case BASELINK: