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
This commit is contained in:
parent
469a31a98e
commit
07a6825b5f
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue