https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65170

            Bug ID: 65170
           Summary: curve25519-donna-c64 miscompilation
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hvtaifwkbgefbaei at gmail dot com

Created attachment 34841
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34841&action=edit
curve25519-donna-c64.c

curve25519-donna-c64.c function curve25519_donna with gcc-5.0.0-0.15.fc22,
flag -O3 , sets mypublic to all-zeros.
If I remove force_inline from fmul(), it compiles ok.
Could not produce a smaller test case.

Reply via email to