aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-12-25 17:11:54 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-12-25 17:11:54 -0500
commit36c336d189804fe8fcb2980e8e52c4d0ca3ae39f (patch)
tree73eef8ae682e5962776f932756403db0b8b0da6c /gcc
parent3ba1236fc8cac5ccf80f7f53a8b9252b66403b56 (diff)
downloadgcc-36c336d189804fe8fcb2980e8e52c4d0ca3ae39f.zip
gcc-36c336d189804fe8fcb2980e8e52c4d0ca3ae39f.tar.gz
gcc-36c336d189804fe8fcb2980e8e52c4d0ca3ae39f.tar.bz2
(mark_addressable): Fix error in last change.
From-SVN: r10862
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index d8e4ff1..4235748 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -3294,9 +3294,11 @@ mark_addressable (exp)
{
case COMPONENT_REF:
if (DECL_C_BIT_FIELD (TREE_OPERAND (x, 1)))
- error ("cannot take address of bitfield `%s'",
- IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (x, 1))));
- return 0;
+ {
+ error ("cannot take address of bitfield `%s'",
+ IDENTIFIER_POINTER (DECL_NAME (TREE_OPERAND (x, 1))));
+ return 0;
+ }
/* ... fall through ... */