Re: [PATCH, PR69169] Fix infinite recursion in create_variable_info_for_1

2016-01-13 Thread Richard Biener
On Wed, 13 Jan 2016, Tom de Vries wrote: > On 13/01/16 09:40, Richard Biener wrote: > > On Wed, 13 Jan 2016, Tom de Vries wrote: > > > > > Hi, > > > > > > Consider testcase test.c: > > > ... > > > struct pgm_slist_t > > > { > > >struct pgm_slist_t *__restrict next; > > > }; > > > > > > void

Re: [PATCH, PR69169] Fix infinite recursion in create_variable_info_for_1

2016-01-13 Thread Tom de Vries
On 13/01/16 09:40, Richard Biener wrote: On Wed, 13 Jan 2016, Tom de Vries wrote: Hi, Consider testcase test.c: ... struct pgm_slist_t { struct pgm_slist_t *__restrict next; }; void fn1 (struct pgm_slist_t p1) { } ... The compilation of the testcase enters into infinite recursion, due to

Re: [PATCH, PR69169] Fix infinite recursion in create_variable_info_for_1

2016-01-13 Thread Richard Biener
On Wed, 13 Jan 2016, Tom de Vries wrote: > Hi, > > Consider testcase test.c: > ... > struct pgm_slist_t > { > struct pgm_slist_t *__restrict next; > }; > > void > fn1 (struct pgm_slist_t p1) > { > > } > ... > > The compilation of the testcase enters into infinite recursion, due to the > more

[PATCH, PR69169] Fix infinite recursion in create_variable_info_for_1

2016-01-12 Thread Tom de Vries
Hi, Consider testcase test.c: ... struct pgm_slist_t { struct pgm_slist_t *__restrict next; }; void fn1 (struct pgm_slist_t p1) { } ... The compilation of the testcase enters into infinite recursion, due to the more aggressive restrict support added recently. The patch fixes this by:- - t