Re: [C++ PATCH] Change similarly also loop genericization (PR c/44715)

2019-01-23 Thread Jason Merrill
On 1/22/19 5:25 PM, Jakub Jelinek wrote: Hi! This patch adjusts genericize_cp_loop similarly to the PR88984 change in genericize_switch_stmt, so that the following testcase now behaves the same in both C and C++, plus adds the testcase and documentation. Bootstrapped/regtested on

[C++ PATCH] Change similarly also loop genericization (PR c/44715)

2019-01-22 Thread Jakub Jelinek
Hi! This patch adjusts genericize_cp_loop similarly to the PR88984 change in genericize_switch_stmt, so that the following testcase now behaves the same in both C and C++, plus adds the testcase and documentation. Bootstrapped/regtested on {x86_64,i686,powerpc64{,le}}-linux, ok for trunk?