Re: [gomp4] lto error message

2015-10-20 Thread Nathan Sidwell
On 10/20/15 16:20, Ilya Verbin wrote: On Tue, Oct 20, 2015 at 15:54:45 -0400, Nathan Sidwell wrote: There might be a situation when some func or var is lost during regular LTO, even if flag_openacc is present. In this case "missing OpenACC ..." message would be wrong. And if flag_openacc is

Re: [gomp4] lto error message

2015-10-20 Thread Ilya Verbin
On Tue, Oct 20, 2015 at 15:54:45 -0400, Nathan Sidwell wrote: > @@ -1209,16 +1209,11 @@ input_overwrite_node (struct lto_file_de > >if (!success) > { > - if (flag_openacc) > - { > - if (TREE_CODE (node->decl) == FUNCTION_DECL) > - error ("Missing routine function %

[gomp4] lto error message

2015-10-20 Thread Nathan Sidwell
Another small cleanup I noticed. We can use %qD to print a decl name. Applied to gomp4 branch. nathan 2015-10-20 Nathan Sidwell * lto-cgraph.c (input_overwrite_node): Cleanup openacc diagnostic emission. Index: gcc/lto-cgraph.c