Commit 426b490f by Graham Stott

* search.c (SET_BINFO_ACCESS): Add parenthesis.

From-SVN: r48640
parent 18e314ad
/* Breadth-first and depth-first routines for /* Breadth-first and depth-first routines for
searching multiple-inheritance lattice for GNU C++. searching multiple-inheritance lattice for GNU C++.
Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000 Free Software Foundation, Inc. 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com) Contributed by Michael Tiemann (tiemann@cygnus.com)
This file is part of GNU CC. This file is part of GNU CC.
...@@ -685,8 +685,8 @@ shared_unmarked_p (binfo, data) ...@@ -685,8 +685,8 @@ shared_unmarked_p (binfo, data)
/* Set the access associated with NODE to ACCESS. */ /* Set the access associated with NODE to ACCESS. */
#define SET_BINFO_ACCESS(NODE, ACCESS) \ #define SET_BINFO_ACCESS(NODE, ACCESS) \
((TREE_LANG_FLAG_1 (NODE) = (ACCESS & 2) != 0), \ ((TREE_LANG_FLAG_1 (NODE) = ((ACCESS) & 2) != 0), \
(TREE_LANG_FLAG_6 (NODE) = (ACCESS & 1) != 0)) (TREE_LANG_FLAG_6 (NODE) = ((ACCESS) & 1) != 0))
/* Called from access_in_type via dfs_walk. Calculate the access to /* Called from access_in_type via dfs_walk. Calculate the access to
DATA (which is really a DECL) in BINFO. */ DATA (which is really a DECL) in BINFO. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment