Commit 07a6825b by Balaji V. Iyer Committed by Balaji V. Iyer

array-notation-common.c (find_inv_trees): Removed an unwanted typecasting.

2013-06-20  Balaji V. Iyer  <balaji.v.iyer@intel.com>

        * array-notation-common.c (find_inv_trees): Removed an unwanted
        typecasting.
        * c-common.h (struct inv_list::additional_tcodes): Changed type from
        enum rid to enum tree_code.

From-SVN: r200272
parent 469a31a9
2013-06-20 Balaji V. Iyer <balaji.v.iyer@intel.com>
* array-notation-common.c (find_inv_trees): Removed an unwanted
typecasting.
* c-common.h (struct inv_list::additional_tcodes): Changed type from
enum rid to enum tree_code.
2013-06-11 Jan Hubicka <jh@suse.cz>
* c-common.c (handle_alias_ifunc_attribute): Do not set
......
......@@ -484,7 +484,7 @@ find_inv_trees (tree *tp, int *walk_subtrees, void *data)
tree codes such as TARGET_EXPR must be eliminated. These codes are
passed into additional_tcodes and are walked through and checked. */
for (ii = 0; ii < vec_safe_length (i_list->additional_tcodes); ii++)
if (TREE_CODE (*tp) == (enum rid)(*(i_list->additional_tcodes))[ii])
if (TREE_CODE (*tp) == (*(i_list->additional_tcodes))[ii])
*walk_subtrees = 0;
}
return NULL_TREE;
......
......@@ -1157,7 +1157,7 @@ struct inv_list
{
vec<tree, va_gc> *list_values;
vec<tree, va_gc> *replacement;
vec<enum rid, va_gc> *additional_tcodes;
vec<enum tree_code, va_gc> *additional_tcodes;
};
/* In array-notation-common.c. */
......
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