summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-07 11:53:17 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-07 11:53:17 +0000
commitc789d03839a7a90a88e0ca6758788263fc8524cb (patch)
treeba0a466bb52ca32720ca9abc6b47333977f626e2 /gcc/dbxout.c
parentd87dd2579cf376a08bfa49a61f805ef153721aee (diff)
downloadgcc-c789d03839a7a90a88e0ca6758788263fc8524cb.tar.gz
2009-05-07 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r147228 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@147231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 077fc1a383e..dd05076bb63 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1398,9 +1398,7 @@ dbxout_type_index (tree type)
/* Used in several places: evaluates to '0' for a private decl,
'1' for a protected decl, '2' for a public decl. */
#define DECL_ACCESSIBILITY_CHAR(DECL) \
-((TREE_CODE (DECL) != PARM_DECL && TREE_CODE (DECL) != RESULT_DECL \
- && (TREE_CODE (DECL) != VAR_DECL || TREE_STATIC (DECL)) \
- && TREE_PRIVATE (DECL)) ? '0' : TREE_PROTECTED (DECL) ? '1' : '2')
+(TREE_PRIVATE (DECL) ? '0' : TREE_PROTECTED (DECL) ? '1' : '2')
/* Subroutine of `dbxout_type'. Output the type fields of TYPE.
This must be a separate function because anonymous unions require