aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-03-06 12:08:23 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-03-06 12:08:23 +0000
commitfc0f49f351977cd44ac55551e4cb0fc92477eef7 (patch)
treebebeb96faecfdcf797f71dee5229fe073b7e2e3e /gcc/print-tree.c
parente186ff694e3233b58c8b7d04e90f223f84b9d691 (diff)
downloadgcc-fc0f49f351977cd44ac55551e4cb0fc92477eef7.zip
gcc-fc0f49f351977cd44ac55551e4cb0fc92477eef7.tar.gz
gcc-fc0f49f351977cd44ac55551e4cb0fc92477eef7.tar.bz2
tree.def (BIT_FIELD_REF): Constrain result type and its precision.
2008-03-06 Richard Guenther <rguenther@suse.de> * tree.def (BIT_FIELD_REF): Constrain result type and its precision. * tree-cfg.c (verify_expr): Verify BIT_FIELD_REF constraints on result type and precision. * expr.c (get_inner_reference): Set unsignedp based on the result type of BIT_FIELD_REF. * tree.h (BIT_FIELD_REF_UNSIGNED): Remove. * tree-sra.c (instantiate_element): Do not set BIT_FIELD_REF_UNSIGNED. (try_instantiate_multiple_fields): Likewise. Use the correct type for BIT_FIELD_REF. (sra_build_assignment): Likewise. (sra_build_elt_assignment): Likewise. (sra_explode_bitfield_assignment): Likewise. * print-tree.c (print_node): Do not check BIT_FIELD_REF_UNSIGNED. * tree-vect-transform.c (vect_create_epilog_for_reduction): Do not set BIT_FIELD_REF_UNSIGNED. (vectorizable_load): Likewise. From-SVN: r132969
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 7df8161..889f1c5 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -676,8 +676,6 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
case tcc_reference:
case tcc_statement:
case tcc_vl_exp:
- if (TREE_CODE (node) == BIT_FIELD_REF && BIT_FIELD_REF_UNSIGNED (node))
- fputs (" unsigned", file);
if (TREE_CODE (node) == BIND_EXPR)
{
print_node (file, "vars", TREE_OPERAND (node, 0), indent + 4);