Re: [PATCH] Match: Remove dup match pattern for signed_integer_sat_sub [PR117141]

2024-10-15 Thread Richard Biener
On Tue, Oct 15, 2024 at 1:31 AM wrote: > > From: Pan Li > > This patch would like to fix the warning as below: > > /home/slyfox/dev/git/gcc/gcc/match.pd:3424:3 warning: duplicate pattern > (cond^ (ne (imagpart (IFN_SUB_OVERFLOW:c@2 @0 @1)) integer_zerop) > ^ > /home/slyfox/dev/git/gcc/gcc/matc

[PATCH] Match: Remove dup match pattern for signed_integer_sat_sub [PR117141]

2024-10-14 Thread pan2 . li
From: Pan Li This patch would like to fix the warning as below: /home/slyfox/dev/git/gcc/gcc/match.pd:3424:3 warning: duplicate pattern (cond^ (ne (imagpart (IFN_SUB_OVERFLOW:c@2 @0 @1)) integer_zerop) ^ /home/slyfox/dev/git/gcc/gcc/match.pd:3397:3 warning: previous pattern defined here (con