Red Hat Bugzilla – Bug 53025
asm constraints error in 2.96-95 but not other gcc's
Last modified: 2007-04-18 12:36:48 EDT
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)
Created attachment 30574 [details]
gcc -E output
for a fix. I'll wait until it gets reviewed before putting it in though.
Should be fixed in gcc-2.96-98.