]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Skip -fwhole-program when merging LTO options.
authorJan Hubicka <jh@suse.cz>
Wed, 21 Dec 2022 11:45:56 +0000 (12:45 +0100)
committerJan Hubicka <jh@suse.cz>
Wed, 21 Dec 2022 11:45:56 +0000 (12:45 +0100)
gcc/ChangeLog:

2022-12-21  Jan Hubicka  <hubicka@ucw.cz>

* lto-opts.cc (lto_write_options): Also skip -fwhole-program.

gcc/lto-opts.cc

index b234b35d73d55ef3b0abaebdbfd0f07223be300d..968db3546175ec147cde75d71e5e7e6f94ecc0d0 100644 (file)
@@ -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: