Open athas opened 10 months ago
I can take a look, but it won't be until tomorrow evening.
Enjoy!
This is not an urgent issue, as I rewrote double buffering entirely in a way that does not trigger this bug, but it would still be good not to leave around as a potential problem in the future.
Suppose we have a program like the following:
(This is syntactically invalid in master because it makes use of the simplified index functions from #2083.)
Short-circuiting performs a a short circuit of the
concat
/copy
in the loop, storing the result directly indouble_buffer_mem_5629
. This is invalid, becausedouble_buffer_mem_5629
is still used for live data (Ap_5565, an input to theconcat
), under the name ofmem_param_5591
(a loop parameter).All the aliases look right to me, so I'm not sure why this fails.