RE: [PATCH]use vnode->get_constructor () to get intial in lto[PR94822]

2020-04-29 Thread lizekun (A)
29日 16:48 > To: lizekun (A) > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH]use vnode->get_constructor () to get intial in > lto[PR94822] > > On Wed, Apr 29, 2020 at 8:44 AM Richard Biener > wrote: > > > > On Wed, Apr 29, 2020 at 6:04 AM lizekun (A) > wro

[PATCH]use vnode->get_constructor () to get intial in lto[PR94822]

2020-04-28 Thread lizekun (A)
Hi, This ICE appears because gcc will stream it to the function_body section when processing the variable with the initial value of the constructor type, and the error_mark_node to the decls section. When recompiling, the value obtained with DECL_INITIAL will be error_mark. This patch use

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 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,

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.

[PATCH][AARCH64] Fix for PR94121

2020-03-10 Thread lizekun (A)
Hi, This is a fix tring to solve PR94121. The ICE appears when generating an add insn with the offset. If the offset is negative, function aarch64_add_offset_1 in aarch64.c will take its absolute value. With this fix, offset does not take absolute value if it equals to the minimum value of

[PATCH][AARCH64] Fix for PR94121

2020-03-10 Thread lizekun (A)
Hi, This is a fix tring to solve PR94121. The ICE appears when generating an add insn with the offset. If the offset is negative, function aarch64_add_offset_1 in aarch64.c will take its absolute value. With this fix, offset does not take absolute value if it equals to the minimum value of