On Fri, May 1, 2015 at 9:33 AM, Jakub Jelinek <ja...@redhat.com> wrote: > > CCing Richard as author of asm goto and Vlad as register allocator > maintainer. There are a few enhancement requests to support this, like > http://gcc.gnu.org/PR59615 and http://gcc.gnu.org/PR52381 , but indeed the > reason why no outputs are allowed is the register allocation issue.
So would it help if it was documented that output registers would only be valid for the "fallthrough" case of an asm goto, and would be considered undefined for any jump targets? It wouldn't be the perfect situation, but it would be better than not having any outputs at all, and as mentioned, it would probably be sufficient for a fair number of cases. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/