Re: [PATCH 2/2] jump label: disable due to compiler bug

From: David Daney
Date: Thu Oct 28 2010 - 14:55:53 EST


On 10/28/2010 07:17 AM, Jason Baron wrote:
On Wed, Oct 27, 2010 at 03:21:55PM -0700, H. Peter Anvin wrote:
Could you detail the bug, please? static_cpu_has() also uses asm goto.


It seems that gcc can leave the stack in an inconsistent state.

I only saw this in the 'jmp' enabled case, I'm not sure if it can occur in the
straight-line code path as well.


Jason,

Were you going to file a GCC bug on this issue? Someone should.

It would be a shame to have the problem persist due to lack of awareness by the GCC developers.

David Daney
--
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/