Re: Fix PR69824, crash in C frontend

2016-03-04 Thread Jeff Law
On 03/04/2016 05:08 PM, Joseph Myers wrote: On Sat, 5 Mar 2016, Bernd Schmidt wrote: This is a crash encountered with an implicit declaration inside an argument list. In the PR, Jakub identified a place where we change the DECL_CONTEXT for such decls, and I think I agree with him that this seem

Re: Fix PR69824, crash in C frontend

2016-03-04 Thread Joseph Myers
On Sat, 5 Mar 2016, Bernd Schmidt wrote: > This is a crash encountered with an implicit declaration inside an argument > list. In the PR, Jakub identified a place where we change the DECL_CONTEXT for > such decls, and I think I agree with him that this seems wrong. The following > patch ensures th

Fix PR69824, crash in C frontend

2016-03-04 Thread Bernd Schmidt
This is a crash encountered with an implicit declaration inside an argument list. In the PR, Jakub identified a place where we change the DECL_CONTEXT for such decls, and I think I agree with him that this seems wrong. The following patch ensures they aren't placed on the list in the first plac