Re: [PATCH] Fix division by 0 in printf_strlen_execute when dumping

2020-12-02 Thread Martin Sebor via Gcc-patches
On 12/2/20 6:06 PM, Ilya Leoshkevich via Gcc-patches wrote: Bootstrap ang regtest running on x86_64-redhat-linux. Ok for master? I'd consider the fix obviously correct. Thank you! Martin gcc/ChangeLog: 2020-12-03 Ilya Leoshkevich * tree-ssa-strlen.c (printf_strlen_execute): Av

[PATCH] Fix division by 0 in printf_strlen_execute when dumping

2020-12-02 Thread Ilya Leoshkevich via Gcc-patches
Bootstrap ang regtest running on x86_64-redhat-linux. Ok for master? gcc/ChangeLog: 2020-12-03 Ilya Leoshkevich * tree-ssa-strlen.c (printf_strlen_execute): Avoid division by 0. --- gcc/tree-ssa-strlen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc