diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-12 23:32:56 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-12 23:32:56 +0000 |
commit | 16ab4e9713db741336b76b84a58029e569937efe (patch) | |
tree | 2ee975a545115ee82f6b6150c215d435f7f4a2b9 /gcc/tree-ssa-ccp.c | |
parent | 906c255962f2e3a3cc410239291e4fc2aae20945 (diff) | |
download | gcc-16ab4e9713db741336b76b84a58029e569937efe.tar.gz |
* tree-ssa-ccp.c (dump_lattice_value) <CONSTANT>: Fix duplication.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193459 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r-- | gcc/tree-ssa-ccp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index cb6b62b7b97..7f0c407caa8 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); |