Re: [PATCH 2/2] Disallow pointer and offset types on some gimple

2021-06-09 Thread Richard Biener via Gcc-patches
On Wed, Jun 9, 2021 at 3:33 AM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > While debugging PR 100925, I found that the gimple verifiers > don't reject NEGATE on pointer or offset type. > This patch adds the check on some unary and binary gimple which > should not have operated o

[PATCH 2/2] Disallow pointer and offset types on some gimple

2021-06-08 Thread apinski--- via Gcc-patches
From: Andrew Pinski While debugging PR 100925, I found that the gimple verifiers don't reject NEGATE on pointer or offset type. This patch adds the check on some unary and binary gimple which should not have operated on pointer/offset types. OK? Bootstrapped and tested on x86_64-linux-gnu with n