convert.c (convert_to_integer): Use fold_build1 instead of build1 when converting an integer to an integer.
2005-08-03 Andrew Pinski <pinskia@physics.uc.edu> * convert.c (convert_to_integer): Use fold_build1 instead of build1 when converting an integer to an integer. From-SVN: r102680
This commit is contained in:
parent
65030b761e
commit
c7f59e9c21
@ -1,3 +1,8 @@
|
||||
2005-08-03 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* convert.c (convert_to_integer): Use fold_build1 instead of
|
||||
build1 when converting an integer to an integer.
|
||||
|
||||
2005-08-02 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* combine.c (combine_instructions): Don't use reg_equal/equiv
|
||||
|
@ -454,7 +454,7 @@ convert_to_integer (tree type, tree expr)
|
||||
else
|
||||
code = NOP_EXPR;
|
||||
|
||||
return build1 (code, type, expr);
|
||||
return fold_build1 (code, type, expr);
|
||||
}
|
||||
|
||||
/* If TYPE is an enumeral type or a type with a precision less
|
||||
|
Loading…
Reference in New Issue
Block a user