diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d319c8d588dbb715ead96506ec88cb9cb8e2c78..b69f42b5bee492d1bca411f641a99bee2ee87b1d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-05-01 Tom de Vries <tom@codesourcery.com> + + PR lto/85451 + * config/nvptx/mkoffload.c (main): Suggest using -B in "offload compiler + not found" error message. + 2018-05-01 Tom de Vries <tom@codesourcery.com> PR other/83786 diff --git a/gcc/config/nvptx/mkoffload.c b/gcc/config/nvptx/mkoffload.c index c0093909448aebf571d067272402170457911557..c002d122102906371f54d9dadd3115f8a1963be3 100644 --- a/gcc/config/nvptx/mkoffload.c +++ b/gcc/config/nvptx/mkoffload.c @@ -454,7 +454,8 @@ main (int argc, char **argv) if (!found) fatal_error (input_location, - "offload compiler %s not found", GCC_INSTALL_NAME); + "offload compiler %s not found (consider using '-B')", + GCC_INSTALL_NAME); /* We may be called with all the arguments stored in some file and passed with @file. Expand them into argv before processing. */