Attached is a fix for the crash described in #2805333. It contains a small change in m51's gen.c and a test to be added to the tests. I do not have the environment currently to run the test-suite, so I couldn't do a full regression check; likewise I coud not test I added to the patch. But I tested a number of cases by hand and they all produced correct assembly code.
Log in to post a comment.