Kagamin:
Report for the problem when a temporary fixed-size array is assigned to a slice, which is escaped.
I think this is already in Bugzilla. But the point is: you can't solve this problem locally and with small means. You need a principled solution (or no solution at all, as now) of memory area lifetime management, as discussed in the scope threads.
Bye, bearophile