Re: [PATCH] genmatch: Emit debug message right before "return x" instead of earlier

2023-05-25 Thread Richard Biener via Gcc-patches
On Fri, May 26, 2023 at 4:59 AM Andrew Pinski via Gcc-patches wrote: > > This is based on the review of > https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619342.html . > Instead of emitting debug message even if we don't apply a pattern, this > fixes the issue > by only emitting it if it the

[PATCH] genmatch: Emit debug message right before "return x" instead of earlier

2023-05-25 Thread Andrew Pinski via Gcc-patches
This is based on the review of https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619342.html . Instead of emitting debug message even if we don't apply a pattern, this fixes the issue by only emitting it if it the pattern finally succeeded. OK? Bootstrapped and tested on x86_64-linux-gnu with n