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

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

2020-04-29 Thread Richard Biener via Gcc-patches
On Wed, Apr 29, 2020 at 8:44 AM Richard Biener wrote: > > On Wed, Apr 29, 2020 at 6:04 AM lizekun (A) wrote: > > > > 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

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

2020-04-28 Thread Richard Biener via Gcc-patches
On Wed, Apr 29, 2020 at 6:04 AM lizekun (A) wrote: > > 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 o

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

2020-04-28 Thread Richard Biener via Gcc-patches
On Wed, Apr 29, 2020 at 6:04 AM lizekun (A) wrote: > > 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 o

[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 vn