diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-07-19 21:22:04 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-07-19 21:22:04 +0000 |
commit | a3628196ec3dee889444cce725c810e84e36b670 (patch) | |
tree | 38cb017fd903c3620a5e88ecf3ae36249695c729 /gcc/gimple-fold.c | |
parent | b42ff0a550777b45ca004460ef55f50f8f0e34c9 (diff) | |
download | gcc-a3628196ec3dee889444cce725c810e84e36b670.zip gcc-a3628196ec3dee889444cce725c810e84e36b670.tar.gz gcc-a3628196ec3dee889444cce725c810e84e36b670.tar.bz2 |
gimple-fold.c (canonicalize_constructor_val): Strip only useless type conversions.
* gimple-fold.c (canonicalize_constructor_val): Strip only useless type
conversions.
From-SVN: r189685
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r-- | gcc/gimple-fold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c index b97719a..ccdeb346 100644 --- a/gcc/gimple-fold.c +++ b/gcc/gimple-fold.c @@ -139,7 +139,7 @@ can_refer_decl_in_current_unit_p (tree decl, tree from_decl) tree canonicalize_constructor_val (tree cval, tree from_decl) { - STRIP_NOPS (cval); + STRIP_USELESS_TYPE_CONVERSION (cval); if (TREE_CODE (cval) == POINTER_PLUS_EXPR && TREE_CODE (TREE_OPERAND (cval, 1)) == INTEGER_CST) { |