diff --git a/gcc/lto-opts.cc b/gcc/lto-opts.cc index b234b35d73d..968db354617 100644 --- a/gcc/lto-opts.cc +++ b/gcc/lto-opts.cc @@ -150,6 +150,7 @@ lto_write_options (void) case OPT_ffile_prefix_map_: case OPT_fmacro_prefix_map_: case OPT_fprofile_prefix_map_: + case OPT_fwhole_program: continue; default: