diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-08 18:26:30 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-08 18:26:30 +0000 |
commit | 483392ba73a7eaba1e4f85e4d5df4a3b1587df8f (patch) | |
tree | c081b638529b0ff02a67632aaa76e34837d16f5f /usr.bin | |
parent | 7848de63b1107e23e6dcbff5a6e4f3416485606a (diff) |
oops, fix merge error
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pcc/ccom/trees.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/pcc/ccom/trees.c b/usr.bin/pcc/ccom/trees.c index 36b12e7411c..b2df2733ebe 100644 --- a/usr.bin/pcc/ccom/trees.c +++ b/usr.bin/pcc/ccom/trees.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trees.c,v 1.3 2007/10/08 18:22:12 otto Exp $ */ +/* $OpenBSD: trees.c,v 1.4 2007/10/08 18:26:29 otto Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -1626,6 +1626,9 @@ doszof(NODE *p) TWORD ty; NODE *rv; + if (p->n_op == FLD) + uerror("can't apply sizeof to bit-field"); + /* * Arrays may be dynamic, may need to make computations. */ |