Re: RFA: tree.c PATCH for c++/51992 (TARGET_EXPR in LTO stream)

2012-01-26 Thread Richard Guenther
On Wed, 25 Jan 2012, Jason Merrill wrote: > The problem here turns out to be that when free_lang_data_in_cgraph tries to > find all the decls and types in a function, it doesn't catch a type that only > appears in the fntype of a GIMPLE_CALL. This patch fixes the bug; is there a > better way to h

Re: RFA: tree.c PATCH for c++/51992 (TARGET_EXPR in LTO stream)

2012-01-25 Thread Jakub Jelinek
On Wed, Jan 25, 2012 at 11:29:58AM -0500, Jason Merrill wrote: > The problem here turns out to be that when free_lang_data_in_cgraph > tries to find all the decls and types in a function, it doesn't > catch a type that only appears in the fntype of a GIMPLE_CALL. This > patch fixes the bug; is the

RFA: tree.c PATCH for c++/51992 (TARGET_EXPR in LTO stream)

2012-01-25 Thread Jason Merrill
The problem here turns out to be that when free_lang_data_in_cgraph tries to find all the decls and types in a function, it doesn't catch a type that only appears in the fntype of a GIMPLE_CALL. This patch fixes the bug; is there a better way to handle it? Tested x86_64-pc-linux-gnu, OK for t