This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21075] New: unused assigment to %g4 in sparc/sparc64/clone.S


https://sourceware.org/bugzilla/show_bug.cgi?id=21075

            Bug ID: 21075
           Summary: unused assigment to %g4 in sparc/sparc64/clone.S
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: ivo.raisr at oracle dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Function __clone in sysdeps/unix/sysv/linux/sparc/sparc64/clone.S
contains an unused assignment to %g4:
        mov     %i2, %g4

Register %g4 is not used anywhere afterwards.

Previous assignments to %g2 and %g3 make sense, because 'fn' and 'arg'
arguments
need to be preserved across __NR_clone system call.
However there is no need to preserve 'flags' argument - it is used only for
__NR_clone system call (where it is passed in %o0).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]