[PING 3][PATCH] track dynamic allocation in strlen (PR 91582)
Jakub Jelinek
jakub@redhat.com
Sat Dec 7 00:35:00 GMT 2019
On Fri, Dec 06, 2019 at 05:19:36PM -0700, Martin Sebor wrote:
> With part 2 (below) of this work committed, I've rebased the patch
> on the top of trunk and on top of the updated part 1 (also below).
> Attached is the result, retested on x86_64-linux.
> --- a/gcc/tree-ssa-strlen.c
> +++ b/gcc/tree-ssa-strlen.c
> @@ -61,6 +61,7 @@ along with GCC; see the file COPYING3. If not see
> #include "vr-values.h"
> #include "gimple-ssa-evrp-analyze.h"
>
> +#pragma GCC optimize ("0")
> /* A vector indexed by SSA_NAME_VERSION. 0 means unknown, positive value
> is an index into strinfo vector, negative value stands for
> string length of a string literal (~strlen). */
Why this? Some debugging left-over?
Jakub
More information about the Gcc-patches
mailing list