Bug 53025

Summary: asm constraints error in 2.96-95 but not other gcc's
Product: [Retired] Red Hat Linux Reporter: Alan Cox <alan>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-11 23:55:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gcc -E output none

Description Alan Cox 2001-09-02 00:57:08 UTC
Code that builds with other gcc versions is failing in one specific case.
When building opengfs with gcc 2.96-* I get asm constraint errors. Now this
may well be the asm that is wrong but this is the kernel down_read asm that
works elsewhere and folks say is ok..

I've attached the gcc -E file so you can play with it, with egcs its fine,
with 2.95 its apparently fine, with 2.96 -O0 its ok -O2 its not

Thoughts ? (and sorry in advance if its the kernel code thats wrong)

Alan

Comment 1 Alan Cox 2001-09-02 01:07:16 UTC
Created attachment 30574 [details]
gcc -E output

Comment 2 Jakub Jelinek 2001-09-03 16:47:16 UTC
See http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00049.html
for a fix. I'll wait until it gets reviewed before putting it in though.

Comment 3 Jakub Jelinek 2001-09-06 16:04:12 UTC
Should be fixed in gcc-2.96-98.