Re: [PATCH][2/n] LTO option handling/merging rewrite

2023-01-17 Thread Andreas Schwab via Gcc-patches
On Nov 02 2011, Richard Guenther wrote: > lto/ > * lto-lang.c (lto_post_options): Do not read file options. > * lto.c (lto_read_all_file_options): Remove. This fails to update the documentation. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9

Re: [PATCH][2/n] LTO option handling/merging rewrite

2011-11-02 Thread Richard Guenther
On Fri, 28 Oct 2011, Joseph S. Myers wrote: > On Fri, 28 Oct 2011, Richard Guenther wrote: > > > + /* Fallthru. */ > > + case OPT_fPIC: > > + case OPT_fpic: > > + case OPT_fpie: > > + case OPT_fcommon: > > + case OPT_fexceptions: > > + append_option (decoded_options, decoded_op

Re: [PATCH][2/n] LTO option handling/merging rewrite

2011-10-30 Thread Richard Guenther
On Fri, Oct 28, 2011 at 4:48 PM, Diego Novillo wrote: > Isn't this the same patch as > http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02348.html? No, it's updated to do exactly what we do now. Changes to behavior to be split to 3/n (like warning about mismatches or fixing the way we handle fPIC).

Re: [PATCH][2/n] LTO option handling/merging rewrite

2011-10-30 Thread Joseph S. Myers
On Sat, 29 Oct 2011, Richard Guenther wrote: > I tried to look at what we get for -fno-pic vs. -fpic and -fno-pic is > completely > dropped from the decoded options list (not sure what happens on targets > with -fpic as default). So it seems at most one state (the non-default one) > survives her

Re: [PATCH][2/n] LTO option handling/merging rewrite

2011-10-29 Thread Richard Guenther
On Fri, Oct 28, 2011 at 5:48 PM, Joseph S. Myers wrote: > On Fri, 28 Oct 2011, Richard Guenther wrote: > >> +       /* Fallthru.  */ >> +     case OPT_fPIC: >> +     case OPT_fpic: >> +     case OPT_fpie: >> +     case OPT_fcommon: >> +     case OPT_fexceptions: >> +       append_option (decoded_o

Re: [PATCH][2/n] LTO option handling/merging rewrite

2011-10-28 Thread Jack Howarth
On Fri, Oct 28, 2011 at 01:43:07PM +0200, Richard Guenther wrote: > > This moves the existing processing of user options from lto1 to > the lto driver (lto-wrapper). It also changes the way we stream > user options from some custom binary format over to simply > streaming the original command-lin

Re: [PATCH][2/n] LTO option handling/merging rewrite

2011-10-28 Thread Joseph S. Myers
On Fri, 28 Oct 2011, Richard Guenther wrote: > + /* Fallthru. */ > + case OPT_fPIC: > + case OPT_fpic: > + case OPT_fpie: > + case OPT_fcommon: > + case OPT_fexceptions: > + append_option (decoded_options, decoded_options_count, foption); > + break; No doubt

Re: [PATCH][2/n] LTO option handling/merging rewrite

2011-10-28 Thread Diego Novillo
Isn't this the same patch as http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02348.html? Diego.

[PATCH][2/n] LTO option handling/merging rewrite

2011-10-28 Thread Richard Guenther
This moves the existing processing of user options from lto1 to the lto driver (lto-wrapper). It also changes the way we stream user options from some custom binary format over to simply streaming the original command-line as passed to the compiler by the driver as a COLLECT_GCC_OPTIONS-like stri