Re: [C++ PATCH] Fix ICEs with builtin redeclaration (PR c++/88636)

2019-01-02 Thread Jason Merrill
On 1/2/19 5:09 AM, Jakub Jelinek wrote: Hi! On the following testcase we ICE, because pushdecl* ggc_frees the decl passed to it, but builtin_function_1 returns it anyway. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? OK.

[C++ PATCH] Fix ICEs with builtin redeclaration (PR c++/88636)

2019-01-02 Thread Jakub Jelinek
Hi! On the following testcase we ICE, because pushdecl* ggc_frees the decl passed to it, but builtin_function_1 returns it anyway. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2019-01-02 Jakub Jelinek PR c++/88636 * decl.c (builtin_functi