https://bugs.kde.org/show_bug.cgi?id=481131

Paul Floyd <pjfl...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Paul Floyd <pjfl...@wanadoo.fr> ---
Done.

commit 8b3d0828451f8e69e0eaf3807ffbe502aecda428 (HEAD -> master, origin/master,
origin/HEAD, bug481131)
Author: Gra??vydas Ignotas <nota...@gmail.com>
Date:   Fri Feb 9 19:02:23 2024 +0200

    x86 regtest: fix clobber lists in generated asm statements

    Must add result registers also, or else code like this is generated:

          asm(
             "fsave %3\n"
             "movl %2, %%eax\n"
             "cdq\n"
             "movl %%edx, %0\n"
             "movl %%eax, %1\n"
             "frstor %3\n"
             "cld\n"
             : "=m" (result0), "=m" (result1)
             : "m" (preset0), "m" (state[0])
             : "eax"
          );

    This crashes on my machine because gcc places some pointer in %%edx.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to