Re: [PATCH 24 of 28] IB/mthca - Fix compiler warnings with gcc4 onpossible unitialized variables

From: Jeremy Fitzhardinge
Date: Thu Sep 28 2006 - 16:46:28 EST


Roland Dreier wrote:
NAK -- I don't want to generate worse code to fix a compiler warning
false positive.

Maybe we should have a "make defined" operation for this kind of thing:

#define DEFVALUE(x) asm("" : "=rm" (x))

Which is pretty ugly, I admit...

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/