Re: [PATCH] Fix gimple-ssa-sprintf ICE (PR tree-optimization/89566)

2019-03-05 Thread Richard Biener
On Mon, 4 Mar 2019, Jakub Jelinek wrote: > Hi! > > Before PR87041 changes sprintf_dom_walker::handle_gimple_call > would punt if gimple_call_builtin_p (which did all the needed call argument > checking) failed, but it doesn't fail anymore because it wants to handle > format attribute. That is fi

[PATCH] Fix gimple-ssa-sprintf ICE (PR tree-optimization/89566)

2019-03-04 Thread Jakub Jelinek
Hi! Before PR87041 changes sprintf_dom_walker::handle_gimple_call would punt if gimple_call_builtin_p (which did all the needed call argument checking) failed, but it doesn't fail anymore because it wants to handle format attribute. That is fine, but if gimple_call_builtin_p failed, we shouldn't