diff options
author | Balaji V. Iyer <balaji.v.iyer@intel.com> | 2013-06-20 22:52:07 +0000 |
---|---|---|
committer | Balaji V. Iyer <bviyer@gcc.gnu.org> | 2013-06-20 15:52:07 -0700 |
commit | 07a6825b5f49ab65ea4ca12ecd41f26409e80f54 (patch) | |
tree | 0d1d6ce6a29122366c4aa174cd682a657dc1fd77 /gcc/c-family/array-notation-common.c | |
parent | 469a31a98e086d65ed65fce224d88a45b9757828 (diff) | |
download | gcc-07a6825b5f49ab65ea4ca12ecd41f26409e80f54.zip gcc-07a6825b5f49ab65ea4ca12ecd41f26409e80f54.tar.gz gcc-07a6825b5f49ab65ea4ca12ecd41f26409e80f54.tar.bz2 |
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
Diffstat (limited to 'gcc/c-family/array-notation-common.c')
-rw-r--r-- | gcc/c-family/array-notation-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/array-notation-common.c b/gcc/c-family/array-notation-common.c index 489b67c..c82d7dc 100644 --- a/gcc/c-family/array-notation-common.c +++ b/gcc/c-family/array-notation-common.c @@ -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; |