diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-11-12 23:32:56 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-11-12 23:32:56 +0000 |
commit | c38cdd3f2235f07770a46708c86246986a3c12ae (patch) | |
tree | 2ee975a545115ee82f6b6150c215d435f7f4a2b9 | |
parent | 0ad9f93083f82cf22273cc414b11dc92b90e764f (diff) | |
download | gcc-c38cdd3f2235f07770a46708c86246986a3c12ae.zip gcc-c38cdd3f2235f07770a46708c86246986a3c12ae.tar.gz gcc-c38cdd3f2235f07770a46708c86246986a3c12ae.tar.bz2 |
* tree-ssa-ccp.c (dump_lattice_value) <CONSTANT>: Fix duplication.
From-SVN: r193459
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <ebotcazou@adacore.com> + * tree-ssa-ccp.c (dump_lattice_value) <CONSTANT>: Fix duplication. + +2012-11-12 Eric Botcazou <ebotcazou@adacore.com> + * 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); |