On Mon, 9 Mar 2020 at 15:59, andy pugh <[email protected]> wrote: > I was so baffled I asked on Stack Overflow: > https://stackoverflow.com/questions/60589636/what-can-cause-c-code-to-crash-when-an-array-is-initialised-at-declaration-but
Playing with the (rather clever) compiler tool here: https://godbolt.org/z/wmFWio (and thanks to Nate on Stack Overflow for making a test file for us on there) You can see that using gcc-6 there is no use of the $xmm0 register. It turns out (from experimenting with that same web site) that -mno-sse2 has the same effect on the assembler. It also seems that -mno-sse2 fixes the actual LinuxCNC compile too. (LinuxCNC fails to compile with -mno-sse, it has to be -mno-sse2) -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
