https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65017

            Bug ID: 65017
           Summary: valgrind error in  get_constraint_for_address_of
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 34722
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34722&action=edit
C++ source code

Given the C++ source code from bug # 47903, compiled
by trunk of 20150211 with flag -O2, then valgrind
says

==22708== Conditional jump or move depends on uninitialised value(s)
==22708==    at 0xD708FD: get_constraint_for_address_of
(tree-ssa-structalias.c:
3370)
==22708==    by 0xD708FD: get_constraint_for_1(tree_node*, vec<constraint_expr, 
va_heap, vl_ptr>*, bool, bool) (tree-ssa-structalias.c:3434)
==22708==    by 0xD743C9: get_constraint_for_rhs (tree-ssa-structalias.c:3580)
==22708==    by 0xD743C9: make_constraint_to(unsigned int, tree_node*)
(tree-ssa
-structalias.c:3703)

tree-ssa-structalias.c:3370 is

      if (c->type == DEREF)

Reply via email to