diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-06 22:21:32 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:04 -0700 |
| commit | 087362e1942ba497d3fc9b4808f6d0e886bcd26a (patch) | |
| tree | 7b572946678260be15366b703633dd2f9773b9dc /compile-i386.c | |
| parent | 4b6c2e63d3423931ac687f113882cec427df9f91 (diff) | |
| download | sparse-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 'compile-i386.c')
| -rw-r--r-- | compile-i386.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compile-i386.c b/compile-i386.c index eeda4105..c18c4d39 100644 --- a/compile-i386.c +++ b/compile-i386.c @@ -2348,6 +2348,7 @@ static struct storage *x86_expression(struct expression *expr) warning(expr->pos, "invalid expression after evaluation"); return NULL; case EXPR_CAST: + case EXPR_IMPLIED_CAST: return emit_cast_expr(expr); case EXPR_VALUE: return emit_value(expr); |
