diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 15:20:24 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 15:20:24 +0000 |
commit | f07af32fb27f8f4c19dbb83c8e738c89b21df93b (patch) | |
tree | af8e3e42fce9f77fd9fa28b470ff7b866f660165 /gcc/convert.c | |
parent | da0884f62925eac0b314507b3d2183e26e7c26b6 (diff) | |
download | gcc-f07af32fb27f8f4c19dbb83c8e738c89b21df93b.tar.gz |
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a
need to generate code instead of a NOP_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81787 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index 5f5d50e0f3b..ef0d1f568cf 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -665,7 +665,7 @@ convert_to_integer (tree type, tree expr) break; } - return build1 (NOP_EXPR, type, expr); + return build1 (CONVERT_EXPR, type, expr); case REAL_TYPE: return build1 (FIX_TRUNC_EXPR, type, expr); |