Commit baa92306 by Diego Novillo Committed by Diego Novillo

expr.c (expand_load_internal): Fix missing parens in predicate.


	* expr.c (expand_load_internal): Fix missing parens in
	predicate.

From-SVN: r102504
parent 796cccfc
2005-07-28 Diego Novillo <dnovillo@redhat.com>
* expr.c (expand_load_internal): Fix missing parens in
predicate.
2005-07-28 Andrew Haley <aph@redhat.com> 2005-07-28 Andrew Haley <aph@redhat.com>
* expr.c (expand_load_internal): Convert to destination type. * expr.c (expand_load_internal): Convert to destination type.
......
...@@ -1321,7 +1321,7 @@ expand_load_internal (int index, tree type, int pc) ...@@ -1321,7 +1321,7 @@ expand_load_internal (int index, tree type, int pc)
value into it. Then we push this new local on the stack. value into it. Then we push this new local on the stack.
Hopefully this all gets optimized out. */ Hopefully this all gets optimized out. */
copy = build_decl (VAR_DECL, NULL_TREE, type); copy = build_decl (VAR_DECL, NULL_TREE, type);
if (INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type) if ((INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type))
&& TREE_TYPE (copy) != TREE_TYPE (var)) && TREE_TYPE (copy) != TREE_TYPE (var))
var = convert (type, var); var = convert (type, var);
java_add_local_var (copy); java_add_local_var (copy);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment