Chuck Ebbert wrote: > On 07/25/2007 01:41 PM, Jeremy Fitzhardinge wrote: >> I reported it as a gcc bug, but they refused to hear of it. Details at >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29305 >> > > Wow. > > I especially like "You should plan a better way. " FWIW, at Transmeta we had a local extension to gcc called "__builtin_not_reached()" which we used to tell gcc that an assembly statement would terminate the control flow. Another useful extension was a variant of __builtin_trap() which would create a dummy ELF relocation for the trapping instruction with a target. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: David Miller <davem@davemloft.net>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- References:
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: Keith Owens <kaos@ocs.com.au>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: "H. Peter Anvin" <hpa@zytor.com>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: David Miller <davem@davemloft.net>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: Linus Torvalds <torvalds@linux-foundation.org>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: Al Viro <viro@ftp.linux.org.uk>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- From: Chuck Ebbert <cebbert@redhat.com>
- Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- Prev by Date: Re: [GIT PATCH] ACPI patches for 2.6.23-rc1
- Next by Date: Re: 2.6.23-rc1-mm1 - drivers/char/nozomi.c overflow in implicit constant conversion , warnings
- Previous by thread: Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- Next by thread: Re: [PATCH][RFC] getting rid of stupid loop in BUG()
- Index(es):
![]() |