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
Created attachment 30574 [details] gcc -E output
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.
Should be fixed in gcc-2.96-98.