mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-14 23:04:26 +00:00
Thanks to Jakub Jelinek. The test is broken. It blindly assumes the toplevel inline asm is placed into some sensible section, but that is a wrong assumption. The right thing is to start the inline asm with .text directive and end with .previous. The reason gcc 10 breaks it is the -fno-common default, the int r1, ... vars are emitted into .bss section and that is the section that is current when the inline asm is emitted previously they were in .common at the end of the assembly file.