Bug 53025 - asm constraints error in 2.96-95 but not other gcc's
Summary: asm constraints error in 2.96-95 but not other gcc's
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-02 00:57 UTC by Alan Cox
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-11-11 23:55:26 UTC
Embargoed:


Attachments (Terms of Use)
gcc -E output (435.73 KB, text/plain)
2001-09-02 01:07 UTC, Alan Cox
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.