aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ccp.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-10-06 09:33:49 +0200
committerMartin Liska <marxin@gcc.gnu.org>2016-10-06 07:33:49 +0000
commitac2a97db4b862579d6fea2e97000650bfe9b4659 (patch)
treebef19c5954ca2ecbf1d78780934c0e031fb1632f /gcc/tree-ssa-ccp.c
parenta7773b4d0629c6ab0d8321c9b018f6a718bf232a (diff)
downloadgcc-ac2a97db4b862579d6fea2e97000650bfe9b4659.zip
gcc-ac2a97db4b862579d6fea2e97000650bfe9b4659.tar.gz
gcc-ac2a97db4b862579d6fea2e97000650bfe9b4659.tar.bz2
Fix warnings for make profiledbootstrap (PR bootstrap/77788)
PR bootstrap/77788 * expmed.h (mul_highpart_cost_ptr): Add an gcc_assert. * gimple-ssa-strength-reduction.c (slsr_process_cast): Initialize a pointer to NULL. (slsr_process_copy): Likewise. * input.c (location_get_source_line): Likewise. * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Likewise. From-SVN: r240827
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r--gcc/tree-ssa-ccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c
index b6ccb59..3dc9ffa 100644
--- a/gcc/tree-ssa-ccp.c
+++ b/gcc/tree-ssa-ccp.c
@@ -2817,7 +2817,7 @@ optimize_atomic_bit_test_and (gimple_stmt_iterator *gsip,
FOR_EACH_IMM_USE_STMT (g, iter, use_lhs)
{
enum tree_code code = ERROR_MARK;
- tree op0, op1;
+ tree op0 = NULL_TREE, op1 = NULL_TREE;
if (is_gimple_debug (g))
{
has_debug_uses = true;