On 01/11/2016 07:34 AM, Bernd Schmidt wrote: > On 01/08/2016 11:37 PM, Cesar Philippidis wrote: >> In openacc there are situations where a user may fail to mark a variable >> or function as offloadable (either using declare or routine). This patch >> makes the lto wrapper reduce the missing decl assertion to an error. > > Hmm, it might be good to have a testcase?
I'm not sure how to test it though. The only reproduce this problem using an offloaded compiler. Maybe I could add a libgomp test and expect it to fail. Cesar