------- Comment #2 from hp at gcc dot gnu dot org  2007-12-08 00:44 -------
I'm not sure this is related but a while ago I ran valgrind hoping to
spot the cause for another bug, and valgrind complained about
tree-ssa-alias-warnings.c:processed_func_p (tree func)
which hashes the address of its argument:
 *slot = &func;
where it probably meant
 *slot = func;
This bug looked like it could mask warnings or possibly cause multiple
warnings for the same code.
Another solution would replace the machinery where this is used with
a pointer_set for the hashing, or available bits in the tree to mark
the visitedness.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34386

Reply via email to