Thanks Jakub for reminder, let me eliminate the dup pattern. Pan
-----Original Message----- From: Jakub Jelinek <ja...@redhat.com> Sent: Monday, October 14, 2024 8:05 PM To: Richard Biener <richard.guent...@gmail.com> Cc: Li, Pan2 <pan2...@intel.com>; gcc-patches@gcc.gnu.org; tamar.christ...@arm.com; juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com; rdapp....@gmail.com Subject: Re: [PATCH 2/4] Match: Support form 3 for vector signed integer SAT_SUB On Sat, Oct 12, 2024 at 02:10:49PM +0200, Richard Biener wrote: > > gcc/ChangeLog: > > > > * match.pd: Add matching pattern for vector signed SAT_SUB form 3. I now see ../../gcc/match.pd:3424:3 warning: duplicate pattern (cond^ (ne (imagpart (IFN_SUB_OVERFLOW:c@2 @0 @1)) integer_zerop) ^ ../../gcc/match.pd:3397:3 warning: previous pattern defined here (cond^ (ne (imagpart (IFN_SUB_OVERFLOW@2 @0 @1)) integer_zerop) ^ (similar message on those 2 lines 5 more times). That doesn't look correct. Jakub