We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51cef3c commit db8f52dCopy full SHA for db8f52d
regression/goto-instrument/show-escape-analysis1/test.desc
@@ -5,4 +5,7 @@ main.c
5
^SIGNAL=0$
6
^Aliases:.*(malloc.*leaked|leaked.*malloc)
7
--
8
+^Aliases:.*(leaked1.*leaked2|leaked1.*leaked2)
9
^warning: ignoring
10
+--
11
+leaked1 and leaked2 cannot alias
src/util/union_find.h
@@ -169,7 +169,7 @@ class union_find final
169
bool same_set(const T &a, const T &b) const
170
{
171
const optionalt<number_type> na = numbers.get_number(a);
172
- const optionalt<number_type> nb = numbers.get_number(a);
+ const optionalt<number_type> nb = numbers.get_number(b);
173
174
if(na && nb)
175
return uuf.same_set(*na, *nb);
0 commit comments