<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Compiling of shader gets stuck in infinite loop"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78468#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Compiling of shader gets stuck in infinite loop"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78468">bug 78468</a>
from <span class="vcard"><a class="email" href="mailto:itoral@igalia.com" title="Iago Toral <itoral@igalia.com>"> <span class="fn">Iago Toral</span></a>
</span></b>
<pre>The bad commit mentioned above seems to avoid making temporary variables for
rvalues in certain scenarios where, in theory, we do not need them. After that
commit, do_assignment() in ast_to_hir.cpp takes a needs_rvalue parameter to
decide if we need to compute the rvalue or not. In that same commit, this
parameter is set to false in a number of situations.
I did a quick test switching this parameter to true in all the cases and that
seems to fix the problem for me, so I guess there is one case where we are
wrongly passing false and for some reason that produces this recurrent
behavior, I suppose because it really needs to compute an rvalue that never
gets computed. I'll see if I can find more.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>