RE: Question on lto-stream-out

2020-03-26 Thread lizekun (A)
Ok, that makes sense. Thanks again:) > -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: 2020年3月26日 21:19 > To: lizekun (A) > Cc: gcc@gcc.gnu.org > Subject: Re: Question on lto-stream-out > > On Thu, Mar 26, 2020 at 2:

Re: Question on lto-stream-out

2020-03-26 Thread Richard Biener via Gcc
t; Best regards! > > > -Original Message- > > From: Richard Biener [mailto:richard.guent...@gmail.com] > > Sent: 2020年3月26日 20:27 > > To: lizekun (A) > > Cc: gcc@gcc.gnu.org > > Subject: Re: Question on lto-stream-out > > > > On Thu, Mar 26, 2

RE: Question on lto-stream-out

2020-03-26 Thread lizekun (A)
to stream constructors to other section. Best regards! > -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: 2020年3月26日 20:27 > To: lizekun (A) > Cc: gcc@gcc.gnu.org > Subject: Re: Question on lto-stream-out > > On Thu, Mar 26,

Re: Question on lto-stream-out

2020-03-26 Thread Richard Biener via Gcc
On Thu, Mar 26, 2020 at 12:01 PM lizekun (A) wrote: > > Hi, > I have a question on function "get_symbol_initial_value" in lto-stream-out.c. > > When the initial value of symbol is constructor, it will be replaced by an > error_mark. > What's the benefit of donging this? In some cases, it

Question on lto-stream-out

2020-03-26 Thread lizekun (A)
Hi, I have a question on function "get_symbol_initial_value" in lto-stream-out.c. When the initial value of symbol is constructor, it will be replaced by an error_mark. What's the benefit of donging this? In some cases, it increases the size of binary. I would be grateful if anyone could help.