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 handle it?
No, that looks exactly right. > Tested x86_64-pc-linux-gnu, OK for trunk? Ok. Thanks, Richard.