public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4827] Skip -fwhole-program when merging LTO options.
@ 2022-12-21 11:46 Jan Hubicka
  0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2022-12-21 11:46 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:89ba8366fe12fd2d04535c99ba67f33d7e305132

commit r13-4827-g89ba8366fe12fd2d04535c99ba67f33d7e305132
Author: Jan Hubicka <jh@suse.cz>
Date:   Wed Dec 21 12:45:56 2022 +0100

    Skip -fwhole-program when merging LTO options.
    
    gcc/ChangeLog:
    
    2022-12-21  Jan Hubicka  <hubicka@ucw.cz>
    
            * lto-opts.cc (lto_write_options): Also skip -fwhole-program.

Diff:
---
 gcc/lto-opts.cc | 1 +
 1 file changed, 1 insertion(+)

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:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-21 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21 11:46 [gcc r13-4827] Skip -fwhole-program when merging LTO options Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).