diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2013-12-11 12:40:08 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2013-12-11 12:40:08 +0000 |
commit | 2ce064c344f9e104a82049495733ca3205fa720a (patch) | |
tree | da35a78a78337c787b9f1de02545d0dd9bde8d15 /gcc | |
parent | 085b42edd5eb09e3cc754098bea1544a49cbd3d2 (diff) | |
download | gcc-2ce064c344f9e104a82049495733ca3205fa720a.tar.gz |
Add a missing tree code to a switch.
* c-common.c (c_fully_fold_internal): Handle ADDR_SPACE_CONVERT_EXPR.
From-SVN: r205890
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-family/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/c-family/c-common.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 38785ae0279..1cdd108a7f0 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,5 +1,7 @@ 2013-12-11 Bernd Schmidt <bernds@codesourcery.com> + * c-common.c (c_fully_fold_internal): Handle ADDR_SPACE_CONVERT_EXPR. + * c-common.h (enum c_tree_index): Remove CTI_INT_ARRAY_TYPE. (int_array_type_node): Remove. * c-common.c (c_common_nodes_and_builtins): Don't build it. diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index cc71ebc3423..cfaeaf09f6b 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -1323,6 +1323,7 @@ c_fully_fold_internal (tree expr, bool in_init, bool *maybe_const_operands, case FIX_TRUNC_EXPR: case FLOAT_EXPR: CASE_CONVERT: + case ADDR_SPACE_CONVERT_EXPR: case VIEW_CONVERT_EXPR: case NON_LVALUE_EXPR: case NEGATE_EXPR: |