On May 31, 2013, at 2:56 PM, Andrew Pinski <[email protected]> wrote:
> This will only fix the GCC source but not other sources which does:
> void f(void)
> {
> __builtin_unreachable();
> }
Yes. Speaking of which, so how should this be handled? Imagine we have asm("#
no bytes") before the unreachable. The compiler can't know the size (though,
the linker can), and yet, a good solution handles this as well. Hopefully a
dwarf person can weigh in, as engineering a bad solution is worse than leaving
it broken in my book.