Re: [PATCH] Fix simplify_builtin_call forwprop ICE (PR tree-optimization/64269)

2014-12-12 Thread Richard Biener
On Fri, 12 Dec 2014, Jakub Jelinek wrote: > Hi! > > This testcase ICEs because I wasn't checking for overflow in the size > computation. Only max (diff + len2, len1) <= 1024 cases are considered, > so this patch gives up if either len2 or diff is > 1024. > > Bootstrapped/regtested on x86_64-lin

[PATCH] Fix simplify_builtin_call forwprop ICE (PR tree-optimization/64269)

2014-12-12 Thread Jakub Jelinek
Hi! This testcase ICEs because I wasn't checking for overflow in the size computation. Only max (diff + len2, len1) <= 1024 cases are considered, so this patch gives up if either len2 or diff is > 1024. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/4.9/4.8? 2014-12-12 Jak