On 05/11/2016 06:02 PM, Thomas Schwinge wrote:
I conceptually agree to that. (If we're serious about that, then we can remove more code, such as the legacy libgomp entry point itself -- a "missing symbol: [...]" is still vaguely better than a SIGSEGV.) Yet, what I fixed here, is just what Jakub and Nathan agreed upon in <http://news.gmane.org/find-root.php?message_id=%3C20150924084034.GC1847%40tucnak.redhat.com%3E>: "GCC 5 compiled offloaded OpenACC/PTX code will always do host fallback". Currently such code will always result in a SIGSEGV, which the patch fixes. (And, given that we now have this patch, it seems "unfair" to "wait until someone actually reports that in bugzilla".)
I'll defer to Jakub. Don't want to block an existing patch if you really want to apply it, I just think we should go in the other direction of removing this fallback support eventually.
Bernd