NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/45673 CVS commit: src/sys/arch/x86/include



The following reply was made to PR toolchain/45673; it has been noted by GNATS.

From: "Alan Barrett" <apb%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/45673 CVS commit: src/sys/arch/x86/include
Date: Thu, 11 Oct 2012 11:12:22 +0000

 Module Name:   src
 Committed By:  apb
 Date:          Thu Oct 11 11:12:22 UTC 2012
 
 Modified Files:
        src/sys/arch/x86/include: lock.h
 
 Log Message:
 Change "=r" to "=qQ" in a register constraint in an asm statement
 for a register that is used with the "xchgb" instruction in the
 definition of __cpu_simple_lock_try().  This fixes PR 45673, or at
 least works around the gcc bug that might be behind PR 45673.
 
 The output from "objdump -d" before and after this change is
 identical, for the amd64 GENERIC kernel, the i386 GENERIC kernel,
 and the i386 MONOLITHIC kernel.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x86/include/lock.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index