Hello, On Tue, 2 Feb 2021, Kyryl Melekhin wrote:
Hello Grischka and Tcc community, I have found a regression bug in Tcc code gen (X86_64). Caused by this commit: 8227db3a23fd3cf11840eaa25eab5f3f5f813ac7
This may have triggered the problem, but I think only by chance. The bug is really in the VLA save/restore tracking. I've fixed it in https://repo.or.cz/tinycc.git/commitdiff/fbef90a7039 .
Sadly I don't have a small test case to reproduce it.
See the testcase I've added in above commit. It shows the problematic situation, mimicing the one in your vi.c (nice thing, that :) ).
Many thanks for the report. Ciao, Michael. _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel