From c38cdd3f2235f07770a46708c86246986a3c12ae Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 12 Nov 2012 23:32:56 +0000 Subject: [PATCH] * tree-ssa-ccp.c (dump_lattice_value) : Fix duplication. From-SVN: r193459 --- gcc/ChangeLog | 4 ++++ gcc/tree-ssa-ccp.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1904af..8f696b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2012-11-12 Eric Botcazou + * tree-ssa-ccp.c (dump_lattice_value) : Fix duplication. + +2012-11-12 Eric Botcazou + * common.opt (fvar-tracking-uninit): Document. * toplev.c (process_options): Fix handling of flag_var_tracking_uninit. * config/darwin.c (darwin_override_options): Likewise. diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index cb6b62b..7f0c407 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -184,10 +184,12 @@ dump_lattice_value (FILE *outf, const char *prefix, prop_value_t val) fprintf (outf, "%sVARYING", prefix); break; case CONSTANT: - fprintf (outf, "%sCONSTANT ", prefix); if (TREE_CODE (val.value) != INTEGER_CST || val.mask.is_zero ()) - print_generic_expr (outf, val.value, dump_flags); + { + fprintf (outf, "%sCONSTANT ", prefix); + print_generic_expr (outf, val.value, dump_flags); + } else { double_int cval = tree_to_double_int (val.value).and_not (val.mask); -- 2.7.4