aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inline.c
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-06 22:21:32 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:04 -0700
commit087362e1942ba497d3fc9b4808f6d0e886bcd26a (patch)
tree7b572946678260be15366b703633dd2f9773b9dc /inline.c
parent4b6c2e63d3423931ac687f113882cec427df9f91 (diff)
downloadsparse-dev-087362e1942ba497d3fc9b4808f6d0e886bcd26a.tar.gz
Separate explicit and implied casts.
This also makes our evaluation simplification only happen for the implied ones. If you put an explicit cast somewhere, it does _not_ get combined with an implied one.
Diffstat (limited to 'inline.c')
-rw-r--r--inline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inline.c b/inline.c
index f18dacb3..e9a951b2 100644
--- a/inline.c
+++ b/inline.c
@@ -134,6 +134,7 @@ static struct expression * copy_expression(struct expression *expr)
/* Cast/sizeof/__alignof__ */
case EXPR_CAST:
+ case EXPR_IMPLIED_CAST:
case EXPR_SIZEOF:
case EXPR_PTRSIZEOF:
case EXPR_ALIGNOF: {